Skip to content

Commit

Permalink
Dark logo && change favicon.ico (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
r8bywork authored Jun 2, 2024
2 parents d244524 + d78111e commit 109ce0d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion deploy/envs/common-frontend.env
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ NEXT_PUBLIC_API_WEBSOCKET_PROTOCOL=wss
NEXT_PUBLIC_NETWORK_RPC_URL=https://testnet-rpc.atleta.network:9944
NEXT_PUBLIC_API_SPEC_URL=https://raw.githubusercontent.com/blockscout/blockscout-api-v2-swagger/main/swagger.yaml
NEXT_PUBLIC_NETWORK_LOGO=https://raw.githubusercontent.com/Atleta-network/blockscout/atleta/icons/ownlogo.svg
NEXT_PUBLIC_NETWORK_ICON=https://raw.githubusercontent.com/Atleta-network/blockscout/atleta/icons/ownlogo.svg
NEXT_PUBLIC_NETWORK_LOGO_DARK=https://raw.githubusercontent.com/Atleta-network/blockscout/atleta/icons/ownlogodark.svg
3 changes: 3 additions & 0 deletions icons/ownlogodark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 0 additions & 7 deletions pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import React from 'react';
import * as serverTiming from 'nextjs/utils/serverTiming';

import theme from 'theme';
import * as svgSprite from 'ui/shared/IconSvg';

class MyDocument extends Document {
static async getInitialProps(ctx: DocumentContext) {
Expand Down Expand Up @@ -45,12 +44,6 @@ class MyDocument extends Document {

{ /* FAVICON */ }
<link rel="icon" href="/favicon/favicon.ico" sizes="48x48"/>
<link rel="icon" sizes="32x32" type="image/png" href="/favicon/favicon-32x32.png"/>
<link rel="icon" sizes="16x16" type="image/png"href="/favicon/favicon-16x16.png"/>
<link rel="apple-touch-icon" href="/favicon/apple-touch-icon-180x180.png"/>
<link rel="mask-icon" href="/favicon/safari-pinned-tab.svg"/>

<link rel="preload" as="image" href={ svgSprite.href }/>
</Head>
<body>
<ColorModeScript initialColorMode={ theme.config.initialColorMode }/>
Expand Down
Binary file modified public/favicon/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions public/icons/name.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
| "nft_shield"
| "output_roots"
| "ownlogo"
| "ownlogodark"
| "plus"
| "privattags"
| "profile"
Expand Down

0 comments on commit 109ce0d

Please sign in to comment.