-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFooter.tsx
More file actions
26 lines (26 loc) · 711 Bytes
/
Footer.tsx
File metadata and controls
26 lines (26 loc) · 711 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import { PageProps } from "$fresh/server.ts";
import translations from "../locales/es.json" with { type: "json" };
interface State {
state: { lang: string; translations: typeof translations };
}
export default function Footer({ state }: PageProps<State>) {
const { lang: _lang, translations } = state;
return (
<footer class="text-center text-xs w-full py-1 mt-10 mb-20">
<div
class="py-1"
dangerouslySetInnerHTML={{
__html: translations.index.footer.development,
}}
>
</div>
<div
class="py-1"
dangerouslySetInnerHTML={{
__html: translations.index.footer.created,
}}
>
</div>
</footer>
);
}