We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3aaec81 commit bda177aCopy full SHA for bda177a
1 file changed
src/components/layout.tsx
@@ -13,11 +13,12 @@ interface PropsChildren {
13
export default function Layout({ children }: PropsChildren) {
14
const router = useRouter();
15
const checkRouter = (router.pathname == "/");
16
+ const title = cx(router.pathname != "/" ? router.pathname.slice(1).toLowerCase()+" - " : "", "Diego Silva");
17
18
return (
19
<div className="h-screen w-full font-pontserrat">
20
<Head>
- <title>{cx(router.pathname != "/" ? router.pathname.slice(1).toLowerCase()+" - " : "")}Diego Silva</title>
21
+ <title>{title}</title>
22
<link rel="icon" href="/favicon.png" />
23
</Head>
24
<NextProgress color="rgb(139 92 246)" delay={500} />
0 commit comments