diff --git a/src/components/Button.tsx b/src/components/Button.tsx index c7ff387..bf30975 100644 --- a/src/components/Button.tsx +++ b/src/components/Button.tsx @@ -32,7 +32,7 @@ export const Button: React.FC = ({ className={cb( className, colorSchemas[color], - "cursor-pointer flex items-center relative justify-center font-semibold tracking-wide px-5 py-1 rounded-xl focus:outline-none" + "cursor-pointer flex items-center relative justify-center font-semibold tracking-wide px-5 py-1 rounded-full focus:outline-none hover:opacity-70" )} {...props} > diff --git a/src/components/Card.tsx b/src/components/Card.tsx index f934322..1adc49f 100644 --- a/src/components/Card.tsx +++ b/src/components/Card.tsx @@ -3,7 +3,7 @@ import cb from "classnames"; const Card: React.FC> = ({ children, className, ...props }) => { return ( -
+
{children}
); diff --git a/src/components/Navbar/Navbar.tsx b/src/components/Navbar/Navbar.tsx index caedc69..dd82be1 100644 --- a/src/components/Navbar/Navbar.tsx +++ b/src/components/Navbar/Navbar.tsx @@ -7,6 +7,7 @@ import { NavDropItems, NavItem, NavItems, + NavLogo, UserImage, UserImageContainer, } from "./Styles"; @@ -34,10 +35,8 @@ const Navbar = (): JSX.Element => {
- brand diff --git a/src/components/Navbar/Styles.tsx b/src/components/Navbar/Styles.tsx index 9cf9312..d0b1478 100644 --- a/src/components/Navbar/Styles.tsx +++ b/src/components/Navbar/Styles.tsx @@ -1,5 +1,15 @@ import styled, { keyframes } from "styled-components"; +export const NavLogo = styled.img` + width: 70px; + height: 70px; + + @media screen and (max-width: 768px) { + width: 50px; + height: 50px; + } +`; + export const NavBrand = styled.img` width: 80px; height: 80px; @@ -233,11 +243,16 @@ export const Close = styled.div` `; export const Nav = styled.nav` - margin: 35px 50px; + padding: 15px 50px; display: flex; align-items: center; justify-content: space-between; z-index: 998; + box-shadow: 0 5px 10px rgba(0.1, 0.1, 0.1, 0.5); + position: fixed; + width: 100%; + top: 0; + background-color: #21232c; div:first-child { display: flex; @@ -245,6 +260,7 @@ export const Nav = styled.nav` } @media screen and (max-width: 900px) { + padding: 10px 15px; .user { position: fixed; bottom: 25px; diff --git a/src/components/PageContainer.tsx b/src/components/PageContainer.tsx index c20b520..91ecbd9 100644 --- a/src/components/PageContainer.tsx +++ b/src/components/PageContainer.tsx @@ -2,7 +2,7 @@ import React from "react"; const PageContainer: React.FC = ({ children }) => { return ( -
+
{children}
); diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 5ef4510..b531812 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -8,11 +8,11 @@ export default function HomePage(): JSX.Element { return ( <>
-
+

Welcome to

-

Tech With Tim

+

Tech With Tim

Programming & Tech Tutorials
-
+
Join Our Server @@ -38,7 +38,7 @@ export default function HomePage(): JSX.Element {

Timathon

-

Code Jam

+

Code Jam

Hosted every 2 months, consisting of a different theme and allowing yourself to put your @@ -66,7 +66,7 @@ export default function HomePage(): JSX.Element {

Weekly

-

Challenges

+

Challenges

Submit your solutions and earn badges!

@@ -86,7 +86,7 @@ export default function HomePage(): JSX.Element {

Discord

-

Commmunity

+

Commmunity

Become a part of one of the most active programming communities. Check out all of our help channels! diff --git a/src/styles/index.scss b/src/styles/index.scss index e1520ba..a1c052b 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -1,4 +1,5 @@ @import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"); +@import url('https://fonts.googleapis.com/css2?family=Acme&display=swap'); * { margin: 0; diff --git a/tailwind.config.js b/tailwind.config.js index 77738ab..839b327 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -3,7 +3,8 @@ module.exports = { darkMode: false, theme: { fontFamily: { - body: ['"Poppins"', "sans-serif"], + body: ["Poppins", "sans-serif"], + secondary: ["Acme", "sans-serif"] }, container: { center: true,