general cleanup

Signed-off-by: ngn <ngn@ngn.tf>
This commit is contained in:
ngn
2025-01-19 23:13:30 +03:00
parent 70efba181f
commit d1e2d1fa1f
18 changed files with 82 additions and 963 deletions

View File

@ -27,6 +27,9 @@ const Footer = () => {
</a>
</Link>
</li>
<li>
<span> | </span>
</li>
))}
<li className={styles.nav__item}>
<a href='#' className={styles.nav__link}>
@ -35,10 +38,6 @@ const Footer = () => {
</li>
</ul>
</nav>
<em className={styles.licence}>
libremdb does not host any content. All content on libremdb is from IMDb. IMDb is a
trademark of IMDb.com, Inc.
</em>
</footer>
);
};

View File

@ -1,5 +1,4 @@
import Link from 'next/link';
import ThemeToggler from 'src/components/buttons/ThemeToggler';
import styles from 'src/styles/modules/layout/header.module.scss';
type Props = { full?: boolean; originalPath?: string };
@ -52,7 +51,6 @@ const Header = ({ full, originalPath }: Props) => {
</svg>
</a>
</Link>
<ThemeToggler className={styles.themeToggler} />
</div>
</div>
{full && (

View File

@ -1,5 +1,4 @@
import { ReactNode } from 'react';
import Footer from './Footer';
import Header from './Header';
type Props = {
@ -16,7 +15,6 @@ const Layout = ({ full, children, className, originalPath }: Props) => {
<main id='main' className={`main ${className}`}>
{children}
</main>
<Footer />
</>
);
};