From de11222e4cecfdfd4d45f3ec1220ebc1bcb9c8c1 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Thu, 27 Jan 2022 15:58:14 +0100 Subject: chore: update logo Adjust previous colors to fit the new website and add a dark version to better fit with the dark theme. --- src/components/Branding/Branding.tsx | 2 +- src/components/Branding/Logo/Logo.module.scss | 23 +++++++++++++++++++ src/components/Branding/Logo/Logo.tsx | 32 +++++++++++++++++++++++++++ 3 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 src/components/Branding/Logo/Logo.module.scss create mode 100644 src/components/Branding/Logo/Logo.tsx (limited to 'src/components') diff --git a/src/components/Branding/Branding.tsx b/src/components/Branding/Branding.tsx index 5e2cf6a..01948e9 100644 --- a/src/components/Branding/Branding.tsx +++ b/src/components/Branding/Branding.tsx @@ -3,11 +3,11 @@ import Link from 'next/link'; import { ReactElement } from 'react'; import { t } from '@lingui/macro'; import photo from '@assets/images/armand-philippot.jpg'; -import Logo from '@assets/images/armand-philippot-logo.svg'; import { config } from '@config/website'; import styles from './Branding.module.scss'; import Head from 'next/head'; import { Person, WithContext } from 'schema-dts'; +import Logo from './Logo/Logo'; type BrandingReturn = ({ isHome }: { isHome: boolean }) => ReactElement; diff --git a/src/components/Branding/Logo/Logo.module.scss b/src/components/Branding/Logo/Logo.module.scss new file mode 100644 index 0000000..3d62bf9 --- /dev/null +++ b/src/components/Branding/Logo/Logo.module.scss @@ -0,0 +1,23 @@ +.wrapper { + position: relative; +} + +.bg-left { + fill: var(--color-primary-light); +} + +.bg-right { + fill: var(--color-primary-dark); +} + +.letter { + fill: var(--color-fg-inverted); + stroke: var(--color-primary-darker); + stroke-width: 5; +} + +.letter-shadow { + fill: var(--color-shadow-darker); + stroke: var(--color-shadow-darker); + stroke-width: 5; +} diff --git a/src/components/Branding/Logo/Logo.tsx b/src/components/Branding/Logo/Logo.tsx new file mode 100644 index 0000000..0623042 --- /dev/null +++ b/src/components/Branding/Logo/Logo.tsx @@ -0,0 +1,32 @@ +import styles from './Logo.module.scss'; + +const Logo = () => { + return ( + + + + + + + + + ); +}; + +export default Logo; -- cgit v1.2.3