Skip to content

Commit b8a1b5e

Browse files
v1.1.924
- footer links fix
1 parent 3e452ee commit b8a1b5e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/footer/index.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,16 @@ import Link from '~/components/link.astro'
3030
<h5 class="title">Links</h5>
3131
<ul class="nav vertical">
3232
<li class="item">
33-
<Link href="/" aria-label="Home" title="Home">Home
33+
<Link href={import.meta.env.PROD ? '/scssleon-docs' : '/'} aria-label="Home" title="Home">Home
3434
</Link>
3535
</li>
3636
<li class="item">
37-
<Link href="/docs/1.0/en/" aria-label="Components"
37+
<Link href={import.meta.env.PROD ? '/scssleon-docs/docs/1.0/en/getting-started/introduction' : '/docs/1.0/en/getting-started/introduction'} aria-label="Components"
3838
title="Components">Components
3939
</Link>
4040
</li>
4141
<li class="item">
42-
<Link href="/sections/1.0/en/welcome"
42+
<Link href={import.meta.env.PROD ? '/scssleon-docs/sections/1.0/en/welcome/' : '/sections/1.0/en/welcome/'}
4343
aria-label="Sections" title="Sections">Sections
4444
</Link>
4545
</li>

0 commit comments

Comments
 (0)