Merge pull request #360 from MoritzBru/add-svg-logo

add: svg logo
This commit is contained in:
Pablo Hdez 2024-06-08 18:53:49 +01:00 committed by GitHub
commit 2177ea0982
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 9 additions and 0 deletions

View File

@ -2815,5 +2815,12 @@ export const svgs: iSVG[] = [
category: 'Library',
route: '/library/webcomponents.svg',
url: 'https://www.webcomponents.org/'
},
{
title: "SVG",
category: ["Language", "Design"],
route: "/library/svg.svg",
wordmark: "/library/svg_wordmark.svg",
url: "https://www.w3.org/TR/SVG/"
}
];

1
static/library/svg.svg Normal file
View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 300 300"><g stroke="#000" stroke-width="38.009"><g id="svgstar" transform="translate(150 150)"><path id="svgbar" fill="#ffb13b" d="M-84.149-15.851a22.417 22.417 0 1 0 0 31.702H84.15a22.417 22.417 0 1 0 0-31.702Z"/><use xlink:href="#svgbar" transform="rotate(45)"/><use xlink:href="#svgbar" transform="rotate(90)"/><use xlink:href="#svgbar" transform="rotate(135)"/></g></g><use xlink:href="#svgstar"/></svg>

After

Width:  |  Height:  |  Size: 503 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 300 300"><defs><g id="SVG" fill="#ffffff" transform="matrix(2 0 0 2 40 158)"><path id="S" d="M5.482 31.319A18.27 18.27 0 0 1 .109 18.358C.109 8.232 8.322.024 18.443.024c10.126 0 18.339 8.208 18.339 18.334h-10.74c0-4.194-3.404-7.593-7.599-7.593a7.592 7.592 0 0 0-5.373 12.956h.005c1.375 1.38 2.52 1.779 5.368 2.231 5.066.527 9.648 2.054 12.966 5.372a18.275 18.275 0 0 1 5.373 12.962c0 10.126-8.213 18.339-18.339 18.339C8.322 62.625.109 54.412.109 44.286H10.85c0 4.194 3.399 7.598 7.593 7.598a7.601 7.601 0 0 0 7.599-7.598 7.574 7.574 0 0 0-2.221-5.363h-.005c-1.375-1.375-3.348-1.849-5.373-2.226v-.005c-4.91-.753-9.643-2.054-12.961-5.373Z"/><path id="V" d="m73.452.024-12.97 62.601h-10.74L36.782.024h10.74l7.6 36.663L62.712.024h10.74Z"/><path id="G" d="M91.792 25.952h18.334v18.334h.005c0 10.127-8.213 18.34-18.339 18.34-10.127 0-18.334-8.213-18.334-18.34V18.359h-.005C73.453 8.233 81.665.025 91.792.025c10.121 0 18.334 8.208 18.334 18.334H99.385a7.599 7.599 0 0 0-7.593-7.594 7.596 7.596 0 0 0-7.594 7.594v25.927a7.593 7.593 0 0 0 15.187.005v-7.593h-7.593V25.952Z"/></g></defs><path id="base" fill="#000" d="M8.5 150h283v100c0 23.5-18 41.5-41.5 41.5H50c-23.5 0-41.5-18-41.5-41.5Z"/><g stroke="#000" stroke-width="38.009"><g id="svgstar" transform="translate(150 150)"><path id="svgbar" fill="#ffb13b" d="M-84.149-15.851a22.417 22.417 0 1 0 0 31.702H84.15a22.417 22.417 0 1 0 0-31.702Z"/><use xlink:href="#svgbar" transform="rotate(45)"/><use xlink:href="#svgbar" transform="rotate(90)"/><use xlink:href="#svgbar" transform="rotate(135)"/></g></g><use xlink:href="#svgstar"/><use xlink:href="#base" opacity=".85"/><use xlink:href="#SVG"/></svg>

After

Width:  |  Height:  |  Size: 1.7 KiB