Skip to content

Commit 754bb4d

Browse files
committed
👌 (landing page)-minor fixes and improvements
1 parent 6b83700 commit 754bb4d

File tree

2 files changed

+29
-5
lines changed

2 files changed

+29
-5
lines changed

doc/src/components/header.js

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,29 @@ import liteLogo from '../images/match.svg';
88
import theme from './theme.module.scss';
99

1010
const Header = ({ location }) => (
11-
<Navbar theme={theme} className={`navbar${location.pathname !== '/' ? ' navbar-extended' : ' navbar-animated'}`} position="fixed" flat title={<Link to="/">React Lite UI</Link>} leftIcon={<Link to="/"><img src={liteLogo} alt="navbar-left-logo" /></Link>}>
12-
<Link to="/documentation" activeClassName="active-link">Documentation</Link>
13-
<Link to="/usage" activeClassName="active-link">Usage</Link>
14-
<Link to="/playground" activeClassName="active-link" >Playground</Link>
11+
<Navbar
12+
theme={theme}
13+
className={`navbar${location.pathname !== '/' ? ' navbar-extended' : ' navbar-animated'}`}
14+
position="fixed"
15+
flat
16+
title={<Link to="/">React Lite UI</Link>}
17+
leftIcon={<Link to="/"><img src={liteLogo} alt="navbar-left-logo" /></Link>}
18+
>
19+
<Link
20+
to="/documentation"
21+
activeClassName="active-link"
22+
>Documentation
23+
</Link>
24+
<Link
25+
to="/usage"
26+
activeClassName="active-link"
27+
>Usage
28+
</Link>
29+
<Link
30+
to="/playground"
31+
activeClassName="active-link"
32+
>Playground
33+
</Link>
1534
<a href="https://www.github.com/Codebrahma/react-lite-ui/" >
1635
<svg xmlns="http://www.w3.org/2000/svg" width="69" height="23" viewBox="0 0 69 23">
1736
<g fill="#FFF" fillRule="evenodd">

doc/src/templates/landing-main/contrib-section/index.scss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1-
@media only screen and (max-width: 630px) {
1+
@media only screen and (max-width: 790px) {
22
.row {
33
flex-flow: column !important;
44
}
5+
6+
.contrib-section > .row > .col {
7+
margin-left: 15% !important;
8+
margin-right: 15% !important;
9+
}
510
}
611

712
@media only screen and (max-width: 530px) {

0 commit comments

Comments
 (0)