Skip to content

Commit 488dc9e

Browse files
committed
fix: small fixes and tweaks
1 parent e40ae2d commit 488dc9e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/components/Menu.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ const currentPath = new URL(Astro.request.url).pathname
33
44
const pages = [
55
{ path: '/', text: 'Playground' },
6-
{ path: '/docs', text: 'Documentation' },
7-
{ path: '/reference', text: 'Function reference' },
8-
{ path: '/implementations', text: 'Implementations' }
6+
{ path: '/docs/', text: 'Documentation' },
7+
{ path: '/reference/', text: 'Function reference' },
8+
{ path: '/implementations/', text: 'Implementations' }
99
]
1010
1111
function isCurrentPath(path: string) {

src/components/QuickReference.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<script lang="ts">
22
import categories from './data/reference.json'
33
4-
const docsBaseUrl = '/docs'
5-
const referenceBaseUrl = '/reference'
4+
const docsBaseUrl = '/docs/'
5+
const referenceBaseUrl = '/reference/'
66
</script>
77

88
{#each categories as category}

src/pages/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ import Layout from '../layouts/Layout.astro'
1212

1313
<style>
1414
:root {
15-
--background-color: #fafafa;
15+
--background-color: #fafafa !important;
1616
}
1717
</style>

0 commit comments

Comments
 (0)