-
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathLayoutWrapper.js
More file actions
43 lines (41 loc) · 1.07 KB
/
LayoutWrapper.js
File metadata and controls
43 lines (41 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import Layout from '@/components/Layout';
import Flower from '../public/common/Flower.svg';
import HeroLines from '../public/common/HeroLines.svg';
import DottedAndFilledTriangle from '../public/common/DottedAndFilledTriangle.svg';
import Image from 'next/image';
const links = [
{
name: 'Home',
href: '/',
},
{
name: 'Submissions',
href: '/hackrplay/2022/ideas',
},
];
export default function LayoutWrapper({ title, description, children, metainfo}) {
return (
<Layout links={links} title={title} description={description} metainfo={metainfo}>
<div className='absolute left-9 -top-10 opacity-50'>
<Image
src={DottedAndFilledTriangle}
alt='Dotted And Filled Triangle'
width={220}
height={220}
/>
</div>
<div className='absolute -right-60 -top-48'>
<Image src={Flower} alt='Flower' width={500} height={500} />
</div>
<div className='absolute left-44 -top-5 -z-1'>
<Image
src={HeroLines}
alt='Hero Lines'
width={750}
height={750}
/>
</div>
<div className='z-[9]'>{children} </div>
</Layout>
);
}