Remove home page
Build and push Docker image / build-and-push (push) Successful in 1m39s

This commit is contained in:
2026-08-31 06:12:09 +02:00
parent 6f27bfdba5
commit 74474ad727
3 changed files with 28 additions and 21 deletions
+19 -16
View File
@@ -3,24 +3,27 @@
import { useConfig } from '@/contexts/configExports'; import { useConfig } from '@/contexts/configExports';
import Link from 'next/link'; import Link from 'next/link';
import styles from './styles.module.scss'; import styles from './styles.module.scss';
import { redirect } from 'next/navigation';
export default function HomePage() { export default function HomePage() {
const { config } = useConfig(); const { config } = useConfig();
return ( // return (
<> // <>
<div className={styles.home}> // <div className={styles.home}>
<div className={styles.homeText}> // <div className={styles.homeText}>
<h1 // <h1
className={styles.homeTextHeadline} // className={styles.homeTextHeadline}
dangerouslySetInnerHTML={{ __html: config?.home.headline || '' }}></h1> // dangerouslySetInnerHTML={{ __html: config?.home.headline || '' }}></h1>
<p className={styles.homeTextParagraph} dangerouslySetInnerHTML={{ __html: config?.home.text || '' }}></p> // <p className={styles.homeTextParagraph} dangerouslySetInnerHTML={{ __html: config?.home.text || '' }}></p>
<Link // <Link
href="/gallery" // href="/gallery"
className={styles.homeButton} // className={styles.homeButton}
dangerouslySetInnerHTML={{ __html: config?.home.buttonText || '' }}></Link> // dangerouslySetInnerHTML={{ __html: config?.home.buttonText || '' }}></Link>
</div> // </div>
</div> // </div>
</> // </>
); // );
redirect(`/gallery`);
} }
+2 -2
View File
@@ -49,12 +49,12 @@ export default function Header() {
<Image src={logo} alt="Logo F1r3wave" priority /> <Image src={logo} alt="Logo F1r3wave" priority />
</Link> </Link>
<nav className={styles.nav}> <nav className={styles.nav}>
<Link href="/" className={`${styles.navLink} ${isActive('/') ? styles.navLinkActive : ''}`}> {/* <Link href="/" className={`${styles.navLink} ${isActive('/') ? styles.navLinkActive : ''}`}>
Home Home
</Link> </Link>
<Link href="/gallery" className={`${styles.navLink} ${isActive('/gallery') ? styles.navLinkActive : ''}`}> <Link href="/gallery" className={`${styles.navLink} ${isActive('/gallery') ? styles.navLinkActive : ''}`}>
Gallery Gallery
</Link> </Link> */}
{isAuth ? ( {isAuth ? (
<> <>
+7 -3
View File
@@ -1,15 +1,17 @@
.header { .header {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center;
justify-content: center;
height: var(--header-height); height: var(--header-height);
position: relative;
} }
.logo { .logo {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
margin-left: 30px; flex: 1;
img { img {
height: 18px; height: 18px;
width: auto; width: auto;
@@ -22,6 +24,8 @@
align-items: center; align-items: center;
gap: 30px; gap: 30px;
padding: 0 20px; padding: 0 20px;
position: absolute;
right: 0;
&Link { &Link {
transition: all 50ms ease-in-out; transition: all 50ms ease-in-out;
@@ -42,6 +46,6 @@
&Socials { &Socials {
display: flex; display: flex;
gap: 5px; gap: 15px;
} }
} }