This repository was archived by the owner on Oct 14, 2025. It is now read-only.
generated from HackYourFuture-CPH/hyf-assignment-template
-
Notifications
You must be signed in to change notification settings - Fork 64
week1 tasks are done #39
Open
GuzideGuzelbey
wants to merge
1
commit into
HackYourFuture-CPH:main
Choose a base branch
from
GuzideGuzelbey:react-1/week1
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,18 @@ | ||
| import OurCrew from "./OurCrew"; | ||
| import OurValues from "./OurValues"; | ||
| import styles from "./about.module.css"; | ||
| import OurPartners from "./OurPartners"; | ||
| import OurMission from "./OurMission"; | ||
|
|
||
| export const Crew = () => { | ||
| return ( | ||
| <div> | ||
| <OurMission /> | ||
| <OurValues /> | ||
| <OurCrew /> | ||
| <OurPartners /> | ||
| </div> | ||
| ); | ||
| }; | ||
|
|
||
| export default Crew; |
This file contains hidden or 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,42 @@ | ||
| "use client"; | ||
|
|
||
| import aboutData from "../../data/about_data.json"; | ||
| import Image from "next/image"; | ||
| import styles from "./about.module.css"; | ||
|
|
||
| const OurCrew = () => { | ||
| // TASK - React 1 week 1 | ||
| // Create the "Our Crew section" | ||
| // Use the descriptions provided in /app/about_us/README.md | ||
| // Use the pictures from /public/crew | ||
| // Some inspiration ideas found in /data/inspiration_about_us | ||
| return ( | ||
| <section className={styles.ourCrew}> | ||
| <div className={styles.ourCrewContainer}> | ||
| <h2>Our Crew</h2> | ||
| <p className={styles.crewDescription}>{aboutData.crewDescription}</p> | ||
| <div className={styles.teamGrid}> | ||
| {aboutData.crew.map((member) => ( | ||
| <div key={member.name} className={styles.teamMember}> | ||
| <Image | ||
| src={member.image} | ||
| alt={member.name} | ||
| width={250} | ||
| height={300} | ||
| className={styles.crewImage} | ||
| priority | ||
| /> | ||
| <h3>{member.name}</h3> | ||
| <p className={styles.teamMemberRole}> | ||
| <strong>{member.role}</strong> | ||
| </p> | ||
| <p className={styles.memberDescription}>{member.description}</p> | ||
| </div> | ||
| ))} | ||
| </div> | ||
| </div> | ||
| </section> | ||
| ); | ||
| }; | ||
|
|
||
| export default OurCrew; | ||
This file contains hidden or 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,15 @@ | ||
| import aboutData from "../../data/about_data.json"; | ||
| import styles from "./about.module.css"; | ||
|
|
||
| export default function OurMission() { | ||
| return ( | ||
| <section className={styles.mission}> | ||
| <div className={styles.missionContainer}> | ||
| <h2>{aboutData.mission.title}</h2> | ||
| <p className={styles.missionDescription}> | ||
| {aboutData.mission.description} | ||
| </p> | ||
| </div> | ||
| </section> | ||
| ); | ||
| } |
This file contains hidden or 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,28 @@ | ||
| import styles from "./about.module.css"; | ||
| import aboutData from "../../data/about_data.json"; | ||
| import Image from "next/image"; | ||
|
|
||
| const OurPartners = () => { | ||
| return ( | ||
| <section className={styles.partners}> | ||
| <div className={styles.partnersContainer}> | ||
| <h2>Our Partners</h2> | ||
| <p className={styles.partnerIntro}>{aboutData.partnerIntro}</p> | ||
| <div className={styles.partnersGrid}> | ||
| {aboutData.partners.map((partner) => ( | ||
| <div key={partner.name} className={styles.partnerLogo}> | ||
| <Image | ||
| src={partner.logo} | ||
| alt={partner.name} | ||
| width={150} | ||
| height={80} | ||
| /> | ||
| </div> | ||
| ))} | ||
| </div> | ||
| </div> | ||
| </section> | ||
| ); | ||
| }; | ||
|
|
||
| export default OurPartners; |
This file contains hidden or 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,29 @@ | ||
| import aboutData from "../../data/about_data.json"; | ||
| import styles from "./about.module.css"; | ||
|
|
||
| const OurValues = () => { | ||
| // TASK - React 1 week 1 | ||
| // Create the "Our Values" section | ||
| // Use the descriptions provided in /app/about_us/README.md | ||
| // Some inspiration ideas found in /data/inspiration_about_us | ||
| return ( | ||
| <section className={styles.values}> | ||
| <div className={styles.valuesContainer}> | ||
| <h2>Our Values</h2> | ||
| <div className={styles.valuesGrid}> | ||
| {aboutData.values.map((value, index) => ( | ||
| <div key={index} className={styles.valueCard}> | ||
| <span className={styles.valueNumber}> | ||
| {String(index + 1).padStart(2, "0")} | ||
| </span> | ||
| <h3 className={styles.valueTitle}>{value.title}</h3> | ||
| <p className={styles.valueDescription}>{value.description}</p> | ||
| </div> | ||
| ))} | ||
| </div> | ||
| </div> | ||
| </section> | ||
| ); | ||
| }; | ||
|
|
||
| export default OurValues; |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good use of map