-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
31 lines (30 loc) · 883 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import React from "react"
import Layout from "../components/Layout"
import AllRecipes from "../components/AllRecipes"
import { StaticImage } from "gatsby-plugin-image"
import Seo from "../components/Seo"
export default function Home() {
return (
<Layout>
<Seo title={`Home`} description={`Homepage description`} />
<main className="page">
<header className="hero">
<StaticImage
src="../assets/images/main.jpeg"
alt="hero"
className="hero-img"
placeholder="tracedSVG"
layout="fullWidth"
/>
<div className="hero-container">
<div className="hero-text">
<h1>simply recipes</h1>
<h4>Lorem ipsum herfo msmiwn qadziy</h4>
</div>
</div>
</header>
<AllRecipes />
</main>
</Layout>
)
}