diff --git a/astro.config.ts b/astro.config.ts index fc32746..ac164ee 100644 --- a/astro.config.ts +++ b/astro.config.ts @@ -7,7 +7,6 @@ import icon from 'astro-icon' import expressiveCode from 'astro-expressive-code' import { rehypeHeadingIds } from '@astrojs/markdown-remark' import rehypeExternalLinks from 'rehype-external-links' -import rehypeKatex from 'rehype-katex' import rehypePrettyCode from 'rehype-pretty-code' import remarkEmoji from 'remark-emoji' import remarkMath from 'remark-math' @@ -98,22 +97,16 @@ export default defineConfig({ markdown: { syntaxHighlight: false, rehypePlugins: [ - [ - rehypeDocument, - { - css: 'https://cdn.jsdelivr.net/npm/katex@0.16.21/dist/katex.min.css', - }, - ], + rehypeDocument, [ rehypeExternalLinks, { target: '_blank', - rel: ['nofollow', 'noreferrer', 'noopener'], + ariaLabel: 'External link' }, ], rehypeDemoteH1AndStripTitle, rehypeHeadingIds, - rehypeKatex, [ rehypePrettyCode, { diff --git a/package.json b/package.json index bb92bb1..2d1a033 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,6 @@ "react-icons": "^5.5.0", "rehype-document": "^7.0.3", "rehype-external-links": "^3.0.0", - "rehype-katex": "^7.0.1", "rehype-pretty-code": "^0.14.1", "remark-emoji": "^5.0.1", "remark-math": "^6.0.0", diff --git a/public/static/cojocarudavidme.png b/public/static/cojocarudavidme.png deleted file mode 100644 index 41515a6..0000000 Binary files a/public/static/cojocarudavidme.png and /dev/null differ diff --git a/public/static/cojocarudavidme.webp b/public/static/cojocarudavidme.webp new file mode 100644 index 0000000..8e0939a Binary files /dev/null and b/public/static/cojocarudavidme.webp differ diff --git a/public/static/david-dark-code.png b/public/static/david-dark-code.png deleted file mode 100644 index 852dcb5..0000000 Binary files a/public/static/david-dark-code.png and /dev/null differ diff --git a/public/static/david-dark-code.webp b/public/static/david-dark-code.webp new file mode 100644 index 0000000..9ef93c8 Binary files /dev/null and b/public/static/david-dark-code.webp differ diff --git a/public/static/dream-home-template.png b/public/static/dream-home-template.png deleted file mode 100644 index 41a7cb2..0000000 Binary files a/public/static/dream-home-template.png and /dev/null differ diff --git a/public/static/dream-home-template.webp b/public/static/dream-home-template.webp new file mode 100644 index 0000000..1b2d0aa Binary files /dev/null and b/public/static/dream-home-template.webp differ diff --git a/public/static/logo.png b/public/static/logo.png deleted file mode 100644 index 4f623e4..0000000 Binary files a/public/static/logo.png and /dev/null differ diff --git a/public/static/modern-portfolio.png b/public/static/modern-portfolio.png deleted file mode 100644 index 27e07e5..0000000 Binary files a/public/static/modern-portfolio.png and /dev/null differ diff --git a/public/static/modern-portfolio.webp b/public/static/modern-portfolio.webp new file mode 100644 index 0000000..d3040f9 Binary files /dev/null and b/public/static/modern-portfolio.webp differ diff --git a/public/static/snippetslibrary.webp b/public/static/snippetslibrary.webp new file mode 100644 index 0000000..2611b83 Binary files /dev/null and b/public/static/snippetslibrary.webp differ diff --git a/public/static/tailci.png b/public/static/tailci.png deleted file mode 100644 index 7287eca..0000000 Binary files a/public/static/tailci.png and /dev/null differ diff --git a/public/static/tailci.webp b/public/static/tailci.webp new file mode 100644 index 0000000..fa4bbb6 Binary files /dev/null and b/public/static/tailci.webp differ diff --git a/src/components/react/buymeacoffe.tsx b/src/components/react/buymeacoffe.tsx index 83eb262..7bae2bd 100644 --- a/src/components/react/buymeacoffe.tsx +++ b/src/components/react/buymeacoffe.tsx @@ -7,7 +7,7 @@ function BuyMeCoffee({ classname }: { classname?: string }) { href='https://ko-fi.com/cojoo' target='_blank' className={cn( - 'border relative group w-36 mx-auto cursor-pointer h-32 grid place-content-center p-10 py-14 bg-primary rounded-md overflow-hidden', + 'border relative group w-36 mx-auto cursor-pointer h-32 grid place-content-center p-10 py-14 bg-primary rounded-md overflow-hidden', classname )} > diff --git a/src/components/react/navbar.tsx b/src/components/react/navbar.tsx index c0ffcee..f4deb53 100644 --- a/src/components/react/navbar.tsx +++ b/src/components/react/navbar.tsx @@ -84,7 +84,7 @@ const Navbar = () => { <> { className="font-custom flex shrink-0 items-center gap-2 text-xl font-bold" aria-label="Home" title="Home" - navigation="true" > {
-