generated from HackYourFuture-CPH/hyf-assignment-template
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
React1 week1/gayathri #235
Open
GayathriVenkatraman
wants to merge
9
commits into
main
Choose a base branch
from
react1-week1/gayathri
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
Show all changes
9 commits
Select commit
Hold shift + click to select a range
5a21368
Initial set up completed for react1-week1 homework
GayathriVenkatraman 01126f6
Added list for LinkedIN
GayathriVenkatraman e26acc1
Imported and used Footer component
GayathriVenkatraman 4f9e611
Created separate OurValues.js file and added the description
GayathriVenkatraman b287c24
Imported and used OurValues.js in OurValues components
GayathriVenkatraman 53ac28b
Styling done for OurValues
GayathriVenkatraman a723e88
OurCrew page is created and imported
GayathriVenkatraman 90e9a4c
OurPartners.js page created and imported
GayathriVenkatraman ce7f9df
homework completed
GayathriVenkatraman 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 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 @@ | ||
node_modules |
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,2 @@ | ||
node_modules | ||
.env |
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,5 @@ | ||
.DS_Store | ||
node_modules | ||
.next | ||
jsconfig.json | ||
next.config.mjs |
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,47 @@ | ||
# TASK 1 | ||
|
||
Let's finish the "About Us" page! | ||
|
||
## Content to use | ||
|
||
### Our Mission | ||
|
||
At Galactica, our mission is to unlock the wonders of the universe for everyone. We believe that space is the final frontier and that the opportunity to explore it should be within everyone’s reach. Our journeys are designed to inspire, educate, and provide a once-in-a-lifetime experience that transcends the ordinary. | ||
|
||
### Our Values | ||
|
||
Exploration: We are driven by a deep-seated desire to explore the unknown. We believe that the pursuit of discovery is at the heart of human nature, and we are committed to pushing the boundaries of what is possible. | ||
|
||
Innovation: At Galactica, we prioritize cutting-edge technology and innovation. We are constantly evolving our spacecraft, safety protocols, and services to ensure that our travelers experience the most advanced and secure space journeys available. | ||
|
||
Sustainability: We are committed to making space exploration sustainable for future generations. Our space missions are designed to minimize environmental impact, both on Earth and in space, and to foster a spirit of responsibility towards our universe. | ||
|
||
Community: We believe in the power of collective exploration. Our journeys are not just about reaching new destinations; they are about building a community of space enthusiasts who share a passion for the stars. | ||
|
||
|
||
### Our Crew | ||
|
||
#### Description | ||
Our crew is the heart and soul of Galactica. We are a diverse team of seasoned space explorers, engineers, and visionaries who are united by a common goal: to make space travel accessible and exciting for all. | ||
|
||
Captain Sarah Vega: A former NASA astronaut with over 15 years of experience, Captain Vega leads our missions with unparalleled expertise and a passion for space exploration. | ||
|
||
Dr. Leo Redding: Our chief astrophysicist, Dr. Redding, is a renowned scientist who has contributed to major space discoveries. He ensures that every journey is as educational as it is exhilarating. | ||
|
||
Chief Engineer Hana Lee: With her extensive background in aerospace engineering, Hana Lee is responsible for the state-of-the-art technology that powers our spacecraft. Her innovation ensures that our travelers are always in safe hands. | ||
|
||
Mission Specialist Alex Santos: As a mission specialist, Alex’s job is to ensure that every aspect of the journey runs smoothly. With a background in both science and adventure tourism, Alex is the perfect guide for our space travelers. | ||
|
||
Crew Member Maya Patel: Maya brings a unique blend of technical skills and customer service experience to the team. She’s always ready to assist with any needs and to make sure every traveler has an unforgettable experience. | ||
|
||
#### Content | ||
|
||
Use the content saved in the `/public/crew` folder! | ||
|
||
### Our Partners | ||
|
||
We collaborate with some of the most respected names in the space and technology industries to make every journey extraordinary. | ||
|
||
#### Content | ||
|
||
Use the content saved in the `/public/business_partners` folder! |
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,56 @@ | ||
import styles from "./page.module.css"; | ||
|
||
const crew = [ | ||
{ | ||
img: "/crew/image-douglas-hurley.webp", | ||
name: "Captain Douglas Hurley", | ||
description: | ||
"A former NASA astronaut with over 15 years of experience, Captain Douglas leads our missions with unparalleled expertise and a passion for space exploration.", | ||
}, | ||
{ | ||
img: "/crew/image-anousheh-ansari.webp", | ||
name: "Chief Engineer Anousheh Ansari", | ||
description: | ||
"With her extensive background in aerospace engineering, Anousheh is responsible for the state-of-the-art technology that powers our spacecraft. Her innovation ensures that our travelers are always in safe hands.", | ||
}, | ||
{ | ||
img: "/crew/image-mark-shuttleworth.webp", | ||
name: "Crew Member Mark Shuttleworth", | ||
description: | ||
"Mark brings a unique blend of technical skills and customer service experience to the team. He's always ready to assist with any needs and to make sure every traveler has an unforgettable experience", | ||
}, | ||
{ | ||
img: "/crew/image-victor-glover.webp", | ||
name: "Mission Specialist Victor Glover", | ||
description: | ||
"As a mission specialist, Victor's job is to ensure that every aspect of the journey runs smoothly. With a background in both science and adventure tourism, Victor is the perfect guide for our space travelers.", | ||
}, | ||
]; | ||
|
||
const OurCrew = () => { | ||
return ( | ||
<section className={styles.ourCrew}> | ||
<h2>Meet our talented crew</h2> | ||
<p> | ||
Our crew is the heart and soul of Galactica. We are a diverse team of | ||
seasoned space explorers, engineers, and visionaries who are united by a | ||
common goal: to make space travel accessible and exciting for all. | ||
</p> | ||
<div className={styles.crewList}> | ||
{crew.map((member, index) => ( | ||
<div key={index} className={styles.crewMember}> | ||
<img | ||
src={member.img} | ||
alt={member.name} | ||
className={styles.crewImage} | ||
/> | ||
<h3 style={{ color: "black" }}>{member.name}</h3> | ||
<p style={{ color: "black" }}>{member.description}</p> | ||
</div> | ||
))} | ||
</div> | ||
</section> | ||
); | ||
}; | ||
|
||
export default OurCrew; |
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 styles from "@/app/about_us/page.module.css"; | ||
|
||
const partners = [ | ||
{ name: "alphabet", img: "/business_partners/alphabet-logo.png" }, | ||
{ name: "amazon", img: "/business_partners/amazon_logo.png" }, | ||
{ name: "cbc", img: "/business_partners/CBC_Logo_White.png" }, | ||
{ name: "microsoft", img: "/business_partners/Microsoft-Logo-white.png" }, | ||
{ name: "nyu", img: "/business_partners/nyu-logo.png" }, | ||
{ name: "queen", img: "/business_partners/QueensLogo_white.png" }, | ||
{ name: "samsung", img: "/business_partners/samsung-logo.png" }, | ||
{ name: "sodexo", img: "/business_partners/sodexo-logo.png" }, | ||
]; | ||
|
||
const OurPartners = () => { | ||
return ( | ||
<section className={styles.ourPartners}> | ||
<h2 style={{ textAlign: "left", fontSize: "20px" }}>OUR PARTNERS</h2> | ||
<h3 style={{ fontSize: "32px", fontWeight: "bold", maxWidth: "400px" }}> | ||
We collaborate with some of the most respected names in the space and | ||
technology industries to make every journey extraordinary. | ||
</h3> | ||
<div className={styles.gridStyle}> | ||
{partners.map((partner, index) => { | ||
return ( | ||
<div key={index} className={styles.logoContainer}> | ||
<img | ||
src={partner.img} | ||
alt={partner.name} | ||
className={styles.imageStyle} | ||
/> | ||
</div> | ||
); | ||
})} | ||
</div> | ||
</section> | ||
); | ||
}; | ||
|
||
export default OurPartners; |
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,28 @@ | ||
const values = [ | ||
{ | ||
number: "01", | ||
title: "Exploration", | ||
description: | ||
"We are driven by a deep-seated desire to explore the unknown. We believe that the pursuit of discovery is at the heart of human nature, and we are committed to pushing the boundaries of what is possible.", | ||
}, | ||
{ | ||
number: "02", | ||
title: "Innovation", | ||
description: | ||
"At Galactica, we prioritize cutting-edge technology and innovation. We are constantly evolving our spacecraft, safety protocols, and services to ensure that our travelers experience the most advanced and secure space journeys available.", | ||
}, | ||
{ | ||
number: "03", | ||
title: "Sustainability", | ||
description: | ||
"We are committed to making space exploration sustainable for future generations. Our space missions are designed to minimize environmental impact, both on Earth and in space, and to foster a spirit of responsibility towards our universe", | ||
}, | ||
{ | ||
number: "04", | ||
title: "Community", | ||
description: | ||
"We believe in the power of collective exploration. Our journeys are not just about reaching new destinations; they are about building a community of space enthusiasts who share a passion for the stars.", | ||
}, | ||
]; | ||
|
||
export default values; |
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,45 @@ | ||
import styles from "./page.module.css"; | ||
import values from "./OurValues"; | ||
import OurCrew from "./ourCrew.js"; | ||
import OurPartners from "./ourPartners"; | ||
|
||
const OurValues = () => { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this function should be in it's own file, but it's okay There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks for you valuable feedback Lucas :) |
||
return ( | ||
<section className={styles.OurValues}> | ||
<h2 style={{ textAlign: "center", color: "#fff", padding: "2rem" }}> | ||
Our Values | ||
</h2> | ||
<div className={styles.grid}> | ||
{values.map((value, index) => ( | ||
<div key={index} className={styles.card}> | ||
<span className={styles.number}>{value.number}</span> | ||
<h4 className={styles.title}>{value.title}</h4> | ||
<p className={styles.description}>{value.description}</p> | ||
<div className={styles.divider}></div> | ||
</div> | ||
))} | ||
</div> | ||
</section> | ||
); | ||
}; | ||
|
||
export const Crew = () => { | ||
return ( | ||
<div className="fullBGpicture"> | ||
<main className="mainContent"> | ||
<h1>About us</h1> | ||
<section className="card"> | ||
<OurValues /> | ||
</section> | ||
<section className="card"> | ||
<OurCrew /> | ||
</section> | ||
<section className="card"> | ||
<OurPartners /> | ||
</section> | ||
</main> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Crew; |
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,134 @@ | ||
.app { | ||
background-color: black; | ||
width: 100vw; | ||
height: 100vh; | ||
} | ||
|
||
.OurValues { | ||
background-color: #121212; | ||
color: #fff; | ||
padding: 4rem 2rem; | ||
text-align: center; | ||
} | ||
.OurValues h2 { | ||
font-size: 1rem; | ||
font-weight: bold; | ||
text-transform: uppercase; | ||
letter-spacing: 2px; | ||
opacity: 0.8; | ||
} | ||
|
||
.grid { | ||
display: grid; | ||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); | ||
gap: 2rem; | ||
max-width: 900px; | ||
margin: 0 auto; | ||
} | ||
|
||
.card { | ||
text-align: left; | ||
padding: 2rem; | ||
background-color: #1a1a1a; | ||
border-radius: 8px; | ||
position: relative; | ||
} | ||
|
||
.number { | ||
font-size: 3rem; | ||
font-weight: bold; | ||
display: block; | ||
margin-bottom: 1rem; | ||
} | ||
|
||
.title { | ||
font-size: 1.5rem; | ||
font-weight: bold; | ||
margin-bottom: 0.5rem; | ||
} | ||
|
||
.description { | ||
font-size: 1rem; | ||
opacity: 0.8; | ||
} | ||
|
||
.divider { | ||
width: 100%; | ||
height: 1px; | ||
background-color: #333; | ||
margin-top: 2rem; | ||
} | ||
|
||
.card:hover { | ||
transform: scale(1.02); | ||
transition: transform 0.3s ease-in-out; | ||
} | ||
|
||
.ourCrew { | ||
padding: 2rem; | ||
text-align: center; | ||
background-color: #111; | ||
} | ||
|
||
.ourCrew p { | ||
padding: 2rem; | ||
} | ||
|
||
.crewList { | ||
display: grid; | ||
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); | ||
gap: 20px; | ||
justify-items: center; | ||
} | ||
|
||
.crewMember { | ||
background-color: #f9f9f9; | ||
padding: 20px; | ||
border-radius: 10px; | ||
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); | ||
transition: transform 0.2s ease-in-out; | ||
max-width: 250px; | ||
} | ||
|
||
.crewMember:hover { | ||
transform: scale(1.05); | ||
} | ||
|
||
.crewImage { | ||
width: 180px; | ||
height: 180px; | ||
border-radius: 50%; | ||
object-fit: cover; | ||
margin-bottom: 10px; | ||
align-self: center; | ||
} | ||
|
||
.ourPartners { | ||
background-color: #111; | ||
padding: 50px; | ||
color: white; | ||
} | ||
|
||
.gridStyle { | ||
display: grid; | ||
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); | ||
gap: 60px; | ||
align-items: center; | ||
justify-content: center; | ||
padding: 50px; | ||
text-align: center; | ||
} | ||
|
||
.logoContainer { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
height: 100px; | ||
} | ||
|
||
.imageStyle { | ||
max-width: 120px; | ||
max-height: 80px; | ||
object-fit: contain; | ||
filter: brightness(0) invert(1); | ||
} |
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 @@ | ||
## Descriptions for the planets | ||
|
||
### Europa | ||
Europa, one of Jupiter’s moons, is an icy world with a hidden ocean beneath its surface. This mysterious moon is a prime candidate for the search for extraterrestrial life, making it a thrilling destination for space explorers. | ||
|
||
### Mars | ||
Mars, the Red Planet, is a barren yet fascinating world with vast deserts, towering volcanoes, and the deepest canyon in the solar system. As humanity’s next frontier, Mars invites us to dream of colonization and the possibilities of life beyond Earth. | ||
|
||
### Moon | ||
Our closest celestial neighbor, the Moon, is a silent witness to Earth's history. With its stunning craters and desolate landscapes, the Moon offers a unique glimpse into space exploration's past and future, making it a perfect destination for lunar adventurers. | ||
|
||
### Titan | ||
Titan, Saturn's largest moon, is a world of dense atmosphere and liquid methane lakes. This enigmatic moon is shrouded in a thick orange haze, concealing a landscape that is both alien and strangely familiar, beckoning explorers to uncover its secrets. |
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