Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Commit

Permalink
work
Browse files Browse the repository at this point in the history
  • Loading branch information
Elias2660 committed May 1, 2024
1 parent 240d9c1 commit 2efc340
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 18 deletions.
30 changes: 19 additions & 11 deletions src/app/jprom/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,31 @@ import Nav from "@/components/Nav";
import "@/styles/JProm.css"
import AnnouncementLine from "/public/static/images/announcementsLine.svg";
import Image from "next/image";
import Papa from "papaparse";

export default async function Jprom() {

try {

} catch (e) {

}

export default function Jprom(){
return (
<div>
<Nav page="JProm"/>
<Nav page="JProm" />
<div className="jprom-super">
<div className = "jprom-container">
<div className="header">JProm</div>
<Image src={AnnouncementLine} alt="announcement line" className="header-border" />
<div className = "description">
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
<div className="jprom-container">
<div className="jprom-description">
<div className="header">JProm</div>
<Image src={AnnouncementLine} alt="announcement line" className="header-border" />
<div className="description">
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</div>
</div>
<div className="funding-goals-container">
<div className = "progress-bar">
<div className="progress-inside">

</div>
<div className="progress-bar">
<div className="progress-inside" />
</div>
<div className="progress-description">
JProm funding requirements!
Expand Down
6 changes: 4 additions & 2 deletions src/components/ProgressBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ import styles from "@/styles/ProgressBar.module.css";

export default async function ProgressBar() {
return (
<div>
<div className = "progress-bar">
<div className="progress-inside">

</div>
</div>
</div>
)
}
28 changes: 23 additions & 5 deletions src/styles/JProm.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
.jprom-container {
padding-top: 1em;
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-templage-rows: 1fr 1fr 1fr 1fr;
grid-templage-rows: 1fr;
min-width: 100vw;
min-height: 100vh;
}
Expand All @@ -18,34 +19,51 @@
line-height: 100%; /* 3rem */
}

.jprom-description {
grid-column: 1 / 3;
grid-row: 1;
display:flex;
flex-direction: column;

}


.description {
grid-column: 1 / 3;
grid-row: 2 / 3;
grid-row: 1;
padding: 20px;
font-family: var(--text-font, "neue-haas-grotesk-text"), "sans-serif";
color: var(--Main-Blue, "#0c2b56");
}

.funding-goals-container {
grid-column: 3 / 4;
grid-row: 1 / 4;
grid-row: 1;
display: flex;
flex-direction: column;
align-items: center;
}

.header-border {
grid-column: 1/3;
grid-row: 2;
grid-row: 1;
width: 60vw;
margin-left: 50px;
margin-left: 20px;
}

.progress-bar {
/* transform: rotate(90deg); */
height: 50vh;
width: 50px;
background-color: var(--Main-Blue, "#0c2b56");
z-index: -1;
}

.progress-inside {
background-color: "green";
height: 40%;
width: 100%;
z-index: 5000000230930099039490;
}

.funding-description {
Expand Down

0 comments on commit 2efc340

Please sign in to comment.