-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from GDGCochabamba/feat/faq
- Loading branch information
Showing
5 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
const { question, answer } = Astro.props; | ||
--- | ||
|
||
<details class="border py-8 [&_svg]:open:-rotate-180"> | ||
<summary class="flex justify-between px-8 cursor-pointer"> | ||
<span class="text-xl font-bold" title={question}>{question}</span> | ||
<svg | ||
fill="none" | ||
viewBox="0 0 24 24" | ||
stroke-width="1.5" | ||
stroke="currentColor" | ||
class="w-6 h-6 transition-all duration-200" | ||
> | ||
<path | ||
stroke-linecap="round" | ||
stroke-linejoin="round" | ||
d="m19.5 8.25-7.5 7.5-7.5-7.5"></path> | ||
</svg> | ||
</summary> | ||
<section class="px-8 mt-4 text-xl text-justify" title={answer}> | ||
{answer} | ||
</section> | ||
</details> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
import faqs from "./faqs.json"; | ||
import FaqCard from "./FaqCard.astro"; | ||
--- | ||
|
||
<section id="faqs" class="bg-black text-white"> | ||
<section class="max-w-screen-xl mx-auto px-4 py-16 space-y-8"> | ||
<h2 class="text-2xl sm:text-3xl font-bold mx-auto">FAQs</h2> | ||
<h1 class="text-1xl sm:text-xl mx-auto"> | ||
¿Tienes dudas? ¡Esperamos puedas despejarlas aquí! | ||
</h1> | ||
<section class="flex flex-col"> | ||
{faqs.map((faq) => <FaqCard {...faq} />)} | ||
</section> | ||
</section> | ||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[ | ||
{ | ||
"question": "No tengo equipo, ¿Puedo participar?", | ||
"answer": "¡Claro que puedes participar! Los organizadores del evento asignarán a los participantes que no tengan equipo a un equipo que esté incompleto. Así que no te preocupes." | ||
}, | ||
{ | ||
"question": "¿Qué habilidades necesito para destacarme?", | ||
"answer": "No necesitas tener conocimientos previos para ser parte del hackathon. BuildWith AI está abierto a personas de diferentes áreas y niveles de experiencia, unidos por el poder la de la inteligencia artificial." | ||
}, | ||
{ | ||
"question": "¿Cómo conformo mi equipo para participar?", | ||
"answer": "Te recomendamos contar con un equipo de 3 - 5 personas, con diversas habilidades e ideas, para trabajar de manera óptima y aprovechar al máximo esta experiencia." | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters