From 416c382368b884aa4d29589b4066a6974a17a12a Mon Sep 17 00:00:00 2001 From: Refansa Date: Tue, 17 Oct 2023 10:47:37 +0700 Subject: [PATCH] fixes and tweak a couple of changes. - fixed responsive issues - fixed anchor hashtag link offset --- .vscode/settings.json | 4 +- src/app/global.css | 9 -- src/app/page.tsx | 23 ++--- src/partials/About.module.css | 9 ++ src/partials/About.tsx | 116 +++++++++++----------- src/partials/Experiences.tsx | 179 ++++++++++++++++++---------------- src/partials/Introduction.tsx | 107 ++++++++++---------- 7 files changed, 233 insertions(+), 214 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 54f6c0d..8034358 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,3 +1,3 @@ { - "discord.enabled": false -} \ No newline at end of file + "discord.enabled": false +} diff --git a/src/app/global.css b/src/app/global.css index 479deb1..cc1c72c 100644 --- a/src/app/global.css +++ b/src/app/global.css @@ -1,12 +1,3 @@ html { scroll-behavior: smooth; } - -/* Offset the anchor hashtag link - */ -:target::before { - content: ''; - display: block; - height: 144px; - margin-top: -144px; -} diff --git a/src/app/page.tsx b/src/app/page.tsx index 5a1ff7b..5e435e6 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -5,7 +5,6 @@ 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() { @@ -19,18 +18,16 @@ export default function HomePage() { - - - - - - -