Skip to content

Commit

Permalink
fix: change name to gallery
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsp45 committed Feb 19, 2024
1 parent 2e067ab commit 9e657c5
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 30 deletions.
21 changes: 10 additions & 11 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ cd ares
```

Then all the commands you'll need to start developing are here:
| Command | Action |
| Command | Action |
| :--------------------- | :------------------------------------------------ |
| `npm install` | Install dependencies |
| `npm run dev` | Start local dev server at `localhost:4321` |
| `npm run build` | Build your production site to `./dist/` |
| `npm run preview` | Preview your build locally, before deploying |
| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` |
| `npm run astro --help` | Get help using the Astro CLI |
| `npm run format` | Format code with [Prettier](https://prettier.io/) |
| `npm run clean` | Remove `node_modules` and build output |
| `npm install` | Install dependencies |
| `npm run dev` | Start local dev server at `localhost:4321` |
| `npm run build` | Build your production site to `./dist/` |
| `npm run preview` | Preview your build locally, before deploying |
| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` |
| `npm run astro --help` | Get help using the Astro CLI |
| `npm run format` | Format code with [Prettier](https://prettier.io/) |
| `npm run clean` | Remove `node_modules` and build output |

## 🔼 Opening a PR

Expand All @@ -38,10 +38,9 @@ git commit -m "Your commit message"
git push
```

Now all that is left to do is opening a Pull Request so your contribution can be published into production. If you don't know how to open a Pull Request, please refer to [this guide](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request). **_Don't forget to select the reviewers_**.
Now all that is left to do is opening a Pull Request so your contribution can be published into production. If you don't know how to open a Pull Request, please refer to [this guide](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request). **_Don't forget to select the reviewers_**.
Once your PR is approved, your commit will be pushed to main and to production. Congratulations, you just contributed to the Ares repository.

### Note for those not a part of the CeSIUM team

If you are not a member of our team on Github, then instead of creating a branch you need to fork this project. If you don't know how to do that, please [refer to this guide](https://docs.github.com/en/get-started/quickstart/fork-a-repo).

42 changes: 28 additions & 14 deletions src/components/faqs.jsx
Original file line number Diff line number Diff line change
@@ -1,20 +1,25 @@
import { Disclosure } from '@headlessui/react'
import { PlayIcon } from '@heroicons/react/24/solid'
import faqs from "~/data/faqs.json"
import { Disclosure } from "@headlessui/react";
import { PlayIcon } from "@heroicons/react/24/solid";
import faqs from "~/data/faqs.json";

export default function Faqs() {
return (
<div>
<div className="mx-auto max-w-7xl px-6 pb-24 sm:pb-32 lg:px-8 lg:pb-40">
<div className="mx-auto max-w-4xl">
<h2 className="text-2xl font-bold leading-10 tracking-wide text-white">Frequently asked questions</h2>
<h2 className="text-2xl font-bold leading-10 tracking-wide text-white">
Frequently asked questions
</h2>
<p className="mt-6 text-justify text-xl leading-7 uppercase">
Have a different question and can’t find the answer you’re looking for?
Reach out to our support team by <a
Have a different question and can’t find the answer you’re looking
for? Reach out to our support team by{" "}
<a
href="mailto:[email protected]"
className="font-semibold text-indigo-400 hover:text-indigo-300"
>sending us an email </a
>and we’ll get back to you as soon as we can.
>
sending us an email{" "}
</a>
and we’ll get back to you as soon as we can.
</p>
</div>
<div className="mx-auto max-w-4xl divide-y">
Expand All @@ -27,18 +32,27 @@ export default function Faqs() {
<Disclosure.Button className="flex w-full items-start justify-start text-left text-white">
<div>
{open ? (
<PlayIcon fill="#66B22E" className="mt-2 mr-3 w-4 h-4 rotate-90" />
<PlayIcon
fill="#66B22E"
className="mt-2 mr-3 w-4 h-4 rotate-90"
/>
) : (
<PlayIcon fill="#66B22E" className="mt-2 mr-3 w-4 h-4" />
<PlayIcon
fill="#66B22E"
className="mt-2 mr-3 w-4 h-4"
/>
)}
</div>
<span className="text-xl text-white font-semibold leading-7 uppercase">{faq.question}</span>
<span className="ml-6 flex h-7 items-center">
<span className="text-xl text-white font-semibold leading-7 uppercase">
{faq.question}
</span>
<span className="ml-6 flex h-7 items-center"></span>
</Disclosure.Button>
</dt>
<Disclosure.Panel as="dd" className="mt-2 pr-12">
<p className="font-sans text-base leading-7 text-white ml-7">{faq.answer}</p>
<p className="font-sans text-base leading-7 text-white ml-7">
{faq.answer}
</p>
</Disclosure.Panel>
</>
)}
Expand All @@ -48,5 +62,5 @@ export default function Faqs() {
</div>
</div>
</div>
)
);
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
import ContentSection from "~/components/contentSection.astro";
import ShowcaseCard from "~/components/showcaseCard.astro";
import gallery from "~/data/gallery.json"
import ShowcaseCard from "~/components/galleryCard.astro";
import gallery from "~/data/gallery.json";
---

<ContentSection title="Showcase" id="showcase">
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/components/intro.astro
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import ContentSection from "~/components/contentSection.astro";
>
<p>The second edition will be happening from</p>
<p class="text-4xl text-primary uppercase">
5<span class="text-2xl">th</span> to 7<span class="text-2xl">th</span> april
5<span class="text-2xl">th</span> to 7<span class="text-2xl">th</span> april
2024
</p>

Expand Down
4 changes: 2 additions & 2 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
import Intro from "~/components/intro.astro";
import Showcase from "~/components/showcase.astro";
import Gallery from "~/components/gallery.astro";
import IndexLayout from "~/layouts/indexLayout.astro";
---

<IndexLayout>
<Intro />
<Showcase />
<Gallery />
</IndexLayout>

0 comments on commit 9e657c5

Please sign in to comment.