feat: ajoute les vraies photos

proto-module-actu-react
Jalil Arfaoui 2023-01-30 01:03:17 +01:00
parent a8ced70a81
commit 63931a3660
31 changed files with 35 additions and 7 deletions

View File

@ -10,6 +10,7 @@ import './style/SquareSpace/global.css'
import './style/SquareSpace/blocks.css'
import './style/SquareSpace/table.css'
import './style/SquareSpace/video.css'
import './photos'
const Layout = () => <div>
<Outlet />

Binary file not shown.

After

Width:  |  Height:  |  Size: 492 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 752 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 781 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 610 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 865 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 530 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 717 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 679 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 784 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 704 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 809 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 523 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 637 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 727 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 857 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 426 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 798 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 627 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 982 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 686 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 586 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 692 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 668 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 871 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 698 KiB

26
src/photos/index.ts Normal file
View File

@ -0,0 +1,26 @@
import "./Amélie Taveneau et Vincent Blondeau.jpg"
import "./Audrey-Anne et Michaël Delhommeau.jpg"
import "./Mathilde et Cyril Vannier.jpg"
import "./David et Coralie Renaudeau.jpg"
import "./Nicolas Verrier et Elodie Duchesne.jpg"
import "./Emmanuelle Chapleau et Philippe Lacot.jpg"
import "./Florence et Alexis Godart.jpg"
import "./Déborah et Florian Muller.jpg"
import "./Jérôme et Gwénaëlle Poiroux.jpg"
import "./Hélène Drulhe.jpg"
import "./Hélène Frémeaux.jpg"
import "./Isabelle et Nicolas Sibert.jpg"
import "./Jonathan Attias et Caroline Perez.jpg"
import "./Julie et Jean-Christophe Reboutier.jpg"
import "./Karène et Jalil Arfaoui.jpg"
import "./Marianne Cramer et Denis Gaudillère.jpg"
import "./Marina Cremers et Frederic Blanpain.jpg"
import "./Ramïn Farhangi et Marjorie Bautista.jpg"
import "./Marlène et Benjamin Vuillaume.jpg"
import "./Mathilde Catalifaud et Dorian Bouchet.jpg"
import "./Myriam et Timothée Chatelain.jpg"
import "./Ophélie Singeot et Sylvain Bouvet.jpg"
import "./Sarah Piquart Delquié et Jérôme Delquié.jpg"
import "./Sita et Pascal Bargibant.jpg"
import "./Sonia et Jean-Christophe Herbiet.jpg"
import "./Sylvaine et Olivier Cougé.jpg"

View File

@ -20,12 +20,13 @@ export const ResistantRow = ({resistant}: Props) => {
style={{ position: "relative", paddingBottom: "100%", overflow: "hidden"}}
id="yui_3_17_2_1_1674987238932_133">
<noscript><img
src="https://images.squarespace-cdn.com/content/v1/5c5c097593a6327956f164c2/1118ad01-23a3-4cf8-b927-4a3079bbd559/Jonathan%26Caroline.jpg"
<noscript>
<img
src={`https://enfance-libre.frama.io/resistants/assets/${resistant.noms}.jpg`}
alt="Jonathan Attias et Caroline Perez"/></noscript>
<img className="thumb-image loaded"
data-src="https://images.squarespace-cdn.com/content/v1/5c5c097593a6327956f164c2/1118ad01-23a3-4cf8-b927-4a3079bbd559/Jonathan%26Caroline.jpg"
data-image="https://images.squarespace-cdn.com/content/v1/5c5c097593a6327956f164c2/1118ad01-23a3-4cf8-b927-4a3079bbd559/Jonathan%26Caroline.jpg"
data-src={`https://enfance-libre.frama.io/resistants/assets/${resistant.noms}.jpg`}
data-image={`https://enfance-libre.frama.io/resistants/assets/${resistant.noms}.jpg`}
data-image-dimensions="2048x2048" data-image-focal-point="0.5,0.5"
data-load="false" data-image-id="63cfa9c1bc68a5418b4a2126"
data-type="image"
@ -36,8 +37,8 @@ export const ResistantRow = ({resistant}: Props) => {
height: "100%",
position: "absolute"
}}
alt="Jonathan Attias et Caroline Perez" data-image-resolution="500w"
src="https://images.squarespace-cdn.com/content/v1/5c5c097593a6327956f164c2/1118ad01-23a3-4cf8-b927-4a3079bbd559/Jonathan%26Caroline.jpg?format=500w"
alt={resistant.noms} data-image-resolution="500w"
src={`https://enfance-libre.frama.io/resistants/assets/${resistant.noms}.jpg`}
/>
</div>
</div>

View File

@ -9,7 +9,7 @@ export default defineConfig({
rollupOptions: {
output: {
entryFileNames: "resistants.js",
assetFileNames: "resistants.[ext]"
assetFileNames: ({ name }) => name && name.indexOf(".css") > 0 ? "resistants.css" : "assets/[name].[ext]"
}
},
outDir: "public"