vavicon + logo ergänzt

This commit is contained in:
Andreas Binczyk 2026-06-04 19:50:02 +02:00
parent 61f6235445
commit 1c43e6ac57
5 changed files with 18 additions and 2 deletions

BIN
app/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

View file

@ -168,12 +168,22 @@ h1 {
text-align: center; text-align: center;
margin-top: 40px; margin-top: 40px;
padding: 20px; padding: 20px;
color: #666; background-color: #333;
color: #fff;
font-size: 14px; font-size: 14px;
border-radius: 8px;
} }
.copyright p { .copyright p {
margin: 0; margin: 10px 0 0;
color: #ccc;
}
.copyright-logo {
max-height: 40px;
width: auto;
margin: 0 auto;
display: block;
} }
.pagination { .pagination {

BIN
app/gstools_logo.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

View file

@ -1,5 +1,6 @@
import type { Metadata } from 'next'; import type { Metadata } from 'next';
import './globals.css'; import './globals.css';
import favicon from './favicon.png';
export const metadata: Metadata = { export const metadata: Metadata = {
title: 'To-Do-Liste', title: 'To-Do-Liste',
@ -13,6 +14,9 @@ export default function RootLayout({
}) { }) {
return ( return (
<html lang="de"> <html lang="de">
<head>
<link rel="icon" href={favicon.src} type="image/png" />
</head>
<body>{children}</body> <body>{children}</body>
</html> </html>
); );

View file

@ -1,6 +1,7 @@
'use client'; 'use client';
import { useState, useEffect } from 'react'; import { useState, useEffect } from 'react';
import gstoolsLogo from './gstools_logo.jpg';
interface Aufgabe { interface Aufgabe {
id: number; id: number;
@ -234,6 +235,7 @@ export default function TodoApp() {
)} )}
<footer className="copyright"> <footer className="copyright">
<img src={gstoolsLogo.src} alt="GSTools Logo" className="copyright-logo" />
<p>© 2026 GSTools</p> <p>© 2026 GSTools</p>
</footer> </footer>
</div> </div>