import { useState } from "react"; import { useSession, signIn } from "next-auth/react"; import Layout from "../components/ui/Layout"; import { Card, CardHeader, CardContent, CardTitle, Button, Tabs, TabsTrigger, TabsContent } from "../components/ui/components"; import Generator from "../components/templates/generator"; import Manual from "../components/templates/manual"; import { ChartBarIcon, PencilIcon, ArrowRightOnRectangleIcon as LoginIcon } from '@heroicons/react/24/outline'; export default function Home() { const { data: session } = useSession(); const [selectedTab, setSelectedTab] = useState(0); if (session) { return (
{/* Page Header */}

Generator profilu przekroju terenu

Twórz profesjonalne profile terenowe na podstawie danych z Geoportalu lub wprowadzonych ręcznie

{/* Main Content Card */} Automatyczny Ręczny
{/* Info Cards */}

Automatyczny

Import danych z Geoportalu

Ręczny

Wprowadź punkty manualnie

Export DXF

Pobierz gotowy rysunek

); } return (
Wastpol
Zaloguj się

Uzyskaj dostęp do narzędzi inżynierskich

); }