chore: add favicon and og

This commit is contained in:
Keksi 2023-06-25 11:56:05 +02:00
parent 652b16da77
commit 087a7645a4
7 changed files with 49 additions and 11 deletions

View File

@ -1,17 +1,17 @@
{
"hash": "378ce421",
"browserHash": "d4747d41",
"hash": "2d731a26",
"browserHash": "43dcc101",
"optimized": {
"vue": {
"src": "../../../node_modules/.pnpm/vue@3.3.4/node_modules/vue/dist/vue.runtime.esm-bundler.js",
"src": "../../../node_modules/vue/dist/vue.runtime.esm-bundler.js",
"file": "vue.js",
"fileHash": "a4a3eeca",
"fileHash": "c5068e89",
"needsInterop": false
},
"@theme/index": {
"src": "../../../node_modules/.pnpm/vitepress@1.0.0-beta.2_@algolia+client-search@4.17.2_search-insights@2.6.0/node_modules/vitepress/dist/client/theme-default/index.js",
"file": "@theme_index.js",
"fileHash": "6822beba",
"fileHash": "5cd9a7b3",
"needsInterop": false
}
},

View File

@ -1,4 +1,4 @@
// node_modules/.pnpm/@vue+shared@3.3.4/node_modules/@vue/shared/dist/shared.esm-bundler.js
// node_modules/@vue/shared/dist/shared.esm-bundler.js
function makeMap(str, expectsLowerCase) {
const map2 = /* @__PURE__ */ Object.create(null);
const list = str.split(",");
@ -256,7 +256,7 @@ var replacer = (_key, val) => {
return val;
};
// node_modules/.pnpm/@vue+reactivity@3.3.4/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js
// node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js
function warn(msg, ...args) {
console.warn(`[Vue warn] ${msg}`, ...args);
}
@ -1410,7 +1410,7 @@ function computed(getterOrOptions, debugOptions, isSSR = false) {
}
var tick = Promise.resolve();
// node_modules/.pnpm/@vue+runtime-core@3.3.4/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js
// node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js
var stack = [];
function pushWarningContext(vnode) {
stack.push(vnode);
@ -9125,7 +9125,7 @@ var ssrUtils = _ssrUtils;
var resolveFilter = null;
var compatUtils = null;
// node_modules/.pnpm/@vue+runtime-dom@3.3.4/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js
// node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js
var svgNS = "http://www.w3.org/2000/svg";
var doc = typeof document !== "undefined" ? document : null;
var templateContainer = doc && doc.createElement("template");
@ -10619,7 +10619,7 @@ var initDirectivesForSSR = () => {
}
};
// node_modules/.pnpm/vue@3.3.4/node_modules/vue/dist/vue.runtime.esm-bundler.js
// node_modules/vue/dist/vue.runtime.esm-bundler.js
function initDev() {
{
initCustomFormatter();

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,26 @@
import { defineConfig } from 'vitepress'
const ogUrl = 'https://lona.js.org/'
const ogImage = `${ogUrl}og.png#1`
const title = 'LonaDB'
const description = 'JSON based Database written in JavaScript'
// https://vitepress.dev/reference/site-config
export default defineConfig({
head: [
['link', { rel: 'icon', href: '/favicon.svg', type: 'image/svg+xml' }],
['link', { rel: 'alternate icon', href: '/favicon.ico', type: 'image/png', sizes: '16x16' }],
['meta', { name: 'author', content: 'Keksi' }],
['meta', { property: 'og:type', content: 'website' }],
['meta', { name: 'og:title', content: title }],
['meta', { name: 'og:description', content: description }],
['meta', { property: 'og:image', content: ogImage }],
['meta', { name: 'twitter:title', content: title }],
['meta', { name: 'twitter:card', content: 'summary_large_image' }],
['meta', { name: 'twitter:image', content: ogImage }],
['meta', { name: 'twitter:site', content: '@keksiqc' }],
['meta', { name: 'twitter:url', content: ogUrl }],
],
title: "LonaDB",
description: "JSON based Database written in JavaScript",
themeConfig: {

BIN
public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

19
public/favicon.svg Normal file
View File

@ -0,0 +1,19 @@
<svg width="512" height="512" viewBox="0 0 512 512" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_1_58)">
<rect x="237.714" width="36.5714" height="73.1429" rx="18.2857" fill="#4ADE80"/>
<rect x="202.68" y="411.892" width="36.5714" height="329.143" rx="18.2857" transform="rotate(-155 202.68 411.892)" fill="#4ADE80"/>
<rect x="237.714" y="438.857" width="36.5714" height="73.1429" rx="18.2857" fill="#4ADE80"/>
<rect x="438.857" y="237.714" width="73.1429" height="36.5714" rx="18.2857" fill="#4ADE80"/>
<rect x="376" y="110.006" width="73.1429" height="36.5714" rx="18.2857" transform="rotate(-45 376 110.006)" fill="#4ADE80"/>
<rect x="58.2859" y="427.72" width="73.1429" height="36.5714" rx="18.2857" transform="rotate(-45 58.2859 427.72)" fill="#4ADE80"/>
<rect x="110.006" y="135.865" width="73.1429" height="36.5714" rx="18.2857" transform="rotate(-135 110.006 135.865)" fill="#4ADE80"/>
<rect x="427.72" y="453.58" width="73.1429" height="36.5714" rx="18.2857" transform="rotate(-135 427.72 453.58)" fill="#4ADE80"/>
<rect y="219.429" width="73.1429" height="36.5714" rx="18.2857" fill="#4ADE80"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M174.821 363.077C172.157 368.79 164.92 370.652 160.159 366.52C129.256 339.699 109.714 300.132 109.714 256C109.714 175.209 175.208 109.714 256 109.714C263.849 109.714 271.554 110.333 279.069 111.523C285.294 112.509 288.519 119.25 285.855 124.963L282.438 132.291C280.494 136.461 275.959 138.721 271.396 138.131C266.356 137.479 261.217 137.143 256 137.143C190.357 137.143 137.143 190.357 137.143 256C137.143 290.64 151.961 321.819 175.605 343.543C178.994 346.657 180.179 351.586 178.234 355.757L174.821 363.077ZM227.712 379.455C229.681 375.232 234.3 372.974 238.912 373.638C244.492 374.441 250.197 374.857 256 374.857C321.643 374.857 374.857 321.643 374.857 256C374.857 220.746 359.508 189.076 335.128 167.309C331.652 164.206 330.412 159.214 332.381 154.991L335.771 147.721C338.414 142.054 345.568 140.164 350.345 144.199C382.111 171.033 402.286 211.161 402.286 256C402.286 336.791 336.791 402.286 256 402.286C247.472 402.286 239.114 401.556 230.986 400.156C224.825 399.094 221.676 392.399 224.318 386.733L227.712 379.455Z" fill="#4ADE80"/>
</g>
<defs>
<clipPath id="clip0_1_58">
<rect width="512" height="512" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
public/og.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB