master
gman 5 months ago
parent 792dc50a80
commit d0d5b95f6a

@ -2,13 +2,18 @@
import starlight from '@astrojs/starlight';
import { defineConfig } from 'astro/config';
import react from '@astrojs/react';
// https://astro.build/config
export default defineConfig({
integrations: [
starlight({
title: 'Практическое введение в веб-картографию',
logo: {
dark: '/public/logo-dark.png',
light: '/public/logo-light.png',
alt: 'Практическое введение в веб-картографию',
replacesTitle: true
},
description: 'Веб-картография и веб-картографирование: практическое пособие',
favicon: '/icon.png',
head: [
@ -36,7 +41,6 @@ export default defineConfig({
}
},
components: {
SiteTitle: './src/components/SiteTitle.astro',
Sidebar: './src/components/Sidebar.astro',
},
sidebar: [
@ -58,7 +62,6 @@ export default defineConfig({
social: [
{ icon: 'github', label: 'GitHub', href: 'https://github.com/gtitov/wm101' },
]
}),
react()
})
],
});

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

@ -1,7 +0,0 @@
---
const { siteTitle, siteTitleHref } = Astro.locals.starlightRoute;
---
<a href={siteTitleHref} style="text-decoration: none; line-height: 1;color: var(--sl-color-text-accent);">Практическое введение<br/>в веб&#8209;картографию</a>
Loading…
Cancel
Save