File tree Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -8,23 +8,23 @@ const isWritingPage = pathname.startsWith('/writing');
88
99---
1010
11- <header class =" relative z-10 " >
12- <Container >
13- <div class =" flex justify-end " >
14- <nav class =" flex items-center gap-4 " >
15- <ul class =" flex items-center gap-6 " >
11+ <header class =" w-full " >
12+ <Container class = " max-w-full flex justify-center items-center " >
13+ <div class =" w-max fixed top-0 mt-5 bg-muted-foreground/40 backdrop-blur-md border border-border rounded-full p-1 " >
14+ <nav class =" flex items-center" >
15+ <ul class =" flex items-center gap-1 " >
1616 <li >
1717 <a href =" /" class:list ={ [
18- ' font-medium transition-colors' ,
18+ ' font-medium transition-colors block px-5 py-2 ' ,
1919 ' hover:text-headings' ,
20- isHomePage && ' text-headings' ,
20+ isHomePage && ' text-headings bg-muted-foreground/40 rounded-full ' ,
2121 ]} >Home</a >
2222 </li >
2323 <li >
2424 <a href =" /writing" class:list ={ [
25- ' font-medium transition-colors' ,
25+ ' font-medium transition-colors block px-5 py-2 ' ,
2626 ' hover:text-headings' ,
27- isWritingPage && ' text-headings' ,
27+ isWritingPage && ' text-headings bg-muted-foreground/40 rounded-full ' ,
2828 ]} >Writing</a >
2929 </li >
3030 </ul >
Original file line number Diff line number Diff line change @@ -20,14 +20,14 @@ const { Content } = await render(entry);
2020---
2121
2222<BaseLayout seo ={ entry .data .seo } >
23- <section class = " -mt-12 " >
23+ <section >
2424 <Container >
2525 <article class =" flex flex-col gap-6" >
26- <div class =" flex flex-col gap-2 pt-7 " >
27- <a href =" /writing" class =" absolute z-20 transition-all text-muted-foreground hover:text-foreground pb-4 text-sm w-max" >
26+ <div class =" flex flex-col gap-2" >
27+ <a href =" /writing" class =" transition-all text-muted-foreground hover:text-foreground pb-4 text-sm w-max" >
2828 Back to writing
2929 </a >
30- <div class =" flex flex-col gap-1.5 mt-12 " >
30+ <div class =" flex flex-col gap-1.5" >
3131 <Avatar />
3232 <span class =" text-foreground" >{ DEFAULT_CONFIGURATION .author .name } </span >
3333 </div >
You can’t perform that action at this time.
0 commit comments