Skip to content
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

Landing blog page #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
24 changes: 24 additions & 0 deletions src/App.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import './global.scss';
import Footer from './components/Footer/Footer';
import Header from './components/Header/Header';
import KeyToCreating from './components/KeyToCreating/KeyToCreating';
import RelatedContentCard from './components/RelatedContentCard/RelatedContentCard';

function App() {
return (
<>
<div className = "for-mobile">
Mobile Version Coming Soon
</div>
<div className="App">
<Header/>
<KeyToCreating/>
<RelatedContentCard/>
<Footer/>
</div>
</>

);
}

export default App;
8 changes: 8 additions & 0 deletions src/App.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { render, screen } from '@testing-library/react';
import App from './App';

test('renders learn react link', () => {
render(<App />);
const linkElement = screen.getByText(/learn react/i);
expect(linkElement).toBeInTheDocument();
});
93 changes: 93 additions & 0 deletions src/assets/font/OFL.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
Copyright 2020 The Poppins Project Authors (https://github.com/itfoundry/Poppins)

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
Binary file added src/assets/font/Poppins-Black.ttf
Binary file not shown.
Binary file added src/assets/font/Poppins-BlackItalic.ttf
Binary file not shown.
Binary file added src/assets/font/Poppins-Bold.ttf
Binary file not shown.
Binary file added src/assets/font/Poppins-BoldItalic.ttf
Binary file not shown.
Binary file added src/assets/font/Poppins-ExtraBold.ttf
Binary file not shown.
Binary file added src/assets/font/Poppins-ExtraBoldItalic.ttf
Binary file not shown.
Binary file added src/assets/font/Poppins-ExtraLight.ttf
Binary file not shown.
Binary file added src/assets/font/Poppins-ExtraLightItalic.ttf
Binary file not shown.
Binary file added src/assets/font/Poppins-Italic.ttf
Binary file not shown.
Binary file added src/assets/font/Poppins-Light.ttf
Binary file not shown.
Binary file added src/assets/font/Poppins-LightItalic.ttf
Binary file not shown.
Binary file added src/assets/font/Poppins-Medium.ttf
Binary file not shown.
Binary file added src/assets/font/Poppins-MediumItalic.ttf
Binary file not shown.
Binary file added src/assets/font/Poppins-Regular.ttf
Binary file not shown.
Binary file added src/assets/font/Poppins-SemiBold.ttf
Binary file not shown.
Binary file added src/assets/font/Poppins-SemiBoldItalic.ttf
Binary file not shown.
Binary file added src/assets/font/Poppins-Thin.ttf
Binary file not shown.
Binary file added src/assets/font/Poppins-ThinItalic.ttf
Binary file not shown.
Binary file added src/assets/imgs/android.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/imgs/apple.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/imgs/background.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/imgs/classroom.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/imgs/facebook.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/imgs/facebookblue.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/imgs/google.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/imgs/instagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/imgs/iphone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/imgs/linkedin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/imgs/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/imgs/mid.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/imgs/teacher.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/imgs/twitter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/imgs/twitterblue.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/imgs/youtube.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
54 changes: 54 additions & 0 deletions src/components/Footer/Footer.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
import React from 'react';
import './Footer.scss'
import Logo from '../../assets/imgs/logo.png'
import Android from '../../assets/imgs/android.png'
import Apple from '../../assets/imgs/iphone.png'
import TwitterBlue from '../../assets/imgs/twitterblue.png'
import FacebookBlue from '../../assets/imgs/facebookblue.png'
import Instagram from '../../assets/imgs/instagram.png'
import YouTube from '../../assets/imgs/youtube.png'
const Footer = () => {
return (
<div className = "footer-main">
<div className = "logo-div">
<div style = {{display:'flex',margin:'auto 0'}}>
<img className = "logo" src = {Logo}/>
<div><h1>Fuelup</h1>
<p>Education</p></div>
</div>
</div>
<div style ={{display:'flex',marginLeft:'-145px'}}>
<ul className = "options-menu">
<li className = "options">About Us</li>
<li className = "options">Career</li>
<li className = "options">Blog</li>
<li className = "options">Privacy Policy</li>
<li className = "options">Terms and Conditions</li>
</ul>
<ul style ={{marginLeft:'40px'}} className = "options-menu">
<li className = "options">User Guideliness</li>
<li className = "options">Site Map</li>
<li className = "options">Refund Policy</li>
<li className = "options">Legal Notices</li>
<li className = "options">Plus Subscription</li>
</ul>
</div>
<div style ={{width:'20%'}}>
<h3>Download Fuelupeducation App</h3>
<div style ={{display:'flex' ,}}>
<img className = "icon" src = {Android} />
<img style ={{margin:'auto 20px'}}className = "icon" src = {Apple} />
</div>
<h3>Subscribe</h3>
<div style ={{display:'flex', justifyContent:'space-between'}}>
<img className = "social-icons" src = {TwitterBlue}/>
<img className = "social-icons" src = {FacebookBlue}/>
<img className = "social-icons" src = {YouTube}/>
<img className = "social-icons" src = {Instagram}/>
</div>
</div>
</div>
);
};

export default Footer;
45 changes: 45 additions & 0 deletions src/components/Footer/Footer.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
@media screen and (max-width: 1024px){
.footer-main{
width:95% !important
}
}

.footer-main{
width: 80%;
margin: 150px auto ;
display: flex;
color: #4b22be;
justify-content: space-between;
.logo-div{
margin:30px 0;
.logo{
width: 30%;
margin: auto 0;
}
h1{
margin: auto 0;
}
p{
margin: auto 0;
}

}
.options-menu{
list-style-type: none;
.options{
margin:10px 0;
cursor: pointer;
&:hover{
transform: scale(1.2)
}
}
}
.icon{
width: 20%;
height: 40px; cursor: pointer;
}
.social-icons{
width:15%;
cursor: pointer;
}
}
31 changes: 31 additions & 0 deletions src/components/Header/Header.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import React from 'react';
import './Header.scss'
const Header = () => {
return (
<div className = "header-main">
<div className = "mid-section">
<div style ={{display:'flex'}}>
<h3>Fuelup <br/> Education</h3>
<ul className = "menu-options">
<li className = "options">Courses</li>
<li className = "options">Subjects</li>
<li className = "options">For Kids</li>
<li className = "options">Team</li>
<li className = "options">Blog</li>
<button className = "donate-now-btn">Donate Now</button>
</ul>
</div>
<div className = "login-div">
<p className = "login-text">Login</p>
<button className = "start-learning-btn">Start Learning</button>
</div>
</div>
<div className = "bottom-section">
<h1 className = "banner-heading">Explore the newest <br/> educational blogs / news</h1>
<p className = "banner-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore</p>
</div>
</div>
);
};

export default Header;
93 changes: 93 additions & 0 deletions src/components/Header/Header.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
$textColor: white;

@media screen and (max-width: 1024px){
.mid-section {
padding: 20px 40px !important
}

.options{
margin: auto 15px !important;
}
}
.header-main {
background-image: url('../../assets/imgs/background.jpg');
background-position: bottom;
background-repeat: no-repeat;
background-size: cover;
height: 80vh;

.mid-section {
display: flex;
padding: 20px 80px;
color: $textColor;
justify-content: space-between;
}

.donate-now-btn{
background: white;
color: #ff8311;
padding: 7px 20px;
outline: none;
margin: auto 10px;
border: none;
border-radius: 20px;
box-shadow: none;
cursor: pointer;
&:hover{
color:white;
background: #ff8311;
}
}

.menu-options {
display: flex;
list-style-type: none;
}

.login-div {
display: flex;

.login-text {
margin: auto 20px;
cursor:pointer;
&:hover{
transform: scale(1.2)
}
}

.start-learning-btn {
background: #ff8311;
color: white;
padding: 7px 20px;
outline: none;
margin: auto 10px;
border: none;
border-radius: 20px;
box-shadow: none;
cursor: pointer;
&:hover{
color:#ff8311;
background: white;
}
}
}

.options {
margin: auto 30px;
cursor: pointer;
&:hover{
transform: scale(1.2)
}
}
.bottom-section{
color:$textColor;
text-align: center;
margin-top: 100px;
.banner-heading{
font-size: 50px;
}
.banner-text{
font-size: 20px;
}
}
}
32 changes: 32 additions & 0 deletions src/components/KeyToCreating/KeyToCreating.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
import React from 'react';
import './KeyToCreating.scss';
import GirlsImage from '../../assets/imgs/mid.jpg'
import Twitter from '../../assets/imgs/twitter.png'
import Facebook from '../../assets/imgs/facebook.png'
import UserInfo from '../UserInfo';

const KeyToCreating = () => {
return (
<div className = "key-main">
<h1 className = "heading">Key To Creating More Time </h1>
<img className = "mid-image" src = {GirlsImage}/>
<div className="info-section">
<UserInfo/>
<div className = 'social-icons'>
<img className = "icons" src = {Twitter}/>
<img className = "icons" src = {Facebook}/>
</div>
</div>
<div className = "content">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<h2>Lorem ipsum dolor sit amet</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<h2>Lorem ipsum dolor sit amet</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</div>

</div>
);
};

export default KeyToCreating;
Loading