1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-07-26 13:48:33 +02:00

use svg logo

This commit is contained in:
Ivar Conradi Østhus 2021-02-25 12:42:18 +01:00
parent 55dd2ed72b
commit 23ceacff41
No known key found for this signature in database
GPG Key ID: 31AC596886B0BD09

View File

@ -53,9 +53,55 @@ const Logo = props => (
</div>
);
const LogoSvg = ({style}) => (
<svg style={style} viewBox="0 0 200 60" xmlns="http://www.w3.org/2000/svg">
<g transform="translate(280.822 -299.303)">
<text
style={{
lineHeight: "0%",
InkscapeFontSpecification: "'Ubuntu, Medium'",
textAlign: "start",
}}
fontFamily="Ubuntu"
x="-227.697"
y="343.108"
>
<tspan
style={{
lineHeight: "100%",
InkscapeFontSpecification: "'Ubuntu, Medium'",
textAlign: "start",
}}
fontSize="37.5"
x="-227.697"
y="343.108"
>
Unleash
</tspan>
</text>
<rect
height="22.483"
width="40.186"
fill="#0b1700"
rx="9.74"
x="-272.312"
y="318.151"
/>
<rect
height="12.604"
width="14.489"
fill="#fff"
rx="4.135"
x="-251.511"
y="323.352"
/>
</g>
</svg>
);
const ProjectTitle = () => (
<h2 className="projectTitle">
{siteConfig.title}
<LogoSvg style={{width: '300px'}} />
<small>{siteConfig.tagline}</small>
</h2>
);