Skip to content

Commit 706bd36

Browse files
Merge pull request #1606 from newrelic/clinton/new-logo
Update docs logo
2 parents eb9dc95 + 5ceac14 commit 706bd36

File tree

1 file changed

+35
-55
lines changed
  • src/@newrelic/gatsby-theme-newrelic/components

1 file changed

+35
-55
lines changed

src/@newrelic/gatsby-theme-newrelic/components/Logo.js

Lines changed: 35 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -5,69 +5,49 @@ import { css } from '@emotion/core';
55
const Logo = ({ className, width }) => (
66
<svg
77
xmlns="http://www.w3.org/2000/svg"
8-
viewBox="0 0 118 33"
8+
viewBox="0 0 230 70"
99
className={className}
1010
css={css`
11-
stroke: #007e8a;
1211
width: ${width || '118px'};
1312
1413
.dark-mode & {
15-
stroke: #70ccd3;
14+
fill: white;
1615
}
1716
`}
1817
>
19-
<g transform="translate(-80 -98)">
20-
<g transform="translate(80 98)">
21-
<g transform="translate(0 1)">
22-
<g>
23-
<path
24-
d="M15.4 0H4v30h22V10.6L15.4 0zm.6 3.4l6.6 6.6H16V3.4zM24 28H6V2h8v10h10v16z"
25-
fillRule="evenodd"
26-
clipRule="evenodd"
27-
css={css`
28-
stroke: none;
29-
fill: #007e8a;
30-
31-
.dark-mode & {
32-
fill: #70ccd3;
33-
}
34-
`}
35-
/>
36-
</g>
37-
<path
38-
d="M8.5 15.5h13"
39-
css={css`
40-
stroke-width: 1.5;
41-
stroke-linecap: round;
42-
`}
43-
/>
44-
<path
45-
d="M8.5 20.2h13"
46-
css={css`
47-
stroke-width: 1.5;
48-
stroke-linecap: round;
49-
`}
50-
/>
51-
<path
52-
d="M8.4 24.5h7.2"
53-
css={css`
54-
stroke-width: 1.5;
55-
stroke-linecap: round;
56-
`}
57-
/>
58-
</g>
59-
<text
60-
transform="translate(44 28)"
61-
fontSize="32"
62-
css={css`
63-
stroke: none;
64-
fill: var(--heading-text-color);
65-
font-family: var(--primary-font-family);
66-
`}
67-
>
68-
Docs
69-
</text>
70-
</g>
18+
<g transform="translate(-120 -10)">
19+
<path d="M201.2,26.41h12q6.76,0,9.88,3.22t3.12,10.3v9.36q0,7.08-3.12,10.3t-9.88,3.22h-12V58.7h3.12V30.47H201.2Zm11.34,32.34a16.17,16.17,0,0,0,4.13-.46,6.47,6.47,0,0,0,2.89-1.59,6.71,6.71,0,0,0,1.69-3A17.34,17.34,0,0,0,221.8,49V40.24a17.39,17.39,0,0,0-.55-4.73,6.71,6.71,0,0,0-1.69-3,6.57,6.57,0,0,0-2.89-1.59,16.17,16.17,0,0,0-4.13-.46h-3.85V58.75Z" />
20+
<path d="M256.85,50.23a14.26,14.26,0,0,1-1.07,5.69A12.51,12.51,0,0,1,253,60.08a11.8,11.8,0,0,1-4.14,2.57,14.07,14.07,0,0,1-9.85,0,11.85,11.85,0,0,1-4.11-2.57A12.51,12.51,0,0,1,232,55.92,14.26,14.26,0,0,1,231,50.23V49.6A14.15,14.15,0,0,1,232,44a12.62,12.62,0,0,1,2.86-4.19,12.11,12.11,0,0,1,4.13-2.6,14,14,0,0,1,9.78,0,12.11,12.11,0,0,1,4.13,2.6A12.62,12.62,0,0,1,255.78,44a14.15,14.15,0,0,1,1.07,5.64Zm-13,9.46a9.11,9.11,0,0,0,3.46-.65,8,8,0,0,0,2.78-1.9,8.87,8.87,0,0,0,1.87-3,10.78,10.78,0,0,0,.68-3.92V49.6a10.5,10.5,0,0,0-.68-3.82,8.87,8.87,0,0,0-1.87-3,8.65,8.65,0,0,0-2.81-1.95,8.75,8.75,0,0,0-6.86,0,8.65,8.65,0,0,0-2.81,1.95,8.87,8.87,0,0,0-1.87,3,10.5,10.5,0,0,0-.68,3.82v.63a10.78,10.78,0,0,0,.68,3.92,8.87,8.87,0,0,0,1.87,3,8,8,0,0,0,2.78,1.9A9.11,9.11,0,0,0,243.9,59.69Z" />
21+
<path d="M287.13,53.66a13.5,13.5,0,0,1-1.43,4,11.16,11.16,0,0,1-6.22,5.2,13.78,13.78,0,0,1-4.62.73,14.83,14.83,0,0,1-5.13-.89,12.14,12.14,0,0,1-7.12-6.7,13.94,13.94,0,0,1-1.07-5.62v-.62a14.19,14.19,0,0,1,1.07-5.62,12.29,12.29,0,0,1,2.89-4.21,12.68,12.68,0,0,1,4.23-2.65,14,14,0,0,1,5.13-.94,13.48,13.48,0,0,1,4.52.73,11.64,11.64,0,0,1,3.67,2,11.46,11.46,0,0,1,2.6,3.15,12.35,12.35,0,0,1,1.37,4l-4,.94a8.52,8.52,0,0,0-.76-2.63,7.27,7.27,0,0,0-1.61-2.24,7.49,7.49,0,0,0-2.47-1.53,9.24,9.24,0,0,0-3.38-.57,8.77,8.77,0,0,0-3.51.7,8.93,8.93,0,0,0-2.88,2,8.82,8.82,0,0,0-1.95,3,10.3,10.3,0,0,0-.71,3.85v.62a10.39,10.39,0,0,0,.71,3.93,8,8,0,0,0,1.95,2.93A8.66,8.66,0,0,0,271.27,59a9.83,9.83,0,0,0,3.59.65,8.6,8.6,0,0,0,3.35-.6,8,8,0,0,0,2.44-1.56,7.46,7.46,0,0,0,1.62-2.21,9.55,9.55,0,0,0,.8-2.6Z" />
22+
<path d="M297.93,43.67a3.17,3.17,0,0,0,1.58,2.86c1.06.66,3,1.1,5.8,1.3A13.18,13.18,0,0,1,312.2,50a6.16,6.16,0,0,1,2.37,5.23v.31a7.16,7.16,0,0,1-.76,3.35,7.46,7.46,0,0,1-2.08,2.53A9.23,9.23,0,0,1,308.51,63a14.63,14.63,0,0,1-4.13.55,14.79,14.79,0,0,1-5.18-.81,10.72,10.72,0,0,1-3.59-2.13,8.78,8.78,0,0,1-2.15-3,10,10,0,0,1-.84-3.4l3.85-.94A6.94,6.94,0,0,0,298.76,58a7.85,7.85,0,0,0,5.41,1.79,8.44,8.44,0,0,0,4.6-1.11,3.55,3.55,0,0,0,1.74-3.15,3.27,3.27,0,0,0-1.71-3.12,14.55,14.55,0,0,0-5.57-1.2,12.88,12.88,0,0,1-6.86-2.08A6,6,0,0,1,294,44v-.32a6.36,6.36,0,0,1,.78-3.19,7.16,7.16,0,0,1,2.1-2.32,9.78,9.78,0,0,1,3-1.4,14,14,0,0,1,8,.23A10.38,10.38,0,0,1,311,38.81a7.83,7.83,0,0,1,2,2.58,9.6,9.6,0,0,1,.91,2.91l-3.84.93a5.53,5.53,0,0,0-2-3.9,7,7,0,0,0-4.55-1.4,9.65,9.65,0,0,0-2.1.23,6,6,0,0,0-1.79.71A3.71,3.71,0,0,0,298.4,42,2.79,2.79,0,0,0,297.93,43.67Z" />
23+
<path d="M176.42,28,160.3,11.84A6,6,0,0,0,156,9.63H127.52a4.3,4.3,0,0,0-4.29,4.3V74.86a4.3,4.3,0,0,0,4.29,4.3h46.82a4.3,4.3,0,0,0,4.29-4.3V32.3A5.92,5.92,0,0,0,176.42,28ZM159,16.25l6.46,6.45L172,29.15H159.34a.3.3,0,0,1-.3-.29Zm15.59,58.61a.3.3,0,0,1-.29.3H127.52a.31.31,0,0,1-.29-.3V13.93a.31.31,0,0,1,.29-.3H155a1.56,1.56,0,0,1,.06.42v14.8a4.3,4.3,0,0,0,4.3,4.29h15a.89.89,0,0,1,.32.08V74.86Z" />
24+
<rect
25+
css={css`
26+
fill: #0ab0bf;
27+
`}
28+
x="134.96"
29+
y="37.8"
30+
width="31.94"
31+
height="5"
32+
/>
33+
<rect
34+
css={css`
35+
fill: #fda032;
36+
`}
37+
x="134.96"
38+
y="47.8"
39+
width="31.94"
40+
height="5"
41+
/>
42+
<rect
43+
css={css`
44+
fill: #66e6a8;
45+
`}
46+
x="134.96"
47+
y="57.8"
48+
width="19.83"
49+
height="5"
50+
/>
7151
</g>
7252
</svg>
7353
);

0 commit comments

Comments
 (0)