Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pages/_app.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export default function MyApp(props: MyAppProps) {
description={
'Aave is an Open Source Protocol to create Non-Custodial Liquidity Markets to earn interest on supplying and borrowing assets with a variable or stable interest rate. The protocol is designed for easy integration into your products and services.'
}
imageUrl="https://app.aave.com/aave-com-opengraph.png"
imageUrl="https://app.aave.com/aave-opengraph.png"
/>
<NoSsr>
<AaveProvider client={client}>
Expand Down
Binary file removed public/aave-com-opengraph.png
Binary file not shown.
Binary file added public/aave-opengraph.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/favicon-192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/favicon-32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/favicon-512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion public/favicon-dark.svg

This file was deleted.

1 change: 0 additions & 1 deletion public/favicon-light.svg

This file was deleted.

Binary file modified public/favicon.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion public/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 0 additions & 29 deletions src/components/FaviconSwitcher/index.tsx

This file was deleted.

17 changes: 8 additions & 9 deletions src/components/MarketSwitcher.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { SearchIcon } from '@heroicons/react/outline';
import { ExternalLinkIcon } from '@heroicons/react/solid';
import { t, Trans } from '@lingui/macro';
import {
Box,
Expand All @@ -17,6 +16,7 @@ import {
useTheme,
} from '@mui/material';
import React, { useMemo, useRef, useState } from 'react';
import { ArrowUpRightIcon } from 'src/components/icons/ArrowUpRightIcon';
import { ChevronUpDownIcon } from 'src/components/icons/ChevronUpDownIcon';
import { FAVOURITE_STAR_COLOR, StarIcon } from 'src/components/icons/StarIcon';
import { ShimmerText } from 'src/components/ShimmerText';
Expand Down Expand Up @@ -240,6 +240,11 @@ const MARKET_DESCRIPTIONS: Partial<Record<CustomMarket, React.ReactNode>> = {
[CustomMarket.proto_aptos_v3]: onNetwork('Aptos'),
};

// Trailing "this leaves the app" marker, shared by the external-market rows and the V4 links.
const EXTERNAL_LINK_ICON = (
<ArrowUpRightIcon sx={{ fontSize: '16px', color: 'fg-3', ml: 0.5, flexShrink: 0 }} />
);

export const AAVE_PRO_URL = 'https://pro.aave.com/';

type V4Link = {
Expand Down Expand Up @@ -448,11 +453,7 @@ export const MarketSwitcher = () => {
>
{marketNaming.name} {market.isFork ? 'Fork' : ''}
</Typography>
{market.externalUrl && (
<SvgIcon sx={{ fontSize: '14px', color: 'fg-3', ml: 0.5, flexShrink: 0 }}>
<ExternalLinkIcon />
</SvgIcon>
)}
{market.externalUrl && EXTERNAL_LINK_ICON}
<IconButton
className="grid-fav-btn"
size="small"
Expand Down Expand Up @@ -538,9 +539,7 @@ export const MarketSwitcher = () => {
{label}
</Typography>
)}
<SvgIcon sx={{ fontSize: '14px', color: 'fg-3', ml: 0.5, flexShrink: 0 }}>
<ExternalLinkIcon />
</SvgIcon>
{EXTERNAL_LINK_ICON}
</Box>
);
};
Expand Down
Loading
Loading