Files
supabase/apps/www/components/LaunchWeek/14/TicketLayout.tsx
T
1358b6574b feat: lw14 mamba day 1 (#34567)
* feat: mamba d1 init

* feat: ticketview less narrow

* chore: d1 setup

* Add D1 blog post

* Add images

* chore: d1 setup

* chore: add blog post link

* chore: add youtube link

* chore: build stage links

* chore: lw summary in blog post

* chore: lw summary in blog post

* chore: update banners

* chore: update PromoToast

* Add new imgs

* spelling

* Re-export images

* fix rss

* Re-export images

* Minor fixes.

* Update tags

* Reorder posts

* update unrelated rss

* blog post edits

* chore: update countdown

* chore: claim redirect to ticket section

* smol cleanup

* blog images

* add yt embed in blog post

* link to gh discussion

* fix: youtube video embed

---------

Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
Co-authored-by: Terry Sutton <saltcod@gmail.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-03-31 14:26:31 +00:00

24 lines
703 B
TypeScript

import { ReactNode } from 'react'
import { cn } from 'ui'
import SectionContainerWithCn from '~/components/Layouts/SectionContainerWithCn'
export const TicketLayout = ({ children }: { children: ReactNode }) => {
return (
<SectionContainerWithCn id="ticket" className="lw-nav-anchor font-mono z-20 relative px-0">
{children}
</SectionContainerWithCn>
)
}
export const TicketLayoutCanvas = ({ children, narrow }: { children: ReactNode; narrow: true }) => {
return (
<div
className={cn('relative w-full h-[650px] lg:h-auto lg:aspect-[1.5841584158]', {
['h-[530px] lg:aspect-[2.3] xl:aspect-[2.9473684211]']: narrow,
})}
>
{children}
</div>
)
}