diff --git a/src/components/AboutHeader.tsx b/src/components/AboutHeader.tsx index 962b6eab..38749313 100644 --- a/src/components/AboutHeader.tsx +++ b/src/components/AboutHeader.tsx @@ -1,5 +1,5 @@ -import { CloudSun } from 'lucide-preact' import { styled } from 'styled-components' +import { Logo } from './icons/Logo.js' const OpenSourceBG = styled.div` background-color: var(--color-nordic-blue); @@ -47,7 +47,7 @@ export const AboutHeader = () => (

- hello.nrfcloud.com + hello.nrfcloud.com

Retrieve real-time data from your long-range Nordic Semiconductor diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index 6f226220..de095e17 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -1,10 +1,11 @@ import { useDevice } from '#context/Device.js' import { useFingerprint } from '#context/Fingerprint.js' import cx from 'classnames' -import { CloudSun, Code2, Fingerprint, Home } from 'lucide-preact' +import { Code2, Fingerprint, Home } from 'lucide-preact' import type { PropsWithChildren } from 'preact/compat' import { useState } from 'preact/hooks' import { PreviewWarning } from './PreviewWarning.js' +import { Logo } from './icons/Logo.js' const Link = ({ href, @@ -48,7 +49,8 @@ const Navigation = () => { href={`/device#${device.id}`} title="Device fingerprint was provided" > - Your Development Kit + Your Development + Kit )} diff --git a/src/components/SourceHeader.tsx b/src/components/SourceHeader.tsx index 9f118c52..44c8590e 100644 --- a/src/components/SourceHeader.tsx +++ b/src/components/SourceHeader.tsx @@ -1,4 +1,4 @@ -import { CloudSun } from 'lucide-preact' +import { Logo } from './icons/Logo.js' export const SourceHeader = () => (

(

- hello.nrfcloud.com: the - source + + hello.nrfcloud.com: the source

Learn how we've built hello.nrfcloud.com. diff --git a/src/components/icons/Logo.tsx b/src/components/icons/Logo.tsx new file mode 100644 index 00000000..b558e1d6 --- /dev/null +++ b/src/components/icons/Logo.tsx @@ -0,0 +1,59 @@ +export const Logo = ({ + strokeWidth, + color, + class: className, +}: { + strokeWidth: number + color: string + class?: string +}) => { + const s = (strokeWidth ?? 2) * (0.529167 / 2) + const c = color ?? '#00a9ce' + return ( + + + + + + + + + + + + + ) +} diff --git a/static/images/logo.svg b/static/images/logo.svg index 70805a79..87321e60 100644 --- a/static/images/logo.svg +++ b/static/images/logo.svg @@ -1,21 +1,52 @@ + + - - + + + + + + + + + + +