"use client";
import "./components/ui/tidal.css";
import { useId, useState } from "react";
import { TidalSaasLandingTemplate, type TidalSaasLandingHeroConfig } from "./components/ui/saas-landing-template";
import "./components/ui/saas-landing-template.css";
import "./components/ui/navigation-bar.css";
import "./components/ui/hero-section.css";
import "./components/ui/feature-grid.css";
import "./components/ui/testimonial-grid.css";
import "./components/ui/call-to-action-section.css";
import "./components/ui/footer.css";
function tidalExampleAvatarDataUri(seed: unknown) {
const text = String(seed).replace(/[^a-z0-9]/gi, "").slice(-2) || "UI";
const palette = ["#333333", "#555555", "#777777", "#999999", "#bbbbbb"];
const color = palette[Array.from(text).reduce((sum, character) => sum + character.charCodeAt(0), 0) % palette.length];
const svg = ``;
return `data:image/svg+xml,${encodeURIComponent(svg)}`;
}
function tidalExampleImageDataUri(label: string) {
const safeLabel = label.replace(/[<>&]/g, "").slice(0, 28) || "Sample image";
const svg = ``;
return `data:image/svg+xml,${encodeURIComponent(svg)}`;
}
export interface SaasLandingTemplateDemoProps {
theme?: "light" | "dark";
}
const FEATURE_ITEMS = [
{
id: "plan",
title: "Plan with the whole team",
description:
"Keep briefs, owners, and next steps together in one readable workspace.",
size: "wide" as const,
tone: "ink" as const,
children: (
Shared project briefs
Visible ownership
Clear weekly priorities
),
},
{
id: "review",
title: "Review the work",
description:
"Bring feedback and decisions into the same view as the work they affect.",
children: (
Local review states
Decision history
),
},
{
id: "deliver",
title: "See what ships next",
description:
"Use a concise delivery view to understand what is ready and what needs attention.",
children: (