mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
* 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>
75 lines
3.2 KiB
TypeScript
75 lines
3.2 KiB
TypeScript
export const APP_NAME = 'Supabase'
|
|
export const DEFAULT_META_DESCRIPTION =
|
|
'Build production-grade applications with a Postgres database, Authentication, instant APIs, Realtime, Functions, Storage and Vector embeddings. Start for free.'
|
|
export const IS_PROD = process.env.NEXT_PUBLIC_VERCEL_ENV === 'production'
|
|
export const IS_PREVIEW = process.env.NEXT_PUBLIC_VERCEL_ENV === 'preview'
|
|
export const API_URL = process.env.NEXT_PUBLIC_API_URL!
|
|
|
|
// Products
|
|
|
|
export enum PRODUCT_NAMES {
|
|
DATABASE = 'Database',
|
|
AUTH = 'Authentication',
|
|
STORAGE = 'Storage',
|
|
FUNCTIONS = 'Edge Functions',
|
|
REALTIME = 'Realtime',
|
|
VECTOR = 'Vector',
|
|
}
|
|
|
|
export enum PRODUCT_SHORTNAMES {
|
|
DATABASE = 'database',
|
|
AUTH = 'auth',
|
|
STORAGE = 'storage',
|
|
FUNCTIONS = 'functions',
|
|
REALTIME = 'realtime',
|
|
VECTOR = 'vector',
|
|
}
|
|
|
|
// Launch Week
|
|
export const SAMPLE_TICKET_NUMBER = 1234
|
|
|
|
export const SITE_ORIGIN =
|
|
process.env.NEXT_PUBLIC_VERCEL_ENV === 'production'
|
|
? 'https://supabase.com'
|
|
: process.env.NEXT_PUBLIC_VERCEL_BRANCH_URL
|
|
? `https://${process.env.NEXT_PUBLIC_VERCEL_BRANCH_URL}`
|
|
: 'http://localhost:3000'
|
|
|
|
export const LW_URL = `${SITE_ORIGIN}/launch-week/13`
|
|
|
|
export const TWITTER_USER_NAME = 'supabase'
|
|
export const LW7_DATE = 'April 10th 2023'
|
|
export const LW8_DATE = 'August 7-11'
|
|
export const LW8_LAUNCH_DATE = '2023-08-07T09:00:00.000-07:00'
|
|
export const LWX_DATE = 'Dec 11-15 / 8am PT'
|
|
export const LWX_LAUNCH_DATE = '2023-12-11T08:00:00.000-07:00'
|
|
export const LW11_DATE = 'April 15-19 / 7am PT'
|
|
export const LW11_LAUNCH_DATE = '2024-04-15T07:00:00.000-07:00'
|
|
export const LW11_LAUNCH_DATE_END = '2024-04-21T23:59:59.000-07:00'
|
|
export const LW12_DATE = 'August 12-16 / 7am PT'
|
|
export const LW12_LAUNCH_DATE = '2024-08-12T07:00:00.000-07:00'
|
|
export const LW12_LAUNCH_DATE_END = '2024-08-18T23:59:59.000-07:00'
|
|
export const LW12_TITLE = 'Launch Week 12'
|
|
export const LW13_DATE = '2 — 6 December / 7am PT'
|
|
export const LW13_LAUNCH_DATE = '2024-12-02T07:00:00.000-07:00'
|
|
export const LW13_LAUNCH_DATE_END = '2024-12-16T23:59:59.000-07:00'
|
|
export const LW13_TITLE = 'Launch Week 13'
|
|
export const TWEET_TEXT =
|
|
'Launch Week 13 is just around the corner at @supabase. \nClaim your ticket and stay tuned for all the announcements! \n#launchweek'
|
|
export const TWEET_TEXT_PLATINUM = `Just conquered a platinum @supabase Launch Week 13 ticket. Share twice to get one! \n#launchweek`
|
|
export const TWEET_TEXT_SECRET = `Found the secret golden ticket for @supabase's Launch Week 13. \nCan you find it? \n#launchweek`
|
|
|
|
// todo: update dates
|
|
export const LW14_DATE = '31 March — 4 April / 7am PT'
|
|
export const LW14_LAUNCH_DATE = '2025-03-31T07:00:00.000-07:00'
|
|
export const LW14_LAUNCH_DATE_END = '2025-04-04T23:59:59.000-07:00'
|
|
export const LW14_TITLE = 'Launch Week 14'
|
|
export const LW14_TWEET_TEXT =
|
|
'Launch Week 14 is just around the corner at @supabase. \nClaim your ticket and stay tuned for all the announcements! \n#launchweek'
|
|
export const LW14_TWEET_TEXT_PLATINUM =
|
|
'Just conquered a platinum @supabase Launch Week 14 ticket. Share twice to get one! \n#launchweek'
|
|
export const LW14_TWEET_TEXT_SECRET = `Found the secret golden ticket for @supabase's Launch Week 14. \nCan you find it? \n#launchweek`
|
|
export const LW14_URL = `${SITE_ORIGIN}/launch-week`
|
|
|
|
export const SITE_NAME = 'Supabase'
|