Migrate to Astro V5 (#22)

* fix video url

* update deploy script for using rsync

* remove delete from script

* translate resources page

* fix images dimensions and favicon

* add css optimization plugin and improve images

* update project dependencies

* refactor lang

* post translated to spanish

* fix metadata

* update dependencies

* update dependencies

* update dependencies

* update to Astro 5.x

* format index.astro

* Migrate content layer to Astro V5
This commit is contained in:
Juan Manzanero
2025-02-01 17:33:00 -06:00
committed by GitHub
parent 9363bf7a20
commit 4f0e80b988
46 changed files with 2265 additions and 2034 deletions

View File

@ -1,28 +1,34 @@
import { defineConfig } from "astro/config";
import react from "@astrojs/react";
import tailwind from "@astrojs/tailwind";
import mdx from "@astrojs/mdx";
import rehypePrettyCode from "rehype-pretty-code";
import rehypeSlug from "rehype-slug";
import sitemap from "@astrojs/sitemap";
import { defineConfig } from 'astro/config';
import react from '@astrojs/react';
import tailwind from '@astrojs/tailwind';
import mdx from '@astrojs/mdx';
import rehypePrettyCode from 'rehype-pretty-code';
import rehypeSlug from 'rehype-slug';
import sitemap from '@astrojs/sitemap';
import playformInline from "@playform/inline";
import playformInline from '@playform/inline';
// https://astro.build/config
export default defineConfig({
site: "https://juancman.dev/",
integrations: [sitemap(), react(), tailwind({
applyBaseStyles: false,
}), mdx({
syntaxHighlight: false,
rehypePlugins: [
rehypeSlug,
[
rehypePrettyCode,
{
theme: "catppuccin-mocha",
},
site: 'https://juancman.dev/',
integrations: [
sitemap(),
react(),
tailwind({
applyBaseStyles: false,
}),
mdx({
syntaxHighlight: false,
rehypePlugins: [
rehypeSlug,
[
rehypePrettyCode,
{
theme: 'catppuccin-mocha',
},
],
],
],
}), playformInline()],
});
}),
playformInline(),
],
});