Add css optimization and improve images (#20)

* 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
This commit is contained in:
Juan Manzanero
2024-10-12 13:49:49 -06:00
committed by GitHub
parent ad026953da
commit 4dadd988f4
5 changed files with 136 additions and 42 deletions

View File

@ -6,26 +6,23 @@ import rehypePrettyCode from "rehype-pretty-code";
import rehypeSlug from "rehype-slug";
import sitemap from "@astrojs/sitemap";
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",
},
],
integrations: [sitemap(), react(), tailwind({
applyBaseStyles: false,
}), mdx({
syntaxHighlight: false,
rehypePlugins: [
rehypeSlug,
[
rehypePrettyCode,
{
theme: "catppuccin-mocha",
},
],
}),
],
});
],
}), playformInline()],
});