refactor: use Tailwind CSS prose styles
This commit is contained in:
parent
84be97413d
commit
f4bcae37db
14 changed files with 102 additions and 136 deletions
|
@ -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}
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue