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 #41 from acm-ucr/d-leeee/CombineComponents
Combine ProjectCard to Layout using grid
- Loading branch information
Showing
6 changed files
with
109 additions
and
72 deletions.
There are no files selected for viewing
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 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,61 @@ | ||
import Image from "next/image"; | ||
import train from "/public/landing/landingpagetrain.webp"; | ||
import path from "/public/landing/landingpagetrainpath.webp"; | ||
import rectangle35 from "/public/landing/Rectangle35.webp"; | ||
import rectangle36 from "/public/landing/Rectangle36.webp"; | ||
import rectangle37 from "/public/landing/Rectangle37.webp"; | ||
import ellipse13 from "/public/landing/Ellipse13.webp"; | ||
const Landing = () => { | ||
return ( | ||
<div className="flex h-screen w-screen flex-col bg-gradient-to-t from-blue-700 to-blue-950"> | ||
<div> | ||
<div className="h-1/8 flex flex-row justify-between p-4"> | ||
<div className="ml-4 h-8 w-24 bg-gray-300 text-center"> | ||
<p className="bg-gray-300 p-2">LOGO</p> | ||
</div> | ||
<div className="flex flex-row space-x-2"> | ||
<div className="h-8 w-8 rounded-full bg-gray-300"></div> | ||
<div className="h-8 w-8 rounded-full bg-gray-300"></div> | ||
<div className="h-8 w-8 rounded-full bg-gray-300"></div> | ||
<div className="h-8 w-8 rounded-full bg-gray-300"></div> | ||
</div> | ||
</div> | ||
|
||
<div className="h-1/8 relative flex w-full flex-col space-y-4 pt-8"> | ||
<Image | ||
className="relative ml-4 h-1/6 w-1/6" | ||
src={rectangle36} | ||
alt="" | ||
/> | ||
<Image className="absolute h-full w-1/4" src={ellipse13} alt="" /> | ||
<div className="bottom-4 flex h-full w-full flex-row"> | ||
<Image | ||
className="relative ml-40 mr-12 h-1/5 w-1/2" | ||
src={rectangle37} | ||
alt="" | ||
/> | ||
<p className="font-sans-serif w-full text-[4vw] text-yellow-300"> | ||
DEVELOPER STATION | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div className="relative h-1/2"> | ||
<Image className="absolute h-3/4 w-full" src={rectangle35} alt="" /> | ||
<Image className="relative top-48 h-5/6 w-full" src={path} alt="" /> | ||
<Image className="absolute top-8 h-full w-full" src={train} alt="" /> | ||
</div> | ||
|
||
<div className="flex h-1/4 flex-row pb-12"> | ||
<p className="ml-11 w-1/4 text-lg text-white"> | ||
Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem | ||
Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum | ||
Lorem Ipsum | ||
</p> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Landing; |
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,39 @@ | ||
import ProjectCard from "../home/ProjectCard"; | ||
import backgroundImage from "/public/images/Projectshome1.webp"; | ||
const Projects = () => { | ||
return ( | ||
<div className="mx-[3vw] my-[5vw] flex flex-col items-center rounded-xl bg-devstation-green-200 bg-opacity-80 p-[2.5vw] text-center text-white"> | ||
<div className="text-[4vw]">Our Projects</div> | ||
|
||
<div className="mb-[2vw] text-lg"> | ||
Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum | ||
Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum | ||
</div> | ||
<div className="grid grid-cols-3 flex-col items-center justify-center"> | ||
<div className="mx-[2vw] mb-[1vw]"> | ||
<ProjectCard | ||
backgroundImage={backgroundImage} | ||
description="Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum." | ||
title="Title" | ||
/> | ||
</div> | ||
<div className="mx-[2vw] mb-[1vw]"> | ||
<ProjectCard | ||
backgroundImage={backgroundImage} | ||
description="Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum." | ||
title="Title" | ||
/> | ||
</div> | ||
<div className="mx-[2vw] mb-[1vw]"> | ||
<ProjectCard | ||
backgroundImage={backgroundImage} | ||
description="Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum." | ||
title="Title" | ||
/> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Projects; |
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