Skip to content

Commit

Permalink
Fix links on home page
Browse files Browse the repository at this point in the history
  • Loading branch information
j08lue authored Nov 22, 2023
1 parent 0af2afc commit a984df5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions overrides/home/component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export default function HomeComponent() {
<FoldHeadActions>
<Button
forwardedAs={Link}
to="/stories" //@TODO: THIS NEEDS TO BE REPLACED
to="/stories"
size="medium"
radius="square"
variation="primary-fill"
Expand All @@ -181,7 +181,7 @@ export default function HomeComponent() {
<p>
Earth.gov is also the gateway to other interagency cooperative
efforts for our planet, like the{" "}
<ExpandLink to={`https://ghg.center/`}>
<ExpandLink as="a" href="https://earth.gov/ghgcenter">
{" "}
U.S. Greenhouse Gas Center
</ExpandLink>
Expand All @@ -199,7 +199,7 @@ export default function HomeComponent() {
</span>
<Button
forwardedAs="a"
href="https://hub.ghg.center/hub/" //@TODO: This isn't working with external link
href="https://earth.gov/ghgcenter"
size="medium"
radius="square"
variation="primary-fill"
Expand All @@ -226,7 +226,7 @@ export default function HomeComponent() {
<Partners size="small" />
<Button
forwardedAs="a"
href="https://ghg.center/" //@TODO: THIS NEEDS TO BE REPLACED
href="/about"
size="medium"
radius="square"
variation="primary-fill"
Expand Down
2 changes: 1 addition & 1 deletion overrides/home/expand-link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import styled from "$veda-ui/styled-components";
import { glsp, themeVal } from "$veda-ui/@devseed-ui/theme-provider";
import { CollecticonExpandTopRight } from "$veda-ui/@devseed-ui/collecticons";

const ExpandLinkCmp = styled.a`
const ExpandLinkCmp = styled(NavLink)`
display: flex;
align-items: center;
gap: ${glsp(0.5)};
Expand Down

0 comments on commit a984df5

Please sign in to comment.