Mit grafischer Auswertung
This commit is contained in:
12
app/page.tsx
12
app/page.tsx
@@ -1,6 +1,7 @@
|
||||
'use client';
|
||||
|
||||
import { useState, useEffect } from 'react';
|
||||
import Link from 'next/link';
|
||||
import WerteForm from '@/components/WerteForm';
|
||||
import WerteList from '@/components/WerteList';
|
||||
import { WerteEntry } from '@/types/werte';
|
||||
@@ -84,7 +85,16 @@ export default function Home() {
|
||||
<main className="max-w-6xl mx-auto border-2 border-black rounded-lg p-6 bg-[#FFFFDD]">
|
||||
<div className="flex justify-between items-center mb-6">
|
||||
<h1 className="text-3xl font-bold">Werte - Log</h1>
|
||||
<LogoutButton className="px-4 py-2 bg-red-600 hover:bg-red-700 text-white text-sm rounded-lg transition-colors shadow-md" />
|
||||
<div className="flex gap-3 items-center">
|
||||
<Link
|
||||
href="/charts"
|
||||
className="px-4 py-2 text-sm rounded-lg transition-colors shadow-md"
|
||||
style={{ backgroundColor: '#374151', color: '#ffffff' }}
|
||||
>
|
||||
{'Verlauf ->'}
|
||||
</Link>
|
||||
<LogoutButton className="px-4 py-2 bg-red-600 hover:bg-red-700 text-white text-sm rounded-lg transition-colors shadow-md" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="mb-8">
|
||||
|
||||
Reference in New Issue
Block a user