diff --git a/app/components/Layout/index.tsx b/app/components/Layout/index.tsx index b4cda4b65..609bd6761 100644 --- a/app/components/Layout/index.tsx +++ b/app/components/Layout/index.tsx @@ -60,6 +60,13 @@ export const Layout = React.memo(function Layout({ ))} + +
+ {new Array(50).fill(null).map((_, i) => ( + BETA + ))} +
+
{children}
); diff --git a/app/routes/beta.tsx b/app/routes/beta.tsx new file mode 100644 index 000000000..f43b1fe24 --- /dev/null +++ b/app/routes/beta.tsx @@ -0,0 +1,38 @@ +import type { LinksFunction } from "remix"; +import { DISCORD_URL } from "~/constants"; +import styles from "~/styles/beta.css"; + +export const links: LinksFunction = () => { + return [{ rel: "stylesheet", href: styles }]; +}; + +export default function BetaPage() { + return ( +
+

Beta of sendou.ink (Splatoon 3)

+

+ Hello there! I appreciate you taking time to visit this beta version of + sendou.ink's Splatoon 3 site. This being a beta there is a few things + you should consider: +

+ +

+ Return to Splatoon 2 sendou.ink +

+
+ ); +} diff --git a/app/styles/beta.css b/app/styles/beta.css new file mode 100644 index 000000000..484ea2285 --- /dev/null +++ b/app/styles/beta.css @@ -0,0 +1,5 @@ +.beta__container { + max-width: 48rem; + margin: 0 auto; + padding-inline: var(--s-2); +} diff --git a/app/styles/global.css b/app/styles/global.css index 6fcd5d9f4..32a044e84 100644 --- a/app/styles/global.css +++ b/app/styles/global.css @@ -5,6 +5,7 @@ --bg-modal-backdrop: hsla(237deg 98% 1% / 70%); --border: hsl(237.3deg 42.3% 45.6%); --button-text: rgb(0 0 0 / 85%); + --button-text-transparent: rgb(0 0 0 / 65%); --text: rgb(255 255 255 / 95%); --text-lighter: rgb(255 255 255 / 55%); --theme-error: rgb(219 70 65); @@ -88,6 +89,12 @@ body { outline: none !important; } +a { + color: var(--theme); + font-weight: var(--semi-bold); + text-decoration: none; +} + button { display: flex; width: auto; @@ -385,6 +392,10 @@ select::selection { /* Utility classes */ +.mt-2 { + margin-block-start: var(--s-2); +} + .mt-3 { margin-block-start: var(--s-3); } diff --git a/app/styles/layout.css b/app/styles/layout.css index d0f97f3f1..9eea67c33 100644 --- a/app/styles/layout.css +++ b/app/styles/layout.css @@ -40,6 +40,23 @@ justify-self: flex-end; } +.layout__beta__link { + text-decoration: none; +} + +.layout__beta__banner { + display: flex; + width: 100%; + justify-content: center; + background-color: var(--theme); + color: var(--button-text-transparent); + font-size: var(--fonts-xs); + font-weight: var(--bold); + gap: var(--s-8); + overflow-x: hidden; + white-space: nowrap; +} + .layout__nav { display: none; justify-content: center;