- {/* Flow Canvas */}
-
- {/* This is a static representation. A real implementation would use a library like React Flow. */}
-
- } />
-
-
-
-
-
-
-
- } text="Ride" />
- } text="Run" />
- } text="Other" />
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Set Assistant
-
-
-
-
- {/* Canvas Controls */}
-
-
-
- {/* Phone Preview */}
-
-
-
-
- {/* Chat messages */}
-
- First, what are you fueling for?
-
-
- Ride
-
-
- Run
-
-
- Other
-
-
-
- Run
-
-
-
- Great! How long will you be doing this activity?
-
-
- I'll try 3h30
-
-
- Understood! Now, how hard will you be going?
-
-
- I'd say a good 8 out of 10
-
-
- Total carbs: 90-120g
-
-
-
-
-
-
+
+
+
{pageTitle}
+
{pageDescription}
+
+
+
);
}
diff --git a/src/app/globals.css b/src/app/globals.css
index 5ac856d..6311183 100644
--- a/src/app/globals.css
+++ b/src/app/globals.css
@@ -56,9 +56,4 @@
body {
@apply bg-background text-foreground;
}
- .bg-dotted-pattern {
- background-color: hsl(var(--card));
- background-image: radial-gradient(hsl(var(--border)) 1px, transparent 0);
- background-size: 20px 20px;
- }
}
diff --git a/src/components/admin/flow-node.tsx b/src/components/admin/flow-node.tsx
deleted file mode 100644
index 0e556da..0000000
--- a/src/components/admin/flow-node.tsx
+++ /dev/null
@@ -1,86 +0,0 @@
-
-'use client';
-
-import React from 'react';
-import { Card, CardHeader, CardTitle, CardContent } from '@/components/ui/card';
-import { Badge } from '@/components/ui/badge';
-import { Input } from '@/components/ui/input';
-import { Button } from '@/components/ui/button';
-import { MessageSquare, Pencil, Type } from 'lucide-react';
-
-interface FlowNodeProps {
- title: string;
- icon?: React.ReactNode;
- children?: React.ReactNode;
- className?: string;
-}
-
-export function FlowNode({ title, icon, children, className }: FlowNodeProps) {
- return (
-
-
-
- {icon}
- {title}
-
-
-
- {children}
-
-
- );
-}
-
-interface FlowNodeElementProps {
- className?: string;
- children?: React.ReactNode;
-}
-
-function FlowNodeElement({className, children}: FlowNodeElementProps) {
- return (
-
- )
-}
-
-export function FlowNodeMessage({ text }: { text: string }) {
- return (
-
-
-
- );
-}
-
-export function FlowNodeInput({ placeholder, variable }: { placeholder: string; variable: string }) {
- return (
-
-
-
- )
-}
-
-export function FlowNodeOption({ text, icon }: { text: string; icon?: React.ReactNode }) {
- return (
-
-
-
- )
-}