Fix header UI

This commit is contained in:
Kamran Ahmed
2019-09-14 11:29:02 +04:00
parent 33730144b2
commit 3681eafae1
6 changed files with 19 additions and 4 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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;

View File

@ -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 />

15
pages/terms/index.js Normal file
View File

@ -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;

0
pages/terms/style.scss Normal file
View File