Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions alight/src/App.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
import './App.css';
import { BrowserRouter as Router,Routes,Route } from 'react-router-dom';
import Welcome from './pages/welcome';
import Speakers from './components/speakers';
function App() {
return (
<>
<Router>
<Routes>
<Route path='/' element={<Welcome/>}></Route>
<Route path='/speaker' element = {<Speakers/>}></Route>
</Routes>
</Router>
</>
Expand Down
Binary file added alight/src/assets/alight.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions alight/src/components/homepage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ function HomePage() {
services and over 200,000 ideas for how to do better.{" "}
</p>
</div>
<h1>SESSION</h1>
<div className="session">
<div>
<div className="smart-container">
Expand Down Expand Up @@ -266,6 +267,7 @@ function HomePage() {
services and over 200,000 ideas for how to do better.{" "}
</p>
</div>
<h1>SESSION</h1>
<div className="session">
<div>
<div className="smart-container">
Expand Down
104 changes: 104 additions & 0 deletions alight/src/components/speakers.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
import React from "react";
// import { Carousel } from "antd";

function Speakers(){


return (
<>
<article>



<div className="heads">
<h1>OUR SPEAKERS</h1>
<h3>Stay tuned for more Speakers to come</h3>
</div>



<div className="articles">

<div className="image">
<img src="https://www.paulkagame.com/wp-content/uploads/2021/04/PaulKagame_Web.jpeg" alt="pk"/>
<div className="text">
<h2>H.E POUL KAGAME</h2>
<p>President Republic Of Rwanda chairman of FPR</p>
</div>


<div className="name">
<h3>H.E POUL KAGAME</h3>
</div>
</div>
<div className="image">
<img src="https://www.paulkagame.com/wp-content/uploads/2021/04/PaulKagame_Web.jpeg" alt="pk"/>
<div className="text">
<h2>H.E POUL KAGAME</h2>
<p>President Republic Of Rwanda chairman of FPR</p>
</div>

<div className="name">
<h3>H.E POUL KAGAME</h3>
</div>
</div>


<div className="image">
<img src="https://www.paulkagame.com/wp-content/uploads/2021/04/PaulKagame_Web.jpeg" alt="pk"/>
<div className="text">
<h2>H.E POUL KAGAME</h2>
<p>President Republic Of Rwanda chairman of FPR</p>
</div>

<div className="name">
<h3>H.E POUL KAGAME</h3>
</div>
</div>
<div className="image">
<img src="https://www.paulkagame.com/wp-content/uploads/2021/04/PaulKagame_Web.jpeg" alt="pk"/>
<div className="text">
<h2>H.E POUL KAGAME</h2>
<p>President Republic Of Rwanda chairman of FPR</p>
</div>

<div className="name">
<h3>H.E POUL KAGAME</h3>
</div>
</div>
<div className="image">
<img src="https://www.paulkagame.com/wp-content/uploads/2021/04/PaulKagame_Web.jpeg" alt="pk"/>
<div className="text">
<h2>H.E POUL KAGAME</h2>
<p>President Republic Of Rwanda chairman of FPR</p>
</div>

<div className="name">
<h3>H.E POUL KAGAME</h3>
</div>
</div>
<div className="image">
<img src="https://www.paulkagame.com/wp-content/uploads/2021/04/PaulKagame_Web.jpeg" alt="pk"/>
<div className="text">
<h2>H.E POUL KAGAME</h2>
<p>President Republic Of Rwanda chairman of FPR</p>
</div>

<div className="name">
<h3>H.E POUL KAGAME</h3>
</div>
</div>





</div>


</article>
</>
)
}

export default Speakers
Empty file.
2 changes: 2 additions & 0 deletions alight/src/pages/welcome.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@ import React from "react";
import NavBar from "../components/navbar";
import "../sass/main.scss";
import HomePage from "../components/homepage";
import Speakers from "../components/speakers";


function Welcome(){
return (
<>
<NavBar/>
<HomePage/>
<Speakers/>
</>
)
}
Expand Down
99 changes: 99 additions & 0 deletions alight/src/sass/components/speaker.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@

article{

background-color: white;
background-image:linear-gradient(to bottom,#02abeede,#02abeeda), url('https://media.glassdoor.com/l/fb/c9/43/00/alight-team-at-workday-rising-2017.jpg');
background-size: cover;
background-position: center;
height: 80vh;


.heads{

h1{
font-size: 3rem;
font-family: "popins", Sans-serif;
color: #eee;
text-align: center;
padding: 5rem 0 1rem;
}
h3{
font-size: 3rem;
font-family: "Montserrat", Sans-serif;
color: #eee;
text-align: center;
padding: 2rem 0 1rem;
font-weight: 600;
}

}
.articles{
// display: grid;
// grid-template-columns: repeat(,1fr);
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
gap: 5rem;
padding: 3rem 7rem;
.image{
width: 200px;
height: 200px;
position: relative;
transition: all ease .3s;
.text{
text-align: center;
padding: 1rem;

h2{
font-size: 1.9rem;
color: #eee;
}
p{
font-size: 1.5rem;
padding: 1rem 0;
color: #fbbb25;
font-family: "Montserrat", Sans-serif;
font-weight: 900;
}
}


img{
width: 100%;
height: 100%;
border-radius: 50%;
object-fit: cover;
border: 2px solid #fbbb25;
}

&:hover .name{
display: flex;


}
}
.name{
position: absolute;
top: 0;
background-color: #f27c71c2;
width: 100%;
height: 100%;
display: none;
justify-content: center;
align-items: center;
border-radius: 50%;
color: #ffff;
font-size: 15px;
font-family: "Montserrat", Sans-serif;
font-weight: 600;


}

}



}

1 change: 1 addition & 0 deletions alight/src/sass/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
@import 'base/typography.scss';
@import 'base/base.scss';
@import 'components/home.scss';
@import 'components/speaker.scss';

@import 'abstracts/mixin.scss'