diff --git a/src/components/Footer/Footer.js b/src/components/Footer/Footer.js index f75aae1..de6c9bc 100644 --- a/src/components/Footer/Footer.js +++ b/src/components/Footer/Footer.js @@ -138,6 +138,15 @@ const Footer = ({ isDark = true }) => { + +
+ + + Blog + + +
+ {/*
diff --git a/src/components/Header/menuItems.js b/src/components/Header/menuItems.js index dc9b20b..706bb89 100644 --- a/src/components/Header/menuItems.js +++ b/src/components/Header/menuItems.js @@ -30,6 +30,10 @@ export const menuItems = [ name: "where-we-donate", label: "Where we Donate", }, + { + name: "blog", + label: "Blog", + }, // { // name: "how-to-buy", // label: "How to Buy", diff --git a/src/components/PostCard/PostCard.js b/src/components/PostCard/PostCard.js index ecc5707..995c460 100644 --- a/src/components/PostCard/PostCard.js +++ b/src/components/PostCard/PostCard.js @@ -115,7 +115,7 @@ const PostCard = ({ {readMore && ( - + Continue Reading diff --git a/src/components/Sidebar/Sidebar.js b/src/components/Sidebar/Sidebar.js index a8620dd..64a095f 100644 --- a/src/components/Sidebar/Sidebar.js +++ b/src/components/Sidebar/Sidebar.js @@ -4,7 +4,7 @@ import Link from "next/link"; import { Title, Text, Box, Span } from "../Core"; export const CardSidebar = ({ children, ...rest }) => ( - + {children} ); diff --git a/src/pages/blog/[postId].js b/src/pages/blog/[postId].js new file mode 100644 index 0000000..45dac71 --- /dev/null +++ b/src/pages/blog/[postId].js @@ -0,0 +1,55 @@ +import React from "react"; +import Link from "next/link"; +import { Container, Row, Col } from "react-bootstrap"; + +import { Section, Title, Text, Box } from "../../components/Core"; + +import PostDetails from "../../sections/blog/PostDetails"; +import Comments from "../../sections/blog/Comments"; +import Sidebar from "../../sections/blog/Sidebar"; + +const BlogDetails = () => ( + <> +
+
+ + + + + How To Blow Through Capital{" "} + <br className="d-none d-lg-block" /> At An Incredible Rate + + + + + Jan 14, 2020 + + + + + Technology + + + + + David Jones + + + + + + + + + + + + + + + +
+ +); + +export default BlogDetails; diff --git a/src/pages/index.js b/src/pages/index.js index 536f58c..d54363a 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -4,6 +4,7 @@ import WhyApes from "../sections/landing1/Content1"; import Tokenomics from "../sections/landing2/Feature1"; import MeetTheDeveloper from "../sections/landing1/Content2"; import WhereWeDonate from "../sections/landing1/Content1Version2"; +import Blog from "../sections/landing1/Blog"; import Roadmap from "../sections/landing1/Roadmap"; import PageWrapper from "../components/PageWrapper"; @@ -29,6 +30,9 @@ const LandingPage4 = () => {
+
+ +
{/*
*/} diff --git a/src/sections/blog/PostDetails.js b/src/sections/blog/PostDetails.js index bf98233..23b171c 100644 --- a/src/sections/blog/PostDetails.js +++ b/src/sections/blog/PostDetails.js @@ -138,7 +138,7 @@ const PostDetails = () => (

- + Freelance Design Earning diff --git a/src/sections/landing1/Blog.js b/src/sections/landing1/Blog.js new file mode 100644 index 0000000..e5edc33 --- /dev/null +++ b/src/sections/landing1/Blog.js @@ -0,0 +1,53 @@ +import React from "react"; +import { Container, Row, Col } from "react-bootstrap"; + +import {Box, Section} from "../../components/Core"; + +import BlogList from "../blog/BlogListSidebar"; +import Sidebar from "../blog/Sidebar"; +import imgL1FeatureCurve from "../../assets/image/svg/swish-bottom-black.svg"; +import styled from "styled-components"; + +const ShapeBottmRight = styled(Box)` + position: absolute; + bottom: -3px; + left: -5px; + width: calc(100vw + 10px); + img { + min-width: 100%; + } +`; + +const Blog = () => ( + <> +
+ + + + + + + + + + + + + +
+ +) +export default Blog; diff --git a/src/sections/landing1/Content1Version2.js b/src/sections/landing1/Content1Version2.js index 4816fd1..f8c8d3d 100644 --- a/src/sections/landing1/Content1Version2.js +++ b/src/sections/landing1/Content1Version2.js @@ -3,21 +3,9 @@ import styled from "styled-components"; import { Container, Row, Col } from "react-bootstrap"; import { Title, Button, Section, Box, Text } from "../../components/Core"; -import { device, theme } from "../../utils"; import ape2Image from "../../assets/image/png/ape-2.png"; -import imgL1FeatureCurve from "../../assets/image/svg/swish-bottom-black.svg"; import cfga from "../../assets/image/svg/cfga.svg"; -const ShapeBottmRight = styled(Box)` - position: absolute; - bottom: -3px; - left: -5px; - width: calc(100vw + 10px); - img { - min-width: 100%; - } -`; - const Logo = styled.img` position: absolute; bottom: 20px; @@ -41,9 +29,6 @@ const Content1 = () => ( <> {/* */}
- - -