Skip to content

Commit bbcb9c7

Browse files
committed
Add logo, update astro & starlight
1 parent c29852f commit bbcb9c7

9 files changed

+434
-1320
lines changed

astro.config.mjs

+3-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import starlight from '@astrojs/starlight';
55
export default defineConfig({
66
site: 'https://recogito.github.io/',
77
integrations: [starlight({
8-
title: 'Recogito Studio',
8+
title: 'Developer Documentation',
99
defaultLocale: 'root',
1010
// optional
1111
locales: {
@@ -15,7 +15,8 @@ export default defineConfig({
1515
}
1616
},
1717
logo: {
18-
src: './src/assets/logo.svg'
18+
light: '/src/assets/recogito_logo_horizontal_black.png',
19+
dark: '/src/assets/recogito_logo_horizontal_white.png'
1920
},
2021
social: {
2122
github: 'https://github.com/recogito/'

package-lock.json

+427-1,314
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
},
1212
"dependencies": {
1313
"@astrojs/check": "^0.7.0",
14-
"@astrojs/starlight": "^0.23.1",
15-
"astro": "^4.9.2",
14+
"@astrojs/starlight": "^0.24.4",
15+
"astro": "^4.11.3",
1616
"sharp": "^0.32.5",
1717
"typescript": "^5.4.2"
1818
}
6.17 KB
Loading
19.5 KB
Loading
18.5 KB
Loading
109 KB
Loading
19.6 KB
Loading

src/content/docs/index.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ hero:
1111
import { Card, CardGrid } from '@astrojs/starlight/components';
1212

1313

14-
{/* <CardGrid stagger>
14+
<CardGrid stagger>
1515
<Card title="Update content" icon="pencil">
1616
Edit `src/content/docs/index.mdx` to see this page change.
1717
</Card>
@@ -24,4 +24,4 @@ import { Card, CardGrid } from '@astrojs/starlight/components';
2424
<Card title="Read the docs" icon="open-book">
2525
Learn more in [the Starlight Docs](https://starlight.astro.build/).
2626
</Card>
27-
</CardGrid> */}
27+
</CardGrid>

0 commit comments

Comments
 (0)