feat: ajoute la galerie Flickr en bas de la page d’accueil
This commit is contained in:
parent
a501a72cef
commit
fa80f57b1b
2 changed files with 8 additions and 0 deletions
4
src/components/FlickrGallery.astro
Normal file
4
src/components/FlickrGallery.astro
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
<a data-flickr-embed="true" href="https://www.flickr.com/photos/201651898@N02" title="">
|
||||||
|
<img src="https://live.staticflickr.com/65535/54288016045_474fa91d78_z.jpg" width="800" height="600" alt=""/>
|
||||||
|
</a>
|
||||||
|
<script async src="//embedr.flickr.com/assets/client-code.js" charset="utf-8"></script>
|
||||||
|
|
@ -3,6 +3,7 @@ import Layout from '../layouts/Layout.astro';
|
||||||
import Card from '../components/Card.astro';
|
import Card from '../components/Card.astro';
|
||||||
import { fetchEvenements } from "../lib/contentful";
|
import { fetchEvenements } from "../lib/contentful";
|
||||||
import Evenement from "../components/Evenement.astro";
|
import Evenement from "../components/Evenement.astro";
|
||||||
|
import FlickrGallery from "../components/FlickrGallery.astro";
|
||||||
|
|
||||||
export const prerender = false
|
export const prerender = false
|
||||||
|
|
||||||
|
|
@ -23,6 +24,9 @@ const evenements = await fetchEvenements()
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<FlickrGallery />
|
||||||
|
|
||||||
<ul role="list" class="link-card-grid">
|
<ul role="list" class="link-card-grid">
|
||||||
<Card
|
<Card
|
||||||
title="Les Particules Fines"
|
title="Les Particules Fines"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue