Moved validation to head.
This commit is contained in:
parent
c6578c510b
commit
ec736b3665
@ -33,13 +33,13 @@ export default function BasicPage({
|
||||
return (
|
||||
<div className="min-h-screen bg-alice-werefox-grey-light dark:bg-alice-werefox-grey font-nerd">
|
||||
<Head>
|
||||
<link rel="me" href="https://bark.lgbt/@alicew" />
|
||||
<link rel="me" href="https://dragon.style/@alice" />
|
||||
<link rel="me" href="https://mspsocial.net/@alice" />
|
||||
<title>{page_title}</title>
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
</Head>
|
||||
<div className="container space-y-4 mx-auto px-4 py-4">
|
||||
<a rel="me" href="https://bark.lgbt/@alicew" hidden>Mastodon</a>
|
||||
<a rel="me" href="https://dragon.style/@alice" hidden>Mastodon</a>
|
||||
<a rel="me" href="https://mspsocial.net/@alice" hidden>Mastodon</a>
|
||||
<TCard card_title={card_title} />
|
||||
{renderBackButton(page_button_title, url)}
|
||||
{children}
|
||||
|
@ -1,4 +1,5 @@
|
||||
import Head from "next/head";
|
||||
import Link from "next/link";
|
||||
import TCard from "../components/title-card";
|
||||
import FCard from "../components/footer-card";
|
||||
|
||||
@ -9,6 +10,9 @@ export default function HomePage({ theme, page_title, card_title, children }) {
|
||||
<Head>
|
||||
<title>{page_title}</title>
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
<link rel="me" href="https://bark.lgbt/@alicew" />
|
||||
<link rel="me" href="https://dragon.style/@alice" />
|
||||
<link rel="me" href="https://mspsocial.net/@alice" />
|
||||
</Head>
|
||||
<div className="container space-y-4 mx-auto px-4 py-4">
|
||||
<TCard theme="Ada" card_title={card_title} />
|
||||
@ -24,6 +28,9 @@ export default function HomePage({ theme, page_title, card_title, children }) {
|
||||
<Head>
|
||||
<title>{page_title}</title>
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
<link rel="me" href="https://bark.lgbt/@alicew" />
|
||||
<link rel="me" href="https://dragon.style/@alice" />
|
||||
<link rel="me" href="https://mspsocial.net/@alice" />
|
||||
</Head>
|
||||
<div className="container space-y-4 mx-auto px-4 py-4">
|
||||
<TCard theme="Skye" card_title={card_title} />
|
||||
@ -38,6 +45,9 @@ export default function HomePage({ theme, page_title, card_title, children }) {
|
||||
<Head>
|
||||
<title>{page_title}</title>
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
<link rel="me" href="https://bark.lgbt/@alicew" />
|
||||
<link rel="me" href="https://dragon.style/@alice" />
|
||||
<link rel="me" href="https://mspsocial.net/@alice" />
|
||||
</Head>
|
||||
<div className="container space-y-4 mx-auto px-4 py-4">
|
||||
<TCard card_title={card_title} />
|
||||
|
Loading…
Reference in New Issue
Block a user