generated from acm-ucr/acm-ucr-website
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #68 from acm-ucr/dev
bump
- Loading branch information
Showing
39 changed files
with
562 additions
and
28 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import WhoWeAre from "@/components/about/WhoWeAre"; | ||
import Heading from "@/components/about/FourPillTitle"; | ||
import Title from "@/components/Title"; | ||
import Social from "@/components/about/Social"; | ||
import Academic from "@/components/about/AcademicComponent"; | ||
import Culture from "@/components/about/Culture"; | ||
import RightLantern from "@/components/about/RightLantern"; | ||
import Philanthropy from "@/components/about/Philanthropy"; | ||
|
||
const page = () => { | ||
return ( | ||
<div className="bg-csa-tan-100"> | ||
<RightLantern /> | ||
<Title text="about" /> | ||
<WhoWeAre /> | ||
<Heading /> | ||
<Philanthropy /> | ||
<Social /> | ||
<Culture /> | ||
<Academic /> | ||
</div> | ||
); | ||
}; | ||
|
||
export default page; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import React from "react"; | ||
|
||
const page = () => { | ||
return <div className="bg-csa-tan-100"></div>; | ||
}; | ||
|
||
export default page; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import Title from "@/components/Title"; | ||
import FruitBranch from "@/components/events/FruitBranch"; | ||
|
||
const page = () => { | ||
return ( | ||
<div className="bg-csa-tan-100"> | ||
<Title text="events" /> | ||
<FruitBranch /> | ||
</div> | ||
); | ||
}; | ||
|
||
export default page; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import Title from "@/components/Title"; | ||
|
||
const page = () => { | ||
return ( | ||
<div className="bg-csa-tan-100"> | ||
<Title text="gallery" /> | ||
</div> | ||
); | ||
}; | ||
|
||
export default page; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
|
||
:root { | ||
--font-lora: "Lora", serif; | ||
} | ||
|
||
.font-lora { | ||
font-family: var(--font-lora); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
"use client"; | ||
import Image from "next/image"; | ||
import Link from "next/link"; | ||
import React, { useState } from "react"; | ||
import CsaLogo from "@/public/home/csalogo.svg"; | ||
import WebMarker from "@/public/home/webpageMarker.svg"; | ||
import { tags } from "@/data/navBarData"; | ||
import { AlignJustify } from "lucide-react"; | ||
|
||
const Navigation = () => { | ||
const [clicked, setClicked] = useState("Home"); | ||
const [mobileScreen, setMobile] = useState(false); | ||
|
||
const handleMobile = () => { | ||
setMobile(!mobileScreen); | ||
}; | ||
|
||
return ( | ||
<div className="top-0 flex w-full items-center justify-between border-b-8 border-csa-yellow-100 bg-csa-red-200"> | ||
<Link | ||
onClick={() => { | ||
setClicked("Home"); | ||
}} | ||
href="/" | ||
> | ||
<Image src={CsaLogo} alt="CSA_Logo" className="left-0 mx-5 my-3 w-20" /> | ||
</Link> | ||
|
||
<div className="absolute right-0 hidden w-[45%] justify-evenly px-1 md:flex"> | ||
{tags.map((tag, index) => ( | ||
<Link | ||
href={tag.link} | ||
key={index} | ||
onClick={() => { | ||
setClicked(tag.name); | ||
}} | ||
className={`font-lora inline-flex items-center text-xl hover:cursor-pointer ${tag.name == "Join" ? "rounded-md bg-csa-yellow-100 px-6 py-2 text-white" : "text-white"}`} | ||
> | ||
{tag.name} | ||
{clicked == tag.name && ( | ||
<Image | ||
src={WebMarker} | ||
alt="WebMarker" | ||
className="absolute mx-5 mt-12 w-4" | ||
/> | ||
)} | ||
</Link> | ||
))} | ||
</div> | ||
<div | ||
className={ | ||
mobileScreen | ||
? "fixed top-10 -z-10 flex w-full flex-col items-center justify-evenly bg-csa-red-200 md:hidden" | ||
: "fixed hidden" | ||
} | ||
> | ||
{tags.map((tag, index) => ( | ||
<Link | ||
href={tag.link} | ||
key={index} | ||
onClick={() => { | ||
setClicked(tag.name); | ||
handleMobile(); | ||
}} | ||
className={`font-lora mb-4 inline-flex items-center text-xl text-white hover:cursor-pointer ${tag.name == "Join" && "rounded-md bg-csa-yellow-100 px-6 py-2"}`} | ||
> | ||
{tag.name} | ||
</Link> | ||
))} | ||
</div> | ||
<div onClick={handleMobile}> | ||
<AlignJustify className="mr-3 flex text-3xl text-white hover:cursor-pointer md:hidden" /> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Navigation; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
import React from "react"; | ||
import Image from "next/image"; | ||
import banner from "@/public/home/banner.svg"; | ||
|
||
interface TitleNameProps { | ||
text: string; | ||
} | ||
|
||
const Title: React.FC<TitleNameProps> = ({ text }) => { | ||
return ( | ||
<div className="relative flex items-center justify-center"> | ||
<div className="mr-4 mt-4 h-[.8vh] w-[20vw] bg-csa-green-100" /> | ||
<Image src={banner} alt="Banner" className="h-1/3 w-1/3 object-cover" /> | ||
<div className="absolute mt-4 flex justify-center"> | ||
<svg | ||
width="3/4vw" | ||
height="3/4vw" | ||
viewBox="0 0 400 200" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<path | ||
id="curve" | ||
d="M50,150 Q200,10 370,150" | ||
fill="transparent" | ||
stroke="none" | ||
/> | ||
|
||
<text | ||
fill="#7C2413" | ||
font-size="6.5vw" | ||
font-weight="bold" | ||
font-family="serif" | ||
> | ||
<textPath href="#curve" startOffset="50%" text-anchor="middle"> | ||
{text} | ||
</textPath> | ||
</text> | ||
</svg>{" "} | ||
</div> | ||
|
||
<div className="ml-4 mt-4 h-[.8vh] w-[20vw] bg-csa-green-100" /> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Title; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import React from "react"; | ||
import Image from "next/image"; | ||
import gradCap from "@/public/about/gradCap.webp"; | ||
|
||
const Academic = () => { | ||
return ( | ||
<div className="mr-[5vw] flex justify-end"> | ||
<div className="relative flex h-[12vh] w-[28vw] items-center rounded-3xl border-8 border-csa-yellow-100"> | ||
<p className="ml-8 text-3xl font-bold text-csa-gray-100">Academic</p> | ||
<Image | ||
src={gradCap} | ||
alt="gradCap" | ||
className="absolute translate-x-[20%] translate-y-[-9%]" | ||
/> | ||
</div> | ||
<div></div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Academic; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import React from "react"; | ||
import Image from "next/image"; | ||
import redenvelope from "@/public/about/envelope.webp"; | ||
|
||
const Culture = () => { | ||
return ( | ||
<div className="ml-20 flex"> | ||
<div className="relative flex h-[12vh] w-[45vw] items-center rounded-3xl border-8 border-csa-red-100 bg-white"> | ||
<p className="font-lora absolute right-2 p-4 text-3xl font-bold text-csa-gray-200"> | ||
Culture | ||
</p> | ||
<Image | ||
src={redenvelope} | ||
alt="Red Envelope" | ||
className="absolute h-[300px] w-[260px] translate-x-[-34%] translate-y-[5%]" | ||
/> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Culture; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import React from "react"; | ||
|
||
const Heading = () => { | ||
return ( | ||
<div className="flex flex-col"> | ||
<p className="mr-2 pr-4 text-right text-5xl font-semibold text-csa-red-100"> | ||
Four Pillars | ||
</p> | ||
<div className="ml-auto mr-4 h-[1vh] w-[11vw] bg-csa-tan-300"></div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Heading; |
Oops, something went wrong.