File tree Expand file tree Collapse file tree 4 files changed +6
-8
lines changed Expand file tree Collapse file tree 4 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ const logo = sponsorLogos[sponsor.id];
6666 {
6767 description && (
6868 <div class = " flex-1" >
69- <h2 id =`sponsor-${sponsorId}` class = " text-2xl font-bold mb-2 " >
69+ <h2 id =`sponsor-${sponsorId}` class = " sponsor text-2xl font-bold mb-2 " >
7070 { ! isSponsorPage && tier !== ' Partners' ?
7171 <a href = { ` /sponsor/${sponsor .id } ` } >
7272 { title }
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ const {
2020} = sponsor .data ;
2121
2222const logo = sponsorLogos [sponsor .id ];
23- const slug = tier === " Partners" ? ' /community-partners' : tier === " Platinum" ? ` /sponsor/${sponsorId } ` : ` /sponsors#sponsor-${sponsorId } `
23+ const slug = tier === " Partners" ? ` /community-partners#sponsor-${ sponsorId } ` : tier === " Platinum" ? ` /sponsor/${sponsorId } ` : ` /sponsors#sponsor-${sponsorId } `
2424
2525---
2626
Original file line number Diff line number Diff line change @@ -72,9 +72,3 @@ const grouped = sponsors.reduce((acc, sponsor) => {
7272 </p >
7373
7474</Layout >
75-
76- <style is:global >
77- h2{
78- scroll-margin-top: 300px;
79- }
80- </style >
Original file line number Diff line number Diff line change @@ -278,3 +278,7 @@ main a[href^="#"]::before {
278278.one {
279279 overflow : hidden;
280280}
281+
282+ h2 .sponsor {
283+ scroll-margin-top : 300px ;
284+ }
You can’t perform that action at this time.
0 commit comments