File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 22import ' ~/styles/app.css' ;
33
44import { siteMetadata } from ' ~/constants' ;
5- import SiteFooter from ' ~/components/Footer.astro' ;
5+ import Footer from ' ~/components/Footer.astro' ;
66import GoogleAnalytics from ' ~/components/GoogleAnalytics.astro' ;
77import 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 >
Original file line number Diff line number Diff line change 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
55const faqs: FAQFrontmatter [] = Object .values (
6- import .meta .glob (' ~/faqs/*.md' , { eager: true }),
6+ import .meta .glob (" ~/faqs/*.md" , { eager: true })
77);
88
99interface 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 ) => (
You can’t perform that action at this time.
0 commit comments