mvp del nuevo blog

This commit is contained in:
2026-02-18 23:02:07 -03:00
parent 37f1452145
commit 1c2215b2fe
12 changed files with 658 additions and 58 deletions

View File

@@ -1,26 +1,43 @@
// @ts-check
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import svelte from "@astrojs/svelte";
import db from "@astrojs/db";
import tailwindcss from "@tailwindcss/vite";
// https://astro.build/config
export default defineConfig({
integrations: [
starlight({
title: 'My Docs',
social: [{ icon: 'github', label: 'GitHub', href: 'https://github.com/withastro/starlight' }],
sidebar: [
{
label: 'Guides',
items: [
// Each item here is one entry in the navigation menu.
{ label: 'Example Guide', slug: 'guides/example' },
],
},
{
label: 'Reference',
autogenerate: { directory: 'reference' },
},
],
}),
],
redirects: {
"/reference/accesos-rapidos": "/bookmarks",
},
integrations: [
starlight({
// plugins: [starlightSiteGraph()],
title: "Fede Blog",
social: [
{
icon: "github",
label: "GitHub",
href: "https://github.com/withastro/starlight",
},
],
sidebar: [
{
label: "Posts",
autogenerate: { directory: "reference" },
},
],
}),
svelte(),
db(),
// tailwindcss(),
//
],
vite: {
plugins: [tailwindcss()],
},
});