We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00115fa commit dfab403Copy full SHA for dfab403
2 files changed
components/layout/Layout/Layout.module.scss
@@ -0,0 +1,4 @@
1
+.main {
2
+ position: relative;
3
+ z-index: 0;
4
+}
components/layout/Layout/index.js
@@ -3,7 +3,7 @@ import { heroOptions } from '@/utils/hero-options';
import Hero from '@/components/layout/Hero';
import Meta from '@/components/layout/Meta';
5
import Footer from '@/components/layout/Footer';
6
-import S from './styles';
+import styles from './Layout.module.scss';
7
8
export default function Layout({ children }) {
9
const router = useRouter();
@@ -15,11 +15,11 @@ export default function Layout({ children }) {
15
return (
16
<>
17
<Meta />
18
- <S.Main>
+ <main className={styles.main}>
19
<Hero {...heroOptions[heroKey]} />
20
{children}
21
<Footer />
22
- </S.Main>
+ </main>
23
</>
24
);
25
}
0 commit comments