From 932b6f6a8f39a2f9af2f0c82d7aa0c99229d0f87 Mon Sep 17 00:00:00 2001 From: Refansa Date: Mon, 16 Oct 2023 21:57:36 +0700 Subject: [PATCH] fixes and added a couple of changes. - fixed responsive issues - added navbar drawer for mobile device - added experiences and footer section --- src/app/page.tsx | 14 +-- src/components/Footer.tsx | 48 +++++++--- src/components/NavLink.tsx | 5 +- src/components/NavMobile.tsx | 35 ++++++++ src/components/Navbar.tsx | 2 + src/partials/About.tsx | 4 +- src/partials/Experiences.tsx | 129 +++++++++++++++++++++++++++ src/partials/Introduction.tsx | 2 +- src/styles/extends/Drawer.module.css | 15 ++++ src/styles/extends/Drawer.ts | 10 +++ src/styles/extends/Paper.module.css | 5 ++ src/styles/extends/Paper.ts | 8 ++ src/styles/extends/index.ts | 2 + src/styles/theme.ts | 12 ++- 14 files changed, 267 insertions(+), 24 deletions(-) create mode 100644 src/components/NavMobile.tsx create mode 100644 src/partials/Experiences.tsx create mode 100644 src/styles/extends/Drawer.module.css create mode 100644 src/styles/extends/Drawer.ts create mode 100644 src/styles/extends/Paper.module.css create mode 100644 src/styles/extends/Paper.ts diff --git a/src/app/page.tsx b/src/app/page.tsx index cb7273d..5a1ff7b 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,11 +1,12 @@ 'use client' -import { AppShell, Container, rem } from '@mantine/core' +import { AppShell, Container, Stack, rem } from '@mantine/core' import Introduction from '../partials/Introduction' import About from '../partials/About' import Navbar from '../components/Navbar' import Footer from '../components/Footer' import SlideUpWhenVisible from '../hooks/slideUpWhenVisible' +import Experiences from '../partials/Experiences' export default function HomePage() { return ( @@ -18,13 +19,16 @@ export default function HomePage() { - + - - -