From 087408e1c9235d12f1d6a9c766522f1b25707f78 Mon Sep 17 00:00:00 2001 From: Moris Zen Date: Wed, 27 Jun 2018 17:29:39 +0200 Subject: [PATCH] Main Intro component structure and quickfixes --- src/components/Header.js | 25 +- src/components/MainIntro.js | 18 + src/components/header.js | 25 +- src/images/programming-company.svg | 662 +++++++++++++++++++++++++++++ src/layouts/index.js | 2 +- src/pages/index.js | 5 +- 6 files changed, 708 insertions(+), 29 deletions(-) create mode 100644 src/components/MainIntro.js create mode 100644 src/images/programming-company.svg diff --git a/src/components/Header.js b/src/components/Header.js index 8117d17..3723314 100644 --- a/src/components/Header.js +++ b/src/components/Header.js @@ -2,7 +2,7 @@ import React from 'react' import Link from 'gatsby-link' import SaburlyLogo from "../images/Saburly-Logo.svg" -const Header = ({ siteTitle }) => ( +const Header = () => (
- {siteTitle}
) diff --git a/src/components/MainIntro.js b/src/components/MainIntro.js new file mode 100644 index 0000000..196873d --- /dev/null +++ b/src/components/MainIntro.js @@ -0,0 +1,18 @@ +import React from 'react' +import Link from 'gatsby-link' + +import ImgBuildSite from '../images/programming-company.svg' + +const MainIntro = () => ( +
+
+

Welcome To Saburly

+

We build the right software for your needs

+

We are a team of creative, open minded, skilled and passionate engineers that ship success every day.

+ Let's Get In Touch +
+ +
+) + +export default MainIntro diff --git a/src/components/header.js b/src/components/header.js index 8117d17..3723314 100644 --- a/src/components/header.js +++ b/src/components/header.js @@ -2,7 +2,7 @@ import React from 'react' import Link from 'gatsby-link' import SaburlyLogo from "../images/Saburly-Logo.svg" -const Header = ({ siteTitle }) => ( +const Header = () => (
- {siteTitle}
) diff --git a/src/images/programming-company.svg b/src/images/programming-company.svg new file mode 100644 index 0000000..21404f9 --- /dev/null +++ b/src/images/programming-company.svg @@ -0,0 +1,662 @@ + + + + hero marketing 6-01 + Created with Sketch. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/layouts/index.js b/src/layouts/index.js index c10ad52..ebb3a2f 100644 --- a/src/layouts/index.js +++ b/src/layouts/index.js @@ -15,7 +15,7 @@ const Layout = ({ children, data }) => ( { name: 'keywords', content: 'software, design, coding, programming, code, consulting' }, ]} /> -
+
{children()}
diff --git a/src/pages/index.js b/src/pages/index.js index cee31c8..222cbb4 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -1,9 +1,10 @@ import React from 'react' +import MainIntro from '../components/MainIntro' + const IndexPage = () => (
-

Index page

-

Testing

+
)