init: Vite+React+Tailwind v2 site with HTML content from WP, RSS feed, external feed aggregator, prerender
This commit is contained in:
17
src/components/Footer.jsx
Normal file
17
src/components/Footer.jsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import React from 'react';
|
||||
|
||||
export default function Footer() {
|
||||
const year = new Date().getFullYear();
|
||||
return (
|
||||
<footer className="border-t border-rule mt-8 py-6 bg-paper">
|
||||
<div className="max-w-6xl mx-auto px-4 sm:px-6 flex flex-col sm:flex-row sm:justify-between gap-2 text-xs text-muted">
|
||||
<div>© 2010–{year} pushkinohistory.ru</div>
|
||||
<div className="flex gap-4">
|
||||
<a href="/feed/">RSS</a>
|
||||
<a href="/sitemap.xml">Карта сайта</a>
|
||||
<a href="https://forum.pushkinohistory.ru/" target="_blank" rel="noopener noreferrer">Форум ↗</a>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user