Skip to content

Commit

Permalink
minor refactor: rename landpageStyle => companyLogoStyle
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Jan 5, 2025
1 parent bc49d5f commit 335dc4c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/pages/index/sections/sponsors/Sponsors.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type Sponsor = {
companyLogo: string
website: string
isPast?: true
landpageStyle?: React.CSSProperties
companyLogoStyle?: React.CSSProperties
github: string
}

Expand Down Expand Up @@ -88,7 +88,7 @@ function SponsorLink({ sponsor }: { sponsor: Sponsor }) {
style={{
maxWidth: '90%',
height: '40%',
...sponsor.landpageStyle
...sponsor.companyLogoStyle
}}
src={sponsor.companyLogo}
alt={sponsor.companyName}
Expand Down
4 changes: 2 additions & 2 deletions docs/pages/index/sections/sponsors/sponsorsList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const sponsorsList: Sponsor[] = [
{
companyName: 'Axel Springer',
companyLogo: axelspringerLogo,
landpageStyle: {
companyLogoStyle: {
height: '32%'
},
website: 'https://www.axelspringer.com',
Expand All @@ -38,7 +38,7 @@ const sponsorsList: Sponsor[] = [
{
companyName: 'Optimizers',
companyLogo: optimizersLogo,
landpageStyle: {
companyLogoStyle: {
height: '60%'
},
website: 'https://www.optimizers.nl',
Expand Down

0 comments on commit 335dc4c

Please sign in to comment.