From 2d3704fb87c644025a31639287348c2232a2ad79 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Mon, 29 Mar 2021 09:07:52 -0400 Subject: [PATCH] style page title + add lbc icon --- component/header.jsx | 108 +++++++++++++++++++++++++++++++++++++++++-- i18n.js | 2 - styles/globals.scss | 22 +++++++-- 3 files changed, 123 insertions(+), 9 deletions(-) diff --git a/component/header.jsx b/component/header.jsx index e459139..d02d8b4 100644 --- a/component/header.jsx +++ b/component/header.jsx @@ -32,13 +32,115 @@ export function Header(props) { - - +
- {__(m.title)} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LBRY + + , THE SEC, & THE FUTURE OF CRYPTO + +
{!faqPage ? ( diff --git a/i18n.js b/i18n.js index d161305..29d8e87 100644 --- a/i18n.js +++ b/i18n.js @@ -1,5 +1,4 @@ export const m = { - title: 'title', faq: 'faq', help_lbry: 'help_lbry', save_crypto: 'save_crypto', @@ -12,7 +11,6 @@ export const m = { }; const en = { - title: 'LBRY, THE SEC, & THE FUTURE OF CRYPTO', faq: 'VIEW FAQ', help_lbry: 'HELP LBRY', save_crypto: 'SAVE CRYPTO', diff --git a/styles/globals.scss b/styles/globals.scss index e9b3e1d..49411af 100644 --- a/styles/globals.scss +++ b/styles/globals.scss @@ -84,13 +84,27 @@ main { } .title { - font-weight: bolder; - font-size: 1.5rem; + font-weight: 800; + font-size: 1.25rem; cursor: pointer; - @media (min-width: $breakpoint-small) { - font-size: 2rem; + svg { + margin-right: 0.5rem; + + @media (max-width: $breakpoint-small) { + display: none; + } } + + @media (min-width: $breakpoint-small) { + display: flex; + align-items: center; + font-size: 1.4rem; + } +} + +.title__rest { + color: #424242; } .link {