-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathposters.tsx
More file actions
41 lines (39 loc) · 1.85 KB
/
posters.tsx
File metadata and controls
41 lines (39 loc) · 1.85 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
import { neonBlanc, neonPurple } from '@/components/neonStyles'
import React, { useEffect } from 'react'
import { randomNeonColor } from '@/utils/randomNeonColor'
import PosterGridHero from '@/components/PosterGridHero'
import CustomLayout from '@/components/CustomLayout'
import { posterData } from '@/apiData/posterApi'
import Head from 'next/head'
type Props = {}
export default function posters({ }: Props) {
// eslint-disable-next-line react-hooks/rules-of-hooks
useEffect(() => {
randomNeonColor('imageNeon');
}, []);
return (
<CustomLayout withMenu>
<Head>
<title>Matthys.dev | Posters</title>
</Head>
<main className="relative flex flex-col items-center p-0 md:p-12 md:my-8">
<div className='w-screen my-auto'>
<div className='flex flex-col md:flex-row w-5/6 md:w-3/4 m-auto '>
<div className='w-5/6 md:w-2/5 text-left mx-0 md:mx-24 text-black dark:text-white'>
<h1 className="text-4xl font-bold m-auto my-12">
<div style={neonBlanc}>Human animals collection</div>
</h1>
<div className='text-xl'>
Explore the humor of AI with my <span style={neonPurple} className='text-purple-300'>funny animal</span> poster collection.
</div>
<div className='text-xl my-4'>
Creative, fun, and sure to <span style={neonPurple} className='text-purple-300'>bring a smile</span> to any space!
</div>
</div>
<PosterGridHero posterData={posterData} />
</div>
</div>
</main>
</CustomLayout >
)
}