1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-04-24 17:33:09 +02:00

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'>
&copy; roadmap.sh &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>
</p>
</div>

View File

@ -4,7 +4,7 @@ const Header = () => (
<div className='page-header'>
<div className="top-row container">
<div className="flex-grow-1 brand">
<a href="#">
<a href="/">
<img src="/static/brand.png" alt="" />
</a>
</div>

View File

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

View File

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