react-static
Version:
A progressive static site generator for React
14 lines (12 loc) • 387 B
JavaScript
import React from 'react'
import { withSiteData } from 'react-static'
//
import logoImg from '../logo.png'
export default withSiteData(() => (
<div>
<h1 style={{ textAlign: 'center' }}>Welcome to</h1>
<img src={logoImg} alt="" style={{ display: 'block', margin: '0 auto' }} />
<br />
<p>This is a demo of a Cordova application built with React Static!</p>
</div>
))