The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore: add hackernews button
Francesco Sansalvadore6818cb3f4339
diff --git a/apps/www/components/LaunchWeek/Releases/LW7/components/index.tsx b/apps/www/components/LaunchWeek/Releases/LW7/components/index.tsxindex 15a879d4d67..ced2e70f4ee 100644--- a/apps/www/components/LaunchWeek/Releases/LW7/components/index.tsx+++ b/apps/www/components/LaunchWeek/Releases/LW7/components/index.tsx@@ -7,7 +7,8 @@ export const PencilSvg = () => (<svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg"><pathd="M3.21792 11.2469L11.8015 2.66333L14.0953 4.95709L5.51167 13.5407M3.21792 11.2469L2.34219 14.4164L5.51167 13.5407M3.21792 11.2469L5.51167 13.5407"- stroke="#A69DC9"+ // stroke="#A69DC9"+ stroke="#8F8F8F"strokeMiterlimit="10"strokeLinejoin="bevel"/>@@ -17,7 +18,8 @@ export const DocsSvg = () => (<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><pathd="M4.96289 9.48618H10.9629M4.96289 7.48618H10.9629M4.96289 11.4862H8.96289M3 2.00034V13.9998H12.9996V5.60113L9.38156 2.00034H3ZM12.9644 5.58432L9.38004 2L9.38004 5.58432L12.9644 5.58432Z"- stroke="#A69DC9"+ // stroke="#A69DC9"+ stroke="#8F8F8F"strokeMiterlimit="10"stroke-linejoin="bevel"/>@@ -27,7 +29,8 @@ export const PlaySvg = () => (<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><pathd="M13.4287 8L8.74762 10.7026L4.06653 13.4053L4.06653 8L4.06653 2.59474L8.74762 5.29737L13.4287 8Z"- stroke="#A69DC9"+ // stroke="#A69DC9"+ stroke="#8F8F8F"strokeMiterlimit="10"strokeLinejoin="bevel"/>@@ -39,7 +42,7 @@ export const GithubSvg = () => (fill-rule="evenodd"clip-rule="evenodd"d="M8.2125 1.75781C4.6765 1.75781 1.8125 4.62181 1.8125 8.15781C1.8125 10.9898 3.6445 13.3818 6.1885 14.2298C6.5085 14.2858 6.6285 14.0938 6.6285 13.9258C6.6285 13.7738 6.6205 13.2698 6.6205 12.7338C5.0125 13.0298 4.5965 12.3418 4.4685 11.9818C4.3965 11.7978 4.0845 11.2298 3.8125 11.0778C3.5885 10.9578 3.2685 10.6618 3.8045 10.6538C4.3085 10.6458 4.6685 11.1178 4.7885 11.3098C5.3645 12.2778 6.2845 12.0058 6.6525 11.8378C6.7085 11.4218 6.8765 11.1418 7.0605 10.9818C5.6365 10.8218 4.1485 10.2698 4.1485 7.82181C4.1485 7.12581 4.3965 6.54981 4.8045 6.10181C4.7405 5.94181 4.5165 5.28581 4.8685 4.40581C4.8685 4.40581 5.4045 4.23781 6.6285 5.06181C7.1405 4.91781 7.6845 4.84581 8.2285 4.84581C8.7725 4.84581 9.3165 4.91781 9.8285 5.06181C11.0525 4.22981 11.5885 4.40581 11.5885 4.40581C11.9405 5.28581 11.7165 5.94181 11.6525 6.10181C12.0605 6.54981 12.3085 7.11781 12.3085 7.82181C12.3085 10.2778 10.8125 10.8218 9.3885 10.9818C9.6205 11.1818 9.8205 11.5658 9.8205 12.1658C9.8205 13.0218 9.8125 13.7098 9.8125 13.9258C9.8125 14.0938 9.9325 14.2938 10.2525 14.2298C11.523 13.8009 12.627 12.9844 13.4092 11.8951C14.1913 10.8059 14.6122 9.49877 14.6125 8.15781C14.6125 4.62181 11.7485 1.75781 8.2125 1.75781Z"- fill="#A69DC9"+ fill="#8F8F8F"/></svg>)@@ -47,7 +50,8 @@ export const LinkSvg = () => (<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg"><pathd="M6.875 4.0013H4.20833C3.47195 4.0013 2.875 4.59826 2.875 5.33464V12.0013C2.875 12.7377 3.47195 13.3346 4.20833 13.3346H10.875C11.6114 13.3346 12.2083 12.7377 12.2083 12.0013V9.33464M9.54167 2.66797H13.5417M13.5417 2.66797V6.66797M13.5417 2.66797L6.875 9.33464"- stroke="#A69DC9"+ // stroke="#A69DC9"+ stroke="#8F8F8F"stroke-width="1"stroke-linecap="round"stroke-linejoin="round"@@ -55,11 +59,10 @@ export const LinkSvg = () => (</svg>)export const HackernewsSvg = () => (- <svg width="23" height="23" viewBox="0 0 23 23" fill="none" xmlns="http://www.w3.org/2000/svg">- <path d="M22.7969 0.878906H0.703125V22.9727H22.7969V0.878906Z" fill="#A69DC9" />+ <svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg"><path- d="M11.0093 13.3976L7.17969 6.25391H8.94719L11.1566 10.7463C11.1566 10.8199 11.2302 10.8936 11.3039 10.9672C11.3775 11.0409 11.3775 11.1145 11.4511 11.2618L11.5248 11.3355V11.4091C11.5984 11.5564 11.5984 11.6301 11.6721 11.7773C11.7457 11.851 11.7457 11.9983 11.8194 12.0719C11.893 11.851 12.0403 11.7037 12.114 11.4091C12.1876 11.1882 12.3349 10.9672 12.4822 10.7463L14.6916 6.25391H16.3118L12.4822 13.4712V18.0372H11.0093V13.3976Z"- fill="#1C1C1C"+ d="M7.46865 9.94677L4.69531 4.77344H5.97531L7.57531 8.02677C7.57531 8.0801 7.62865 8.13344 7.68198 8.18677C7.73531 8.2401 7.73531 8.29344 7.78865 8.4001L7.84198 8.45344V8.50677C7.89531 8.61344 7.89531 8.66677 7.94865 8.77344C8.00198 8.82677 8.00198 8.93344 8.05531 8.98677C8.10865 8.82677 8.21531 8.7201 8.26865 8.50677C8.32198 8.34677 8.42865 8.18677 8.53531 8.02677L10.1353 4.77344H11.3086L8.53531 10.0001V13.3068H7.46865V9.94677Z"+ fill="#8F8F8F"/></svg>)@@ -208,7 +211,7 @@ export const SectionButtons = ({)}{hackernews && (<ChipLink href={hackernews}>- Read+ Read more<div className="bg-[#eeeeee] dark:bg-[#313131] rounded-full inline-block p-1 ml-2"><HackernewsSvg /></div>diff --git a/apps/www/components/LaunchWeek/Releases/LW7/index.tsx b/apps/www/components/LaunchWeek/Releases/LW7/index.tsxindex a6653a19ffc..dd88a5cacbe 100644--- a/apps/www/components/LaunchWeek/Releases/LW7/index.tsx+++ b/apps/www/components/LaunchWeek/Releases/LW7/index.tsx@@ -19,6 +19,7 @@ import styles from './styles/launchWeek7.module.css'export default function LW7Releases() {const [preRelease, day1, day2, day3, day4, day5] = days+const publishedSections =days.filter((day: WeekDayProps) => Date.parse(day.publishedAt) <= Date.now())@@ -34,7 +35,6 @@ export default function LW7Releases() {const day3Shipped = Date.parse(day3.publishedAt) <= Date.now()const day4Shipped = Date.parse(day4.publishedAt) <= Date.now()const day5Shipped = Date.parse(day5.publishedAt) <= Date.now()-const isHackathonLive = prereleaseShipped && Date.parse(endOfLW7) >= Date.now()return (@@ -103,6 +103,7 @@ export default function LW7Releases() {shipped={prereleaseShipped}/>}+ key={preRelease.dd}disabled={!prereleaseShipped}className="h-[79px]"id={preRelease.d.toString()}@@ -117,7 +118,7 @@ export default function LW7Releases() {style={{background: `radial-gradient(90% 130px at 80% 0px, #4635A7, transparent)`,}}- ></div>+ /><div className="flex items-center lg: justify-between flex-col-reverse lg:flex-row lg:justify-start gap-2 text-black dark:text-white"><div>{preRelease.steps[0].title}</div><StyledArticleBadge className="lg:ml-4">Guide</StyledArticleBadge>@@ -138,7 +139,7 @@ export default function LW7Releases() {style={{background: `radial-gradient(90% 40% at 50% -10%, #4635A7, transparent)`,}}- ></div>+ /><div className="flex flex-col items-center gap-2 min-w-[300px]"><StyledArticleBadge>New</StyledArticleBadge><CartTitle>{preRelease.steps[1].title}</CartTitle>@@ -146,7 +147,7 @@ export default function LW7Releases() {</div><SectionButtonsgithub={preRelease.steps[1].github}- url={preRelease.steps[1].url}+ hackernews={preRelease.steps[1].hackernews}/></div></div>diff --git a/apps/www/components/LaunchWeek/lw7_days.ts b/apps/www/components/LaunchWeek/lw7_days.tsindex af1be6972a0..deabcb1de1f 100644--- a/apps/www/components/LaunchWeek/lw7_days.ts+++ b/apps/www/components/LaunchWeek/lw7_days.ts@@ -13,10 +13,11 @@ export interface WeekDayProps {title: stringblog?: stringdocs?: string- isNew?: booleandescription?: string- thumb?: stringgithub?: string+ hackernews?: string+ isNew?: boolean+ thumb?: stringurl?: stringyoutube_id?: string}[]@@ -29,7 +30,7 @@ const days: WeekDayProps[] = [title: 'AI generated OG images',shipped: true,date: '',- publishedAt: '2023-04-07T07:00:00.000-07:00',+ publishedAt: '2023-04-05T07:00:00.000-07:00',description: 'AI generated OG images',d: 0,dd: 'Pre-release',@@ -47,7 +48,8 @@ const days: WeekDayProps[] = [},{title: 'Supavisor',- github: '/blog/',+ github: 'github_link',+ hackernews: 'hackernews_link',},],},diff --git a/apps/www/pages/launch-week/tickets/index.tsx b/apps/www/pages/launch-week/tickets/index.tsxindex e916dc8c0c5..fce17fec545 100644--- a/apps/www/pages/launch-week/tickets/index.tsx+++ b/apps/www/pages/launch-week/tickets/index.tsx@@ -140,7 +140,7 @@ export default function TicketsPage({ users }: Props) {<Link href="/launch-week"><a><Button type="outline" size="medium">- Get your ticket now+ Go to Launch Week 7</Button></a></Link>