add deploy buttons

This commit is contained in:
davidwells 2018-06-12 12:47:28 -07:00
parent 279d6e0425
commit 77715bcb5f
4 changed files with 64 additions and 2 deletions

View file

@ -1,5 +1,7 @@
import React, { Component } from 'react'
import logo from './logo.svg'
import github from './github.svg'
import deployButton from './deploy-to-netlify.svg'
import ContentEditable from './components/ContentEditable'
import './App.css'
@ -188,12 +190,26 @@ class App extends Component {
<header className="App-header">
<div className="app-title-wrapper">
<img src={logo} className="App-logo" alt="logo" />
<div>
<div className='app-title-text'>
<h1 className="App-title">Netlify + Fauna DB</h1>
<p className="App-intro">
Using FaunaDB & Netlify functions
</p>
</div>
<div className='deploy-button-wrapper'>
<a
target='_blank'
href="https://app.netlify.com/start/deploy?repository=https://github.com/netlify/netlify-faunadb-example">
<img src={deployButton} className="deploy-button" alt="deploy to netlify" />
</a>
<div className='view-src'>
<a
target='_blank'
href="https://github.com/netlify/netlify-faunadb-example">
<img className='github-icon' src={github} /> View the source Luke
</a>
</div>
</div>
</div>
</header>