Commit Graph
39 Commits
Author SHA1 Message Date
Ivan Vasilov 21d7ac0518 chore: Remove CMS code from the www app (#42648)
This PR removes all CMS code from the `www` app. This includes fetching
of blog posts, API routes for proxying blog posts and types.

All functionality should remain the same (and the number of blog posts
should be the same).

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Chores**
* Removed CMS integration, APIs, preview/draft/revalidate endpoints,
related env vars and dependency; switched to static markdown-only blog
pipeline.
* **Refactor**
* Simplified image and author resolution, tightened component props to
static post shapes, and migrated imports to path aliases.
* **Documentation**
  * Deleted CMS integration docs and rich-text conversion helpers.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-02-11 11:40:57 +01:00
Francesco Sansalvadore b4922199cd unblock cms draft mode (#38409)
* remove port from cms start script

* address cors

* 30s revalidation on blog index

* fix types

* remove duplicate cache strategy

* disable graphql

* fix cms build

* fix ProductDropdown crash

* fix env var turbo
2025-09-16 13:03:13 +02:00
Francesco Sansalvadore 2feda5ee19 cms www blog (#38045)
* show cms blog posts in www
* remove contentlayer from www
* outputFileTracingExcludes
* update remotePatterns
* fetch cms posts server-side with revalidation
* add cms env vars to turbo.json
* add www env vars to turbo.json
* include cms posts in www sitemap
* add migration to remove image from cms post
* update cms meta image mapping in www
2025-09-03 14:49:28 +02:00
Francesco Sansalvadore 573ad831d2 [www] clean up lib/constants file (#38241)
clean up www lib/constants file
2025-08-28 10:44:32 +02:00
Francesco Sansalvadore 2afa8ba4f6 lw15 ticketing (#36916)
lw15 ticketing site
2025-07-08 17:43:04 +02:00
Kevin Grüneberg 24afbe0497 chore: remove unused launch week components (#35467) 2025-05-05 17:05:24 +08:00
94e919d417 lw14 ticketing #34444
* mamba init

* shader-updates

* feat: add better bloom

* cleanup

* Fix GLTF model loading to respect original material properties

Signed-off-by: Piotr Goszczyński <pg@tonik.com>

* Fix GLTF model loading to respect original material properties

Signed-off-by: Piotr Goszczyński <pg@tonik.com>

* stash changes

* Update font to Arial in mamba ticket component

Signed-off-by: Piotr Goszczyński <pg@tonik.com>

* Fix wireframe size in debug mode

Signed-off-by: Piotr Goszczyński <pg@tonik.com>

* Fix wireframe size in debug mode by attaching to child mesh instead of model

Signed-off-by: Piotr Goszczyński <pg@tonik.com>

* fix scaling

* fix

* feat: load png with color material

* fix: spline material

* add toggling of effects

* stash

* feat: ticket model

* load better model

* strcture

* fix rotation speed

* rotation

* fix rotation

* new model

* prepare final designs

* add color palette

* feat: add fonts and rendering

* render dynamic texture

* load all textures

* fix: color sace

* feat: secret model

* improve perf

* postprocessing

* fix: output pass

* improve shaders

* increase glitches

* cleanup

* update colors

* remove unused files

* add header

* feat: ui

* fix: raycaster

* feat: add button toggling

* Improve ui

* fix corners positoins

* add tunnel effect

* fix: dates

* add dynamic rocket position rendering

* add different logs

* feat: add migrations and connect to real data

* chore: state cleanup to use reducer

Migrate logic to centralized reducer for ease of debugging

* feat: add hud layout

* add grain effect to hud

* limit glitching, move page to main url

* add vignette effect

* fix: desktop layout

* remove vertical space

* feat: save secret state on ticket upgrade

* feat: make platinum version take priority over secret

* add mobile header

* remove unnecessary allocations

* fix: resize hud

* add page scaling for mobile layouts

* add ticket scaling based on resolution

* adjust mobile styles

* fix: resize texture distortion

* add gauges mobile breaking points

* feat: mobile claim layout

* mobile styles

* Show ticket referer

* rename files

* update copy links

* add partymode part 1

* feat: og images, lw14

* add presence tracking

* add live updates of guages

* Update meetups label

* update label

* username ticket lw14

* add proper subscription on first render

* remove green edge

* feat: remove species & planet from ticket scene

* change urls

* feat/mamba-assets: update assets

* feat: fix shader grain

* add color to shader

* remove vertical space

* fix: og image generation

* fix referal and removing of access token

* make urls nicer

* feat/mamba-assets: dynamic line break + dynamic background

* small adjustments

* add trimming to ogimages

* minor: missing font file

* fix og image line wrapping

* remove dot from meetups

* improve ticket quality

* upss, forgot to commit one file

* feat add dynamic og image linking

* update static site url

* fix low mobile resolution

* add banners

* simplify banner loading

* add missing fonts

* fix name breaking to prioritize spaces

* update quality based on devicePixelRatio

* fix button positioning

* revert: feature flags disabling

* update start date

* limit shader effects and disable axis, potential fix to chrome freeze

* feat: init mamba 01

* create narrow ticket scene

* narrow scene for ticket and fix follow mouse

* fix dates

* alternative version

* updated ticket page

* remove migrations

* remove files

* prettier

* prettier

* Fix TS and prettier issues

* Fix TS issues

* Test

* Remove console log

* fix updating ticket on share

* chore: lw cleanup

* fix ticket layout

* fix chrome crashes

* lower crt intensity

* tunnel improvements

* fix tunnel effect

* chore: z-index and prettier fix

* chore: padding

* fix double tunnel

* chore: font on banners

---------

Signed-off-by: Piotr Goszczyński <pg@tonik.com>
Co-authored-by: dztonik <dz@tonik.com>
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
2025-03-27 15:55:47 +00:00
Ivan Vasilov 84311e7d09 chore: Fix the env vars for turbo (#31104)
* Check all env vars for studio and list them properly in turbo.json.

* Check all env vars for design-system.

* Fix all env vars for www.

* Fix all env vars for docs.

* Add the rest of the env vars from the packages folder.

* Revert the changes in the sign-in pages.

* Remove useless files. Fix a comment.

* Fix the links in extensions page to always point to supabase.com/docs.

* Change the feature flag rewrite in studio to point to supabase.com/.flags endpoint.

* Replace NEXT_PUBLIC_VERCEL_URL with NEXT_PUBLIC_VERCEL_BRANCH_URL because it's more stable on vercel.com. Remove it from apps where it's not needed.

* Add env vars from packages. Move all passthrough env vars to env vars since they're stable (don't change between pushes).

* Revert changes of studio files.

* Minor fixes for the merge commit.

* Replace all uses of SITE_URL with LW_URL (they're the same). SITE_ORIGIN is not constructed from env vars. LW_URL is constructed from SITE_ORIGIN and launch_week string.

* Use SITE_ORIGIN when fetching the ticket-og.
2025-01-17 11:08:14 +01:00
Alaister Young 4577389177 chore: send feature flags for page events (#32590) 2025-01-13 13:08:50 +08:00
Francesco Sansalvadore 0111ea1426 tiger init follow up (#30659)
* meetups link

* max-height

* fix cursor and update share text
2024-11-25 17:12:46 -05:00
Francesco SansalvadoreandJonathan Summers-Muir f05a7c60c1 tiger init (#30620)
* lw13 interactive realtime grid

* 3d metal ticket

* add dynamic text to ticket

* reset ticket tilt on mouseout

* improve canvas sizing and ticket positioning and originate tilt from ticket

* test lw layout

* test lw layout

* fix imports

* .

* fix .length bug

* usual ticketing flow

* reduce ticket padding

* reduce fade delay

* add name from db

* text size

* use multiplayer.dev cursor logic

* lodash samplesize

* good state

* working users cursors

* single partyMode off

* clean up

* refactor ticket layout and positioning logic

* regular and platinum tickets

* regular theme based og

* add mono font to ticket, finish textures and ogs

* ticket cleanup

* restore countdown with ticket

* update og

* update og

* remote year add hour

* drag ticket to flip

* remove

* add presence

* remove cursor on own touch device

* test hidden mobile cursor

* fix mobile dragging

* scale ticket on interaction

* code logic

* secret ticket logic

* cleanup

* persist won game

* enable game on mobile

* fix mobile game

* add announcement banners

* update text layout

* hide game from share page and if game won

* fix mobile flip 🎉

* fix meetups time formatting

* faster flip

* tiger init styling (#30649)

* update

* mobile fix

---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>

* use multilanguage font

* lineheight

* only published meetups

* comment on timezone column

* better mobile input positioning

* fix sudden lighting change

* increase cell size for better performance

* increase cell size for better performance

* last touches

---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
2024-11-25 13:45:21 -04:00
Jonathan Summers-MuirandFrancesco Sansalvadore 1f1f8a5fa4 Feat/whale init (#28243)
* duplicate page

* whale init

* table background

* prepare

* sync undocumented remote schema from master

* revert remote schema sync

* add lw12 tickets migration file

* ticket init

* set up lw12 ticket layout

* finish ticket layout and customization form

* lw12 ticket og

* ticket styling

* code highlight border

* launch week migrations

* local dev progress

* keep local gh config

* comment section

* comment section

* comment out username.tsx

* remove lw/ticekts temp

* update copy

* fix migration view

* redirect to try

* use misc

* lw12 og

* share

* share correct

* env var

* username page

* update example env

* push new db schema

* trigger deploy

* update ticket og

* ticket themes

* bypass browser

* change env var name

* fix

* fix

* process env

* create client server side

* lw announcements

* promoToast

* animated bg

* update ticket og bg

* minor details

* secret ticket

* social share text

* social share textgst

* flow text

* update og

* update og handler

* Update index.ts

* use functions.invoke and use generic supabase URL

* Update index.ts

* Update handler.tsx

* Update package-lock.json

* Update handler.tsx

* add next api route

* moved to vercel edge function

* set revalidate

* Update route.tsx

* Delete lw-ticket-og.tsx

* Update route.tsx

* Update [username].tsx

* Update [username].tsx

* add more fetches

* Update turbo.json

* ticket themes updated

* copy and layout updated

* Update index.tsx

* Update Ticket.tsx

* Update TicketingFlow.tsx

* update countdown

* updated bg

* small updates

* moat

* Update [username].tsx

* Update 20240723155310_add_lw12_ticketing_schema.sql

* optimistic ticket stuff og generation

* Update index.tsx

* updated layout

* update themes in og

* Update constants.ts

* attr renamed

* Update TicketingFlow.tsx

* Update TicketActions.tsx

* grammar

* moar updates

* Update TicketActions.tsx

* Update TicketActions2.tsx

* Update TicketActions.tsx

* Update Hero.tsx

* Update TicketingFlow.tsx

* remove console logs

---------

Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
2024-08-01 01:59:01 +08:00
Francesco Sansalvadore 9c452145ae Eagle end (#22992) 2024-04-20 20:45:06 +02:00
8864e5633c docs: storage s3 protocol (#22647)
* docs: storage s3 protocol

* fix: edits

* docs(storage): added ownership,management,custom-roles docs

* chore: fix prettier

* docs: fix formatting & rephrase some bits

* fix: edits

* add error codes documentation

* update docs

* Adds blog post

* Adds embeds

* chore: update images

* parquet video

* Update thumb.png

* some doc updates

* Adds compat list

* guide: cyberduck

* doc updates

* ga page data

* blog updates

* update image

* Update 2024-04-18-s3-compatible-storage.mdx

* Update supabase-contributions.png

* blog update

* moves cyberduck to integrations

* updated multipart section blog

* Update 2024-04-18-s3-compatible-storage.mdx

* update blog

* fix link

* blog updates

* update blog

* docs update

* update announcement banners

* update

* update build stage

* update

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Kang Ming <kang.ming1996@gmail.com>
Co-authored-by: Inian <inian1234@gmail.com>
Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
Co-authored-by: Francesco Sansalvadore <francescosansalvadore@mac.wind3.hub>
2024-04-18 14:57:16 +02:00
35de059bbd Feat/eagle 1 (#22730)
* content structure

* remove component

* reorder sections

* eagle new path

* nav

* meetups

* update lw11-og function with service key

* add ticket button in sticky nav

* disable and exit game when not in view

* enable light mode

* add placeholders

* highlights

* update

* typo

* fix mainDays import

* update og image

* update sections

* add hackathon link

* add video id

* add spaces and update ga

* remove highlights

* enterprise section

* highlights

* Adds the bootstrap post

* Updates the desc

* fixing tags

* fixing authors

* fix the admonition

* Adds the AWS post

* fixing categories

* Adds LW number

* Adds the branching post

* fix description

* chore: minor typos in blog post

* swift scaffold

* fix dates on all posts

* adds chris as the author

* Adds the branching tagline

* Adds oriole post

* updates oriole

* Fix caption

* Adds the YT video

* update GA page

* adds branching publicly available post

* bootstrap image update

* updated AWS images

* first section in GA

* update CLI bg

* Updates community

* fix build

* Adds scale section

* Adds all the sections

* updated images

* chore: adds partners and integrations

* padds out the swift post

* chore: whats new

* chore: whats next

* add chart

* updates AWS page

* chore: ai names

* section numbering

* Adds some stats for the community

* Adds humat

* edits

* edits

* update announcements

* add star growth

* update videoid

* Adds edits

* Update ga.tsx

* build stage svg color

* remove meetups link

* remove backticks

* update chart

* Add PWC

* add community stats

* Adds full URLs

* fix charts

* fix whats new

* fix broken HTML

* Fix orderign

* Fix swift video

* fix list

* spelling

* Update ga.tsx

* merge

* update community stats

from Ants feedback

* chore: links and small changes

* Change the category for Oriole

* add bg support

* Update ga.tsx

* fixes formatting on the quote

* update cta

* fixes

* add vercel partner

---------

Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
Co-authored-by: Francesco Sansalvadore <francescosansalvadore@MacBook-Pro-2.local>
Co-authored-by: Francesco Sansalvadore <francescosansalvadore@mac.wind3.hub>
Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
Co-authored-by: Han Qiao <sweatybridge@gmail.com>
Co-authored-by: Alaister Young <a@alaisteryoung.com>
Co-authored-by: awalias <antwilson@hotmail.co.uk>
2024-04-15 12:16:43 +02:00
Francesco SansalvadoreandAnt Wilson accf7618eb Eagle (#22425)
* lw11 ga ticketing

* add @types/animejs

* build new game word

* og ticket layout

* ticket og layout

* lw11 ticketing flow

* remove unused assets

* clean up old LW code

* smol cleanup

* update lw11 og function

* update lw11 og function

* prepare

* main layout

* layout

* update naming

* fix lw11 canvas resize

* lw announcement countdown banner

* hp badge

* update lw page

* cleanup

* update banners

* update ticket shape

* update share string

* update launch time

* avatar in ticket

* update lw11-og handler

* mask ticket glow

* update game with input-otp

* clean up game

* update ticketing page title

* update

* update awards

* special event

* update constants

* fix mobile inputs bug

* update announcements

* dots grid

* remove 2024

* gst

* fix ticket user page

* less stacked layout

* lw

* update secret ticket

* update sharing layout

* max width to ticket container

* update tweet text

* clean up merge

* npm i

* update hero announcement

* update footer

* update types

* fix types

* Update apps/www/lib/constants.ts

* Update apps/www/lib/constants.ts

* Update apps/www/lib/constants.ts

* Apply suggestions from code review

* update og

* og

* special announcement

* special announcement

* fix favicon

* url timestamp for cache

* cache

* favicon

* remove file

* fix title

* game only when signed in

* user ticket nme

* day

* switch to /special-announcent

* update /special-announcement

* update /special-announcement

* skip build

* redirect

* fix theme in /special-announcement

* fix mobile ticket form

* image not draggable

* cleanup

* restore latest manifest

* update secret ticket tweet

* secret share

* update text

* fix secret share

* typo

* remove comment

* update deprecated icon

* restore input.stories

---------

Co-authored-by: Ant Wilson <awalias@users.noreply.github.com>
2024-04-04 13:09:21 +00:00
Kevin Grüneberg f7e60bf324 chore: upgrade prettier/eslint + autofix (#20785) 2024-01-30 10:54:02 +08:00
Francesco Sansalvadore d00b3d199f X stuff (#19433)
* lwx word

* add secret ticket

* add secret ticket assets

* cleanup

* secret ticket copy

* update mobile ticket

* add loading state after claiming ticket

* update matched letter styling

* improve game logic and github signin

* update og functions

* rebuild

* properly remove game event listenere

* bigger compliment

* remove weird file
2023-12-05 17:49:09 +01:00
Francesco Sansalvadore fa85d9febd Chore x (#19282)
update share copy
2023-11-28 16:32:04 +00:00
Francesco SansalvadoreandJonathan Summers-Muir 7c8ac579a4 Feat x (#19250)
* make dark: selector work again

* create new LWX page and move previous to lw8 folder

* set up initial sign in with github flow

* set up ticket layout

* clean up TicketForm

* connect to lwx_tickets table and sign in with github

* update landing page content

* ticket layout

* share actions

* add prize section

* fix lw7 types

* fix lw7 types

* update content

* update realtime icon color

* lwx og ticket

* cleanup

* fix types in previous lw

* fix ticket copy icon
gst

* add lwx Promo banners

* golden ticket

* lwx-ticket-og

* update announcement banner

* update

* update colors

* update swag prize

* add padding to keyboard image

* update text
gst

* update ticket bg and countdown colons

* clean up

* update lwx cta color

* update functions

* platinum

* update og

* update og

* add og image and update supabase logo

* add ticket customization form

* update meta description

* fix import

* fix import

* bg

* fix realtime

* add hover interaction on lwx shape

* svg loader

* setTimeout on window.open to fix safari

* eager load ticket assets

* eager load background

* use next/link for ticketActions

* design PromoToast

* promoToast in docs

* fix referral link

* fix stuff

* update og functions

* update og functions

* update PT timezone shift

* update ticketing flow layout

* update ticketing flow layout

* prefetch right user link

* toggle ticket customization form

* update og regular bg

* remove lwx title when ticket

* remove edit button on ticket in share page

* optimize og generation function

* asd

* fix www announcement banner

* spacing

* center share link

* update mobile ticket bg

* maybe add logic to hide presence if low traffic

* add lwx favicon

* truncate shareable url

* fix keyboard image ratio

* update discount copywriting

* add keyboard controls to customization form

* update lwx favicon

* update lwx favicon

* update FaviconImports

* update tickets page

* stickers

* Revert "stickers"

This reverts commit d7d7d9beb9.

* update lockfile to fix turbo darwin 64 bug

* stickers

* make x always visible on mobile

* format favicon manifest

* update social sharing text

* fix typo

* update social share text

* remove window.open

* update promo toast info

---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
2023-11-28 16:31:14 +01:00
Francesco Sansalvadore 4ee56ab302 Merge branch 'master' into chore/update-telemetry-behaviour-consent 2023-07-27 13:59:53 +02:00
Francesco Sansalvadore fe0551abec Add consent toast to www 2023-07-27 12:31:42 +02:00
Francesco Sansalvadore 7f237910ad LW8: Pre Launch ticketing system 2023-07-25 13:07:05 +02:00
Francesco Sansalvadore 0190b9ceab update meta description 2023-07-17 10:22:04 +02:00
Francesco Sansalvadore eca8250a89 optimizations 2023-05-29 23:15:52 +02:00
Francesco Sansalvadore 5e2dca6cc0 chore: update API_URL preview check 2023-05-04 11:47:56 +02:00
Francesco Sansalvadore da33e3bea6 chore: navigate with router 2023-05-03 16:09:32 +02:00
Francesco Sansalvadore f13c729923 chore: add analytics event to hp herop 2023-05-03 15:42:56 +02:00
awalias db2a8b8ac2 fix: small tweet copy change 2023-03-28 12:01:48 +01:00
Francesco Sansalvadore 4247c27c54 lw7: lw7 new dates 2023-03-20 16:41:49 +01:00
thorwebdev 20d2c33c05 fix: social copy and links. 2023-03-16 16:43:07 +08:00
Francesco Sansalvadore 011249f4a6 update spacing and server side props 2023-03-16 12:14:00 +08:00
Francesco Sansalvadore effb55efa9 LW7: set megamenu full color 2023-03-09 11:11:01 +01:00
Terry Sutton 637faae001 Add wayfinders 2023-02-24 11:27:09 -03:30
thorwebdev d475a6e5b1 fix: site url 2022-12-01 00:13:54 +08:00
Terry Sutton 994735e259 Copy 2022-11-30 09:18:55 -03:30
Francisco Mazzoni 72c2b408dc add supabadges, fix logic for different styles 2022-11-28 15:11:49 -03:00
Joshen Lim adcacced04 Add launch page stuff 2022-11-23 16:04:54 +08:00
Copple 7bf96dcc09 moves the entire website into the apps folder 2022-04-21 12:04:22 +02:00