Skip to content

Commit 83c7cc7

Browse files
committed
add photos to about page
1 parent d89deaf commit 83c7cc7

File tree

5 files changed

+29
-0
lines changed

5 files changed

+29
-0
lines changed

app/about/page.tsx

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
11
import Link from "next/link"
2+
import Image, { StaticImageData } from "next/image";
23
import { Paragraph, Chapter } from "../components/TextUtils"
34
import ContactEmail from "./ContactEmail"
45

6+
import vulkanised2023_1 from "@/public/vulkanised_photos/2023/2023_1.jpg";
7+
import vulkanised2023_2 from "@/public/vulkanised_photos/2023/2023_2.jpg";
8+
import vulkanised2024_1 from "@/public/vulkanised_photos/2024/2024_1.jpg";
9+
import vulkanised2024_2 from "@/public/vulkanised_photos/2024/2024_2.jpg";
10+
11+
function VulkanisedPhoto({ src, alt }: { src: StaticImageData | string, alt: string }) {
12+
return <Image src={src} alt={alt} className="aspect-video w-[400px]"/>
13+
}
14+
515
export default function Page() {
616
return (
717
<main className="container mx-auto max-sm:px-8 flex flex-col gap-4 sm:gap-8 sm:items-center h-full justify-center">
@@ -27,6 +37,25 @@ export default function Page() {
2737
availability of consultants and specific expertise required their regular working hours overlap the
2838
normal working hours from San Francisco to Sydney.
2939
</Paragraph>
40+
41+
<div className="grid grid-cols-1 lg:grid-cols-2 my-4 gap-4">
42+
<VulkanisedPhoto
43+
src={vulkanised2023_1}
44+
alt="Vulkanised photo 1"
45+
/>
46+
<VulkanisedPhoto
47+
src={vulkanised2023_2}
48+
alt="Vulkanised photo 2"
49+
/>
50+
<VulkanisedPhoto
51+
src={vulkanised2024_1}
52+
alt="Vulkanised photo 3"
53+
/>
54+
<VulkanisedPhoto
55+
src={vulkanised2024_2}
56+
alt="Vulkanised photo 4"
57+
/>
58+
</div>
3059
</Chapter>
3160
<Chapter title="Contact">
3261
<Paragraph>
4.68 MB
Loading
4.7 MB
Loading
7.34 MB
Loading
9.08 MB
Loading

0 commit comments

Comments
 (0)