tut wieder
This commit is contained in:
parent
f6c02259dd
commit
aec0be8982
|
|
@ -15,10 +15,10 @@ function Navbar() {
|
||||||
<li><NavLink to="/groups" activeClassName="active">Groups</NavLink></li>
|
<li><NavLink to="/groups" activeClassName="active">Groups</NavLink></li>
|
||||||
<li><NavLink to="/slideshow" activeClassName="active">Slideshow</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 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>
|
<li><a href="https://www.hobbyhimmel.de/ueber-uns/konzept/">About</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
<NavLink className="cta" exact to="/">Upload</NavLink>
|
|
||||||
</header>
|
</header>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,25 +1,17 @@
|
||||||
import React, { useState, useEffect } from 'react';
|
import { useState, useEffect } from 'react';
|
||||||
import { useHistory } from 'react-router-dom';
|
import { useHistory } from 'react-router-dom';
|
||||||
import { Helmet } from 'react-helmet';
|
import { Helmet } from 'react-helmet';
|
||||||
import '../Pages/Css/GroupsOverviewPage.css';
|
import '../Pages/Css/GroupsOverviewPage.css';
|
||||||
import {
|
import {
|
||||||
Container,
|
Container,
|
||||||
Card,
|
Card,
|
||||||
CardContent,
|
|
||||||
Typography,
|
Typography,
|
||||||
Button,
|
Button,
|
||||||
Grid,
|
|
||||||
CardMedia,
|
|
||||||
Box,
|
Box,
|
||||||
CircularProgress,
|
CircularProgress
|
||||||
Chip
|
|
||||||
} from '@material-ui/core';
|
} 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
|
// Components
|
||||||
import Navbar from '../ComponentUtils/Headers/Navbar';
|
import Navbar from '../ComponentUtils/Headers/Navbar';
|
||||||
|
|
@ -27,7 +19,7 @@ import Footer from '../ComponentUtils/Footer';
|
||||||
import GroupCard from '../ComponentUtils/GroupCard';
|
import GroupCard from '../ComponentUtils/GroupCard';
|
||||||
|
|
||||||
// Utils
|
// Utils
|
||||||
import { fetchAllGroups, deleteGroup } from '../../Utils/batchUpload';
|
import { fetchAllGroups } from '../../Utils/batchUpload';
|
||||||
|
|
||||||
// Styles
|
// Styles
|
||||||
import '../../App.css';
|
import '../../App.css';
|
||||||
|
|
@ -112,28 +104,8 @@ function GroupsOverviewPage() {
|
||||||
Alle Slideshows
|
Alle Slideshows
|
||||||
</Typography>
|
</Typography>
|
||||||
<Typography className="header-subtitle">
|
<Typography className="header-subtitle">
|
||||||
Verwalte deine hochgeladenen Bildersammlungen
|
Übersicht aller erstellten Slideshows.
|
||||||
</Typography>
|
</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>
|
</Card>
|
||||||
|
|
||||||
{/* Groups Grid */}
|
{/* Groups Grid */}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user