Skip to content

Commit

Permalink
Merge pull request #79 from acm-ucr/acm-ucr/images_821319974b8e4cba
Browse files Browse the repository at this point in the history
Update Images to Webp
  • Loading branch information
Sdrabla authored Jan 28, 2025
2 parents 481612f + bca5b7c commit fbfa8e5
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 4 deletions.
Binary file added public/gallery/pinkFlower.webp
Binary file not shown.
2 changes: 2 additions & 0 deletions src/app/gallery/page.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import Title from "@/components/Title";
import Gallery from "@/components/gallery/Gallery";

const page = () => {
return (
<div className="bg-csa-tan-100">
<Title text="gallery" />
<Gallery />
</div>
);
};
Expand Down
8 changes: 5 additions & 3 deletions src/app/not-found.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
const NotFound = () => {
return <div>404 Page Not Found</div>;
import NotFound from "@/components/NotFound";

const NotFoundPage = () => {
return <NotFound />;
};

export default NotFound;
export default NotFoundPage;
11 changes: 11 additions & 0 deletions src/components/NotFound.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
const NotFound = () => {
return (
<div className="flex h-screen flex-col items-center justify-center bg-csa-tan-100">
<p className="text-[12vw] font-bold text-csa-yellow-300">404</p>
<p className="font-lora text-[2.5vw] text-csa-gray-100">
page not found :(
</p>
</div>
);
};
export default NotFound;
12 changes: 11 additions & 1 deletion src/components/gallery/Gallery.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
import React from "react";
import Image from "next/image";
import pinkFlower from "@/public/gallery/pinkFlower.webp";

const Gallery = () => {
return <div></div>;
return (
<div>
<Image
src={pinkFlower}
alt="pinkFlower"
className="absolute bottom-0 left-0 w-2/12"
/>
</div>
);
};

export default Gallery;

0 comments on commit fbfa8e5

Please sign in to comment.