Skip to content

Commit

Permalink
change button style and text (#7529)
Browse files Browse the repository at this point in the history
Co-authored-by: silkeholmebonnen <[email protected]>
Co-authored-by: Tony <[email protected]>
  • Loading branch information
3 people authored Dec 18, 2024
1 parent 98b91d5 commit aada3b9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion web/src/features/header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export default function Header(): JSX.Element {
trackEvent(TrackEvent.HEADER_LINK_CLICKED, { linkId: 'get-data' });
}}
backgroundClasses="my-2.5"
foregroundClasses="text-base font-normal lg:text-[1rem] py-1 px-6"
foregroundClasses="text-base lg:text-[1rem] py-1 px-6"
href="https://electricitymaps.com/get-our-data?utm_source=app.electricitymaps.com&utm_medium=referral"
>
{t('header.get-data')}
Expand Down
2 changes: 1 addition & 1 deletion web/src/features/panels/zone/ZoneDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export default function ZoneDetails(): JSX.Element {
zoneDataStatus={zoneDataStatus}
>
<BarBreakdownChart hasEstimationPill={hasEstimationPill} />
<CommercialApiButton backgroundClasses="mt-3 mb-1" type="link" />
<CommercialApiButton backgroundClasses="mt-3 mb-1" type="primary" />
{zoneDataStatus === ZoneDataStatus.AVAILABLE && (
<AreaGraphContainer
datetimes={datetimes}
Expand Down
2 changes: 1 addition & 1 deletion web/src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@
"header": {
"get-data": "Access the API",
"blog": "Blog",
"open-source": "Open Source",
"open-source": "Community",
"hiring": "We're hiring!",
"methodology": "Methodology",
"faq": "FAQ"
Expand Down

0 comments on commit aada3b9

Please sign in to comment.