import React from "react"; import type { Meta, StoryObj } from "@storybook/react"; import { KeycloakifyRotatingLogo } from "./KeycloakifyRotatingLogo"; import { useInsertLinkTags } from "../../dist/tools/useInsertLinkTags"; import { tss } from "../tss"; const meta = { title: "Introduction" } satisfies Meta; export default meta; type Story = StoryObj; export const WhatIsThisWebsite: Story = { render: () => }; function Introduction() { console.log(window.location.href); useInsertLinkTags({ componentOrHookName: "Template", hrefs: [] }); const { classes, theme } = useStyles(); return (

Keycloakify Storybook

This website showcases all the Keycloak user-facing pages of the Login and{" "} Account Multi-Page theme.
The storybook serves as a reference to help you determine which pages you would like to personalize.
These pages are a direct React adaptation of the{" "} built-in FreeMarker Keycloak pages .

); } const useStyles = tss.withName({ Introduction }).create(({ isDark, theme }) => ({ root: { height: "100vh", color: isDark ? "white" : "black", backgroundColor: theme.appContentBg, fontFamily: "'Work Sans'", fontSize: "14px", lineHeight: "24px", WebkitFontSmoothing: "antialiased", "& a": { color: theme.colorSecondary, textDecoration: "none", "&:hover": { textDecoration: "underline" } }, "& h1": { fontSize: "32px", marginBottom: 35 }, display: "flex", justifyContent: "center" }, content: { maxWidth: 750, textAlign: "center" }, keycloakifyLogoWrapper: { display: "flex", justifyContent: "center" }, keycloakifyLogo: { width: 400 } }));