Skip to content

Commit 889f7b2

Browse files
committed
biome
Signed-off-by: Adam Setch <[email protected]>
1 parent 89e0f4e commit 889f7b2

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

src/layouts/Layout.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import '~/styles/app.css';
33
44
import { siteMetadata } from '~/constants';
5-
import SiteFooter from '~/components/Footer.astro';
5+
import Footer from '~/components/Footer.astro';
66
import GoogleAnalytics from '~/components/GoogleAnalytics.astro';
77
import Navbar from '~/components/Navbar.astro';
88
@@ -60,6 +60,6 @@ const ogImage = `${siteMetadata.url}/images/social.png`;
6060
<body class="flex flex-col min-h-screen">
6161
<Navbar currentPathname={Astro.url.pathname}/>
6262
<slot/>
63-
<SiteFooter currentPathname={Astro.url.pathname}/>
63+
<Footer currentPathname={Astro.url.pathname}/>
6464
</body>
6565
</html>

src/pages/faq.astro

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
import { Accordion, AccordionItem } from 'accessible-astro-components';
3-
import Layout from '~/layouts/Layout.astro';
2+
import { Accordion, AccordionItem } from "accessible-astro-components";
3+
import Layout from "~/layouts/Layout.astro";
44
55
const faqs: FAQFrontmatter[] = Object.values(
6-
import.meta.glob('~/faqs/*.md', { eager: true }),
6+
import.meta.glob("~/faqs/*.md", { eager: true })
77
);
88
99
interface FAQFrontmatter {
@@ -13,11 +13,13 @@ interface FAQFrontmatter {
1313
compiledContent: () => string;
1414
}
1515
---
16+
1617
<Layout title="Frequently Asked Questions">
1718
<div class="container max-w-4xl mx-auto px-12 flex-1">
1819
<div class="text-3xl text-center mt-12 mb-8">
1920
Frequently Asked Questions
2021
</div>
22+
2123
<Accordion>
2224
{
2325
faqs.map((faq) => (

0 commit comments

Comments
 (0)