File tree Expand file tree Collapse file tree 3 files changed +18
-13
lines changed Expand file tree Collapse file tree 3 files changed +18
-13
lines changed Original file line number Diff line number Diff line change 1
1
import { useState } from 'react' ;
2
2
import { diamondLinks , goldLinks , silverLinks , sponsorInfo } from '../../../public/data/data' ;
3
- import SponsorModal from './sponsorModal ' ;
3
+ import SponsorModal from './SponsorModal ' ;
4
4
5
5
//import '/styles/sponsorLinks.module.css';
6
- const logostyle = 'h-14 ' ;
6
+ const logostyle = 'grow-on-hover cursor-pointer transform transition-transform duration-300 hover:scale-105 ' ;
7
7
const logodiv = 'block gap-y-8 h-14' ;
8
8
const background = 'rgba(57, 119, 248, 0.6)' ;
9
9
// const outer = 'rounded-[4rem] w-[90rem] flex flex-col pl-14 py-14 gap-16';
@@ -38,7 +38,7 @@ function SponsorLinks() {
38
38
setShowModal ( true ) ;
39
39
} }
40
40
>
41
- < img className = { `${ logostyle } ` } src = { item . svg } alt = { item . alt } />
41
+ < img className = { `h-14 ${ logostyle } ` } src = { item . svg } alt = { item . alt } />
42
42
</ div >
43
43
) ;
44
44
} ) }
@@ -58,7 +58,7 @@ function SponsorLinks() {
58
58
setShowModal ( true ) ;
59
59
} }
60
60
>
61
- < img className = " h-6" src = { item . svg } alt = { item . alt } />
61
+ < img className = { ` h-6 ${ logostyle } ` } src = { item . svg } alt = { item . alt } />
62
62
</ div >
63
63
) ;
64
64
} ) }
@@ -78,7 +78,7 @@ function SponsorLinks() {
78
78
setShowModal ( true ) ;
79
79
} }
80
80
>
81
- < img className = " h-8" src = { item . svg } alt = { item . alt } />
81
+ < img className = { ` h-8 ${ logostyle } ` } src = { item . svg } alt = { item . alt } />
82
82
</ div >
83
83
) ;
84
84
} ) }
Original file line number Diff line number Diff line change @@ -10,18 +10,23 @@ export default function SponsorModal(props: { sponsorInfo: sponsorInfo | null; s
10
10
}
11
11
return (
12
12
< div
13
- className = "fixed inset-0 flex items-center justify-center bg-black bg-opacity-50"
13
+ className = "fixed inset-0 flex items-center justify-center bg-black bg-opacity-50 z-50 "
14
14
onClick = { ( ) => {
15
15
props . setFalse ( ) ;
16
16
} }
17
17
>
18
18
19
19
< div className = "bg-[#3977f8] relative w-[800px] h-[550px] mb-10 mx-10 rounded-xl flex flex-col items-center justify-center" >
20
- < motion . a whileHover = { {
21
- scale : 1.2 ,
22
- transition : { duration : 0.2 } ,
23
- } } className = "w-4/5 m-10 flex flex-col items-center justify-center" href = { props . sponsorInfo . href } >
24
- < img className = 'w-4/5 max-w-[400px] max-h-[250px]' src = { `./${ props . sponsorInfo . svg } ` } alt = { props . sponsorInfo . alt } />
20
+ < motion . a
21
+ whileHover = { {
22
+ scale : 1.2 ,
23
+ transition : { duration : 0.2 } ,
24
+ } }
25
+ className = "w-4/5 m-10 flex flex-col items-center justify-center"
26
+ href = { props . sponsorInfo . href }
27
+ target = "_blank"
28
+ >
29
+ < img className = 'w-4/5 max-w-[300px] max-h-[200px]' src = { `./${ props . sponsorInfo . svg } ` } alt = { props . sponsorInfo . alt } />
25
30
</ motion . a >
26
31
< h3 className = "mx-10 py-10" > { props . sponsorInfo . description } </ h3 >
27
32
< button
@@ -33,4 +38,4 @@ export default function SponsorModal(props: { sponsorInfo: sponsorInfo | null; s
33
38
</ div >
34
39
</ div >
35
40
) ;
36
- }
41
+ }
Original file line number Diff line number Diff line change 1
1
import Navbar from '@/components/Navbar' ;
2
2
import Footer from '@/components/Footer' ;
3
- import SponsorLinks from '@/components/Sponsors/sponsorlinks ' ;
3
+ import SponsorLinks from '@/components/Sponsors/SponsorLinks ' ;
4
4
5
5
export default function SponsorsPage ( ) {
6
6
return (
You can’t perform that action at this time.
0 commit comments