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:
@ -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()],
|
||||
});
|
Reference in New Issue
Block a user