Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: remove lw7 link

Francesco Sansalvadore900a47bffae6
diff --git a/apps/www/_blog/2023-04-04-infinite-scroll-with-nextjs-framer-motion.mdx b/apps/www/_blog/2023-04-04-infinite-scroll-with-nextjs-framer-motion.mdx
index a670abe9610..406cc058b93 100644
--- a/apps/www/_blog/2023-04-04-infinite-scroll-with-nextjs-framer-motion.mdx
+++ b/apps/www/_blog/2023-04-04-infinite-scroll-with-nextjs-framer-motion.mdx
@@ -4,7 +4,6 @@ description: Lazy load and paginate data on scroll with Next.js and a sprinkle o
author: fsansalvadore
image: infinite-scroll-thumb.jpg
thumb: infinite-scroll-thumb.jpg
-launchweek: 7
tags:
- tutorial
- launch-week
diff --git a/apps/www/components/LaunchWeek/BlogLinks.tsx b/apps/www/components/LaunchWeek/BlogLinks.tsx
deleted file mode 100644
index 28136328611..00000000000
--- a/apps/www/components/LaunchWeek/BlogLinks.tsx
+++ /dev/null
@@ -1,139 +0,0 @@
-import Image from 'next/image'
-import React from 'react'
-import days from '~/components/LaunchWeek/lw7_days'
-
-const BlogLinks = () => {
- const SectionButtons = ({
- blog,
- docs,
- youtube_id,
- }: {
- blog: string
- docs?: string
- youtube_id?: string
- }) => {
- return (
- <div className="flex gap-2 z-10">
- <a href={blog} target="_blank" rel="noopener">
- <div className="flex items-center border border-slate-400 bg-gradient-to-r to-[#fcfcfc] from-[#f2f2f2] hover:from-[#d5d5d5] text-black dark:text-white dark:to-[#191919] dark:from-[#464444] dark:hover:from-[#4e4e4e] rounded-full text-xs py-1 pl-3 pr-1">
- Blog post
- <div className="bg-[#eeeeee] dark:bg-[#313131] rounded-full inline-block p-1 ml-2">
- <PencilSvg />
- </div>
- </div>
- </a>
- {!!docs?.length && (
- <a href={docs} target="_blank" rel="noopener">
- <div className="flex items-center border border-slate-400 bg-gradient-to-r from-[#fcfcfc] to-[#f2f2f2] hover:to-[#d5d5d5] text-black dark:text-white dark:from-[#191919] dark:to-[#464444] dark:hover:to-[#4e4e4e] rounded-full text-sm py-2 pl-3 pr-2">
- Docs
- <div className="bg-[#eeeeee] dark:bg-[#313131] rounded-full inline-block p-1 ml-2">
- <DocsSvg />
- </div>
- </div>
- </a>
- )}
- {!!youtube_id?.length && (
- <a
- href={`https://www.youtube.com/watch?v=${youtube_id}&ab_channel=Supabase`}
- target="_blank"
- rel="noopener"
- >
- <div className="flex items-center border border-slate-400 bg-gradient-to-r from-[#fcfcfc] to-[#f2f2f2] hover:to-[#d5d5d5] text-black dark:text-white dark:from-[#191919] dark:to-[#464444] dark:hover:to-[#4e4e4e] rounded-full text-sm py-2 pl-3 pr-2">
- Video
- <div className="bg-[#eeeeee] dark:bg-[#313131] rounded-full inline-block p-1 ml-2">
- <PlaySvg />
- </div>
- </div>
- </a>
- )}
- </div>
- )
- }
-
- const activeDays = days.filter((day) => Date.parse(day.publishedAt) <= Date.now())
-
- if (!activeDays.length) return null
-
- return (
- <div className="flex flex-col gap-3 lg:gap-4 border-t border-scale-400 py-4 lg:py-8 mt-4 lg:mt-8">
- <h3 className="text-white text-xl mb-4">More Launch Week 7</h3>
- {activeDays.map((day) => (
- <div className={`h-auto w-full flex flex-col lg:flex-row relative overflow-hidden`}>
- <div
- className={`
- flex flex-col flex-1 gap-3 items-start justify-center border rounded-xl h-full relative overflow-hidden
- p-6 lg:p-10 text-2xl
- before:absolute before:w-full before:h-full before:top-52 before:right-0 before:bottom-0 before:left-0
- before:border-[#1f3536] before:-z-10
- `}
- >
- <div className="flex items-center text-lg flex-col-reverse lg:flex-row lg:justify-start gap-2 text-black dark:text-white">
- <div className="text-transparent bg-clip-text bg-gradient-to-r from-[#F4FFFA] to-[#B7B2C9]">
- {day.title}
- </div>
- </div>
- <SectionButtons
- // docs={day.steps[0].docs}
- blog={day.steps[0].blog}
- // youtube_id={day.steps[0].youtube_id}
- />
- </div>
- {day.steps[0].thumb && (
- <Image
- src={day.steps[0].thumb}
- className={`
- absolute opacity-90
- w-full h-full -z-10 transition-all duration-300
- `}
- layout="fill"
- objectPosition="100% 50%"
- objectFit="cover"
- />
- )}
- <div
- className={`absolute opacity-10 w-full h-full -z-10 transition-all duration-300`}
- style={{
- background: `radial-gradient(650px 150px at 50% 100%, #4635A730, transparent)`,
- }}
- />
- </div>
- ))}
- </div>
- )
-}
-
-const PencilSvg = () => (
- <svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path
- d="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="#6453C5"
- stroke="#A69DC9"
- strokeMiterlimit="10"
- strokeLinejoin="bevel"
- />
- </svg>
-)
-const DocsSvg = () => (
- <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path
- d="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="#6453C5"
- stroke="#A69DC9"
- strokeMiterlimit="10"
- stroke-linejoin="bevel"
- />
- </svg>
-)
-const PlaySvg = () => (
- <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path
- d="M13.4287 8L8.74762 10.7026L4.06653 13.4053L4.06653 8L4.06653 2.59474L8.74762 5.29737L13.4287 8Z"
- // stroke="#6453C5"
- stroke="#A69DC9"
- strokeMiterlimit="10"
- strokeLinejoin="bevel"
- />
- </svg>
-)
-
-export default BlogLinks
diff --git a/apps/www/pages/blog/[slug].tsx b/apps/www/pages/blog/[slug].tsx
index 6b0530c30d8..52cb77e01a1 100644
--- a/apps/www/pages/blog/[slug].tsx
+++ b/apps/www/pages/blog/[slug].tsx
@@ -11,7 +11,6 @@ import { Badge, Divider, IconChevronLeft, IconFile } from 'ui'
import { generateReadingTime } from '~/lib/helpers'
import CTABanner from '~/components/CTABanner'
import DefaultLayout from '~/components/Layouts/Default'
-import BlogLinks from '~/components/LaunchWeek/BlogLinks'
import mdxComponents from '~/lib/mdx/mdxComponents'
import { mdxSerialize } from '~/lib/mdx/mdxSerialize'
import { getAllPostSlugs, getPostdata, getSortedPosts } from '~/lib/posts'
@@ -68,7 +67,6 @@ function BlogPostPage(props: any) {
const articleRef = useRef(null)
const content = props.blog.content
const authorArray = props.blog.author.split(',')
- const isLaunchWeek7 = props.blog.launchweek === 7
const anchors = useRef<NodeListOf<HTMLHeadingElement> | null>(null)
const [activeSection, setActiveSection] = useState<any>('')
@@ -310,7 +308,6 @@ function BlogPostPage(props: any) {
<MDXRemote {...content} components={mdxComponents()} />
</div>
</article>
- {isLaunchWeek7 && <BlogLinks />}
<div className="block lg:hidden py-8">
<div className="text-scale-900 dark:text-scale-1000 text-sm">
Share this article