create-vike 0.0.3 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -54
- package/readme.md +3 -0
- package/README.md +0 -30
- package/create-vike.js +0 -2
- package/dist/index.js +0 -405
- package/files/js/react/pages/about/index.page.jsx +0 -13
- package/files/js/react/pages/index/Counter.jsx +0 -12
- package/files/js/react/pages/index/index.page.jsx +0 -19
- package/files/js/react/renderer/Link.jsx +0 -15
- package/files/js/react/renderer/PageWrapper.jsx +0 -89
- package/files/js/react/renderer/_default.page.client.jsx +0 -19
- package/files/js/react/renderer/_default.page.server.jsx +0 -47
- package/files/js/react/renderer/_error.page.jsx +0 -21
- package/files/js/react/renderer/usePageContext.jsx +0 -18
- package/files/js/react+client-router/renderer/_default.page.client.jsx +0 -43
- package/files/js/react+client-router/renderer/types.js +0 -1
- package/files/js/vike/server/index.js +0 -40
- package/files/js/vue/pages/about/index.page.vue +0 -11
- package/files/js/vue/pages/index/Counter.vue +0 -10
- package/files/js/vue/pages/index/index.page.vue +0 -12
- package/files/js/vue/renderer/Link.vue +0 -17
- package/files/js/vue/renderer/PageWrapper.vue +0 -55
- package/files/js/vue/renderer/_default.page.client.js +0 -12
- package/files/js/vue/renderer/_default.page.server.js +0 -41
- package/files/js/vue/renderer/_error.page.vue +0 -14
- package/files/js/vue/renderer/app.js +0 -29
- package/files/js/vue/renderer/usePageContext.js +0 -18
- package/files/js/vue+client-router/renderer/_default.page.client.js +0 -23
- package/files/js/vue+client-router/renderer/app.js +0 -36
- package/files/js/vue+client-router/renderer/types.js +0 -1
- package/files/shared/.prettierrc +0 -1
- package/files/shared/react/pages/about/index.css +0 -4
- package/files/shared/react/renderer/PageWrapper.css +0 -19
- package/files/shared/vike/_gitignore +0 -121
- package/files/shared/vike/renderer/logo.svg +0 -36
- package/files/ts/react/pages/about/index.page.tsx +0 -13
- package/files/ts/react/pages/index/Counter.tsx +0 -12
- package/files/ts/react/pages/index/index.page.tsx +0 -19
- package/files/ts/react/renderer/Link.tsx +0 -19
- package/files/ts/react/renderer/PageWrapper.tsx +0 -96
- package/files/ts/react/renderer/_default.page.client.tsx +0 -21
- package/files/ts/react/renderer/_default.page.server.tsx +0 -49
- package/files/ts/react/renderer/_error.page.tsx +0 -21
- package/files/ts/react/renderer/types.ts +0 -11
- package/files/ts/react/renderer/usePageContext.tsx +0 -25
- package/files/ts/react+client-router/renderer/_default.page.client.tsx +0 -44
- package/files/ts/react+client-router/renderer/types.ts +0 -12
- package/files/ts/vike/server/index.ts +0 -40
- package/files/ts/vue/pages/about/index.page.vue +0 -11
- package/files/ts/vue/pages/index/Counter.vue +0 -10
- package/files/ts/vue/pages/index/index.page.vue +0 -12
- package/files/ts/vue/renderer/Link.vue +0 -17
- package/files/ts/vue/renderer/PageWrapper.vue +0 -55
- package/files/ts/vue/renderer/_default.page.client.ts +0 -14
- package/files/ts/vue/renderer/_default.page.server.ts +0 -43
- package/files/ts/vue/renderer/_error.page.vue +0 -14
- package/files/ts/vue/renderer/app.ts +0 -30
- package/files/ts/vue/renderer/types.ts +0 -10
- package/files/ts/vue/renderer/usePageContext.ts +0 -20
- package/files/ts/vue/vue.d.ts +0 -4
- package/files/ts/vue+client-router/renderer/_default.page.client.ts +0 -24
- package/files/ts/vue+client-router/renderer/app.ts +0 -37
- package/files/ts/vue+client-router/renderer/types.ts +0 -11
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import ReactDOMServer from "react-dom/server";
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { PageWrapper } from "./PageWrapper";
|
|
4
|
-
import { escapeInject, dangerouslySkipEscape } from "vite-plugin-ssr";
|
|
5
|
-
import logoUrl from "./logo.svg";
|
|
6
|
-
|
|
7
|
-
export { render };
|
|
8
|
-
|
|
9
|
-
// See https://vite-plugin-ssr.com/data-fetching
|
|
10
|
-
export const passToClient = ["pageProps", "urlPathname"];
|
|
11
|
-
|
|
12
|
-
async function render(pageContext) {
|
|
13
|
-
const { Page, pageProps } = pageContext;
|
|
14
|
-
const pageHtml = ReactDOMServer.renderToString(
|
|
15
|
-
<PageWrapper pageContext={pageContext}>
|
|
16
|
-
<Page {...pageProps} />
|
|
17
|
-
</PageWrapper>
|
|
18
|
-
);
|
|
19
|
-
|
|
20
|
-
// See https://vite-plugin-ssr.com/html-head
|
|
21
|
-
const { documentProps } = pageContext;
|
|
22
|
-
const title = (documentProps && documentProps.title) || "Vite SSR app";
|
|
23
|
-
const desc =
|
|
24
|
-
(documentProps && documentProps.description) ||
|
|
25
|
-
"App using Vite + vite-plugin-ssr";
|
|
26
|
-
|
|
27
|
-
const documentHtml = escapeInject`<!DOCTYPE html>
|
|
28
|
-
<html lang="en">
|
|
29
|
-
<head>
|
|
30
|
-
<meta charset="UTF-8" />
|
|
31
|
-
<link rel="icon" href="${logoUrl}" />
|
|
32
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
33
|
-
<meta name="description" content="${desc}" />
|
|
34
|
-
<title>${title}</title>
|
|
35
|
-
</head>
|
|
36
|
-
<body>
|
|
37
|
-
<div id="page-view">${dangerouslySkipEscape(pageHtml)}</div>
|
|
38
|
-
</body>
|
|
39
|
-
</html>`;
|
|
40
|
-
|
|
41
|
-
return {
|
|
42
|
-
documentHtml,
|
|
43
|
-
pageContext: {
|
|
44
|
-
// We can add some `pageContext` here, which is useful if we want to do page redirection https://vite-plugin-ssr.com/page-redirection
|
|
45
|
-
},
|
|
46
|
-
};
|
|
47
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
|
|
3
|
-
export { Page };
|
|
4
|
-
|
|
5
|
-
function Page({ is404 }) {
|
|
6
|
-
if (is404) {
|
|
7
|
-
return (
|
|
8
|
-
<>
|
|
9
|
-
<h1>404 Page Not Found</h1>
|
|
10
|
-
<p>This page could not be found.</p>
|
|
11
|
-
</>
|
|
12
|
-
);
|
|
13
|
-
} else {
|
|
14
|
-
return (
|
|
15
|
-
<>
|
|
16
|
-
<h1>500 Internal Server Error</h1>
|
|
17
|
-
<p>Something went wrong.</p>
|
|
18
|
-
</>
|
|
19
|
-
);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// `usePageContext` allows us to access `pageContext` in any React component.
|
|
2
|
-
// More infos: https://vite-plugin-ssr.com/pageContext-anywhere
|
|
3
|
-
|
|
4
|
-
import React, { useContext } from "react";
|
|
5
|
-
|
|
6
|
-
export { PageContextProvider };
|
|
7
|
-
export { usePageContext };
|
|
8
|
-
|
|
9
|
-
const Context = React.createContext(undefined);
|
|
10
|
-
|
|
11
|
-
function PageContextProvider({ pageContext, children }) {
|
|
12
|
-
return <Context.Provider value={pageContext}>{children}</Context.Provider>;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
function usePageContext() {
|
|
16
|
-
const pageContext = useContext(Context);
|
|
17
|
-
return pageContext;
|
|
18
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import ReactDOM from "react-dom";
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { useClientRouter } from "vite-plugin-ssr/client/router";
|
|
4
|
-
import { PageWrapper } from "./PageWrapper";
|
|
5
|
-
|
|
6
|
-
useClientRouter({
|
|
7
|
-
async render(pageContext) {
|
|
8
|
-
if (pageContext.isHydration) {
|
|
9
|
-
// When we render the first page. (Since we do SSR, the first page is already
|
|
10
|
-
// rendered to HTML and we merely have to hydrate it.)
|
|
11
|
-
const { Page, pageProps } = pageContext;
|
|
12
|
-
ReactDOM.hydrate(
|
|
13
|
-
<PageWrapper pageContext={pageContext}>
|
|
14
|
-
<Page {...pageProps} />
|
|
15
|
-
</PageWrapper>,
|
|
16
|
-
document.getElementById("page-view")
|
|
17
|
-
);
|
|
18
|
-
} else {
|
|
19
|
-
// When the user navigates to a new page.
|
|
20
|
-
const { Page, pageProps } = pageContext;
|
|
21
|
-
ReactDOM.render(
|
|
22
|
-
<PageWrapper pageContext={pageContext}>
|
|
23
|
-
<Page {...pageProps} />
|
|
24
|
-
</PageWrapper>,
|
|
25
|
-
document.getElementById("page-view")
|
|
26
|
-
);
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
|
|
30
|
-
ensureHydration: true,
|
|
31
|
-
|
|
32
|
-
prefetchLinks: true,
|
|
33
|
-
|
|
34
|
-
onTransitionStart() {
|
|
35
|
-
// Page transition started
|
|
36
|
-
},
|
|
37
|
-
|
|
38
|
-
onTransitionEnd() {
|
|
39
|
-
// Page transition ended
|
|
40
|
-
},
|
|
41
|
-
}).hydrationPromise.then(() => {
|
|
42
|
-
// Hydration finished; page is now interactive
|
|
43
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
const express = require("express");
|
|
2
|
-
const { createPageRenderer } = require("vite-plugin-ssr");
|
|
3
|
-
|
|
4
|
-
const isProduction = process.env.NODE_ENV === "production";
|
|
5
|
-
const root = `${__dirname}/..`;
|
|
6
|
-
|
|
7
|
-
startServer();
|
|
8
|
-
|
|
9
|
-
async function startServer() {
|
|
10
|
-
const app = express();
|
|
11
|
-
|
|
12
|
-
let viteDevServer;
|
|
13
|
-
if (isProduction) {
|
|
14
|
-
app.use(express.static(`${root}/dist/client`));
|
|
15
|
-
} else {
|
|
16
|
-
const vite = require("vite");
|
|
17
|
-
viteDevServer = await vite.createServer({
|
|
18
|
-
root,
|
|
19
|
-
server: { middlewareMode: true },
|
|
20
|
-
});
|
|
21
|
-
app.use(viteDevServer.middlewares);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
const renderPage = createPageRenderer({ viteDevServer, isProduction, root });
|
|
25
|
-
app.get("*", async (req, res, next) => {
|
|
26
|
-
const url = req.originalUrl;
|
|
27
|
-
const pageContextInit = {
|
|
28
|
-
url,
|
|
29
|
-
};
|
|
30
|
-
const pageContext = await renderPage(pageContextInit);
|
|
31
|
-
const { httpResponse } = pageContext;
|
|
32
|
-
if (!httpResponse) return next();
|
|
33
|
-
const { statusCode, body } = httpResponse;
|
|
34
|
-
res.status(statusCode).send(body);
|
|
35
|
-
});
|
|
36
|
-
|
|
37
|
-
const port = process.env.PORT || 3000;
|
|
38
|
-
app.listen(port);
|
|
39
|
-
console.log(`Server running at http://localhost:${port}`);
|
|
40
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<a :class="{ active: pageContext.urlPathname === $attrs.href }">
|
|
3
|
-
<slot />
|
|
4
|
-
</a>
|
|
5
|
-
</template>
|
|
6
|
-
<style scoped>
|
|
7
|
-
a {
|
|
8
|
-
padding: 3px 10px;
|
|
9
|
-
}
|
|
10
|
-
a.active {
|
|
11
|
-
background-color: #eee;
|
|
12
|
-
}
|
|
13
|
-
</style>
|
|
14
|
-
<script setup>
|
|
15
|
-
import { usePageContext } from "./usePageContext";
|
|
16
|
-
const pageContext = usePageContext();
|
|
17
|
-
</script>
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="layout">
|
|
3
|
-
<div class="navigation">
|
|
4
|
-
<a href="/" class="logo">
|
|
5
|
-
<img src="./logo.svg" height="64" width="64" alt="logo" />
|
|
6
|
-
</a>
|
|
7
|
-
<Link href="/">Home</Link>
|
|
8
|
-
<Link href="/about">About</Link>
|
|
9
|
-
</div>
|
|
10
|
-
<div class="content"><slot /></div>
|
|
11
|
-
</div>
|
|
12
|
-
</template>
|
|
13
|
-
|
|
14
|
-
<script setup>
|
|
15
|
-
import Link from "./Link.vue";
|
|
16
|
-
</script>
|
|
17
|
-
|
|
18
|
-
<style>
|
|
19
|
-
body {
|
|
20
|
-
margin: 0;
|
|
21
|
-
font-family: sans-serif;
|
|
22
|
-
}
|
|
23
|
-
* {
|
|
24
|
-
box-sizing: border-box;
|
|
25
|
-
}
|
|
26
|
-
a {
|
|
27
|
-
text-decoration: none;
|
|
28
|
-
}
|
|
29
|
-
</style>
|
|
30
|
-
|
|
31
|
-
<style scoped>
|
|
32
|
-
.layout {
|
|
33
|
-
display: flex;
|
|
34
|
-
max-width: 900px;
|
|
35
|
-
margin: auto;
|
|
36
|
-
}
|
|
37
|
-
.content {
|
|
38
|
-
padding: 20px;
|
|
39
|
-
border-left: 2px solid #eee;
|
|
40
|
-
padding-bottom: 50px;
|
|
41
|
-
min-height: 100vh;
|
|
42
|
-
}
|
|
43
|
-
.navigation {
|
|
44
|
-
padding: 20px;
|
|
45
|
-
flex-shrink: 0;
|
|
46
|
-
display: flex;
|
|
47
|
-
flex-direction: column;
|
|
48
|
-
align-items: center;
|
|
49
|
-
line-height: 1.8em;
|
|
50
|
-
}
|
|
51
|
-
.logo {
|
|
52
|
-
margin-top: 20px;
|
|
53
|
-
margin-bottom: 10px;
|
|
54
|
-
}
|
|
55
|
-
</style>
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { getPage } from "vite-plugin-ssr/client";
|
|
2
|
-
import { createApp } from "./app";
|
|
3
|
-
|
|
4
|
-
hydrate();
|
|
5
|
-
|
|
6
|
-
async function hydrate() {
|
|
7
|
-
// We do Server Routing, but we can also do Client Routing by using `useClientRouter()`
|
|
8
|
-
// instead of `getPage()`, see https://vite-plugin-ssr.com/useClientRouter
|
|
9
|
-
const pageContext = await getPage();
|
|
10
|
-
const app = createApp(pageContext);
|
|
11
|
-
app.mount("#app");
|
|
12
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { renderToString } from "@vue/server-renderer";
|
|
2
|
-
import { escapeInject, dangerouslySkipEscape } from "vite-plugin-ssr";
|
|
3
|
-
import { createApp } from "./app";
|
|
4
|
-
import logoUrl from "./logo.svg";
|
|
5
|
-
|
|
6
|
-
export { render };
|
|
7
|
-
// See https://vite-plugin-ssr.com/data-fetching
|
|
8
|
-
export const passToClient = ["pageProps", "urlPathname"];
|
|
9
|
-
|
|
10
|
-
async function render(pageContext) {
|
|
11
|
-
const app = createApp(pageContext);
|
|
12
|
-
const appHtml = await renderToString(app);
|
|
13
|
-
|
|
14
|
-
// See https://vite-plugin-ssr.com/html-head
|
|
15
|
-
const { documentProps } = pageContext;
|
|
16
|
-
const title = (documentProps && documentProps.title) || "Vite SSR app";
|
|
17
|
-
const desc =
|
|
18
|
-
(documentProps && documentProps.description) ||
|
|
19
|
-
"App using Vite + vite-plugin-ssr";
|
|
20
|
-
|
|
21
|
-
const documentHtml = escapeInject`<!DOCTYPE html>
|
|
22
|
-
<html lang="en">
|
|
23
|
-
<head>
|
|
24
|
-
<meta charset="UTF-8" />
|
|
25
|
-
<link rel="icon" href="${logoUrl}" />
|
|
26
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
27
|
-
<meta name="description" content="${desc}" />
|
|
28
|
-
<title>${title}</title>
|
|
29
|
-
</head>
|
|
30
|
-
<body>
|
|
31
|
-
<div id="app">${dangerouslySkipEscape(appHtml)}</div>
|
|
32
|
-
</body>
|
|
33
|
-
</html>`;
|
|
34
|
-
|
|
35
|
-
return {
|
|
36
|
-
documentHtml,
|
|
37
|
-
pageContext: {
|
|
38
|
-
// We can add some `pageContext` here, which is useful if we want to do page redirection https://vite-plugin-ssr.com/page-redirection
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div v-if="is404">
|
|
3
|
-
<h1>404 Page Not Found</h1>
|
|
4
|
-
<p>This page could not be found.</p>
|
|
5
|
-
</div>
|
|
6
|
-
<div v-else>
|
|
7
|
-
<h1>500 Internal Server Error</h1>
|
|
8
|
-
<p>Something went wrong.</p>
|
|
9
|
-
</div>
|
|
10
|
-
</template>
|
|
11
|
-
|
|
12
|
-
<script setup>
|
|
13
|
-
defineProps(["is404"]);
|
|
14
|
-
</script>
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { createSSRApp, h } from "vue";
|
|
2
|
-
import PageWrapper from "./PageWrapper.vue";
|
|
3
|
-
import { setPageContext } from "./usePageContext";
|
|
4
|
-
|
|
5
|
-
export { createApp };
|
|
6
|
-
|
|
7
|
-
function createApp(pageContext) {
|
|
8
|
-
const { Page, pageProps } = pageContext;
|
|
9
|
-
const PageWithLayout = {
|
|
10
|
-
render() {
|
|
11
|
-
return h(
|
|
12
|
-
PageWrapper,
|
|
13
|
-
{},
|
|
14
|
-
{
|
|
15
|
-
default() {
|
|
16
|
-
return h(Page, pageProps || {});
|
|
17
|
-
},
|
|
18
|
-
}
|
|
19
|
-
);
|
|
20
|
-
},
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
const app = createSSRApp(PageWithLayout);
|
|
24
|
-
|
|
25
|
-
// Make `pageContext` available from any Vue component
|
|
26
|
-
setPageContext(app, pageContext);
|
|
27
|
-
|
|
28
|
-
return app;
|
|
29
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// Hook `usePageContext()` to make `pageContext` available from any Vue component.
|
|
2
|
-
// See https://vite-plugin-ssr.com/pageContext-anywhere
|
|
3
|
-
|
|
4
|
-
import { inject } from "vue";
|
|
5
|
-
|
|
6
|
-
export { usePageContext };
|
|
7
|
-
export { setPageContext };
|
|
8
|
-
|
|
9
|
-
const key = Symbol();
|
|
10
|
-
|
|
11
|
-
function usePageContext() {
|
|
12
|
-
const pageContext = inject(key);
|
|
13
|
-
return pageContext;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
function setPageContext(app, pageContext) {
|
|
17
|
-
app.provide(key, pageContext);
|
|
18
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { useClientRouter } from "vite-plugin-ssr/client/router";
|
|
2
|
-
import { createApp } from "./app";
|
|
3
|
-
|
|
4
|
-
useClientRouter({
|
|
5
|
-
async render(pageContext) {
|
|
6
|
-
const app = createApp(pageContext);
|
|
7
|
-
app.mount("#app");
|
|
8
|
-
},
|
|
9
|
-
|
|
10
|
-
ensureHydration: true,
|
|
11
|
-
|
|
12
|
-
prefetchLinks: true,
|
|
13
|
-
|
|
14
|
-
onTransitionStart() {
|
|
15
|
-
// Page transition started
|
|
16
|
-
},
|
|
17
|
-
|
|
18
|
-
onTransitionEnd() {
|
|
19
|
-
// Page transition ended
|
|
20
|
-
},
|
|
21
|
-
}).hydrationPromise.then(() => {
|
|
22
|
-
// Hydration finished; page is now interactive
|
|
23
|
-
});
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
createApp as createVueApp,
|
|
3
|
-
createSSRApp,
|
|
4
|
-
defineComponent,
|
|
5
|
-
h,
|
|
6
|
-
} from "vue";
|
|
7
|
-
import PageWrapper from "./PageWrapper.vue";
|
|
8
|
-
import { setPageContext } from "./usePageContext";
|
|
9
|
-
|
|
10
|
-
export { createApp };
|
|
11
|
-
|
|
12
|
-
function createApp(pageContext) {
|
|
13
|
-
const { Page, pageProps } = pageContext;
|
|
14
|
-
const PageWithLayout = defineComponent({
|
|
15
|
-
render() {
|
|
16
|
-
return h(
|
|
17
|
-
PageWrapper,
|
|
18
|
-
{},
|
|
19
|
-
{
|
|
20
|
-
default() {
|
|
21
|
-
return h(Page, pageProps || {});
|
|
22
|
-
},
|
|
23
|
-
}
|
|
24
|
-
);
|
|
25
|
-
},
|
|
26
|
-
});
|
|
27
|
-
|
|
28
|
-
const app = pageContext.isHydration
|
|
29
|
-
? createSSRApp(PageWithLayout)
|
|
30
|
-
: createVueApp(PageWithLayout);
|
|
31
|
-
|
|
32
|
-
// Make `pageContext` available from any Vue component
|
|
33
|
-
setPageContext(app, pageContext);
|
|
34
|
-
|
|
35
|
-
return app;
|
|
36
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/files/shared/.prettierrc
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/* This CSS is common to all pages */
|
|
2
|
-
|
|
3
|
-
body {
|
|
4
|
-
margin: 0;
|
|
5
|
-
font-family: sans-serif;
|
|
6
|
-
}
|
|
7
|
-
* {
|
|
8
|
-
box-sizing: border-box;
|
|
9
|
-
}
|
|
10
|
-
a {
|
|
11
|
-
text-decoration: none;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.navitem {
|
|
15
|
-
padding: 3px 10px;
|
|
16
|
-
}
|
|
17
|
-
.navitem.is-active {
|
|
18
|
-
background-color: #eee;
|
|
19
|
-
}
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
# Logs
|
|
2
|
-
logs
|
|
3
|
-
*.log
|
|
4
|
-
npm-debug.log*
|
|
5
|
-
yarn-debug.log*
|
|
6
|
-
yarn-error.log*
|
|
7
|
-
lerna-debug.log*
|
|
8
|
-
.pnpm-debug.log*
|
|
9
|
-
|
|
10
|
-
# Diagnostic reports (https://nodejs.org/api/report.html)
|
|
11
|
-
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
|
|
12
|
-
|
|
13
|
-
# Runtime data
|
|
14
|
-
pids
|
|
15
|
-
*.pid
|
|
16
|
-
*.seed
|
|
17
|
-
*.pid.lock
|
|
18
|
-
|
|
19
|
-
# Directory for instrumented libs generated by jscoverage/JSCover
|
|
20
|
-
lib-cov
|
|
21
|
-
|
|
22
|
-
# Coverage directory used by tools like istanbul
|
|
23
|
-
coverage
|
|
24
|
-
*.lcov
|
|
25
|
-
|
|
26
|
-
# nyc test coverage
|
|
27
|
-
.nyc_output
|
|
28
|
-
|
|
29
|
-
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
|
|
30
|
-
.grunt
|
|
31
|
-
|
|
32
|
-
# Bower dependency directory (https://bower.io/)
|
|
33
|
-
bower_components
|
|
34
|
-
|
|
35
|
-
# node-waf configuration
|
|
36
|
-
.lock-wscript
|
|
37
|
-
|
|
38
|
-
# Compiled binary addons (https://nodejs.org/api/addons.html)
|
|
39
|
-
build/Release
|
|
40
|
-
|
|
41
|
-
# Dependency directories
|
|
42
|
-
node_modules/
|
|
43
|
-
jspm_packages/
|
|
44
|
-
|
|
45
|
-
# Snowpack dependency directory (https://snowpack.dev/)
|
|
46
|
-
web_modules/
|
|
47
|
-
|
|
48
|
-
# TypeScript cache
|
|
49
|
-
*.tsbuildinfo
|
|
50
|
-
|
|
51
|
-
# Optional npm cache directory
|
|
52
|
-
.npm
|
|
53
|
-
|
|
54
|
-
# Optional eslint cache
|
|
55
|
-
.eslintcache
|
|
56
|
-
|
|
57
|
-
# Microbundle cache
|
|
58
|
-
.rpt2_cache/
|
|
59
|
-
.rts2_cache_cjs/
|
|
60
|
-
.rts2_cache_es/
|
|
61
|
-
.rts2_cache_umd/
|
|
62
|
-
|
|
63
|
-
# Optional REPL history
|
|
64
|
-
.node_repl_history
|
|
65
|
-
|
|
66
|
-
# Output of 'npm pack'
|
|
67
|
-
*.tgz
|
|
68
|
-
|
|
69
|
-
# Yarn Integrity file
|
|
70
|
-
.yarn-integrity
|
|
71
|
-
|
|
72
|
-
# dotenv environment variables file
|
|
73
|
-
.env
|
|
74
|
-
.env.test
|
|
75
|
-
.env.production
|
|
76
|
-
|
|
77
|
-
# parcel-bundler cache (https://parceljs.org/)
|
|
78
|
-
.cache
|
|
79
|
-
.parcel-cache
|
|
80
|
-
|
|
81
|
-
# Next.js build output
|
|
82
|
-
.next
|
|
83
|
-
out
|
|
84
|
-
|
|
85
|
-
# Nuxt.js build / generate output
|
|
86
|
-
.nuxt
|
|
87
|
-
dist
|
|
88
|
-
|
|
89
|
-
# Gatsby files
|
|
90
|
-
.cache/
|
|
91
|
-
# Comment in the public line in if your project uses Gatsby and not Next.js
|
|
92
|
-
# https://nextjs.org/blog/next-9-1#public-directory-support
|
|
93
|
-
# public
|
|
94
|
-
|
|
95
|
-
# vuepress build output
|
|
96
|
-
.vuepress/dist
|
|
97
|
-
|
|
98
|
-
# Serverless directories
|
|
99
|
-
.serverless/
|
|
100
|
-
|
|
101
|
-
# FuseBox cache
|
|
102
|
-
.fusebox/
|
|
103
|
-
|
|
104
|
-
# DynamoDB Local files
|
|
105
|
-
.dynamodb/
|
|
106
|
-
|
|
107
|
-
# TernJS port file
|
|
108
|
-
.tern-port
|
|
109
|
-
|
|
110
|
-
# Stores VSCode versions used for testing VSCode extensions
|
|
111
|
-
.vscode-test
|
|
112
|
-
|
|
113
|
-
# yarn v2
|
|
114
|
-
.yarn/cache
|
|
115
|
-
.yarn/unplugged
|
|
116
|
-
.yarn/build-state.yml
|
|
117
|
-
.yarn/install-state.gz
|
|
118
|
-
.pnp.*
|
|
119
|
-
|
|
120
|
-
# Local files
|
|
121
|
-
*.local
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<svg width="175" height="175" fill="none" version="1.1" viewBox="0 0 175 175" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
|
3
|
-
<metadata>
|
|
4
|
-
<rdf:RDF>
|
|
5
|
-
<cc:Work rdf:about="">
|
|
6
|
-
<dc:format>image/svg+xml</dc:format>
|
|
7
|
-
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
|
|
8
|
-
<dc:title/>
|
|
9
|
-
</cc:Work>
|
|
10
|
-
</rdf:RDF>
|
|
11
|
-
</metadata>
|
|
12
|
-
<defs>
|
|
13
|
-
<linearGradient id="linearGradient880" x1="108.64" x2="115.51" y1="88.726" y2="136.2" gradientTransform="matrix(1.0498 0 0 1.0498 -2.9171 -2.9658)" gradientUnits="userSpaceOnUse">
|
|
14
|
-
<stop stop-color="#ffea83" offset="0"/>
|
|
15
|
-
<stop stop-color="#FFDD35" offset=".083333"/>
|
|
16
|
-
<stop stop-color="#FFA800" offset="1"/>
|
|
17
|
-
</linearGradient>
|
|
18
|
-
<linearGradient id="paint2_linear" x1="48.975" x2="61.299" y1="3.9232" y2="158.04" gradientTransform="translate(-2.832e-5)" gradientUnits="userSpaceOnUse">
|
|
19
|
-
<stop stop-color="#FFEA83" offset="0"/>
|
|
20
|
-
<stop stop-color="#FFDD35" offset=".083333"/>
|
|
21
|
-
<stop stop-color="#FFA800" offset="1"/>
|
|
22
|
-
</linearGradient>
|
|
23
|
-
<linearGradient id="paint0_linear-6" x1="-1.4492" x2="116.62" y1="-5.8123" y2="137.08" gradientTransform="translate(-2.832e-5)" gradientUnits="userSpaceOnUse">
|
|
24
|
-
<stop stop-color="#41D1FF" offset="0"/>
|
|
25
|
-
<stop stop-color="#BD34FE" offset="1"/>
|
|
26
|
-
</linearGradient>
|
|
27
|
-
</defs>
|
|
28
|
-
<circle cx="87.5" cy="87.5" r="87.5" fill="#c4c4c4"/>
|
|
29
|
-
<circle cx="87.5" cy="87.5" r="87.5" fill="url(#paint0_linear-6)"/>
|
|
30
|
-
<g transform="translate(632.92 54.355)" fill="#d38787" stroke-width="1.0614">
|
|
31
|
-
<path d="m-549.75 68.457c-5.7533-3.1217-6.1166-5.2295-6.1166-35.489 0-30.458 0.35464-32.448 6.3339-35.54 3.9943-2.0655 24.279-2.2805 26.735-0.28333 0.89718 0.72974 6.7203 6.6637 12.94 13.187l11.309 11.86v19.575c0 18.473-0.12956 19.74-2.3011 22.5-4.0223 5.1136-7.558 5.8565-27.65 5.8099-14.15-0.03287-19.008-0.40294-21.25-1.6191zm42.473-6.3594c2.27-1.59 2.359-2.2909 2.359-18.575v-16.923h-6.9521c-12.443 0-16.4-4.0845-16.4-16.93v-7.4828h-8.9464c-6.7178 0-9.3619 0.41549-10.614 1.668-2.5031 2.5031-2.5031 55.724 0 58.228 2.4502 2.4502 37.058 2.4636 40.553 0.01609zm-1.8867-42.165c0-0.16422-2.8659-3.1346-6.3686-6.6008l-6.3686-6.3022v4.9328c0 6.3185 1.8955 8.2687 8.0366 8.2687 2.5854 0 4.7007-0.13434 4.7007-0.29859zm-57.57 44.279c-5.6185-3.0486-6.1166-5.593-6.1166-31.243 0-18.891 0.31331-24.063 1.6101-26.571 1.809-3.4981 6.5048-6.3339 10.489-6.3339 2.4847 0 2.5814 0.19984 1.541 3.1843-0.61054 1.7514-1.7457 3.1843-2.5226 3.1843-0.77686 0-2.1631 0.75059-3.0805 1.668-2.4923 2.4923-2.4923 47.244 0 49.736 0.91739 0.9174 2.3036 1.668 3.0805 1.668 0.77688 0 1.912 1.4329 2.5226 3.1843 1.0562 3.0298 0.97108 3.1822-1.7537 3.1418-1.575-0.02331-4.1713-0.75194-5.7694-1.6191zm-16.983-4.2458c-5.4392-2.9512-6.1166-5.9415-6.1166-26.997 0-15.096 0.345-19.878 1.6101-22.325 1.7476-3.3796 6.4758-6.3339 10.137-6.3339 1.8666 0 2.1789 0.44955 1.6594 2.3882-0.35184 1.3135-0.64655 2.7465-0.65453 3.1843-8e-3 0.43784-0.69682 0.79608-1.5308 0.79608-0.83399 0-2.2669 0.75059-3.1843 1.668-2.4767 2.4767-2.4767 38.768 0 41.244 0.91741 0.91739 2.2946 1.668 3.0605 1.668 1.196 0 2.6402 2.995 2.6871 5.5726 0.0241 1.3294-4.5804 0.80962-7.6676-0.8655z" style="mix-blend-mode:lighten"/>
|
|
32
|
-
<path d="m-552.2 68.911c-5.7533-3.1217-6.1166-5.2295-6.1166-35.489 0-30.458 0.35463-32.448 6.3339-35.54 3.9943-2.0655 24.279-2.2805 26.735-0.28333 0.89718 0.72974 6.7203 6.6637 12.94 13.187l11.309 11.86v19.575c0 18.473-0.12957 19.74-2.3011 22.5-4.0223 5.1136-7.558 5.8565-27.65 5.8099-14.15-0.03287-19.008-0.40294-21.25-1.6191zm42.473-6.3594c2.27-1.59 2.359-2.2909 2.359-18.575v-16.923h-6.952c-12.443 0-16.4-4.0845-16.4-16.93v-7.4828h-8.9464c-6.7179 0-9.3619 0.41549-10.614 1.668-2.5031 2.5031-2.5031 55.724 0 58.228 2.4502 2.4502 37.058 2.4636 40.553 0.01609zm-1.8867-42.165c0-0.16422-2.8659-3.1346-6.3686-6.6008l-6.3686-6.3022v4.9328c0 6.3185 1.8955 8.2688 8.0366 8.2688 2.5854 0 4.7007-0.13434 4.7007-0.29859zm-57.57 44.279c-5.6185-3.0486-6.1166-5.593-6.1166-31.243 0-18.891 0.31331-24.063 1.6101-26.571 1.809-3.4981 6.5048-6.3339 10.489-6.3339 2.4847 0 2.5814 0.19984 1.541 3.1843-0.61054 1.7514-1.7457 3.1843-2.5226 3.1843-0.77687 0-2.1631 0.75059-3.0805 1.668-2.4923 2.4923-2.4923 47.244 0 49.736 0.91741 0.91739 2.3036 1.668 3.0805 1.668 0.77686 0 1.912 1.4329 2.5226 3.1843 1.0562 3.0298 0.97107 3.1822-1.7537 3.1418-1.575-0.02331-4.1713-0.75194-5.7694-1.6191zm-16.983-4.2458c-5.4392-2.9512-6.1166-5.9415-6.1166-26.997 0-15.096 0.34502-19.878 1.6101-22.325 1.7476-3.3796 6.4758-6.3339 10.137-6.3339 1.8666 0 2.1789 0.44955 1.6594 2.3882-0.35182 1.3135-0.64653 2.7465-0.65452 3.1843-8e-3 0.43784-0.69683 0.79608-1.5308 0.79608-0.83397 0-2.2669 0.75059-3.1843 1.668-2.4767 2.4767-2.4767 38.768 0 41.245 0.9174 0.91739 2.2946 1.668 3.0605 1.668 1.196 0 2.6402 2.995 2.6871 5.5726 0.0241 1.3294-4.5804 0.80962-7.6676-0.8655z" fill-opacity=".47466" style="mix-blend-mode:lighten"/>
|
|
33
|
-
</g>
|
|
34
|
-
<path d="m128.48 88.913-24.027 4.6784c-0.39475 0.07685-0.68766 0.40944-0.71076 0.80849l-1.4782 24.805c-0.0347 0.58371 0.50497 1.0372 1.0792 0.90602l6.6886-1.5338c0.62676-0.14383 1.1916 0.40419 1.0635 1.0299l-1.9874 9.6702c-0.13438 0.65091 0.48084 1.2073 1.1202 1.0142l4.1322-1.2472c0.64041-0.19317 1.2556 0.36535 1.1202 1.0162l-3.158 15.191c-0.19842 0.95011 1.074 1.4677 1.6042 0.653l0.35485-0.54382 19.578-38.827c0.32755-0.64985-0.23727-1.391-0.95641-1.2535l-6.8849 1.3207c-0.6467 0.12389-1.1979-0.47453-1.0152-1.1034l4.4944-15.482c0.18266-0.63012-0.36955-1.2295-1.0173-1.1034z" fill="url(#linearGradient880)" stroke-width="1.0498"/>
|
|
35
|
-
<rect x="3" y="3" width="169" height="169" rx="84.5" stroke="url(#paint2_linear)" stroke-width="6" style="mix-blend-mode:soft-light"/>
|
|
36
|
-
</svg>
|