Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions src/pages/faqs.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
import Layout from '../layouts/Layout.astro';
import Questions from '../components/Questions.astro';

const questions = [
{ question: 'Pregunta?', answer: 'Respuesta meticulosamente pensada ' },
{ question: 'Pregunta?', answer: 'Respuesta meticulosamente pensada ' },
];
---

<Layout>
<Questions id="faqs" questions={questions} />
</Layout>

<style>
h1 { font-family: 'Roboto', sans-serif; }
</style>
6 changes: 0 additions & 6 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import Layout from '../layouts/Layout.astro';
import Hero from '../components/Hero.astro';
import Sponsors from '../components/Sponsors.astro';
import AboutUs from '../components/AboutUs.astro';
import Questions from '../components/Questions.astro';

// Welcome to Astro! Wondering what to do next? Check out the Astro documentation at https://docs.astro.build
// Don't want to use any of this? Delete everything in this file, the `assets`, `components`, and `layouts` directories, and start fresh.
Expand All @@ -14,15 +13,10 @@ const sponsors = [
// { name: 'Sponsor4', image: '/', url: '#' },
];

const questions = [
{ question: 'Pregunta?', answer: 'Respuesta meticulosamente pensada ' },
{ question: 'Pregunta?', answer: 'Respuesta meticulosamente pensada ' },
];
---

<Layout>
<Hero />
<Sponsors id="sponsors" sponsors={sponsors} />
<AboutUs />
<Questions id="questions" questions={questions} />
</Layout>