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');
8
8
9
9
---
10
10
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 " >
16
16
<li >
17
17
<a href =" /" class:list ={ [
18
- ' font-medium transition-colors' ,
18
+ ' font-medium transition-colors block px-5 py-2 ' ,
19
19
' hover:text-headings' ,
20
- isHomePage && ' text-headings' ,
20
+ isHomePage && ' text-headings bg-muted-foreground/40 rounded-full ' ,
21
21
]} >Home</a >
22
22
</li >
23
23
<li >
24
24
<a href =" /writing" class:list ={ [
25
- ' font-medium transition-colors' ,
25
+ ' font-medium transition-colors block px-5 py-2 ' ,
26
26
' hover:text-headings' ,
27
- isWritingPage && ' text-headings' ,
27
+ isWritingPage && ' text-headings bg-muted-foreground/40 rounded-full ' ,
28
28
]} >Writing</a >
29
29
</li >
30
30
</ul >
Original file line number Diff line number Diff line change @@ -20,14 +20,14 @@ const { Content } = await render(entry);
20
20
---
21
21
22
22
<BaseLayout seo ={ entry .data .seo } >
23
- <section class = " -mt-12 " >
23
+ <section >
24
24
<Container >
25
25
<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" >
28
28
Back to writing
29
29
</a >
30
- <div class =" flex flex-col gap-1.5 mt-12 " >
30
+ <div class =" flex flex-col gap-1.5" >
31
31
<Avatar />
32
32
<span class =" text-foreground" >{ DEFAULT_CONFIGURATION .author .name } </span >
33
33
</div >
You can’t perform that action at this time.
0 commit comments