refactor: use Tailwind CSS prose styles

This commit is contained in:
Oliver Davies 2023-04-22 21:57:02 +01:00
parent 84be97413d
commit f4bcae37db
14 changed files with 102 additions and 136 deletions

View file

@ -73,7 +73,7 @@ const footerLinks = [
footerLinks &&
footerLinks.map((link) => (
<a
class="mx-3 mb-3 text-sm md:text-lg dark:text-white link dark:hover:text-blue-400 hover:text-grey-900"
class="mx-3 mb-3 text-sm underline md:text-lg dark:text-white hover:no-underline link dark:hover:text-blue-400 hover:text-grey-900"
href={link.href}
>
{link.title}

View file

@ -1,12 +1,9 @@
---
import BaseLayout from "./Layout.astro";
import Markdown from "../components/Markdown.astro";
const { title } = Astro.props.frontmatter || Astro.props;
---
<BaseLayout title={title}>
<Markdown>
<slot />
</Markdown>
<slot />
</BaseLayout>