Skip to content

Commit

Permalink
feat: add near logo with link
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisjoshford committed Nov 19, 2024
1 parent 8074b1f commit 54c8e95
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 4 deletions.
18 changes: 17 additions & 1 deletion packages/frontend/src/components/Routing.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { Redirect, Switch } from 'react-router-dom';
import styled, { ThemeProvider } from 'styled-components';

import { WEB3AUTH } from '../../../../features';
import NEARLogo from '../../src/images/near-logo.svg';
import { PUBLIC_URL } from '../config';
import { isWhitelabel } from '../config/whitelabel';
import * as accountActions from '../redux/actions/account';
Expand Down Expand Up @@ -57,7 +58,7 @@ const PATH_PREFIX = PUBLIC_URL;
const Container = styled.div`
min-height: 100vh;
padding-bottom: 100px;
padding-top: 75px;
padding-top: 25px;
@media (max-width: 991px) {
.App {
.main {
Expand Down Expand Up @@ -180,6 +181,21 @@ class Routing extends Component {
history={this.props.history}
>
<ThemeProvider theme={theme}>
<a
href="https://near.org"
target="_blank"
rel="noopener noreferrer"
>
<img
src={NEARLogo}
alt="near-logo"
style={{
paddingLeft: '20px',
paddingBottom: '20px',
height: '60px',
}}
/>
</a>
<Switch>
<Redirect
from="//*"
Expand Down
4 changes: 2 additions & 2 deletions packages/frontend/src/components/landing/GuestLanding.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ import React, { useEffect, useRef, useState } from 'react';
import { Translate } from 'react-localize-redux';

import BitteWalletIcon from '../../images/wallet-icons/bitte-wallet-icon.png';
import EthWalletIcon from '../../images/wallet-icons/eth-wallet-icon.png';
import HereWalletIcon from '../../images/wallet-icons/here-wallet-icon.png';
import HotWalletIcon from '../../images/wallet-icons/hot-wallet-icon.png';
import MeteorWalletIcon from '../../images/wallet-icons/meteor-wallet-icon.png';
import NearMobileIcon from '../../images/wallet-icons/near-mobile-icon.png';
import NearWalletIcon from '../../images/wallet-icons/near-wallet-icon.png';
import NightlyWalletIcon from '../../images/wallet-icons/nightly-wallet-icon.png';
import SenderWalletIcon from '../../images/wallet-icons/sender-wallet-icon.png';
import WellDoneWalletIcon from '../../images/wallet-icons/welldone-wallet-icon.png';
import EthWalletIcon from '../../images/wallet-icons/eth-wallet-icon.png';
import HotWalletIcon from '../../images/wallet-icons/hot-wallet-icon.png';
import FormButton from '../common/FormButton';
import { WalletSelectorGetAWallet } from '../common/wallet_selector/WalletSelectorGetAWallet';
import { recordWalletMigrationEvent } from '../wallet-migration/metrics';
Expand Down
14 changes: 14 additions & 0 deletions packages/frontend/src/images/near-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion packages/frontend/src/translations/en.global.json
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@
"landingSectionSubDescription": "To make the transition easier, you can securely migrate your accounts to a new wallet using the Transfer Wizard. Review the transfer-compatible wallet options below or move your accounts manually with your recovery phrase.",
"landingSectionDescription": "As we embrace a more decentralized future, wallet.near.org will be discontinued. This change invites you to discover a variety of new and secure wallet options within our ecosystem. Don’t worry, no changes will be made to your account or assets.",
"wallet": {
"title": "NEAR Wallets",
"title": "NEAR Ecosystem Wallets",
"secondaryDescription": "Explore a range of user-friendly wallets designed to meet your needs.",
"description": "You can transfer your accounts to any of the wallets below or manually import them to the wallet of your choice using your recovery phrase.",
"near": "A browser based wallet that offers the same UI and features of wallet.near.org",
Expand Down

0 comments on commit 54c8e95

Please sign in to comment.