Skip to content

Commit 3305983

Browse files
committed
[layout] image optim about
1 parent 1aade13 commit 3305983

File tree

10 files changed

+21
-10
lines changed

10 files changed

+21
-10
lines changed

src/pages/about/index.astro

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,28 @@ import { Image } from "astro:assets";
55
import Banner from "../../components/Banner.astro";
66
import Layout from "../../layouts/Layout.astro";
77
8-
type TeamMember = { image: string; name: string; role?: string };
8+
type TeamMember = { image: ImageMetadata; name: string; role?: string };
9+
10+
import Alexis from "../../images/team/alexis-jacomy.jpg";
11+
import Benoit from "../../images/team/benoit-simard.jpeg";
12+
import Clement from "../../images/team/clement-levallois.png";
13+
import Eduardo from "../../images/team/eduardo-ramos-ibanez.png";
14+
import Martin from "../../images/team/martin-grandjean.png";
15+
import MathieuB from "../../images/team/mathieu-bastian.png";
16+
import MathieuJ from "../../images/team/mathieu-jacomy.png";
17+
import Matthieu from "../../images/team/matthieu-totet.png";
18+
import Paul from "../../images/team/paul-girard.jpeg";
919
1020
const TEAM: TeamMember[] = [
11-
{ image: "/team/mathieu-jacomy.png", name: "Mathieu Jacomy", role: "Project management and design" },
12-
{ image: "/team/mathieu-bastian.png", name: "Mathieu Bastian", role: "Java architect" },
13-
{ image: "/team/eduardo-ramos-ibanez.png", name: "Eduardo Ramos Ibáñez", role: "Java lead developer" },
14-
{ image: "/team/matthieu-totet.png", name: "Matthieu Totet", role: "Java codebase and plugins" },
15-
{ image: "/team/paul-girard.jpeg", name: "Paul Girard", role: "Gephi Lite team" },
16-
{ image: "/team/alexis-jacomy.jpg", name: "Alexis jacomy", role: "Gephi Lite team" },
17-
{ image: "/team/benoit-simard.jpeg", name: "Benoit Simard", role: "Gephi Lite team" },
18-
{ image: "/team/martin-grandjean.png", name: "Martin Grandjean", role: "Community management" },
19-
{ image: "/team/clement-levallois.png", name: "Clément Levallois", role: "Community emulation" },
21+
{ image: MathieuJ, name: "Mathieu Jacomy", role: "Project management and design" },
22+
{ image: MathieuB, name: "Mathieu Bastian", role: "Java architect" },
23+
{ image: Eduardo, name: "Eduardo Ramos Ibáñez", role: "Java lead developer" },
24+
{ image: Matthieu, name: "Matthieu Totet", role: "Java codebase and plugins" },
25+
{ image: Paul, name: "Paul Girard", role: "Gephi Lite team" },
26+
{ image: Alexis, name: "Alexis jacomy", role: "Gephi Lite team" },
27+
{ image: Benoit, name: "Benoit Simard", role: "Gephi Lite team" },
28+
{ image: Martin, name: "Martin Grandjean", role: "Community management" },
29+
{ image: Clement, name: "Clément Levallois", role: "Community emulation" },
2030
];
2131
---
2232

@@ -128,6 +138,7 @@ const TEAM: TeamMember[] = [
128138
width="200"
129139
height="200"
130140
class="img-thumbnail"
141+
layout="constrained"
131142
src={member.image}
132143
alt={`${member.name}'s picture`}
133144
/>

0 commit comments

Comments
 (0)