Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Sponsors section #26

Merged
merged 2 commits into from
Dec 13, 2023
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
Binary file added src/assets/images/jala-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/jb-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/pepsi-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions src/components/SponsorsSection.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
import { Image } from "astro:assets";
import jetbrainsLogo from "../assets/images/jb-logo.png";
import jalaLogo from "../assets/images/jala-logo.png";
import pepsiLogo from "../assets/images/pepsi-logo.png";
---

<section class="py-20">
<h2 class="text-center text-3xl font-medium leading-normal text-[black]">
Sponsors
</h2>
<div class="mt-16 flex items-center justify-around">
<Image src={jetbrainsLogo} alt="sponsors img" loading="lazy" class="w-64" />
<Image src={jalaLogo} alt="sponsors img" loading="lazy" class="w-64" />
<Image src={pepsiLogo} alt="sponsors img" loading="lazy" class="w-64" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alt texts should be descriptive

</div>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not responsive, the images should wrap. The implementation should be mobile first

</section>
2 changes: 2 additions & 0 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import AboutUsSection from "../components/AboutUsSection.astro";
import ConductCode from "../components/ConductCode.astro";
import EventsSection from "../components/EventsSection.astro";
import Footer from "../components/Footer.astro";
import SponsorsSection from "../components/SponsorsSection.astro";
---

<Layout title="GDG Cochabamba">
Expand All @@ -15,6 +16,7 @@ import Footer from "../components/Footer.astro";
<AboutUsSection />
<EventsSection />
<ConductCode />
<SponsorsSection />
<Footer />
</main>
</Layout>
Expand Down