login-seiten neu designt, homepage neu designt. "so funktioniert's" ergänzt und Demo-Seite hinzugefügt. Paketansicht in mobile verbessert.
This commit is contained in:
@@ -2,7 +2,6 @@ import React, { useState, useEffect, useMemo } from 'react';
|
||||
import { Head, Link, usePage } from '@inertiajs/react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import type { TFunction } from 'i18next';
|
||||
import { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious } from "@/components/ui/carousel"
|
||||
import { Dialog, DialogContent, DialogHeader, DialogTitle } from "@/components/ui/dialog"
|
||||
import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs"
|
||||
import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "@/components/ui/table"
|
||||
@@ -484,27 +483,7 @@ function PackageCard({
|
||||
<div className="container mx-auto">
|
||||
<h2 className="text-3xl font-bold text-center mb-12 font-display">{t('packages.section_endcustomer')}</h2>
|
||||
|
||||
<div className="block md:hidden">
|
||||
<Carousel className="mx-auto w-full max-w-md" opts={{ loop: true }}>
|
||||
<CarouselContent className="-ml-2">
|
||||
{endcustomerPackages.map((pkg) => (
|
||||
<CarouselItem key={pkg.id} className="basis-full pl-2">
|
||||
<PackageCard
|
||||
pkg={pkg}
|
||||
variant="endcustomer"
|
||||
highlight={pkg.id === highlightEndcustomerId}
|
||||
onSelect={(pkg) => handleCardClick(pkg, 'endcustomer')}
|
||||
className="h-full"
|
||||
/>
|
||||
</CarouselItem>
|
||||
))}
|
||||
</CarouselContent>
|
||||
<CarouselPrevious />
|
||||
<CarouselNext />
|
||||
</Carousel>
|
||||
</div>
|
||||
|
||||
<div className="hidden gap-6 md:grid md:grid-cols-2 lg:gap-8 lg:grid-cols-3">
|
||||
<div className="grid gap-6 sm:grid-cols-2 lg:gap-8 lg:grid-cols-3">
|
||||
{endcustomerPackages.map((pkg) => (
|
||||
<PackageCard
|
||||
key={pkg.id}
|
||||
@@ -652,27 +631,7 @@ function PackageCard({
|
||||
<div className="container mx-auto">
|
||||
<h2 className="text-3xl font-bold text-center mb-12 font-display">{t('packages.section_reseller')}</h2>
|
||||
|
||||
<div className="block md:hidden">
|
||||
<Carousel className="mx-auto w-full max-w-md" opts={{ loop: true }}>
|
||||
<CarouselContent className="-ml-2">
|
||||
{resellerPackages.map((pkg) => (
|
||||
<CarouselItem key={pkg.id} className="basis-full pl-2">
|
||||
<PackageCard
|
||||
pkg={pkg}
|
||||
variant="reseller"
|
||||
highlight={pkg.id === highlightResellerId}
|
||||
onSelect={(pkg) => handleCardClick(pkg, 'reseller')}
|
||||
className="h-full"
|
||||
/>
|
||||
</CarouselItem>
|
||||
))}
|
||||
</CarouselContent>
|
||||
<CarouselPrevious />
|
||||
<CarouselNext />
|
||||
</Carousel>
|
||||
</div>
|
||||
|
||||
<div className="hidden gap-6 md:grid md:grid-cols-2 lg:gap-8 xl:grid-cols-3">
|
||||
<div className="grid gap-6 sm:grid-cols-2 lg:gap-8 xl:grid-cols-3">
|
||||
{resellerPackages.map((pkg) => (
|
||||
<PackageCard
|
||||
key={pkg.id}
|
||||
|
||||
Reference in New Issue
Block a user