Skip to content

Commit

Permalink
Merge pull request #44 from acm-ucr/Simon-Cun/EventFruitBranch
Browse files Browse the repository at this point in the history
Added fruit branches to the right side of events page
  • Loading branch information
stanleylew5 authored Jan 21, 2025
2 parents 08c7cc1 + 7e57728 commit c87fb89
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
9 changes: 9 additions & 0 deletions public/events/fruitBranch.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/app/events/page.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import WhoWeAre from "@/components/about/WhoWeAre";
import Heading from "@/components/about/FourPillTitle";
import Title from "@/components/Title";
import FruitBranch from "@/components/events/FruitBranch";

const page = () => {
return (
<div>
<WhoWeAre />
<FruitBranch />
<Heading />
<Title text="events" />
</div>
Expand Down
14 changes: 14 additions & 0 deletions src/components/events/FruitBranch.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import React from "react";
import Image from "next/image";
import fruitBranch from "@/public/events/fruitBranch.svg";
const FruitBranch = () => {
return (
<Image
src={fruitBranch}
alt="Fruit Branch"
className="absolute right-0 -z-10 w-1/4"
/>
);
};

export default FruitBranch;

0 comments on commit c87fb89

Please sign in to comment.