diff --git a/astro.config.mjs b/astro.config.mjs index 882e651..e148a66 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -1,4 +1,12 @@ -import { defineConfig } from 'astro/config'; +import { defineConfig } from 'astro/config' + +import remarkMath from 'remark-math' +import rehypeKatex from 'rehype-katex' // https://astro.build/config -export default defineConfig({}); +export default defineConfig({ + markdown: { + remarkPlugins: [remarkMath], + rehypePlugins: [rehypeKatex], + }, +}) diff --git a/bun.lockb b/bun.lockb index ccf5736..2827bfb 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index bf87ca1..d2f51f7 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,8 @@ "astro": "astro" }, "dependencies": { - "astro": "4.15.10" + "astro": "4.15.10", + "rehype-katex": "^7.0.1", + "remark-math": "^6.0.0" } } diff --git a/public/favicon.svg b/public/favicon.svg index f4c7d9c..051b98f 100644 --- a/public/favicon.svg +++ b/public/favicon.svg @@ -1,13 +1,13 @@ - - - - - - - - - - \ No newline at end of file + + + + + + + + + + diff --git a/public/tutors/alessio-sgubin.jpg b/public/tutors/alessio-sgubin.jpg new file mode 100644 index 0000000..81ed2a1 Binary files /dev/null and b/public/tutors/alessio-sgubin.jpg differ diff --git a/public/tutors/altro-tutor.jpg b/public/tutors/altro-tutor.jpg new file mode 100644 index 0000000..b809c49 Binary files /dev/null and b/public/tutors/altro-tutor.jpg differ diff --git a/public/tutors/stefano-mannella.jpg b/public/tutors/stefano-mannella.jpg new file mode 100644 index 0000000..1d6394b Binary files /dev/null and b/public/tutors/stefano-mannella.jpg differ diff --git a/src/layouts/Base.astro b/src/layouts/Base.astro index e01a5fd..5d16256 100644 --- a/src/layouts/Base.astro +++ b/src/layouts/Base.astro @@ -19,33 +19,6 @@ const { title, courses, selectedCourseLabel } = Astro.props integrity="sha384-nB0miv6/jRmo5UMMR1wu3Gz6NLsoTkbqJghGIsx//Rlm+ZU03BU6SQNC66uf4l5+" crossorigin="anonymous" /> - - -