tut wieder

This commit is contained in:
Matthias Lotz 2025-10-20 21:18:44 +02:00
parent f6c02259dd
commit aec0be8982
2 changed files with 7 additions and 35 deletions

View File

@ -15,10 +15,10 @@ function Navbar() {
<li><NavLink to="/groups" activeClassName="active">Groups</NavLink></li>
<li><NavLink to="/slideshow" activeClassName="active">Slideshow</NavLink></li>
<li><NavLink to="/moderation" activeClassName="active"><LockIcon style={{ fontSize: 18, verticalAlign: 'text-bottom', marginRight: 6 }} aria-hidden="true" />Moderation</NavLink></li>
<li><NavLink className="cta" exact to="/">Upload</NavLink></li>
<li><a href="https://www.hobbyhimmel.de/ueber-uns/konzept/">About</a></li>
</ul>
</nav>
<NavLink className="cta" exact to="/">Upload</NavLink>
</header>
)
}

View File

@ -1,25 +1,17 @@
import React, { useState, useEffect } from 'react';
import { useState, useEffect } from 'react';
import { useHistory } from 'react-router-dom';
import { Helmet } from 'react-helmet';
import '../Pages/Css/GroupsOverviewPage.css';
import {
Container,
Card,
CardContent,
Typography,
Button,
Grid,
CardMedia,
Box,
CircularProgress,
Chip
CircularProgress
} from '@material-ui/core';
import {
Slideshow as SlideshowIcon,
Add as AddIcon,
Home as HomeIcon
} from '@material-ui/icons';
import Swal from 'sweetalert2/dist/sweetalert2.js';
// Components
import Navbar from '../ComponentUtils/Headers/Navbar';
@ -27,7 +19,7 @@ import Footer from '../ComponentUtils/Footer';
import GroupCard from '../ComponentUtils/GroupCard';
// Utils
import { fetchAllGroups, deleteGroup } from '../../Utils/batchUpload';
import { fetchAllGroups } from '../../Utils/batchUpload';
// Styles
import '../../App.css';
@ -112,28 +104,8 @@ function GroupsOverviewPage() {
Alle Slideshows
</Typography>
<Typography className="header-subtitle">
Verwalte deine hochgeladenen Bildersammlungen
Übersicht aller erstellten Slideshows.
</Typography>
<div className="action-buttons">
<Button
className="primary-button"
onClick={handleCreateNew}
startIcon={<AddIcon />}
size="large"
>
Neue Slideshow erstellen
</Button>
<Button
className="home-button"
onClick={handleGoHome}
startIcon={<HomeIcon />}
size="large"
>
Zur Startseite
</Button>
</div>
</Card>
{/* Groups Grid */}