--- status: "published" label: "Temporary Landing Page" title: "A temporary minimal landing page for your SaaS" description: "Looking to ship as quickly as possible? Use the Coming Soon component to showcase your product's progress." order: 9 --- If you're rushing to launch your SaaS, you can use the Coming Soon component to showcase a minimal landing page for your product and generate buzz before you launch. {% component path="coming-soon" /%} My suggestions is to replace the whole `(marketing)` layout using the Coming Soon component. This will save you a lot of time making sure the landing page and the links are filled with the right information. ```tsx {% title="apps/web/app/(marketing)/layout.tsx" %} import Link from 'next/link'; import { ComingSoon, ComingSoonButton, ComingSoonHeading, ComingSoonLogo, ComingSoonText, } from '@kit/ui/marketing'; import { AppLogo } from '~/components/app-logo'; import appConfig from '~/config/app.config'; export default function SiteLayout() { return ( {appConfig.name} is coming soon We're building something amazing. Our team is working hard to bring you a product that will revolutionize how you work. Follow Our Progress {/* Additional custom content */}
{/* Social icons, etc */}
); } ``` Even better, you can use an env variable to check if it's a production build or not and displaying the normal layout during development: ```tsx {% title="apps/web/app/(marketing)/layout.tsx" %} import Link from 'next/link'; import { ComingSoon, ComingSoonButton, ComingSoonHeading, ComingSoonLogo, ComingSoonText, } from '@kit/ui/marketing'; import { SiteFooter } from '~/(marketing)/_components/site-footer'; import { SiteHeader } from '~/(marketing)/_components/site-header'; import { AppLogo } from '~/components/app-logo'; import appConfig from '~/config/app.config'; function SiteLayout(props: React.PropsWithChildren) { if (!appConfig.production) { return (
{props.children}
); } return ( {appConfig.name} is coming soon We're building something amazing. Our team is working hard to bring you a product that will revolutionize how you work. Follow Our Progress {/* Additional custom content */}
{/* Social icons, etc */}
); } export default SiteLayout; ```