Fix header UI

pull/1331/head
Kamran Ahmed 6 years ago
parent 33730144b2
commit 3681eafae1
  1. 2
      components/footer/index.js
  2. 2
      components/header/index.js
  3. 2
      components/header/style.scss
  4. 2
      pages/home/index.js
  5. 15
      pages/terms/index.js
  6. 0
      pages/terms/style.scss

@ -17,7 +17,7 @@ const Footer = () => (
<p className='meta-links'> <p className='meta-links'>
&copy; roadmap.sh &middot; &copy; roadmap.sh &middot;
&nbsp; <a href="#">FAQ</a> &middot; &nbsp; <a href="#">FAQ</a> &middot;
&nbsp; <a href="#">Terms</a> &middot; &nbsp; <a href="/terms">Terms</a> &middot;
&nbsp; <a href="#">Privacy</a> &nbsp; <a href="#">Privacy</a>
</p> </p>
</div> </div>

@ -4,7 +4,7 @@ const Header = () => (
<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">
<a href="#"> <a href="/">
<img src="/static/brand.png" alt="" /> <img src="/static/brand.png" alt="" />
</a> </a>
</div> </div>

@ -8,7 +8,7 @@
} }
.brand img { .brand img {
padding: 5px 10px; padding: 5px 0;
height: 50px; height: 50px;
text-decoration: none; text-decoration: none;
border-radius: 2px; border-radius: 2px;

@ -4,7 +4,7 @@ import './style.scss';
import HeroSection from '../../components/hero-section'; import HeroSection from '../../components/hero-section';
import Footer from '../../components/footer'; import Footer from '../../components/footer';
export const Home = (props) => ( const Home = (props) => (
<div className='home-container'> <div className='home-container'>
<Header /> <Header />
<HeroSection /> <HeroSection />

@ -0,0 +1,15 @@
import Header from '../../components/header';
import Footer from '../../components/footer';
import './style.scss';
const Terms = () => (
<div className='terms-container'>
<Header />
<div className="container">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Doloribus, eveniet illum iure necessitatibus nisi perferendis quo quos reprehenderit totam! Architecto ex illum minus provident quaerat, reprehenderit soluta tempore voluptatem voluptates!</p>
</div>
<Footer />
</div>
);
export default Terms;
Loading…
Cancel
Save