mirror of
https://github.com/supabase/supabase.git
synced 2026-10-17 15:19:08 +03:00
* 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>
62 lines
2.6 KiB
TypeScript
62 lines
2.6 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 Weeek
|
|
export const SAMPLE_TICKET_NUMBER = 1234
|
|
export const SITE_URL =
|
|
process.env.NEXT_PUBLIC_VERCEL_ENV === 'production'
|
|
? 'https://supabase.com/launch-week'
|
|
: process.env.NEXT_PUBLIC_VERCEL_URL
|
|
? `https://${process.env.NEXT_PUBLIC_VERCEL_URL}/launch-week`
|
|
: 'http://localhost:3000/launch-week'
|
|
export const LW_URL =
|
|
process.env.NEXT_PUBLIC_VERCEL_ENV === 'production'
|
|
? 'https://supabase.com/launch-week'
|
|
: process.env.NEXT_PUBLIC_VERCEL_URL
|
|
? `https://${process.env.NEXT_PUBLIC_VERCEL_URL}/launch-week`
|
|
: 'http://localhost:3000/launch-week'
|
|
export const SITE_ORIGIN = new URL(SITE_URL).origin
|
|
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 TWEET_TEXT =
|
|
'Launch Week 12 is almost here with @supabase. Get your ticket! #launchweek'
|
|
export const TWEET_TEXT_GOLDEN = `Launch Week 12 is almost here with @supabase. Get your ticket! #launchweek`
|
|
export const TWEET_TEXT_PLATINUM = `Just got a platinum @supabase LW12 ticket. Share twice to get one! #launchweek`
|
|
export const TWEET_TEXT_SECRET = `Just found a secret @supabase LW12 ticket. Claim a ticket and guess the word to find one! #launchweek`
|
|
export const SITE_NAME = 'Supabase'
|