Skip to content

Commit

Permalink
Add CSS grid test
Browse files Browse the repository at this point in the history
  • Loading branch information
lilujk committed Aug 4, 2024
1 parent 472b64d commit ce711ed
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 10 deletions.
81 changes: 71 additions & 10 deletions app/last-year/photos/page.tsx
Original file line number Diff line number Diff line change
@@ -1,40 +1,101 @@
"use client";

import React from "react";
import "@/app/globals.css";
import Footer from "../../../components/footer/footer";
import NavBar from "@/components/nav-bar/nav-bar";
import Image from "next/image";
import image1 from "@/public/lastYearPhotos/IMG_1115.jpg";
import image2 from "@/public/lastYearPhotos/IMG_1118.jpg";
import image3 from "@/public/lastYearPhotos/IMG_1123.jpg";
import image4 from "@/public/lastYearPhotos/IMG_1126.jpg";
import image5 from "@/public/lastYearPhotos/IMG_1127.jpg";
import image6 from "@/public/lastYearPhotos/IMG_1131.jpg";
import image7 from "@/public/lastYearPhotos/IMG_1135.jpg";
import image8 from "@/public/lastYearPhotos/IMG_1144.jpg";
import image9 from "@/public/lastYearPhotos/IMG_1148.jpg";

export default function PhotoGallery() {
return (
<div className="w-full flex items-center justify-center flex-col">
{/* TO DO: Add NavBar */}
<div className="w-11/12 lg:w-3/4 xl:w-2/3 pt-8 flex flex-col items-center justify-center">
<h2 className="text-3xl font-bold text-center mb-8 pt-20">A Memorable Time in HackRPI X!</h2>

<div className="grid-cols-3">
<NavBar showOnScroll={false} />
<h2 className="text-3xl font-bold text-center mb-8 pt-20">A Memorable Time in HackRPI X!</h2>
<div className="flex items-center justify-center">
<div className="grid-cols-4">
<div className="inline-grid">

<Image
src={image1}
width={500}
height={500}
alt="Photo from HackRPI X 2023"
/>
</div>
<div className="inline-grid">

<Image
src={image2}
width={500}
height={500}
alt="Photo from HackRPI X 2023"
/>
</div>
<div className="inline-grid">

<Image
src={image3}
width={500}
height={500}
alt="Photo from HackRPI X 2023"
/>
</div>
<div className="inline-grid">

<Image
src={image4}
width={500}
height={500}
alt="Photo from HackRPI X 2023"
/>
</div>
<div className="inline-grid">

<Image
src={image5}
width={500}
height={500}
alt="Photo from HackRPI X 2023"
/>
</div>
<div className="inline-grid">
<Image
src={image6}
width={500}
height={500}
alt="Photo from HackRPI X 2023"
/>

</div>
<div className="inline-grid">
<Image
src={image7}
width={500}
height={500}
alt="Photo from HackRPI X 2023"
/>

</div>
<div className="inline-grid">
<Image
src={image8}
width={500}
height={500}
alt="Photo from HackRPI X 2023"
/>

</div>
<div className="inline-grid">
<Image
src={image9}
width={500}
height={500}
alt="Photo from HackRPI X 2023"
/>

</div>
</div>
Expand Down
Binary file removed public/lastYearPhotos/IMG_1121.jpg
Binary file not shown.

0 comments on commit ce711ed

Please sign in to comment.