particles3
This commit is contained in:
parent
62c13b1df7
commit
86ec8c9b2e
@ -15,6 +15,7 @@ import { useRouter } from 'next/router'
|
|||||||
import {findMe, logoutUser} from "../stores/authSlice";
|
import {findMe, logoutUser} from "../stores/authSlice";
|
||||||
|
|
||||||
import {hasPermission} from "../helpers/userPermissions";
|
import {hasPermission} from "../helpers/userPermissions";
|
||||||
|
import InteractiveBackground from "../components/InteractiveBackground";
|
||||||
|
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
@ -90,10 +91,12 @@ export default function LayoutAuthenticated({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={`${darkMode ? 'dark' : ''} overflow-hidden lg:overflow-visible`}>
|
<div className={`${darkMode ? 'dark' : ''} overflow-hidden lg:overflow-visible`}>
|
||||||
|
<InteractiveBackground />
|
||||||
<div
|
<div
|
||||||
className={`${layoutAsidePadding} ${
|
className={`${layoutAsidePadding} ${
|
||||||
isAsideMobileExpanded ? 'ml-60 lg:ml-0' : ''
|
isAsideMobileExpanded ? 'ml-60 lg:ml-0' : ''
|
||||||
} pt-14 min-h-screen w-screen transition-position lg:w-auto ${bgColor} dark:bg-dark-800 dark:text-slate-100`}
|
} pt-14 min-h-screen w-screen transition-position lg:w-auto dark:bg-dark-800 dark:text-slate-100`}
|
||||||
|
style={{ position: 'relative', zIndex: 1 }}
|
||||||
>
|
>
|
||||||
<NavBar
|
<NavBar
|
||||||
menu={menuNavBar}
|
menu={menuNavBar}
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
import React, { ReactNode } from 'react'
|
import React, { ReactNode } from 'react'
|
||||||
import { useAppSelector } from '../stores/hooks'
|
import { useAppSelector } from '../stores/hooks'
|
||||||
|
import InteractiveBackground from '../components/InteractiveBackground'
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
children: ReactNode
|
children: ReactNode
|
||||||
@ -11,7 +12,8 @@ export default function LayoutGuest({ children }: Props) {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={darkMode ? 'dark' : ''}>
|
<div className={darkMode ? 'dark' : ''}>
|
||||||
<div className={`${bgColor} dark:bg-slate-800 dark:text-slate-100`}>{children}</div>
|
<InteractiveBackground />
|
||||||
|
<div style={{ position: 'relative', zIndex: 1 }} className={`dark:bg-slate-800 dark:text-slate-100`}>{children}</div>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@ -16,14 +16,11 @@ const Feature = ({ icon, title, text }) => (
|
|||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
||||||
import InteractiveBackground from '../components/InteractiveBackground';
|
|
||||||
|
|
||||||
export default function LandingPage() {
|
export default function LandingPage() {
|
||||||
const title = 'EventCoord Hub'
|
const title = 'EventCoord Hub'
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="text-gray-800">
|
<div className="text-gray-800">
|
||||||
<InteractiveBackground />
|
|
||||||
<Head>
|
<Head>
|
||||||
<title>{getPageTitle('Welcome')}</title>
|
<title>{getPageTitle('Welcome')}</title>
|
||||||
</Head>
|
</Head>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user