rsnext/examples/blog/theme.config.js
Max Proske 0f4333a5a3
chore(examples): Convert blog example to TypeScript (#38095)
Converted Blog example over to TypeScript to match the Contribution guidelines.

I also simplified the example by removing `_document.js` and prettier from `package.json`.

## Documentation / Examples

- [X] Make sure the linting passes by running `pnpm lint`
- [X] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)
2022-07-06 19:33:16 +00:00

20 lines
347 B
JavaScript

const YEAR = new Date().getFullYear()
export default {
footer: (
<footer>
<small>
<time>{YEAR}</time> © Your Name.
<a href="/feed.xml">RSS</a>
</small>
<style jsx>{`
footer {
margin-top: 8rem;
}
a {
float: right;
}
`}</style>
</footer>
),
}