Skip to content

Commit

Permalink
create a new branch from _main_ and fix merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
Teek-tech committed Dec 14, 2022
2 parents ee22bcb + cb4c20f commit 08bf3b7
Show file tree
Hide file tree
Showing 75 changed files with 366 additions and 122 deletions.
8 changes: 4 additions & 4 deletions src/App.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import { Header, Footer } from "./components";
import { Header, Footer } from "./layouts";
import { Route, Routes } from "react-router-dom";
import { Home, About, Event, Apply, ErrorPage } from "./views";
import { Home, About, EventBadging, ApplyForBadging, ErrorPage } from "./pages";

const App = () => {
return (
<>
<Header />
<Routes>
<Route path="/" element={<Home />} />
<Route path="/apply" element={<Apply />} />
<Route path="/event" element={<Event />} />
<Route path="/apply" element={<ApplyForBadging />} />
<Route path="/event" element={<EventBadging />} />
<Route path="/about" element={<About />} />
<Route path="/*" element={<ErrorPage />} />
</Routes>
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
281 changes: 281 additions & 0 deletions src/assets/styles/global.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,281 @@
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300&family=Poppins&display=swap");

* > * {
font-family: "Poppins";
}
.flex-row {
display: flex;
}
a {
text-decoration: none;
color: #000;
}

/* ========== Start Header Navigation ========= */
.navigation{
width: 90%;
margin: auto;
height: 76px;
align-items: center;
}
.logo {
flex: 1;
display: flex;
/* align-items: center; */
}
.navigation ul {
list-style: none;
gap: 2rem;
font-size: 16px;
line-height: 24px;
}
.navigation ul .active {
border-bottom: 2px solid red;
}
.navigation button {
color: #000;
padding: 15px;
border: 1px solid #000;
background-color: transparent;
cursor: pointer;
}

@media screen and (max-width: 790px) {
.navigation ul {
display: none;
}
}

/* ========== End Header Navigation ========= */


/* ========== Start Home Style ========= */

* {
margin: 0;
padding: 0;
}

html {
-webkit-tap-highlight-color: transparent;
}

.hero-section {
width: 100%;
display: flex;
height: 400px;
justify-content: center;
align-items: center;
}

.heroPic {
width: 100%;
}

.hero-section-text {
color: white;
display: flex;
}
.hero-main {
flex: 0.6;
margin-left: 70px;
}

.hero-main-text {
display: inline-block;
}

.hero-main-text > p {
font-family: "Poppins", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 20px;
line-height: 200%;

/* or 40px */

text-align: justify;
letter-spacing: 0.02em;
}

.hero-logo {
flex: 0.2;
margin-left: 100px;
left: 0;
}

.hero-logo > img {
width: 250px;
margin-top: 50px;
}

.hero-main-buttons {
margin-top: 10px;
display: inline-flex;
}

.button {
width: 210px;
height: 56px;
font-family: "Poppins", sans-serif;
font-style: normal;
}

.button > .link {
text-decoration: none;
}

.badged-event {
background: #ffffff;
border: 1px solid #d61b5e;
border-radius: 4px;
}

.badged-event > .link {
color: #d61b5e;
}

.apply {
background: #d61b5e;
border-radius: 4px;
margin-left: 20px;
}

.apply > .link {
color: #ffffff;
}

/* section 4 */
.section-4 {
height: 483px;
background: #e7e7e7;
display: flex;
justify-content: center;
align-items: center;
flex-direction: row;
column-gap: 50px;
}

.badging-level {
flex: 0.6;
display: inline-block;
align-items: flex-start;
}

.badging-level > h2 {
font-family: "Poppins";
font-style: normal;
font-weight: 500;
font-size: 48px;
}

.badging-level > p {
font-family: "Poppins";
font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 200%;
text-align: justify;
}

.badging-image-container {
flex-direction: 0.4;
width: 630px;
height: 323px;
border: 1px solid #ffffff;
backdrop-filter: blur(40.5px);
border-radius: 16px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
row-gap: 5px;
}

/* section 5 */

.section-5 {
height: 483px;
background: #f5f3f3;
display: flex;
justify-content: center;
align-items: center;
flex-direction: row;
column-gap: 100px;
}

.event-badging {
flex: 0.6;
font-family: "Poppins";
font-style: normal;
font-weight: 500;
font-size: 48px;
}

.event-badging > p {
font-family: "Poppins";
font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 200%;
text-align: justify;
}

/* Section 6 */
.section-6 {
height: 969px;
background: #f5f3f3;
}

.testimonial-container {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
row-gap: 30px;
}

.testimonial-container > .title {
display: flex;
justify-content: center;
align-items: center;
}

.title > h2 {
font-family: "Poppins";
font-style: normal;
font-weight: 600;
font-size: 48px;
line-height: 128%;
}

.testimonials {
display: flex;
justify-content: center;
align-items: center;
flex-direction: row;
column-gap: 40px;
}

.faq-container {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
row-gap: 30px;
margin-top: 50px;
}

.faq-container > .title {
display: flex;
justify-content: center;
align-items: center;
}

.faqs {
display: flex;
flex-direction: column;
row-gap: 20px;
}

/* ========== End Home Style ========= */
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/components/faq/FAQData.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const FAQData = [
export const faqData = [
{
question: "What requrements are needed before i apply for a badge ?",
answer:
Expand Down
6 changes: 3 additions & 3 deletions src/components/faq/FaqItem.js → src/components/faq/Faq.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import React, { useState } from "react";
import "./faqitem.css";
import "./faq.css";
import KeyboardArrowDownIcon from "@mui/icons-material/KeyboardArrowDown";
import KeyboardArrowUpIcon from "@mui/icons-material/KeyboardArrowUp";

const FaqItem = ({ question, answer }) => {
const Faq = ({ question, answer }) => {
const [showAnswer, setShowAnswer] = useState(false);

return (
Expand All @@ -21,4 +21,4 @@ const FaqItem = ({ question, answer }) => {
);
};

export default FaqItem;
export default Faq;
File renamed without changes.
6 changes: 3 additions & 3 deletions src/components/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Header from "./Header";
import Footer from "./Footer";
import Faq from "./faq/Faq";
import Testimonial from "./testimonial/Testimonial";
import BadgeLevels from "./BadgeLevels";

export { Header, Footer, BadgeLevels };
export { Faq, Testimonial, BadgeLevels};
4 changes: 2 additions & 2 deletions src/components/testimonial/testimonial.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.testimonial {
width: 397px;
width: 310px;
height: 310px;
background: #ffffff;
border-radius: 8px;
Expand Down Expand Up @@ -44,4 +44,4 @@
font-size: 16px;
line-height: 200%;
margin-top: 20px;
}
}
12 changes: 6 additions & 6 deletions src/components/testimonial/testimonialData.js
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
import girl from "../../../assets/images/girl.png";
import man from "../../../assets/images/man.png";
import guy from "../../../assets/images/guy.png";
import img06 from "../../assets/images/testimonial/img06.png"
import img01 from "../../assets/images/testimonial/img01.png"
import img02 from "../../assets/images/testimonial/img02.png"

export const testimonialData = [
{
image: girl,
image: img06,
name: "Yaire Tally",
title: "Co-founder Bitzu",
message:
"Lorem ipsum dolor sit amet, ectetur adipiscing elit. Volutpat, nunc, ibero odio lacinia faucibus mus. Egetattis in purus, erat. Urna, tortor feugiat aliquam semper. ",
},
{
image: man,
image: img02,
name: "Yaire Tally",
title: "Co-founder Bitzu",
message:
"Lorem ipsum dolor sit amet, ectetur adipiscing elit. Volutpat, nunc, ibero odio lacinia faucibus mus. Egetattis in purus, erat. Urna, tortor feugiat aliquam semper. ",
},
{
image: guy,
image: img01,
name: "Yaire Tally",
title: "Co-founder Bitzu",
message:
Expand Down
Loading

0 comments on commit 08bf3b7

Please sign in to comment.