Skip to content

Commit

Permalink
feat: add annoucement link (anoma#499)
Browse files Browse the repository at this point in the history
* feat: add annoucement link

* feat: adding announcement url to SidebarPage

---------

Co-authored-by: Pedro Rezende <[email protected]>
  • Loading branch information
mateuszjasiuk and pedrorezende authored Dec 5, 2023
1 parent 686fabe commit 746f5db
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
6 changes: 5 additions & 1 deletion apps/airdrop/src/App/Layouts/SidebarPage/SidebarPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,11 @@ export const SidebarPage = ({
</SidebarTitle>
<SocialList>
<SocialListItem>
<TermsLinkWrapper href="#">
<TermsLinkWrapper
href="https://namada.net/blog/the-namada-rpgf-drop-is-live/"
target="_blank"
rel="nofollow noreferrer"
>
Announcement{" "}
<IconWrap>
<ExternalPageIcon />
Expand Down
7 changes: 7 additions & 0 deletions apps/airdrop/src/App/Main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,13 @@ export const Main: React.FC = () => {
outlined
hoverColor="utility1"
borderRadius="sm"
onClick={() => {
window.open(
"https://namada.net/blog/the-namada-rpgf-drop-is-live/",
"_blank",
"noopener,noreferrer"
);
}}
>
Read annoucement
<i className="external-icon">
Expand Down

0 comments on commit 746f5db

Please sign in to comment.