Skip to content
This repository was archived by the owner on Apr 4, 2022. It is now read-only.

Hotfix/2.5.1 update develop #948

Merged
merged 9 commits into from
Jan 11, 2022
Merged
Show file tree
Hide file tree
Changes from all 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 config-default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
name: Gnosis Protocol v1 Web

# Logo used for the favicon
logoPath: './src/assets/img/logo.svg'
logoPath: './src/assets/img/CowProtocol-icon.svg'

# HTML template
templatePath: './src/html/index.html'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gnosis.pm/gp-v1",
"version": "2.5.0",
"version": "2.5.1",
"description": "",
"main": "src/index.js",
"sideEffects": false,
Expand Down
26 changes: 1 addition & 25 deletions src/apps/explorer/layout/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,6 @@ import { Navigation } from 'components/layout/GenericLayout/Navigation'
import { Header as GenericHeader } from 'components/layout/GenericLayout/Header'
import { NetworkSelector } from 'components/NetworkSelector'
import { PREFIX_BY_NETWORK_ID, useNetworkId } from 'state/network'
import styled from 'styled-components'

const Logo = styled.span`
display: flex;
align-items: center;
margin: 0 0.5rem 0 0;
font-size: 1.8rem;
line-height: 1;
font-weight: ${({ theme }): string => theme.fontBlack};
white-space: nowrap;
position: relative;

&::after {
content: 'EXPLORER';
font-size: 0.9rem;
letter-spacing: 0.36rem;
opacity: 0.5;
display: block;
position: absolute;
bottom: -0.9rem;
right: 0;
font-weight: 500;
}
`

export const Header: React.FC = () => {
const networkId = useNetworkId()
Expand All @@ -38,7 +14,7 @@ export const Header: React.FC = () => {
const prefixNetwork = PREFIX_BY_NETWORK_ID.get(networkId)

return (
<GenericHeader logoAlt="Gnosis Protocol" linkTo={`/${prefixNetwork || ''}`} label={<Logo>Gnosis Protocol</Logo>}>
<GenericHeader logoAlt="CoW Protocol Explorer" linkTo={`/${prefixNetwork || ''}`}>
<Navigation>
<NetworkSelector networkId={networkId} />
{/*
Expand Down
2 changes: 1 addition & 1 deletion src/apps/explorer/pages/Home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const Wrapper = styled.div`
export const Home: React.FC = () => {
return (
<Wrapper>
<h1>Search on Gnosis Protocol Explorer</h1>
<h1>Search on CoW Protocol Explorer</h1>
<Search className="home" />
</Wrapper>
)
Expand Down
29 changes: 29 additions & 0 deletions src/assets/img/CowProtocol-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions src/assets/img/CowProtocol-logo-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading