mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-10 21:03:03 -05:00
52 lines
1.3 KiB
JavaScript
52 lines
1.3 KiB
JavaScript
import starlight from '@astrojs/starlight';
|
|
import { defineConfig } from 'astro/config';
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
integrations: [
|
|
starlight({
|
|
title: 'Angular Challenges',
|
|
logo: {
|
|
src: './public/angular-challenge.webp',
|
|
alt: 'angular challenges logo',
|
|
},
|
|
favicon: './angular-challenge.ico',
|
|
social: {
|
|
github: 'https://github.com/withastro/starlight',
|
|
linkedin: 'https://www.linkedin.com/in/thomas-laforge-2b05a945/',
|
|
twitter: 'https://twitter.com/laforge_toma',
|
|
},
|
|
customCss: ['./src/styles/custom-css.css'],
|
|
sidebar: [
|
|
{
|
|
label: 'Guides',
|
|
autogenerate: { directory: 'guides' },
|
|
},
|
|
{
|
|
label: 'Challenges',
|
|
autogenerate: { directory: 'challenges' },
|
|
},
|
|
],
|
|
head: [
|
|
{
|
|
tag: 'script',
|
|
attrs: {
|
|
src: 'https://www.googletagmanager.com/gtag/js?id=G-6BXJ62W6G5',
|
|
async: true,
|
|
},
|
|
},
|
|
{
|
|
tag: 'script',
|
|
content: `
|
|
window.dataLayer = window.dataLayer || [];
|
|
function gtag(){dataLayer.push(arguments);}
|
|
gtag('js', new Date());
|
|
|
|
gtag('config', 'G-6BXJ62W6G5');
|
|
`,
|
|
},
|
|
],
|
|
}),
|
|
],
|
|
});
|