Files
ariki-website/public/_next/static/chunks/0gvr7_lt8~_gd.js
T
jeremy aa3dd9f1fb
Deploy arikigame.com / deploy (push) Successful in 21s
Add privacy policy page and cookie consent banner
The site was loading Google Analytics 4 unconditionally with no consent
gate — non-essential cookies set before consent (PECR reg. 6), and no
privacy policy was published at all.

- Add /privacy — full Privacy and Cookie Policy from tinqs/legal,
  styled with the site's existing design tokens, no tracking on the page
- Gate GA4 behind opt-in consent (consent.js / consent.css); nothing
  loads until the visitor accepts, and declining clears any _ga cookies
- Add Privacy Policy + Cookie Settings links to the footer, patched in
  the footer component so they survive React hydration
- Cookie Settings reopens the banner so consent can be withdrawn as
  easily as it was given (UK GDPR Art. 7(3))
- Add /privacy to sitemap.xml

Verified with Playwright: zero googletagmanager requests before consent,
GA loads only after Accept, choice persists across reloads, withdrawal
works, no horizontal scroll on mobile.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-09-11 14:24:17 -07:00

1 line
15 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,52683,e=>{"use strict";var a=e.i(43476),s=e.i(71645);function l({className:e="h-5 w-5"}){return(0,a.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:(0,a.jsx)("path",{d:"M11.979 0C5.678 0 .511 4.86.022 11.037l6.432 2.658c.545-.371 1.203-.59 1.912-.59.063 0 .125.004.188.006l2.861-4.142V8.91c0-2.495 2.028-4.524 4.524-4.524 2.494 0 4.524 2.031 4.524 4.527s-2.03 4.525-4.524 4.525h-.105l-4.076 2.911c0 .052.004.105.004.159 0 1.875-1.515 3.396-3.39 3.396-1.635 0-3.016-1.173-3.331-2.727L.436 15.27C1.862 20.307 6.486 24 11.979 24c6.627 0 11.999-5.373 11.999-12S18.605 0 11.979 0zM7.54 18.21l-1.473-.61c.262.543.714.999 1.314 1.25 1.297.539 2.793-.076 3.332-1.375.263-.63.264-1.319.005-1.949s-.75-1.121-1.377-1.383c-.624-.26-1.29-.249-1.878-.03l1.523.63c.956.4 1.409 1.5 1.009 2.455-.397.957-1.497 1.41-2.454 1.012H7.54zm11.415-9.303c0-1.662-1.353-3.015-3.015-3.015-1.665 0-3.015 1.353-3.015 3.015 0 1.665 1.35 3.015 3.015 3.015 1.663 0 3.015-1.35 3.015-3.015zm-5.273-.005c0-1.252 1.013-2.266 2.265-2.266 1.249 0 2.266 1.014 2.266 2.266 0 1.251-1.017 2.265-2.266 2.265-1.253 0-2.265-1.014-2.265-2.265z"})})}function r({className:e="h-5 w-5"}){return(0,a.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:(0,a.jsx)("path",{d:"M20.32 4.37a19.8 19.8 0 0 0-4.88-1.52.07.07 0 0 0-.08.04c-.21.38-.45.87-.61 1.26a18.27 18.27 0 0 0-5.5 0 12.64 12.64 0 0 0-.63-1.26.08.08 0 0 0-.08-.04 19.74 19.74 0 0 0-4.88 1.52.07.07 0 0 0-.03.03C1.07 8.7.32 12.88.7 17.01a.08.08 0 0 0 .03.06 19.9 19.9 0 0 0 5.99 3.03.08.08 0 0 0 .08-.03c.46-.63.87-1.3 1.22-2a.08.08 0 0 0-.04-.11 13.1 13.1 0 0 1-1.87-.9.08.08 0 0 1 0-.13c.13-.09.25-.19.37-.29a.08.08 0 0 1 .08-.01c3.93 1.8 8.18 1.8 12.07 0a.08.08 0 0 1 .08 0c.12.1.25.2.37.3a.08.08 0 0 1 0 .12c-.6.35-1.22.65-1.88.9a.08.08 0 0 0-.04.11c.36.7.77 1.37 1.22 2a.08.08 0 0 0 .08.03 19.83 19.83 0 0 0 6-3.03.08.08 0 0 0 .04-.05c.45-4.69-.76-8.83-3.2-12.61a.06.06 0 0 0-.04-.03ZM8.02 14.33c-1.09 0-1.98-1-1.98-2.23s.87-2.23 1.98-2.23c1.12 0 2 1.01 1.98 2.23 0 1.23-.87 2.23-1.98 2.23Zm7.32 0c-1.09 0-1.98-1-1.98-2.23s.87-2.23 1.98-2.23c1.12 0 2 1.01 1.98 2.23 0 1.23-.87 2.23-1.98 2.23Z"})})}function i(){return(0,a.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:(0,a.jsx)("path",{d:"M18.24 2.25h3.31l-7.23 8.26 8.51 11.24h-6.66l-5.21-6.82-5.97 6.82H1.68l7.73-8.84L1.17 2.25h6.83l4.72 6.24 5.52-6.24Zm-1.16 17.52h1.83L7.08 4.13H5.11l11.97 15.64Z"})})}function n(){return(0,a.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:(0,a.jsx)("path",{d:"M23.5 6.19a3.02 3.02 0 0 0-2.12-2.14C19.5 3.5 12 3.5 12 3.5s-7.5 0-9.38.55A3.02 3.02 0 0 0 .5 6.19 31.56 31.56 0 0 0 0 12a31.56 31.56 0 0 0 .5 5.81 3.02 3.02 0 0 0 2.12 2.14c1.88.55 9.38.55 9.38.55s7.5 0 9.38-.55a3.02 3.02 0 0 0 2.12-2.14A31.56 31.56 0 0 0 24 12a31.56 31.56 0 0 0-.5-5.81ZM9.55 15.57V8.43L15.82 12l-6.27 3.57Z"})})}e.s(["default",0,function(){return(0,s.useEffect)(()=>{let e=document.getElementById("nav"),a=()=>{e?.classList.toggle("nav--scrolled",window.scrollY>60)};window.addEventListener("scroll",a,{passive:!0});let s=document.getElementById("navBurger"),l=document.getElementById("mobileMenu"),r=()=>{let e=l?.classList.toggle("mobile-menu--open");s?.classList.toggle("nav__burger--open",e??!1),document.body.style.overflow=e?"hidden":""};s?.addEventListener("click",r),l?.querySelectorAll("a").forEach(e=>{e.addEventListener("click",()=>{l?.classList.remove("mobile-menu--open"),s?.classList.remove("nav__burger--open"),document.body.style.overflow=""})});let i=document.querySelectorAll(".about, .pillars, .gallery__row, .world, .signup"),n=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&e.target.classList.add("visible")})},{threshold:.1});i.forEach(e=>n.observe(e));let c=document.querySelectorAll(".gallery__img-wrap--parallax img"),o=()=>{c.forEach(e=>{let a=(e.parentElement.getBoundingClientRect().top-window.innerHeight/2)*.08;e.style.transform=`translateY(${a}px) scale(1.08)`})};return window.addEventListener("scroll",o,{passive:!0}),()=>{window.removeEventListener("scroll",a),window.removeEventListener("scroll",o),s?.removeEventListener("click",r),n.disconnect()}},[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("nav",{className:"nav",id:"nav",children:[(0,a.jsx)("a",{href:"/",className:"nav__logo","aria-label":"Tinqs home",children:(0,a.jsx)("span",{className:"nav__wordmark",children:"TINQS"})}),(0,a.jsxs)("div",{className:"nav__center",children:[(0,a.jsx)("a",{href:"#game",className:"nav__link",children:"Games"}),(0,a.jsx)("a",{href:"#about",className:"nav__link",children:"About"}),(0,a.jsx)("a",{href:"#careers",className:"nav__link",children:"Careers"}),(0,a.jsx)("a",{href:"#signup",className:"nav__link",children:"Contact"})]}),(0,a.jsxs)("div",{className:"nav__socials",children:[(0,a.jsx)("a",{href:"#",className:"nav__social-icon","aria-label":"Steam",title:"Steam",children:(0,a.jsx)(l,{})}),(0,a.jsx)("a",{href:"#",className:"nav__social-icon","aria-label":"Discord",title:"Discord",children:(0,a.jsx)(r,{})}),(0,a.jsx)("a",{href:"#",className:"nav__social-icon","aria-label":"X",title:"X",children:(0,a.jsx)(i,{})}),(0,a.jsx)("a",{href:"#",className:"nav__social-icon","aria-label":"YouTube",title:"YouTube",children:(0,a.jsx)(n,{})})]}),(0,a.jsxs)("button",{className:"nav__burger","aria-label":"Open menu",id:"navBurger",children:[(0,a.jsx)("span",{}),(0,a.jsx)("span",{}),(0,a.jsx)("span",{})]})]}),(0,a.jsxs)("div",{className:"mobile-menu",id:"mobileMenu",children:[(0,a.jsx)("a",{href:"#game",className:"mobile-menu__link",children:"Games"}),(0,a.jsx)("a",{href:"#about",className:"mobile-menu__link",children:"About"}),(0,a.jsx)("a",{href:"#careers",className:"mobile-menu__link",children:"Careers"}),(0,a.jsx)("a",{href:"#signup",className:"mobile-menu__link",children:"Contact"})]}),(0,a.jsxs)("header",{className:"hero",id:"hero",children:[(0,a.jsx)("div",{className:"hero__bg","aria-hidden":"true"}),(0,a.jsx)("div",{className:"hero__vignette","aria-hidden":"true"}),(0,a.jsxs)("div",{className:"hero__content",children:[(0,a.jsx)("h1",{className:"hero__title",children:"The tribe is the game."}),(0,a.jsx)("p",{className:"hero__subtitle",children:"Rise from castaway to chieftain"}),(0,a.jsx)("span",{className:"hero__badge",children:"Early Access · Coming Soon"}),(0,a.jsx)("br",{}),(0,a.jsx)("a",{href:"#game",className:"hero__cta",children:"Explore"})]}),(0,a.jsx)("div",{className:"hero__scroll-hint","aria-hidden":"true",children:(0,a.jsx)("span",{})})]}),(0,a.jsx)("section",{className:"about",id:"about",children:(0,a.jsxs)("div",{className:"about__inner",children:[(0,a.jsx)("span",{className:"section-label",children:"The Studio"}),(0,a.jsxs)("h2",{className:"about__title",children:["Indie game-makers from London.",(0,a.jsx)("br",{}),"Three people, one world, one voyage."]}),(0,a.jsx)("p",{className:"about__text",children:"Tinqs is a three-person indie team crafting Ariki — a survival colony sim set in a Polynesian-inspired archipelago, where every island hides spirits, resources, and stories waiting to be uncovered."}),(0,a.jsx)("a",{href:"#careers",className:"about__hiring",children:"Were Hiring →"})]})}),(0,a.jsx)("section",{className:"careers",id:"careers",children:(0,a.jsxs)("div",{className:"careers__inner",children:[(0,a.jsx)("h2",{className:"careers__title",children:"Join the crew"}),(0,a.jsx)("p",{className:"careers__text",children:"Were looking for people who care about craft. If you want to help build a world worth exploring, get in touch."}),(0,a.jsx)("a",{href:"mailto:hello@tinqs.com",className:"careers__cta",children:"Apply Now"}),(0,a.jsx)("span",{className:"careers__email",children:"or email hello@tinqs.com"})]})}),(0,a.jsxs)("section",{className:"pillars",id:"game",children:[(0,a.jsx)("span",{className:"section-label",children:"Ariki"}),(0,a.jsx)("h2",{className:"pillars__title",children:"Survive. Build. Explore."}),(0,a.jsxs)("div",{className:"pillars__grid",children:[(0,a.jsxs)("article",{className:"pillar",children:[(0,a.jsx)("div",{className:"pillar__img-wrap",children:(0,a.jsx)("img",{src:"/img/scene-survive-cooking.png",alt:"Tribal character cooking fish under a thatched shelter at golden hour",loading:"lazy"})}),(0,a.jsx)("h3",{className:"pillar__name",children:"Survive"}),(0,a.jsx)("p",{className:"pillar__desc",children:"Forage, hunt, and cook to keep your tribe alive. Every resource matters on an uncharted island."})]}),(0,a.jsxs)("article",{className:"pillar",children:[(0,a.jsx)("div",{className:"pillar__img-wrap",children:(0,a.jsx)("img",{src:"/img/scene-build-settlement.png",alt:"Aerial view of a thriving island settlement with huts, farms, and palm trees",loading:"lazy"})}),(0,a.jsx)("h3",{className:"pillar__name",children:"Build"}),(0,a.jsx)("p",{className:"pillar__desc",children:"Grow from a makeshift camp to a thriving colony. Hundreds of villagers, working as one."})]}),(0,a.jsxs)("article",{className:"pillar",children:[(0,a.jsx)("div",{className:"pillar__img-wrap",children:(0,a.jsx)("img",{src:"/img/scene-explore-canoe.png",alt:"Character standing beside an outrigger canoe on a tropical beach",loading:"lazy"})}),(0,a.jsx)("h3",{className:"pillar__name",children:"Explore"}),(0,a.jsx)("p",{className:"pillar__desc",children:"Craft a canoe and voyage to new islands. Each one holds unique spirits, dangers, and rewards."})]})]}),(0,a.jsx)("span",{className:"pillars__meta",children:"PC · Console · Co-op Multiplayer · Early Access"}),(0,a.jsx)("br",{}),(0,a.jsx)("a",{href:"https://arikigame.com",className:"pillars__game-link",children:"Explore Ariki →"})]}),(0,a.jsxs)("section",{className:"gallery",id:"gallery",children:[(0,a.jsxs)("div",{className:"gallery__row",children:[(0,a.jsx)("div",{className:"gallery__img-wrap gallery__img-wrap--parallax",children:(0,a.jsx)("img",{src:"/img/gallery/gallery-rice-paddy.png",alt:"Character walking through terraced rice fields with lotus ponds and bamboo",loading:"lazy"})}),(0,a.jsxs)("div",{className:"gallery__text",children:[(0,a.jsx)("span",{className:"section-label",children:"Shape the Land"}),(0,a.jsx)("p",{className:"gallery__caption",children:"Terrace the hillsides. Cultivate rice paddies. Transform wild jungle into a flourishing homeland — from Micronesian huts to Balinese stone temples."})]})]}),(0,a.jsxs)("div",{className:"gallery__row gallery__row--reverse",children:[(0,a.jsx)("div",{className:"gallery__img-wrap gallery__img-wrap--parallax",children:(0,a.jsx)("img",{src:"/img/gallery/gallery-hillside-path.png",alt:"Character on a dirt trail with palm trees and terraced fields at golden hour",loading:"lazy"})}),(0,a.jsxs)("div",{className:"gallery__text",children:[(0,a.jsx)("span",{className:"section-label",children:"Chart the Unknown"}),(0,a.jsx)("p",{className:"gallery__caption",children:"Every island is a new frontier. Trek through palm forests, volcanic ridges, and hidden valleys to discover resources and ancient shrines."})]})]}),(0,a.jsxs)("div",{className:"gallery__row",children:[(0,a.jsx)("div",{className:"gallery__img-wrap gallery__img-wrap--parallax",children:(0,a.jsx)("img",{src:"/img/gallery/gallery-forest-overlook.png",alt:"Character with a staff looking over a forested village from a rocky overlook",loading:"lazy"})}),(0,a.jsxs)("div",{className:"gallery__text",children:[(0,a.jsx)("span",{className:"section-label",children:"Lead Your People"}),(0,a.jsx)("p",{className:"gallery__caption",children:"You are the chief. Guide your tribe through storms, spirit encounters, and the long voyage toward a place to call home."})]})]})]}),(0,a.jsxs)("section",{className:"world",id:"world",children:[(0,a.jsx)("div",{className:"world__bg","aria-hidden":"true"}),(0,a.jsxs)("div",{className:"world__inner",children:[(0,a.jsx)("span",{className:"section-label",children:"The World"}),(0,a.jsx)("h2",{className:"world__title",children:"Inspired by the islands of Southeast Asia and the Pacific"}),(0,a.jsx)("p",{className:"world__text",children:"Voyaging cultures, living spirits, and an archipelago procedurally different every time you land. Where the Pacific meets something ancient."}),(0,a.jsx)("div",{className:"world__map",children:(0,a.jsx)("img",{src:"/img/world-map-gold.jpg",alt:"Isleborn volcanic island with village, waterfalls, and turquoise ocean",loading:"lazy"})})]})]}),(0,a.jsxs)("section",{className:"connect",id:"connect",children:[(0,a.jsx)("span",{className:"section-label",children:"Community"}),(0,a.jsx)("h2",{className:"connect__title",children:"Follow the voyage"}),(0,a.jsxs)("div",{className:"connect__links",children:[(0,a.jsxs)("a",{href:"#",className:"connect__link",children:[(0,a.jsx)(l,{}),(0,a.jsx)("span",{className:"connect__link-label",children:"Steam"})]}),(0,a.jsxs)("a",{href:"#",className:"connect__link",children:[(0,a.jsx)(r,{}),(0,a.jsx)("span",{className:"connect__link-label",children:"Discord"})]}),(0,a.jsxs)("a",{href:"#",className:"connect__link",children:[(0,a.jsx)(i,{}),(0,a.jsx)("span",{className:"connect__link-label",children:"X"})]}),(0,a.jsxs)("a",{href:"#",className:"connect__link",children:[(0,a.jsx)(n,{}),(0,a.jsx)("span",{className:"connect__link-label",children:"YouTube"})]})]})]}),(0,a.jsxs)("section",{className:"signup",id:"signup",children:[(0,a.jsx)("div",{className:"signup__bg","aria-hidden":"true"}),(0,a.jsx)("div",{className:"signup__overlay","aria-hidden":"true"}),(0,a.jsxs)("div",{className:"signup__inner",children:[(0,a.jsx)("span",{className:"section-label",children:"Stay in the Loop"}),(0,a.jsx)("h2",{className:"signup__title",children:"Early Access is coming."}),(0,a.jsx)("p",{className:"signup__subtitle",children:"Be first to know."}),(0,a.jsxs)("form",{className:"signup__form",action:"#",method:"POST",children:[(0,a.jsx)("input",{type:"email",name:"email",placeholder:"your@email.com",required:!0,"aria-label":"Email address"}),(0,a.jsx)("button",{type:"submit",className:"btn",children:"Stay Close"})]}),(0,a.jsx)("p",{className:"signup__note",children:"No spam. Only milestones."})]})]}),(0,a.jsx)("footer",{className:"footer",children:(0,a.jsxs)("div",{className:"footer__inner",children:[(0,a.jsx)("span",{className:"footer__wordmark",children:"TINQS"}),(0,a.jsxs)("div",{className:"footer__links",children:[(0,a.jsx)("a",{href:"#game",children:"Games"}),(0,a.jsx)("a",{href:"#about",children:"About"}),(0,a.jsx)("a",{href:"#careers",children:"Careers"}),(0,a.jsx)("a",{href:"mailto:hello@tinqs.com",children:"hello@tinqs.com"}),(0,a.jsx)("a",{href:"/press",children:"Press Kit"}),(0,a.jsx)("a",{href:"/privacy",children:"Privacy Policy"}),(0,a.jsx)("a",{href:"#",onClick:function(e){e.preventDefault();if(typeof window.arikiCookieSettings==="function")window.arikiCookieSettings()},children:"Cookie Settings"})]}),(0,a.jsx)("p",{className:"footer__copy",children:"Tinqs Limited — London, est. 2020"})]})})]})}])}]);