File tree Expand file tree Collapse file tree 4 files changed +11
-30
lines changed
Expand file tree Collapse file tree 4 files changed +11
-30
lines changed Original file line number Diff line number Diff line change 11import Image from 'next/image' ;
2- import { resourceCards , stage1 , stage2 , stage3 } from '../.. /../public/data/resourceCards' ;
2+ import { resourceCards , stage1 , stage2 , stage3 } from '@ /../public/data/resourceCards' ;
33
44const boxStyling =
55 'border border-[#595F6D] rounded-lg hover:border-[#788093] hover:bg-[#070034] hover:bg-opacity-75 transition-all duration-300' ;
6- const socialsBoxStyling =
7- 'xl:col-span-1 col-span-3 flex justify-center pt-2 pb-2 border border-[#595F6D] hover:border-[#788093] rounded-lg hover:bg-[#070034] hover:bg-opacity-75 transition-all duration-300' ;
86
97const Resources = ( ) => {
108 return (
Original file line number Diff line number Diff line change 11import { useState } from 'react' ;
2- import { diamondLinks , goldLinks , silverLinks , sponsorInfo } from '../.. /../public/data/sponsorInfos' ;
2+ import { diamondLinks , goldLinks , silverLinks , sponsorInfo } from '@ /../public/data/sponsorInfos' ;
33import SponsorModal from './SponsorModal' ;
44
55const logostyle = 'grow-on-hover cursor-pointer transform transition-transform duration-300 hover:scale-105' ;
Original file line number Diff line number Diff line change 1- import { sponsorInfo } from '../../../public/data/sponsorInfos' ;
2- import { motion } from 'framer-motion'
1+ import { sponsorInfo } from '@/../public/data/sponsorInfos' ;
32
43export default function SponsorModal ( props : { sponsorInfo : sponsorInfo | null ; setFalse : ( ) => void } ) {
54 if ( props . sponsorInfo === null ) {
@@ -18,17 +17,17 @@ export default function SponsorModal(props: { sponsorInfo: sponsorInfo | null; s
1817 >
1918
2019 < div className = "bg-[#3977f8] relative w-[800px] h-[550px] mb-10 mx-10 rounded-xl flex flex-col items-center justify-center" >
21- < motion . a
22- whileHover = { {
23- scale : 1.2 ,
24- transition : { duration : 0.2 } ,
25- } }
26- className = "w-4/5 m-10 flex flex-col items-center justify-center"
20+ < a
21+ className = "w-4/5 m-10 flex flex-col items-center justify-center transform transition-transform duration-300 hover:scale-105"
2722 href = { props . sponsorInfo . href }
2823 target = "_blank"
2924 >
30- < img className = 'w-4/5 max-w-[300px] max-h-[200px]' src = { `./${ props . sponsorInfo . svg } ` } alt = { props . sponsorInfo . alt } />
31- </ motion . a >
25+ < img
26+ className = "w-4/5 max-w-[300px] max-h-[200px]"
27+ src = { `./${ props . sponsorInfo . svg } ` }
28+ alt = { props . sponsorInfo . alt }
29+ />
30+ </ a >
3231 < h3 className = "mx-10 py-10" > { props . sponsorInfo . description } </ h3 >
3332 < button
3433 onClick = { props . setFalse }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments