Public sign calculator and the twelve sign pages, SEO basics
/aszcendens-kalkulator: Sun, Moon and Ascendant signs from birth data
without an account. A calculation only (no AI, nothing saved), limited to
30 calculations and 300 place searches an hour per visitor address
(POST /v1/public/signs, GET /v1/public/geo/*). Without a birth time there
is no Ascendant, and signs near a border are marked uncertain.
/csillagjegyek and /csillagjegyek/{jegy}: the twelve signs with facts,
Sun, Moon and Ascendant, love, work, a common misbelief and an offer,
each written on its own. Links to the calculator and sign-up.
SEO: metadataBase and canonical addresses, hreflang between the
Hungarian and English privacy pages, Organization and WebSite JSON-LD on
the home page, FAQPage on the calculator, BreadcrumbList on the sign
pages; the sitemap lists the new pages, the footers link them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import type { Metadata } from "next";
|
||||
import { redirect } from "next/navigation";
|
||||
|
||||
import { JsonLd } from "@/components/PublicFooter";
|
||||
import { OPERATOR } from "@/lib/legal";
|
||||
import { BACKEND_URL, getMe } from "@/lib/server";
|
||||
import { siteUrl } from "@/lib/share";
|
||||
import type { PublicConfig } from "@/lib/types";
|
||||
@@ -44,5 +46,33 @@ async function signupMode(): Promise<PublicConfig["signup_mode"]> {
|
||||
export default async function Home() {
|
||||
const me = await getMe();
|
||||
if (me) redirect(me.primary_chart_id ? "/keplet" : "/profil");
|
||||
return <Landing inviteOnly={(await signupMode()) !== "open"} />;
|
||||
const base = await siteUrl();
|
||||
return (
|
||||
<>
|
||||
<Landing inviteOnly={(await signupMode()) !== "open"} />
|
||||
<JsonLd
|
||||
data={{
|
||||
"@context": "https://schema.org",
|
||||
"@graph": [
|
||||
{
|
||||
"@type": "Organization",
|
||||
"@id": `${base}/#organization`,
|
||||
name: "Sorsfonalak",
|
||||
url: `${base}/`,
|
||||
logo: `${base}/apple-icon.png`,
|
||||
email: OPERATOR.email,
|
||||
},
|
||||
{
|
||||
"@type": "WebSite",
|
||||
"@id": `${base}/#website`,
|
||||
name: "Sorsfonalak",
|
||||
url: `${base}/`,
|
||||
inLanguage: "hu",
|
||||
publisher: { "@id": `${base}/#organization` },
|
||||
},
|
||||
],
|
||||
}}
|
||||
/>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user