2020-03-18 04:07:48 +01:00
|
|
|
import React from "react";
|
|
|
|
|
|
|
|
export class Layout extends React.Component {
|
|
|
|
render() {
|
|
|
|
return (
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
2020-03-18 05:26:41 +01:00
|
|
|
<meta charSet="utf-8" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
|
|
<meta name="author" content="Leandro Facchinetti" />
|
2020-03-18 04:07:48 +01:00
|
|
|
<meta
|
2020-03-18 05:26:41 +01:00
|
|
|
name="description"
|
|
|
|
content="Convert email newsletters into Atom feeds."
|
2020-03-18 04:07:48 +01:00
|
|
|
/>
|
2020-03-18 05:26:41 +01:00
|
|
|
<link
|
|
|
|
rel="icon"
|
|
|
|
type="image/png"
|
|
|
|
href="/favicon-32x32.png"
|
|
|
|
sizes="32x32"
|
|
|
|
/>
|
|
|
|
<link
|
|
|
|
rel="icon"
|
|
|
|
type="image/png"
|
|
|
|
href="/favicon-16x16.png"
|
|
|
|
sizes="16x16"
|
|
|
|
/>
|
|
|
|
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
|
|
|
|
<link rel="stylesheet" type="text/css" href="styles.css" />
|
|
|
|
<title>Kill the Newsletter!</title>
|
2020-03-18 04:07:48 +01:00
|
|
|
</head>
|
2020-03-18 05:26:41 +01:00
|
|
|
<body style={{ textAlign: "center" }}>
|
|
|
|
<header>
|
|
|
|
<h1>
|
|
|
|
<a href="/">Kill the Newsletter!</a>
|
|
|
|
</h1>
|
|
|
|
<p>Convert email newsletters into Atom feeds</p>
|
|
|
|
<p>
|
|
|
|
<img
|
|
|
|
alt="Convert email newsletters into Atom feeds"
|
|
|
|
src="/logo.png"
|
|
|
|
width="150"
|
|
|
|
/>
|
|
|
|
</p>
|
|
|
|
</header>
|
|
|
|
<main>{this.props.children}</main>
|
|
|
|
<footer>
|
|
|
|
<p>
|
|
|
|
By <a href="https://www.leafac.com">Leandro Facchinetti</a> ·{" "}
|
|
|
|
<a href="https://github.com/leafac/www.kill-the-newsletter.com">
|
|
|
|
Source
|
|
|
|
</a>{" "}
|
|
|
|
·{" "}
|
|
|
|
<a href="mailto:kill-the-newsletter@leafac.com">
|
|
|
|
Report an Issue
|
|
|
|
</a>
|
|
|
|
</p>
|
|
|
|
</footer>
|
|
|
|
</body>
|
2020-03-18 04:07:48 +01:00
|
|
|
</html>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|