15 - Clean up frontend for single-scenario page
This commit is contained in:
parent
873484db74
commit
962acdc6ae
1 changed files with 6 additions and 17 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
import { Head, Link, router } from '@inertiajs/react';
|
import { Head, router } from '@inertiajs/react';
|
||||||
import { useState } from 'react';
|
import { useState } from 'react';
|
||||||
import { Card, CardHeader, CardTitle, CardDescription, CardContent, CardFooter } from '@/components/ui/card';
|
import { Card, CardHeader, CardTitle, CardDescription, CardContent, CardFooter } from '@/components/ui/card';
|
||||||
import { Button } from '@/components/ui/button';
|
import { Button } from '@/components/ui/button';
|
||||||
|
|
@ -222,22 +222,11 @@ export default function Show({ scenario, buckets, streams = { data: [] }, stream
|
||||||
<div className="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
|
<div className="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
|
||||||
{/* Header */}
|
{/* Header */}
|
||||||
<div className="mb-8">
|
<div className="mb-8">
|
||||||
<div className="flex items-center justify-between">
|
<div>
|
||||||
<div>
|
<h1 className="text-3xl font-bold text-gray-900">{scenario.name}</h1>
|
||||||
<Link
|
<p className="mt-2 text-gray-600">
|
||||||
href="/"
|
Water flows through the pipeline into prioritized buckets
|
||||||
className="text-sm text-blue-600 hover:text-blue-500 mb-2 inline-flex items-center"
|
</p>
|
||||||
>
|
|
||||||
<svg className="mr-2 h-4 w-4" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
|
||||||
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M15 19l-7-7 7-7" />
|
|
||||||
</svg>
|
|
||||||
Back to Scenarios
|
|
||||||
</Link>
|
|
||||||
<h1 className="text-3xl font-bold text-gray-900">{scenario.name}</h1>
|
|
||||||
<p className="mt-2 text-gray-600">
|
|
||||||
Water flows through the pipeline into prioritized buckets
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue