File tree Expand file tree Collapse file tree 4 files changed +41
-9
lines changed
Expand file tree Collapse file tree 4 files changed +41
-9
lines changed Original file line number Diff line number Diff line change @@ -30,10 +30,19 @@ const Page = async () => {
3030 </ div >
3131 < p style = { { fontSize : "40px" , textAlign : "center" , margin : "20px" } } > Sponsored By</ p >
3232 < div className = { styles . sponsorBanner } >
33- < img className = { styles . sponsorLogo } src = "/sponsor-logos/osh-park.png" alt = "OSH Park" />
34- < img className = { styles . sponsorLogo } src = "/sponsor-logos/blue-robotics.png" alt = "Blue Robotics" />
35- < img className = { styles . sponsorLogo } src = "/sponsor-logos/real-digital.svg" alt = "Real Digital" />
33+ < div className = { styles . sponsorTrack } >
34+ < img className = { styles . sponsorLogo } src = "/sponsor-logos/osh-park.png" alt = "OSH Park" />
35+ < img className = { styles . sponsorLogo } src = "/sponsor-logos/blue-robotics.png" alt = "Blue Robotics" />
36+ < img className = { styles . sponsorLogo } src = "/sponsor-logos/real-digital.svg" alt = "Real Digital" />
37+ < img className = { styles . sponsorLogo } src = "/sponsor-logos/solidworks.png" alt = "Solidworks" />
38+ { /* duplicate for seamless loop */ }
39+ < img className = { styles . sponsorLogo } src = "/sponsor-logos/osh-park.png" alt = "OSH Park" />
40+ < img className = { styles . sponsorLogo } src = "/sponsor-logos/blue-robotics.png" alt = "Blue Robotics" />
41+ < img className = { styles . sponsorLogo } src = "/sponsor-logos/real-digital.svg" alt = "Real Digital" />
42+ < img className = { styles . sponsorLogo } src = "/sponsor-logos/solidworks.png" alt = "Solidworks" />
43+ </ div >
3644 </ div >
45+
3746 < div className = { styles . section } >
3847 < h2 style = { { fontSize : "40px" } } > Check out our blog!</ h2 >
3948 < div className = { styles . flexRow } >
Original file line number Diff line number Diff line change @@ -8,4 +8,6 @@ You can also donate to the club by going to [foundation.wsu.edu/give](https://fo
88
99![ Blue Robotics] ( /sponsor-logos/blue-robotics.png " Blue Robotics ")
1010
11- ![ Real Digital] ( /sponsor-logos/real-digital.svg " Real Digital ")
11+ ![ Real Digital] ( /sponsor-logos/real-digital.svg " Real Digital ")
12+
13+ ![ Solidworks] ( /sponsor-logos/solidworks.png " Solidworks ")
Original file line number Diff line number Diff line change 4949}
5050
5151.sponsorBanner {
52- display : flex;
53- flex-direction : row;
54- align-items : center;
55- justify-content : center;
56- gap : 10vw ;
52+ position : relative;
53+ overflow : hidden;
54+ white-space : nowrap;
55+ width : 100% ;
56+ }
57+
58+ .sponsorTrack {
59+ display : inline-flex;
60+ animation : scroll 20s linear infinite;
61+ }
62+
63+ .sponsorBanner : hover .sponsorTrack {
64+ animation-play-state : paused;
65+ }
66+
67+ @keyframes scroll {
68+ from {
69+ transform : translateX (0 );
70+ }
71+ to {
72+ transform : translateX (-50% );
73+ }
5774}
5875
5976.sponsorLogo {
6077 height : 100px ;
6178 width : auto;
6279 filter : grayscale (1 );
80+ margin : 0 50px ;
6381}
6482
6583.section {
116134 padding-left : 5% ;
117135 padding-right : 5% ;
118136 }
137+ .sponsorLogo {
138+ height : 40px ;
139+ }
119140}
You can’t perform that action at this time.
0 commit comments