Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

perf: inline and compress logo.svg

thecodrr47c753c828aa
diff --git a/apps/web/public/index.html b/apps/web/public/index.html
index cc99b1dd4..8403cf598 100644
--- a/apps/web/public/index.html
+++ b/apps/web/public/index.html
@@ -53,14 +53,6 @@
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>Notesnook - A safe place to write</title>
-
- <script
- async
- defer
- data-website-id="f16c07d9-c77b-4781-bfbd-f58e95640002"
- src="https://analytics.streetwriters.co/umami.js"
- data-domains="app.notesnook.com"
- ></script>
<style>
#splash img {
transform: scale(1);
@@ -101,7 +93,58 @@
align-items: center;
"
>
- <img alt="Notesnook logo" src="./logo.svg" width="150px" />
+ <svg viewBox="0 0 339 339" style="width: 150px">
+ <defs />
+ <defs>
+ <linearGradient
+ id="b"
+ x1="193.9"
+ x2="198.7"
+ y1="166.8"
+ y2="223.3"
+ gradientTransform="rotate(5 4448 -4204) scale(2.93671)"
+ gradientUnits="userSpaceOnUse"
+ xlink:href="#a"
+ />
+ <linearGradient id="a">
+ <stop offset="0" />
+ <stop offset="1" stop-color="#fff9f9" stop-opacity="0" />
+ </linearGradient>
+ <linearGradient
+ id="c"
+ x1="167.8"
+ x2="270.6"
+ y1="76.9"
+ y2="64.2"
+ gradientTransform="rotate(5 465 -2050) scale(1.50082)"
+ gradientUnits="userSpaceOnUse"
+ xlink:href="#a"
+ />
+ </defs>
+ <g transform="translate(0 42)">
+ <path fill="url(#b)" d="M160 205l154 42-141 44-155-42z" />
+ <path fill="url(#c)" d="M160-35v240l154 42 1-253z" />
+ <path
+ fill="none"
+ stroke-width="1.2"
+ d="M160 205V-35m0 240L18 249m142-44l154 41"
+ />
+ <path d="M84 109l35 54V98l21-7v91l-27 9-35-54v65l-21 6v-91z" />
+ <rect
+ width="86.1"
+ height="12.6"
+ x="185"
+ y="97"
+ fill="#bebebe"
+ ry="2.3"
+ transform="skewY(15) scale(.9669 1)"
+ />
+ <path
+ fill="#bebebe"
+ d="M181 169l99 26 2 3v8c0 1-1 2-2 1l-99-26-2-3v-7c0-2 1-2 2-2zm0-47l99 27 2 2v8l-2 2-99-27c-1 0-2-1-2-3v-7l2-2z"
+ />
+ </g>
+ </svg>
</div>
<div id="dialogContainer"></div>
<!--
@@ -127,5 +170,12 @@
box-sizing: content-box;
"
></div>
+ <script
+ async
+ defer
+ data-website-id="f16c07d9-c77b-4781-bfbd-f58e95640002"
+ src="https://analytics.streetwriters.co/umami.js"
+ data-domains="app.notesnook.com"
+ ></script>
</body>
</html>
diff --git a/apps/web/public/logo.svg b/apps/web/public/logo.svg
index 7e2ede2f3..9acab56b7 100644
--- a/apps/web/public/logo.svg
+++ b/apps/web/public/logo.svg
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 338.7 338.7"><defs/><defs><linearGradient id="b" x1="193.9" x2="198.7" y1="166.8" y2="223.3" gradientTransform="rotate(5.2 4448.4 -4204.3) scale(2.93671)" gradientUnits="userSpaceOnUse" xlink:href="#a"/><linearGradient id="a"><stop offset="0"/><stop offset="1" stop-color="#fff9f9" stop-opacity="0"/></linearGradient><linearGradient id="c" x1="167.8" x2="270.6" y1="76.9" y2="64.2" gradientTransform="scale(1.50082) rotate(5.2 310 -1365.7)" gradientUnits="userSpaceOnUse" xlink:href="#a"/></defs><g transform="translate(0 41.7)"><path fill="url(#b)" d="M159.6 205.3l154.9 41.5-141.3 44-154.9-42.1z"/><path fill="url(#c)" d="M159.6-35v240.3l154.9 41.5c0-80.1.5-159.3.5-252.7z"/><g fill="none" stroke-width="1.2"><path d="M159.6 204.7V-35.4M159.6 204.7l-141.3 44M159.6 204.7l154.9 41.5"/></g><text style="line-height:1.25;-inkscape-font-specification:'Noto Sans'" x="50.8" y="226" stroke-width=".7" font-family="Noto Sans" font-size="15.2" font-weight="400" letter-spacing="0" transform="skewY(-17.3)" word-spacing="0"><tspan x="50.8" y="226" style="-inkscape-font-specification:'Atkinson Hyperlegible Bold'" font-family="Atkinson Hyperlegible" font-size="136.5" font-weight="700">N</tspan></text><rect width="86.1" height="12.6" x="184.9" y="97.1" fill="#bebebe" ry="2.3" transform="skewY(14.8) scale(.9669 1)"/><path fill="#bebebe" d="M180.8 169l99 26.4c1.2.3 2.1 1.5 2.1 2.7v7.6c0 1.1-.9 1.8-2 1.5l-99.1-26.4c-1.1-.3-2-1.5-2-2.7v-7.6c0-1.1.9-1.9 2-1.6zM180.8 122.3l99 26.5c1.2.3 2.1 1.5 2.1 2.7v7.5c0 1.2-.9 2-2 1.6l-99.1-26.4c-1.1-.3-2-1.5-2-2.7v-7.6c0-1.2.9-1.9 2-1.6z"/></g></svg>
\ No newline at end of file
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 339 339"><defs/><defs><linearGradient id="b" x1="193.9" x2="198.7" y1="166.8" y2="223.3" gradientTransform="rotate(5 4448 -4204) scale(2.93671)" gradientUnits="userSpaceOnUse" xlink:href="#a"/><linearGradient id="a"><stop offset="0"/><stop offset="1" stop-color="#fff9f9" stop-opacity="0"/></linearGradient><linearGradient id="c" x1="167.8" x2="270.6" y1="76.9" y2="64.2" gradientTransform="rotate(5 465 -2050) scale(1.50082)" gradientUnits="userSpaceOnUse" xlink:href="#a"/></defs><g transform="translate(0 42)"><path fill="url(#b)" d="M160 205l154 42-141 44-155-42z"/><path fill="url(#c)" d="M160-35v240l154 42 1-253z"/><path fill="none" stroke-width="1.2" d="M160 205V-35m0 240L18 249m142-44l154 41"/><path d="M84 109l35 54V98l21-7v91l-27 9-35-54v65l-21 6v-91z"/><rect width="86.1" height="12.6" x="185" y="97" fill="#bebebe" ry="2.3" transform="skewY(15) scale(.9669 1)"/><path fill="#bebebe" d="M181 169l99 26 2 3v8c0 1-1 2-2 1l-99-26-2-3v-7c0-2 1-2 2-2zm0-47l99 27 2 2v8l-2 2-99-27c-1 0-2-1-2-3v-7l2-2z"/></g></svg>
\ No newline at end of file