Add about page

pull/1331/head
Kamran Ahmed 5 years ago
parent 2d0307a338
commit bffb482b61
  1. 15
      components/about-header/index.js
  2. 30
      components/about-header/style.scss
  3. 4
      components/page-footer/index.js
  4. 0
      components/page-footer/style.scss
  5. 4
      components/page-header/index.js
  6. 0
      components/page-header/style.scss
  7. 36
      pages/about/index.js
  8. 8
      pages/about/style.scss
  9. 4
      pages/global.scss
  10. 10
      pages/home/index.js
  11. 6
      pages/index.js
  12. 8
      pages/privacy/index.js
  13. 11
      pages/terms/index.js

@ -2,11 +2,18 @@ import './style.scss';
const AboutHeader = () => ( const AboutHeader = () => (
<div className='about-header'> <div className='about-header'>
<div className="container"> <div className="container container-small">
<div className="author-info">
<img className='author-img d-none d-sm-none d-md-block d-lg-block d-xl-block' src="/static/kamran.jpeg" />
<div className="author-msg">
<h2>Hello, I'm Kamran Ahmed.</h2> <h2>Hello, I'm Kamran Ahmed.</h2>
<p>I created <span className='flow-black'>roadmap.sh</span> to help people grow their careers.</p> <p>I created <span className='flow-black'>roadmap.sh</span> to help developers find their path if they are confused and help them grow in their career.</p>
<div className="author-links">
<img className='author-img' src="/static/kamran.jpeg" alt="" /> <a href="mailto:kamran@roadmap.sh">@kamranahmedse</a>
<a href="mailto:kamran@roadmap.sh">kamran@roadmap.sh</a>
</div>
</div>
</div>
</div> </div>
</div> </div>
); );

@ -1,10 +1,12 @@
.about-header { .about-header {
text-align: center; text-align: left;
padding: 70px 20px; padding: 70px 20px;
margin: 0 auto; margin: 0 auto;
.container { .author-info {
max-width: 800px; display: flex;
align-items: center;
flex-direction: row;
} }
h2 { h2 {
@ -25,11 +27,21 @@
} }
.author-img { .author-img {
height: 145px; height: 160px;
border-radius: 100%; margin-right: 25px;
margin-top: 25px; margin-top: 8px;
margin-bottom: -125px; border-radius: 9px;
border: 10px solid white; }
box-shadow: 0 1px 0 0 #dee2e6;
.author-links a {
display: inline-block;
margin-right: 5px;
background: #2d2d2d;
color: white;
padding: 5px 10px;
font-weight: 500;
margin-top: 12px;
border-radius: 5px;
text-decoration: none;
} }
} }

@ -1,6 +1,6 @@
import './style.scss'; import './style.scss';
const Footer = () => ( const PageFooter = () => (
<div className="page-footer"> <div className="page-footer">
<div className="container"> <div className="container">
<div className="foot-cols-wrap row"> <div className="foot-cols-wrap row">
@ -54,4 +54,4 @@ const Footer = () => (
</div> </div>
); );
export default Footer; export default PageFooter;

@ -1,6 +1,6 @@
import './style.scss'; import './style.scss';
const Header = () => ( const PageHeader = () => (
<div className='page-header'> <div className='page-header'>
<div className="top-row container"> <div className="top-row container">
<div className="flex-grow-1 brand"> <div className="flex-grow-1 brand">
@ -19,4 +19,4 @@ const Header = () => (
</div> </div>
); );
export default Header; export default PageHeader;

@ -1,16 +1,40 @@
import AboutHeader from '../../components/about-header'; import AboutHeader from '../../components/about-header';
import Footer from '../../components/footer'; import PageFooter from '../../components/page-footer';
import Header from '../../components/header'; import PageHeader from '../../components/page-header';
import './style.scss'; import './style.scss';
const About = () => ( const About = () => (
<div className='home-container'> <div className='home-container'>
<Header /> <PageHeader />
<AboutHeader /> <AboutHeader />
<div className="p-5 border-top border-bottom bg-light"> <div className="border-top border-bottom bg-light">
<div className="faq-item">
<div className="container container-small">
<h4 className='font-weight-bolder'>What is roadmap.sh?</h4>
<p>Roadmap.sh is the community curated roadmaps and paths for the budding developers. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aliquid assumenda iure maiores nemo nihil odio perspiciatis recusandae repellendus sed vero. Adipisci consectetur esse explicabo illum natus neque perferendis quis ullam.</p>
<p>If you really want to Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ab asperiores commodi consequatur, culpa cumque dolorum, eos hic illo obcaecati odit quam quod reiciendis, rem reprehenderit saepe sed tempore tenetur vitae!</p>
</div>
</div>
<div className="faq-item border-top">
<div className="container container-small">
<h4 className="font-weight-bolder">What are the plans for roadmap.sh?</h4>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dolore eaque eius esse, facere id ipsum, minima nam, nisi quos reprehenderit saepe tempora vitae voluptate. Atque deleniti dolores eos laboriosam repellat.</p>
</div>
</div>
<div className="faq-item border-top">
<div className="container container-small">
<h4 className="font-weight-bolder">What is the source of revenue?</h4>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Commodi consequuntur, harum impedit numquam porro quod unde! Aperiam dolorum ducimus expedita fugiat, impedit nesciunt, quaerat qui recusandae repellendus tenetur ut voluptatibus!</p>
</div>
</div>
<div className="faq-item border-top">
<div className="container container-small">
<h4 className="font-weight-bolder">Can I contribute?</h4>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Commodi consequuntur, harum impedit numquam porro quod unde! Aperiam dolorum ducimus expedita fugiat, impedit nesciunt, quaerat qui recusandae repellendus tenetur ut voluptatibus!</p>
</div>
</div>
</div> </div>
<Footer /> <PageFooter />
</div> </div>
); );

@ -0,0 +1,8 @@
.faq-item {
padding: 40px 20px;
p:last-child {
margin-bottom: 0;
}
}

@ -1,3 +1,7 @@
.container-small {
max-width: 800px;
}
.border-top { .border-top {
border-top: 1px solid #eaeaea; border-top: 1px solid #eaeaea;
} }

@ -1,17 +1,17 @@
import Header from '../../components/header/index';
import FeaturedContent from '../../components/featured-content'; import FeaturedContent from '../../components/featured-content';
import './style.scss';
import HeroSection from '../../components/hero-section'; import HeroSection from '../../components/hero-section';
import Footer from '../../components/footer'; import PageFooter from '../../components/page-footer';
import PageHeader from '../../components/page-header';
import './style.scss';
const Home = (props) => ( const Home = (props) => (
<div className='home-container'> <div className='home-container'>
<Header /> <PageHeader />
<HeroSection /> <HeroSection />
<div className="featured-content border-top border-bottom bg-light"> <div className="featured-content border-top border-bottom bg-light">
<FeaturedContent /> <FeaturedContent />
</div> </div>
<Footer /> <PageFooter />
</div> </div>
); );

@ -1,10 +1,10 @@
import { library } from '@fortawesome/fontawesome-svg-core'; import { library } from '@fortawesome/fontawesome-svg-core';
import { faGithub, fab } from '@fortawesome/free-brands-svg-icons'; import { faGithub, fab, faTwitter } from '@fortawesome/free-brands-svg-icons';
import { faArrowRight } from '@fortawesome/free-solid-svg-icons' import { faArrowRight } from '@fortawesome/free-solid-svg-icons'
import 'bootstrap/dist/css/bootstrap.min.css'; import 'bootstrap/scss/bootstrap.scss';
import './global.scss';
import Home from './home/index'; import Home from './home/index';
import './global.scss';
library.add(fab, faGithub, faArrowRight); library.add(fab, faGithub, faArrowRight);

@ -1,10 +1,10 @@
import Header from '../../components/header'; import PageHeader from '../../components/page-header';
import Footer from '../../components/footer'; import PageFooter from '../../components/page-footer';
import './style.scss'; import './style.scss';
const Privacy = () => ( const Privacy = () => (
<div className='terms-container'> <div className='terms-container'>
<Header /> <PageHeader />
<div className="bg-light border-top border-bottom privacy-wrap"> <div className="bg-light border-top border-bottom privacy-wrap">
<div className="container pt-5 pb-5"> <div className="container pt-5 pb-5">
<h2 className='font-weight-bold mb-3'>Privacy Policy</h2> <h2 className='font-weight-bold mb-3'>Privacy Policy</h2>
@ -59,7 +59,7 @@ const Privacy = () => (
<p>If you have any questions or concerns regarding our privacy policies, please send us a detailed message to <a href="mailto:contact@roadmap.sh">contact@roadmap.sh</a>, and we will try to resolve your concerns.</p> <p>If you have any questions or concerns regarding our privacy policies, please send us a detailed message to <a href="mailto:contact@roadmap.sh">contact@roadmap.sh</a>, and we will try to resolve your concerns.</p>
</div> </div>
</div> </div>
<Footer /> <PageFooter />
</div> </div>
); );

@ -1,10 +1,10 @@
import Header from '../../components/header'; import PageFooter from '../../components/page-footer';
import Footer from '../../components/footer'; import PageHeader from '../../components/page-header';
import './style.scss'; import './style.scss';
const Terms = () => ( const Terms = () => (
<div className='terms-container'> <div className='terms-container'>
<Header /> <PageHeader />
<div className="bg-light border-top border-bottom tos-wrap"> <div className="bg-light border-top border-bottom tos-wrap">
<div className="container pt-5 pb-5"> <div className="container pt-5 pb-5">
<h2 className='font-weight-bold mb-3'>Terms of Service</h2> <h2 className='font-weight-bold mb-3'>Terms of Service</h2>
@ -140,10 +140,11 @@ const Terms = () => (
<p>Miscellaneous. You will be responsible for paying, withholding, filing, and reporting all taxes, duties, and other governmental assessments associated with your activity in connection with the Services, provided that roadmap.sh may, in its sole discretion, do any of the foregoing on your behalf or for itself as it sees fit. <p>Miscellaneous. You will be responsible for paying, withholding, filing, and reporting all taxes, duties, and other governmental assessments associated with your activity in connection with the Services, provided that roadmap.sh may, in its sole discretion, do any of the foregoing on your behalf or for itself as it sees fit.
The failure of either you or us to exercise, in any way, any right herein shall not be deemed a waiver of any further rights hereunder. If any provision of these Terms is found to be unenforceable or invalid, that provision will be limited or eliminated, to the minimum extent necessary, so that these Terms shall otherwise remain The failure of either you or us to exercise, in any way, any right herein shall not be deemed a waiver of any further rights hereunder. If any provision of these Terms is found to be unenforceable or invalid, that provision will be limited or eliminated, to the minimum extent necessary, so that these Terms shall otherwise remain
in full force and effect and enforceable. You and roadmap.sh agree that these Terms are the complete and exclusive statement of the mutual understanding between you and roadmap.sh, and that it supersedes and cancels all previous written and oral agreements, communications and other understandings relating to the subject in full force and effect and enforceable. You and roadmap.sh agree that these Terms are the complete and exclusive statement of the mutual understanding between you and roadmap.sh, and that it supersedes and cancels all previous written and oral agreements, communications and other understandings relating to the subject
matter of these Terms. You hereby acknowledge and agree that you are not an employee, agent, partner, or joint venture of roadmap.sh, and you do not have any authority of any kind to bind roadmap.sh in any respect whatsoever. Except as expressly set forth in the section above regarding the Apple Application, you and roadmap.sh agree there are no third party beneficiaries intended under these Terms.</p> matter of these Terms. You hereby acknowledge and agree that you are not an employee, agent, partner, or joint venture of roadmap.sh, and you do not have any authority of any kind to bind roadmap.sh in any respect whatsoever. Except as expressly set forth in the section above regarding the Apple Application, you and roadmap.sh
agree there are no third party beneficiaries intended under these Terms.</p>
</div> </div>
</div> </div>
<Footer /> <PageFooter />
</div> </div>
); );

Loading…
Cancel
Save