From 292a6c2ede59e009c3bfec54328d9b36c476bc3a Mon Sep 17 00:00:00 2001 From: Arjun Patel Date: Tue, 11 Jan 2022 13:21:04 -0800 Subject: [PATCH] adding nice metronic font --- pages/_app.js | 6 +++++- pages/teams/demo.tsx | 43 +++++++++++++++++++++++++------------------ styles/globals.css | 44 ++++++++++++++++++++++---------------------- tailwind.config.js | 6 +++++- 4 files changed, 57 insertions(+), 42 deletions(-) diff --git a/pages/_app.js b/pages/_app.js index 4c4c39c..1b79c69 100644 --- a/pages/_app.js +++ b/pages/_app.js @@ -26,9 +26,13 @@ function MyApp({ Component, pageProps }) { href="https://fonts.googleapis.com/css2?family=Baloo+Bhaijaan+2&display=swap" rel="stylesheet" /> + + - +
+ +
} diff --git a/pages/teams/demo.tsx b/pages/teams/demo.tsx index d783487..14856e2 100644 --- a/pages/teams/demo.tsx +++ b/pages/teams/demo.tsx @@ -1,7 +1,15 @@ import Head from 'next/head' import Image from 'next/image'; import React from 'react'; -import { FaMicrophoneAlt, FaHeadphonesAlt, FaTh, FaAngleDown, FaPlusSquare, FaBroom, FaBell, FaFilePdf } from "react-icons/fa"; +import { FaMicrophoneAlt, + FaHeadphonesAlt, + FaTh, + FaAngleDown, + FaPlusSquare, + FaBroom, + FaBell, + FaFilePdf, + FaCopy } from "react-icons/fa"; import { IoPulseOutline, IoRemoveOutline } from "react-icons/io5"; import { BsThreeDots } from "react-icons/bs"; @@ -146,8 +154,8 @@ export default class Demo extends React.Component {
{/* welcome message */} - 👋Hey Arjun, Good Afternoon! - you collabed 1.5 hours and worked 2 hours yesterday + 👋Hey Arjun, Good Afternoon! + you collabed 1.5 hours and worked 2 hours yesterday {/* avatar */} @@ -215,7 +223,7 @@ export default class Demo extends React.Component {
{/* announcements */} -
+
ANNOUNCEMENTS @@ -246,7 +254,7 @@ export default class Demo extends React.Component {
{/* rooms */} -
+
ROOMS @@ -263,7 +271,7 @@ export default class Demo extends React.Component { {/* bugs room */} - + @@ -276,9 +284,8 @@ export default class Demo extends React.Component { - - Bugs + Bugs started 5 minutes ago @@ -295,29 +302,29 @@ export default class Demo extends React.Component {
- {/* files */} -
+ + + + {/* files */} +
FILES
-
+
- report.pdf + report.pdf -
- - - @@ -341,7 +348,7 @@ export default class Demo extends React.Component { {this.state.selectedChannel == null ? "" : testFriends[this.state.selectedChannel].name} - {this.state.selectedChannel == null ? "" : testFriends[this.state.selectedChannel].role} + {this.state.selectedChannel == null ? "" : testFriends[this.state.selectedChannel].role} diff --git a/styles/globals.css b/styles/globals.css index 1c80bb8..8daae31 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -1,5 +1,3 @@ - - html, body { padding: 0; @@ -17,10 +15,10 @@ a { box-sizing: border-box; } - /* my personal css */ -html { - background: url('/wallpapers/dark-mountains.jpg') no-repeat center center fixed; +html { + background: url("/wallpapers/dark-mountains.jpg") no-repeat center center + fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; @@ -29,10 +27,14 @@ html { main { padding: 4em; + font-family: "Poppins", sans-serif; } .font-satisfy { - font-family: 'Satisfy', cursive; + font-family: "Satisfy", cursive; +} +.font-poppins { + font-family: "Poppins", sans-serif; } .text-teal { @@ -40,30 +42,29 @@ main { } #main-title { - font-family: 'Satisfy', cursive; + font-family: "Satisfy", cursive; font-size: 2em; color: teal; } #side-note { - font-family: 'Baloo Bhaijaan 2', cursive; + font-family: "Baloo Bhaijaan 2", cursive; font-size: 1.5em; } p { - font-family: 'Baloo Bhaijaan 2', cursive; + font-family: "Baloo Bhaijaan 2", cursive; font-size: 2em; - color:white; + color: white; } #marquee-text { - font-style: italic; - font-size: 1.5em; - font-family: 'Baloo Bhaijaan 2', cursive; + font-style: italic; + font-size: 1.5em; + font-family: "Baloo Bhaijaan 2", cursive; } - - /* Mobile :320px. */ - @media (max-width: 767px) { +/* Mobile :320px. */ +@media (max-width: 767px) { main { padding: 0em; } @@ -74,17 +75,16 @@ p { #side-note { font-size: 1em; } - + p { font-size: 1.5em; } #marquee-text { font-size: 1em; - } - - } + } +} - @tailwind base; +@tailwind base; @tailwind components; -@tailwind utilities; \ No newline at end of file +@tailwind utilities; diff --git a/tailwind.config.js b/tailwind.config.js index 5ec9672..ba5e68b 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -4,7 +4,11 @@ module.exports = { "./components/**/*.{js,ts,jsx,tsx}" ], theme: { - extend: {}, + extend: { + fontFamily: { + 'poppins': ['"Poppins"', 'san serif'] + } + }, }, plugins: [], }