diff --git a/app/about_us/OurCrew.js b/app/about_us/OurCrew.js new file mode 100644 index 00000000..f847626e --- /dev/null +++ b/app/about_us/OurCrew.js @@ -0,0 +1,69 @@ +import styles from './page.module.css'; +import './crew.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 + const crew = [ + { + title: "Captain", + name: "Sarah Vega", + bio: "A former NASA astronaut with over 15 years of experience, Captain Vega leads our missions with unparalleled expertise and a passion for space exploration.", + image: "/crew/image-anousheh-ansari.png" + }, + { + title: "Dr.", + name: "Leo Redding", + bio: "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.", + image: "/crew/image-douglas-hurley.png" + }, + { + title: "Chief Engineer", + name: "Hana Lee", + bio: "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.", + image: "/crew/image-mark-shuttleworth.png" + }, + { + title: "Mission Specialist", + name: "Alex Santos", + bio: "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.", + image: "/crew/image-victor-glover.png" + }, + { + title: "Crew Member", + name: "Maya Patel", + bio: "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.", + image: "/crew/image-anousheh-ansari.png" + } + + ]; + + + return ( +
+

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.

+
+ { + crew.map((item)=>( +
+ {item.name}/ +

{item.name}

+

{item.title}

+

{item.bio}

+
+ )) + } +
+
+ + + ); + } + + + +export default OurCrew; \ No newline at end of file diff --git a/app/about_us/OurPartners.js b/app/about_us/OurPartners.js new file mode 100644 index 00000000..93d07498 --- /dev/null +++ b/app/about_us/OurPartners.js @@ -0,0 +1,61 @@ +import styles from './page.module.css'; +import './partners.css'; + +const OurPartners = () => { + // 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 + const Partners = [ + { + name: "alphabet", + image: "/business_partners/alphabet-logo.png" + }, + { + name: "amazon", + image: "/business_partners/amazon_logo.png" + }, + { + name: "CBC", + image: "/business_partners/CBC_Logo_white.png" + }, + { + name: "Microsoft", + image: "/business_partners/Microsoft-logo-white.png" + }, + { + name: "NYU", + image: "/business_partners/nyu-logo.png" + }, + { + name: "Queens", + image: "/business_partners/QueensLogo_white.png" + }, + { + name: "samsung", + image: "/business_partners/samsung-logo.png" + }, + { + name: "sodexo", + image: "/business_partners/sodexo-logo.png" + } + + ]; + return ( + <> +

We collaborate with some of the most respected names in the space and technology industries to make every journey extraordinary.

+
{ + Partners.map((item)=>( +
+ {item.name}/ +
+ )) + } +
+ + + ); + } + + export default OurPartners; \ No newline at end of file diff --git a/app/about_us/OurValues.js b/app/about_us/OurValues.js new file mode 100644 index 00000000..911295cb --- /dev/null +++ b/app/about_us/OurValues.js @@ -0,0 +1,48 @@ +import styles from './page.module.css'; +import './values.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 + + const values = [ + { + value: "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." + }, + { + value: "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." + }, + { + value: "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."}, + { + value: "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."} + ]; + + + + return ( +
+

What we live by

+
+ { + values.map((item, index)=>( + +
+

{index+1}

+

{item.value}

+

{item.description}

+
+ )) + } +
+
+ ); + }; + +export default OurValues; \ No newline at end of file diff --git a/app/about_us/crew.css b/app/about_us/crew.css new file mode 100644 index 00000000..9b16fcf0 --- /dev/null +++ b/app/about_us/crew.css @@ -0,0 +1,56 @@ +.crewContainer { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + margin-top: 1rem; + padding: 1rem; + background-image: url('/crew/background-crew-desktop.jpg'); +} + +.intro { + font-size: 1.5rem; + font-weight: 300; + color: #f0f0f0; +} + +#crewCards { + width: 100%; + display: flex; + flex-direction: row; + justify-content: center; + align-items: baseline; + margin: 0; + padding: 1rem; +} + +.crewMember { + + width: 15rem; + margin: 10px; +} + +.crewMemberProfilePhoto { + width: auto; + height: 10rem; +} + +.crewMemberName { + font-size: 1.5rem; + font-weight: bold; + color: #f0f0f0; +} + +.crewMemberTitle { + font-size: 1rem; + font-weight: lighter; + color: #f0f0f0; +} + +.crewMemberBio { + font-size: 1rem; + font-weight: 200; + color: #f0f0f0; + line-height: 1.5rem; + text-justify: auto; +} \ No newline at end of file diff --git a/app/about_us/page.js b/app/about_us/page.js index 880ec427..673813ba 100644 --- a/app/about_us/page.js +++ b/app/about_us/page.js @@ -1,41 +1,35 @@ import styles from './page.module.css'; +import OurValues from './OurValues.js'; +import OurCrew from './OurCrew.js'; +import OurPartners from './OurPartners.js'; // TASK - React 1 week 1 // After you are finished with creating the page, move the OurValues, OurCrew, OurPartners components into their own files // OurValues.js, OurCrew.js, OurPartners.js should live in this folder // import and use the components from the newly created files -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 ( -

ADD OUR VALUES HERE

- ); -}; - -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 ( -

ADD OUR CREW HERE

- ); -} +// 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 ( +//

ADD OUR VALUES HERE

+// ); +// }; + +// 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 ( +//

ADD OUR CREW HERE

+// ); +// } + -const OurPartners = () => { - // 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 ( -

ADD OUR Partners HERE

- ); -} export const Crew = () => { @@ -51,9 +45,10 @@ export const Crew = () => {

The crew

- - {/* TASK - React 1 week 1 */} - {/* Add in the "OurPartners" component here */} +
+

Our Partners

+ +
); diff --git a/app/about_us/partners.css b/app/about_us/partners.css new file mode 100644 index 00000000..5816015c --- /dev/null +++ b/app/about_us/partners.css @@ -0,0 +1,24 @@ +#partnersContainer { + /* display: flex; + flex-wrap: wrap; + justify-content: space-evenly; + align-items:center; */ + display: grid; + grid: 'partner partner partner partner' + 'partner partner partner partner'; + grid-gap: 1rem; + margin: 0 auto; + padding: 2rem; +} + +.partner { + max-width: 15rem; + margin: auto; + padding: 1rem; + +} + +.partner img { + width: 90%; + height: auto; +} \ No newline at end of file diff --git a/app/about_us/values.css b/app/about_us/values.css new file mode 100644 index 00000000..abedd80e --- /dev/null +++ b/app/about_us/values.css @@ -0,0 +1,40 @@ +.values { + display: flex; + flex-direction: row; + flex-wrap: wrap; + justify-content: space-between; +} + +.containerTitle { + font-size: 3rem; + font-weight:300; +} + +.value { + display: flex; + flex-direction: column; + align-items: left; + justify-content: center; + max-width: 30rem; + border-bottom: solid 1px hsla(0, 0%, 94%, 0.403); +} + +.value .number { + font-size: 10rem; + font-weight: lighter; + color: #f0f0f0; +} + +.value .name { + font-size: 2rem; + font-weight: bold; + color: #f0f0f0; +} + +.value .valueDescription { + font-size: 1rem; + font-weight: lighter; + color: #f0f0f0; + line-height: 1.5rem; + text-justify: auto; +} \ No newline at end of file diff --git a/app/layout.js b/app/layout.js index 87ee54a8..cc4b6dd5 100644 --- a/app/layout.js +++ b/app/layout.js @@ -17,9 +17,9 @@ export const RootLayout = ({ children }) => { {children} - {/* TASK - React 1 week 1 */} - {/* Import and use the Footer component here */} - {/* Footer found in the ui/Footer.js folder */} + +