From 785348eaef3ef471364851b675c55ff21c70d215 Mon Sep 17 00:00:00 2001 From: Ross Bulat Date: Tue, 30 Jul 2024 10:40:55 +0100 Subject: [PATCH] update header --- src/library/Header/Wrapper.ts | 21 +++++++++------------ src/library/Header/index.tsx | 8 ++------ src/svg/Icon.svg | 1 + 3 files changed, 12 insertions(+), 18 deletions(-) create mode 100644 src/svg/Icon.svg diff --git a/src/library/Header/Wrapper.ts b/src/library/Header/Wrapper.ts index 33ecd88..57c3384 100644 --- a/src/library/Header/Wrapper.ts +++ b/src/library/Header/Wrapper.ts @@ -23,10 +23,15 @@ export const HeaderWrapper = styled.div` &:first-child { > h1 { - font-family: InterBold, sans-serif; - font-size: 0.72rem; - text-transform: uppercase; - color: var(--accent-color-primary); + display: flex; + align-items: center; + + > a { + font-family: InterBold, sans-serif; + font-size: 0.72rem; + text-transform: uppercase; + color: #881cbc; + } } > span { @@ -36,14 +41,6 @@ export const HeaderWrapper = styled.div` height: 100%; } } - > .version { - color: var(--text-color-primary); - font-family: InterSemiBold, sans-serif; - margin-left: 0.35rem; - margin-right: 0.5rem; - font-size: 0.7rem; - opacity: 0.75; - } } &:last-child { diff --git a/src/library/Header/index.tsx b/src/library/Header/index.tsx index 985a0f1..9e7e063 100644 --- a/src/library/Header/index.tsx +++ b/src/library/Header/index.tsx @@ -4,23 +4,19 @@ import { faGithub } from '@fortawesome/free-brands-svg-icons'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { GithubRepoUrl } from 'consts'; -import IconSvg from 'svg/Cloud.svg?react'; +import IconSvg from 'svg/Icon.svg?react'; import { HeaderWrapper } from './Wrapper'; -import { version } from '../../../package.json'; import { Link } from 'react-router-dom'; export const Header = () => (
- +

Polkadot Cloud Portal

- {version}