deploy to github pages maybe?

This commit is contained in:
Spectralitree 2021-12-12 12:05:24 +01:00
parent 74f4b32238
commit 1ea53dc26d
7 changed files with 73 additions and 17 deletions

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
.modal-open,.overflow-noscroll{overflow:hidden;padding-right:0}svg.svelte-c8tyih{stroke:currentColor;fill:currentColor;stroke-width:0;width:100%;height:auto;max-height:100%}label.svelte-1y1be9d{display:block;margin-bottom:.25rem;font-size:.75rem}.hideLabel.svelte-1y1be9d{position:absolute;height:1px;width:1px;overflow:hidden;clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px);white-space:nowrap}button.svelte-1y1be9d{position:relative;padding:0 .25rem;border:0;border-radius:1rem;height:1.25rem;width:2.5rem;font:inherit;color:inherit;line-height:inherit}button.svelte-1y1be9d:not([disabled]){cursor:pointer}button[disabled].svelte-1y1be9d{cursor:not-allowed;opacity:.6}button.svelte-1y1be9d:before{position:absolute;content:"";top:0;bottom:0;left:.125rem;margin:auto;height:1rem;width:1rem;text-align:center;border-radius:50%;background-color:currentColor;transition:transform .15s ease-out}button[aria-checked=true].svelte-1y1be9d:before{transform:translate(1.25rem)}button.small.svelte-1y1be9d{height:1rem;width:1.75rem}button.small.svelte-1y1be9d:before{height:.75rem;width:.75rem}button.small[aria-checked=true].svelte-1y1be9d:before{transform:translate(.75rem)}div.svelte-1y1be9d{display:flex;align-items:center}span.svelte-1y1be9d{margin-left:.5rem}

File diff suppressed because one or more lines are too long

18
docs/index.html Normal file
View File

@ -0,0 +1,18 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="./myriad.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>pk-webs | home</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-dark-5@1.1.3/dist/css/bootstrap-night.min.css" />
<link rel="stylesheet" href="https://spectralitree.github.io/pk-webs-svelte/style.css" />
<script type="module" crossorigin src="/assets/index.bc73ad21.js"></script>
<link rel="modulepreload" href="/assets/vendor.a3039f12.js">
<link rel="stylesheet" href="/assets/vendor.484ba9db.css">
</head>
<body>
<div id="app"></div>
</body>
</html>

BIN
docs/myriad.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 KiB

View File

@ -1,16 +0,0 @@
var ghpages = require('gh-pages');
ghpages.publish(
'public', // path to public directory
{
branch: 'gh-pages',
repo: 'https://github.com/Spectralitree/pk-webs-svelte.git', // Update to point to your repository
user: {
name: 'Spectralitree', // update to use your name
email: 'spectralitree@gmail.com' // Update to use your email
}
},
() => {
console.log('Deploy Complete!')
}
)

View File

@ -4,5 +4,8 @@ import { svelte } from '@sveltejs/vite-plugin-svelte'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [svelte()],
optimizeDeps: { exclude: ["svelte-navigator"] }
optimizeDeps: { exclude: ["svelte-navigator"] },
build: {
outDir: "docs"
}
})