diff --git a/components/header/index.js b/components/header/index.js index 9f1bca7bd..413c82d10 100644 --- a/components/header/index.js +++ b/components/header/index.js @@ -2,9 +2,11 @@ import './style.scss'; const Header = () => (
-
+
- roadmap.sh + + +
Roadmaps diff --git a/components/header/style.scss b/components/header/style.scss index 79e7172b9..8b98ed555 100644 --- a/components/header/style.scss +++ b/components/header/style.scss @@ -1,11 +1,15 @@ .page-header { - padding-top: 25px; + padding: 15px 0; font-size: 18px; - .brand a { - background: #101010; - color: white; + .top-row { + display: flex; + align-items: center; + } + + .brand img { padding: 5px 10px; + height: 50px; text-decoration: none; border-radius: 2px; } @@ -15,11 +19,12 @@ padding: 0 10px; text-decoration: none; font-size: 16px; - color: #101010; + color: #666; } .signup { background: #101010; + border-radius: 5px; color: #ffffff; padding: 7px 10px; margin-left: 15px; diff --git a/components/hero-section/index.js b/components/hero-section/index.js index 140cd57b5..287e306f6 100644 --- a/components/hero-section/index.js +++ b/components/hero-section/index.js @@ -1,16 +1,10 @@ -import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import './style.scss'; const HeroSection = () => (
-

Developer Roadmaps

-

Community driven, roadmaps, articles and resources for developers

- -
- - Register - - +
+

Developer Roadmaps

+

Community driven roadmaps, articles and resources for developers. Sign up to share your journey, write guides, track your skillset and get your work reviewed

); diff --git a/components/hero-section/style.scss b/components/hero-section/style.scss index 87d0a6aae..62cd8027c 100644 --- a/components/hero-section/style.scss +++ b/components/hero-section/style.scss @@ -1,54 +1,28 @@ .hero-section { text-align: center; - padding: 80px 20px; + padding: 70px 20px; + margin: 0 auto; + + .container { + max-width: 800px; + } h1 { - font-size: 35px; + font-size: 70px; font-weight: 700; - margin-bottom: 10px; + margin-bottom: 25px; } p { + font-size: 20px; color: #333; - font-weight: 500; - margin-bottom: 35px; + font-weight: 400; + margin-bottom: 0; + line-height: 35px; } - .register-form { - display: flex; - align-items: center; - justify-content: center; - height: 42px; - - .email-input { - border: 3px solid #000000; - outline: none; - padding: 5px 13px; - min-width: 320px; - } - - input, .btn { - border-radius: 0; - height: 100%; - } - - .icon-link { - color: #000000; - margin-left: 15px; - } - - .btn { - display: flex; - align-items: center; - margin-left: 15px; - margin-right: 8px; - padding: 5px 15px; - } - - svg { - display: flex; - width: 30px; - height: 30px; - } + a { + font-weight: 700; + color: #000; } } \ No newline at end of file diff --git a/components/swim-lane/index.js b/components/swim-lane/index.js new file mode 100644 index 000000000..7e44eb35b --- /dev/null +++ b/components/swim-lane/index.js @@ -0,0 +1,26 @@ +import './style.scss'; + +const SwimLane = (props) => ( + <> + + +); + +SwimLane.defaultProps = { + className: '', +}; + +export default SwimLane; \ No newline at end of file diff --git a/components/swim-lane/style.scss b/components/swim-lane/style.scss new file mode 100644 index 000000000..2f2d26ff1 --- /dev/null +++ b/components/swim-lane/style.scss @@ -0,0 +1,46 @@ +.lane-head { + color: #000000; + margin-bottom: 12px; + display: block; + font-weight: 600; + font-size: 18px; +} + +.swim-lane { + display: flex; + flex-direction: row; + + .lane-item + .lane-item { + margin-left: 35px; + } + + .lane-item { + border: 1px solid #f7f7f7; + display: block; + margin-bottom: 1px; + text-decoration: none; + color: #000000; + padding: 25px; + border-radius: 10px; + box-shadow: rgba(0, 0, 0, 0.12) 0 5px 10px; + transition: box-shadow 0.2s ease 0s; + + &:hover { + box-shadow: rgba(0, 0, 0, 0.12) 0 30px 60px; + } + + h4 { + font-size: 24px; + line-height: 22px; + font-weight: 700; + margin-bottom: 15px; + } + + p { + font-size: 15px; + line-height: 25px; + color: #999999; + margin-bottom: 0; + } + } +} \ No newline at end of file diff --git a/pages/about/index.js b/pages/about/index.js deleted file mode 100644 index 27e8c7545..000000000 --- a/pages/about/index.js +++ /dev/null @@ -1,11 +0,0 @@ -import React from 'react'; -import Header from '../../components/header/index'; - -export default function About() { - return ( -
-
-

This is the about page

-
- ); -} \ No newline at end of file diff --git a/pages/global.scss b/pages/global.scss index 637877d53..e69de29bb 100644 --- a/pages/global.scss +++ b/pages/global.scss @@ -1,8 +0,0 @@ -body { - border-top: 5px solid #000000; - color: #000; -} - -.container { - max-width: 1000px; -} \ No newline at end of file diff --git a/pages/home/index.js b/pages/home/index.js index 88175286d..4995ef04e 100644 --- a/pages/home/index.js +++ b/pages/home/index.js @@ -1,10 +1,17 @@ import Header from '../../components/header/index'; +import SwimLane from '../../components/swim-lane'; +import './style.scss'; import HeroSection from '../../components/hero-section'; export const Home = (props) => ( -
+
+
+
+ +
+
); diff --git a/pages/home/style.scss b/pages/home/style.scss new file mode 100644 index 000000000..ea7a81c86 --- /dev/null +++ b/pages/home/style.scss @@ -0,0 +1,3 @@ +.swim-lanes { + margin-top: 25px; +} \ No newline at end of file diff --git a/static/brand.png b/static/brand.png new file mode 100755 index 000000000..e1791bae4 Binary files /dev/null and b/static/brand.png differ diff --git a/static/stars.webp b/static/stars.webp new file mode 100644 index 000000000..4b1a2596a Binary files /dev/null and b/static/stars.webp differ