From 7a30468a6d24d39f1f49ffab42dd20c5329de795 Mon Sep 17 00:00:00 2001 From: Lee Sang Min Date: Sat, 15 Apr 2023 18:25:21 +0900 Subject: [PATCH] feat: :sparkles: adding sticky section (#163) --- site.config.js | 2 +- src/components/Layout/Header/NavBar.tsx | 6 ++-- src/components/Layout/Header/index.tsx | 26 +++++++---------- .../Feed/components/cards/ProfileCard.tsx | 2 +- .../Feed/components/lists/TagList.tsx | 10 +++---- src/containers/Feed/index.tsx | 21 ++++++++++++-- src/styles/globals.css | 29 +++++-------------- 7 files changed, 48 insertions(+), 48 deletions(-) diff --git a/site.config.js b/site.config.js index 319badc8c..37266ffc1 100644 --- a/site.config.js +++ b/site.config.js @@ -20,7 +20,7 @@ const CONFIG = { blog: { title: "morethan-log", description: "welcome to morethan-log!", - theme: "light", // ['light', 'dark', 'auto'] + theme: "auto", // ['light', 'dark', 'auto'] }, // CONFIG configration (required) diff --git a/src/components/Layout/Header/NavBar.tsx b/src/components/Layout/Header/NavBar.tsx index a25e1cfbc..b1d624815 100644 --- a/src/components/Layout/Header/NavBar.tsx +++ b/src/components/Layout/Header/NavBar.tsx @@ -1,14 +1,14 @@ -import Link from 'next/link' +import Link from "next/link" const NavBar: React.FC = () => { - const links = [{ id: 1, name: 'About', to: '/about' }] + const links = [{ id: 1, name: "About", to: "/about" }] return (