Skip to content

Commit

Permalink
Agregada sección Media (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
HRadry authored Oct 11, 2024
1 parent 9922384 commit a517776
Show file tree
Hide file tree
Showing 7 changed files with 60 additions and 0 deletions.
58 changes: 58 additions & 0 deletions src/components/inicio/Media.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
---
import { Image } from "astro:assets";
import one from "../../images/gallery_one.webp";
import two from "../../images/gallery_two.webp";
import three from "../../images/gallery_three.webp";
import four from "../../images/gallery_four.webp";
import five from "../../images/gallery_five.webp";
---

<section class="grid grid-cols-3 gap-4 p-4 mb-20">
<div class="rounded-lg overflow-hidden shadow-lg">
<Image
src={one}
alt="img"
class="h-full w-full object-cover"
/>
</div>

<div class="rounded-lg overflow-hidden shadow-lg">
<iframe
class="w-full h-full"
src="https://www.youtube.com/embed/1J3SqW7Lia4"
title="YouTube video"
>
</iframe>
</div>

<div class="rounded-lg overflow-hidden shadow-lg">
<Image
src={two}
alt="img"
class="h-aufull w-full object-cover"
/>
</div>

<div class="rounded-lg overflow-hidden shadow-lg">
<Image
src={three}
alt="img"
class="h-full w-full object-cover"
/>
</div>

<div class="rounded-lg overflow-hidden shadow-lg">
<Image
src={four}
alt="img"
class="h-full w-full object-cover"
/>
</div>
<div class="rounded-lg overflow-hidden shadow-lg">
<Image
src={five}
alt="img"
class="h-full w-full object-cover"
/>
</div>
</section>
Binary file added src/images/gallery_five.webp
Binary file not shown.
Binary file added src/images/gallery_four.webp
Binary file not shown.
Binary file added src/images/gallery_one.webp
Binary file not shown.
Binary file added src/images/gallery_three.webp
Binary file not shown.
Binary file added src/images/gallery_two.webp
Binary file not shown.
2 changes: 2 additions & 0 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ import Testimonials from "../components/inicio/Testimonials.astro";
import Layout from "../layouts/Layout.astro";
import Sections from "../components/inicio/Sections.astro";
import Objetives from "../components/Objetives.astro";
import Media from "../components/inicio/Media.astro";
---

<Layout title="La cámara de la gente">
<Banner />
<Sections/>
<Objetives/>
<Media/>
<Testimonials />
</Layout>

0 comments on commit a517776

Please sign in to comment.