File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11'use client' ;
22
33import Link from 'next/link' ;
4+ import Image from 'next/image' ;
45import { usePathname } from 'next/navigation' ;
6+ import logo from '../../public/postscript.png' ;
57
68export default function Navigation ( { hasDashboardAccess } : { hasDashboardAccess ?: boolean } ) {
79 const pathname = usePathname ( ) ;
@@ -18,12 +20,20 @@ export default function Navigation({ hasDashboardAccess }: { hasDashboardAccess?
1820 return (
1921 < nav className = "border-ps" style = { { borderBottomWidth : '1px' } } >
2022 < div className = "container mx-auto p-4 md:px-6 md:py-4" >
21- < div className = "flex gap-4 flex-col md: items-center" >
23+ < div className = "flexs gap-4 items-center" >
2224 < Link
2325 href = "/"
2426 className = "text-lg md:text-2xl font-bold text-ps-primary hover:opacity-80 transition-opacity"
2527 >
26- Postscript
28+ < div className = "flex items-center gap-2" >
29+ < Image
30+ src = { logo }
31+ alt = "Postscript Logo"
32+ width = { 40 }
33+ height = { 40 }
34+ />
35+ < span > Postscript</ span >
36+ </ div >
2737 </ Link >
2838 < div className = "flex gap-2 justify-start md:items-center md:gap-6" >
2939 { navItems . map ( ( item ) => {
Original file line number Diff line number Diff line change 11'use client' ;
22
33import Link from 'next/link' ;
4+ import Image from 'next/image' ;
5+ import logo from '../../public/postscript.png' ;
46
57export default function PublicNavigation ( ) {
68 return (
@@ -9,9 +11,17 @@ export default function PublicNavigation() {
911 < div className = "flex items-center justify-between" >
1012 < Link
1113 href = "/"
12- className = "text-2xl font-bold text-ps-primary hover:opacity-80 transition-opacity"
14+ className = "text-lg md:text- 2xl font-bold text-ps-primary hover:opacity-80 transition-opacity"
1315 >
14- _postscript
16+ < div className = "flex items-center gap-2" >
17+ < Image
18+ src = { logo }
19+ alt = "Postscript Logo"
20+ width = { 40 }
21+ height = { 40 }
22+ />
23+ < span > Postscript</ span >
24+ </ div >
1525 </ Link >
1626 < div className = "flex items-center gap-6" >
1727 < Link
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import type { Metadata } from 'next';
33import ConditionalNavigation from './components/ConditionalNavigation' ;
44
55export const metadata : Metadata = {
6- title : '_postscript ' ,
6+ title : 'Postscript ' ,
77 description : 'Your personal journaling app' ,
88 viewport : {
99 width : 'device-width' ,
You can’t perform that action at this time.
0 commit comments