Add Svelte app boilerplate (#27)
* Add Svelte app boilerplate * Delete www folder * Web app setup * Fix vector images * README
No files matched your search
@@ -4,3 +4,4 @@ node_modules
|
|||||||
.vscode/.env
|
.vscode/.env
|
||||||
**/roku_modules/**
|
**/roku_modules/**
|
||||||
release/playlet.zip
|
release/playlet.zip
|
||||||
|
src/www
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
"stopDebuggerOnAppExit": false,
|
"stopDebuggerOnAppExit": false,
|
||||||
"rootDir": "${workspaceFolder}/dist/build",
|
"rootDir": "${workspaceFolder}/dist/build",
|
||||||
"preLaunchTask": "build-dev",
|
"preLaunchTask": "build-dev",
|
||||||
"name": "Launch playlet (dev)",
|
"name": "Playlet (dev)",
|
||||||
"injectRdbOnDeviceComponent": true
|
"injectRdbOnDeviceComponent": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -26,7 +26,13 @@
|
|||||||
"stopDebuggerOnAppExit": false,
|
"stopDebuggerOnAppExit": false,
|
||||||
"rootDir": "${workspaceFolder}/dist/build",
|
"rootDir": "${workspaceFolder}/dist/build",
|
||||||
"preLaunchTask": "build-prod",
|
"preLaunchTask": "build-prod",
|
||||||
"name": "Launch playlet (prod)"
|
"name": "Playlet (prod)"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "npm run dev:web",
|
||||||
|
"name": "Playlet Web (Dev)",
|
||||||
|
"request": "launch",
|
||||||
|
"type": "node-terminal"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "playlet",
|
"name": "playlet",
|
||||||
"version": "0.4.0",
|
"version": "0.5.0",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "playlet",
|
"name": "playlet",
|
||||||
"version": "0.4.0",
|
"version": "0.5.0",
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"bslib": "npm:@rokucommunity/bslib@^0.1.1",
|
"bslib": "npm:@rokucommunity/bslib@^0.1.1",
|
||||||
|
|||||||
@@ -26,8 +26,10 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"dev:web": "cd playlet-web && npm run dev",
|
||||||
"prebuild": "rm -rf dist",
|
"prebuild": "rm -rf dist",
|
||||||
"build": "bsc",
|
"build:web": "cd playlet-web && npm run build",
|
||||||
|
"build": "npm run build:web && bsc",
|
||||||
"build:dev": "npm run manifest-symbols -- DEBUG=true && npm run build",
|
"build:dev": "npm run manifest-symbols -- DEBUG=true && npm run build",
|
||||||
"build:prod": "npm run manifest-symbols -- DEBUG=false && npm run build -- --sourceMap=false",
|
"build:prod": "npm run manifest-symbols -- DEBUG=false && npm run build -- --sourceMap=false",
|
||||||
"build:release": "npm run format:fix && npm run lint:fix && npm run manifest-version && npm run generate-images && npm run build:prod && npm run zip-package",
|
"build:release": "npm run format:fix && npm run lint:fix && npm run manifest-version && npm run generate-images && npm run build:prod && npm run zip-package",
|
||||||
@@ -41,6 +43,6 @@
|
|||||||
"zip-package": "node scripts/zip-package.js",
|
"zip-package": "node scripts/zip-package.js",
|
||||||
"screenshot": "node scripts/screenshot.js",
|
"screenshot": "node scripts/screenshot.js",
|
||||||
"manifest-symbols": "node scripts/update-manifest-symbols.js",
|
"manifest-symbols": "node scripts/update-manifest-symbols.js",
|
||||||
"postinstall": "npx ropm copy"
|
"postinstall": "npx ropm copy && cd playlet-web && npm install"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
# Logs
|
||||||
|
logs
|
||||||
|
*.log
|
||||||
|
npm-debug.log*
|
||||||
|
yarn-debug.log*
|
||||||
|
yarn-error.log*
|
||||||
|
pnpm-debug.log*
|
||||||
|
lerna-debug.log*
|
||||||
|
|
||||||
|
node_modules
|
||||||
|
dist
|
||||||
|
dist-ssr
|
||||||
|
*.local
|
||||||
|
|
||||||
|
# Editor directories and files
|
||||||
|
.vscode/*
|
||||||
|
!.vscode/extensions.json
|
||||||
|
.idea
|
||||||
|
.DS_Store
|
||||||
|
*.suo
|
||||||
|
*.ntvs*
|
||||||
|
*.njsproj
|
||||||
|
*.sln
|
||||||
|
*.sw?
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"recommendations": ["svelte.svelte-vscode"]
|
||||||
|
}
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
# Playlet web
|
||||||
|
|
||||||
|
This is the Playlet companion web app, which allows the configuration and control of the playlet app.
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
<title>Playlet</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="app"></div>
|
||||||
|
<script type="module" src="/src/main.ts"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
{
|
||||||
|
"name": "playlet-web",
|
||||||
|
"version": "0.5.0",
|
||||||
|
"type": "module",
|
||||||
|
"scripts": {
|
||||||
|
"dev": "vite",
|
||||||
|
"build": "vite build",
|
||||||
|
"preview": "vite preview",
|
||||||
|
"check": "svelte-check --tsconfig ./tsconfig.json"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@sveltejs/vite-plugin-svelte": "^1.1.0",
|
||||||
|
"@tsconfig/svelte": "^3.0.0",
|
||||||
|
"dotenv": "^16.0.3",
|
||||||
|
"internal-ip": "^7.0.0",
|
||||||
|
"svelte": "^3.52.0",
|
||||||
|
"svelte-check": "^2.9.2",
|
||||||
|
"svelte-preprocess": "^4.10.7",
|
||||||
|
"tslib": "^2.4.0",
|
||||||
|
"typescript": "^4.6.4",
|
||||||
|
"vite": "^3.2.3"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
@@ -0,0 +1,34 @@
|
|||||||
|
<script lang="ts">
|
||||||
|
import playletLogo from "./assets/logo-dark.svg";
|
||||||
|
import Counter from "./lib/Counter.svelte";
|
||||||
|
import CurrentInstance from "./lib/CurrentInstance.svelte";
|
||||||
|
import { GetHost } from "./lib/Host";
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<main>
|
||||||
|
<div>
|
||||||
|
<img src={playletLogo} class="logo" alt="Playlet Logo" />
|
||||||
|
</div>
|
||||||
|
<h1>Playlet</h1>
|
||||||
|
|
||||||
|
<div class="card">
|
||||||
|
<Counter />
|
||||||
|
</div>
|
||||||
|
<div class="card">
|
||||||
|
Host: {GetHost()}
|
||||||
|
</div>
|
||||||
|
<div class="card">
|
||||||
|
<CurrentInstance />
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.logo {
|
||||||
|
height: 6em;
|
||||||
|
padding: 1.5em;
|
||||||
|
will-change: filter;
|
||||||
|
}
|
||||||
|
.logo:hover {
|
||||||
|
filter: drop-shadow(0 0 2em #646cffaa);
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -0,0 +1,81 @@
|
|||||||
|
:root {
|
||||||
|
font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
|
||||||
|
font-size: 16px;
|
||||||
|
line-height: 24px;
|
||||||
|
font-weight: 400;
|
||||||
|
|
||||||
|
color-scheme: light dark;
|
||||||
|
color: rgba(255, 255, 255, 0.87);
|
||||||
|
background-color: #242424;
|
||||||
|
|
||||||
|
font-synthesis: none;
|
||||||
|
text-rendering: optimizeLegibility;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
-webkit-text-size-adjust: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
font-weight: 500;
|
||||||
|
color: #646cff;
|
||||||
|
text-decoration: inherit;
|
||||||
|
}
|
||||||
|
a:hover {
|
||||||
|
color: #535bf2;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
margin: 0;
|
||||||
|
display: flex;
|
||||||
|
place-items: center;
|
||||||
|
min-width: 320px;
|
||||||
|
min-height: 100vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 3.2em;
|
||||||
|
line-height: 1.1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card {
|
||||||
|
padding: 2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#app {
|
||||||
|
max-width: 1280px;
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: 2rem;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
border-radius: 8px;
|
||||||
|
border: 1px solid transparent;
|
||||||
|
padding: 0.6em 1.2em;
|
||||||
|
font-size: 1em;
|
||||||
|
font-weight: 500;
|
||||||
|
font-family: inherit;
|
||||||
|
background-color: #1a1a1a;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: border-color 0.25s;
|
||||||
|
}
|
||||||
|
button:hover {
|
||||||
|
border-color: #646cff;
|
||||||
|
}
|
||||||
|
button:focus,
|
||||||
|
button:focus-visible {
|
||||||
|
outline: 4px auto -webkit-focus-ring-color;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-color-scheme: light) {
|
||||||
|
:root {
|
||||||
|
color: #213547;
|
||||||
|
background-color: #ffffff;
|
||||||
|
}
|
||||||
|
a:hover {
|
||||||
|
color: #747bff;
|
||||||
|
}
|
||||||
|
button {
|
||||||
|
background-color: #f9f9f9;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,163 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||||
|
|
||||||
|
<svg
|
||||||
|
width="1920"
|
||||||
|
height="745"
|
||||||
|
viewBox="0 0 508 197.11453"
|
||||||
|
version="1.1"
|
||||||
|
id="svg10011"
|
||||||
|
sodipodi:docname="logo-dark.svg"
|
||||||
|
inkscape:version="1.2.1 (9c6d41e4, 2022-07-14)"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg">
|
||||||
|
<sodipodi:namedview
|
||||||
|
id="namedview34"
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#000000"
|
||||||
|
borderopacity="0.25"
|
||||||
|
inkscape:showpageshadow="2"
|
||||||
|
inkscape:pageopacity="0.0"
|
||||||
|
inkscape:pagecheckerboard="0"
|
||||||
|
inkscape:deskcolor="#d1d1d1"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:zoom="0.21851852"
|
||||||
|
inkscape:cx="748.22034"
|
||||||
|
inkscape:cy="576.61017"
|
||||||
|
inkscape:window-width="1440"
|
||||||
|
inkscape:window-height="758"
|
||||||
|
inkscape:window-x="0"
|
||||||
|
inkscape:window-y="25"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:current-layer="layer1" />
|
||||||
|
<defs
|
||||||
|
id="defs10008">
|
||||||
|
<rect
|
||||||
|
x="180.21565"
|
||||||
|
y="328.72668"
|
||||||
|
width="570.68286"
|
||||||
|
height="243.62486"
|
||||||
|
id="rect418-2-51" />
|
||||||
|
<rect
|
||||||
|
x="180.21565"
|
||||||
|
y="328.72668"
|
||||||
|
width="570.68286"
|
||||||
|
height="243.62486"
|
||||||
|
id="rect418-2-8-2" />
|
||||||
|
<rect
|
||||||
|
x="180.21565"
|
||||||
|
y="328.72668"
|
||||||
|
width="570.68286"
|
||||||
|
height="243.62486"
|
||||||
|
id="rect418-2-53-6" />
|
||||||
|
<rect
|
||||||
|
x="180.21565"
|
||||||
|
y="328.72668"
|
||||||
|
width="570.68286"
|
||||||
|
height="243.62486"
|
||||||
|
id="rect418-2-6-6" />
|
||||||
|
<rect
|
||||||
|
x="180.21565"
|
||||||
|
y="328.72668"
|
||||||
|
width="570.68286"
|
||||||
|
height="243.62486"
|
||||||
|
id="rect418-2-5-5" />
|
||||||
|
<rect
|
||||||
|
x="180.21565"
|
||||||
|
y="328.72668"
|
||||||
|
width="570.68286"
|
||||||
|
height="243.62486"
|
||||||
|
id="rect418-2-1-4" />
|
||||||
|
<rect
|
||||||
|
x="180.21565"
|
||||||
|
y="328.72668"
|
||||||
|
width="570.68286"
|
||||||
|
height="243.62486"
|
||||||
|
id="rect418-2-3-1" />
|
||||||
|
</defs>
|
||||||
|
<g
|
||||||
|
id="layer1"
|
||||||
|
transform="matrix(1.7349039,0,0,1.7349039,-186.21265,-148.69195)">
|
||||||
|
<rect
|
||||||
|
style="fill:#f0f9f2;fill-opacity:1;stroke:none;stroke-width:3.68071;stroke-linejoin:round;stroke-dasharray:none"
|
||||||
|
id="rect8445-7"
|
||||||
|
width="192.9267"
|
||||||
|
height="108.94424"
|
||||||
|
x="109.70631"
|
||||||
|
y="88.402878"
|
||||||
|
rx="20.13974"
|
||||||
|
ry="19.408449" />
|
||||||
|
<g
|
||||||
|
aria-label="P"
|
||||||
|
transform="matrix(1.3208994,0,0,1.3208994,-115.36013,-354.38654)"
|
||||||
|
id="text416-2-13"
|
||||||
|
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-51);display:inline;fill:#ff1c30;stroke-width:1.06591;stroke-linejoin:round">
|
||||||
|
<path
|
||||||
|
d="m 182.08151,397.45387 v -50.02669 h 15.38134 q 4.032,0 7.54134,1.49333 3.50933,1.49334 6.12267,4.18134 2.61333,2.61333 4.10667,6.12267 1.49333,3.50933 1.49333,7.54133 0,3.95734 -1.49333,7.46667 -1.49334,3.50934 -4.10667,6.12267 -2.61334,2.53867 -6.12267,4.03201 -3.50934,1.49333 -7.54134,1.49333 h -8.81067 v 11.57334 z m 6.57067,-18.14401 h 8.81067 q 2.61334,0 4.928,-0.97067 2.31467,-1.04533 4.03201,-2.688 1.71733,-1.71733 2.688,-3.95733 1.04533,-2.31467 1.04533,-4.92801 0,-2.688 -1.04533,-5.00267 -0.97067,-2.31466 -2.688,-4.032 -1.71734,-1.71733 -4.03201,-2.688 -2.31466,-0.97067 -4.928,-0.97067 h -8.81067 z"
|
||||||
|
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
||||||
|
id="path335" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
aria-label="l"
|
||||||
|
transform="matrix(1.3208994,0,0,1.3208994,-65.866935,-354.45042)"
|
||||||
|
id="text416-2-1-4"
|
||||||
|
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-8-2);display:inline;fill:#ff1c30;stroke-width:1.06591;stroke-linejoin:round">
|
||||||
|
<path
|
||||||
|
d="m 189.92152,349.36851 v 48.08536 h -6.27201 v -48.08536 z"
|
||||||
|
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
||||||
|
id="path332" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
aria-label="e"
|
||||||
|
transform="matrix(1.3208994,0,0,1.3208994,87.108046,-354.30193)"
|
||||||
|
id="text416-2-5-8"
|
||||||
|
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-53-6);display:inline;fill:#ff1c30;stroke-width:1.06591;stroke-linejoin:round">
|
||||||
|
<path
|
||||||
|
d="m 216.35353,388.8672 q -3.06134,4.55467 -7.24267,6.64533 -4.10667,2.09067 -8.96001,2.09067 -3.808,0 -7.168,-1.41867 -3.36,-1.49333 -5.824,-3.95733 -2.464,-2.464 -3.95734,-5.824 -1.41867,-3.36001 -1.41867,-7.16801 0,-3.88267 1.41867,-7.24267 1.49334,-3.36 3.95734,-5.824 2.464,-2.53867 5.824,-3.95734 3.36,-1.49333 7.168,-1.49333 4.85334,0 9.10934,2.24 4.33067,2.24 7.46667,6.944 l -21.65334,20.16001 q 1.19466,0.82134 2.98667,1.19467 1.792,0.29867 3.584,0.0747 3.136,-0.37334 5.824,-2.09067 2.76267,-1.792 4.62934,-4.48 z m -28.59735,-10.60267 q -0.224,2.83733 0.74667,5.22666 0.97066,2.38934 2.76267,3.73334 l 17.09867,-16.65067 q -1.41867,-1.71734 -3.808,-2.76267 -2.38934,-1.12 -5.22667,-0.97067 -2.31467,0.14933 -4.33067,1.04533 -2.016,0.896 -3.584,2.46401 -1.49333,1.49333 -2.464,3.50933 -0.97067,2.016 -1.19467,4.40534 z"
|
||||||
|
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
||||||
|
id="path329" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
aria-label="t"
|
||||||
|
transform="matrix(1.3208994,0,0,1.3208994,138.55003,-354.31168)"
|
||||||
|
id="text416-2-59-6"
|
||||||
|
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-6-6);display:inline;fill:#ff1c30;stroke-width:1.06591;stroke-linejoin:round">
|
||||||
|
<path
|
||||||
|
d="m 180.21484,360.71785 h 3.43467 v -11.34934 h 6.34667 v 11.34934 h 6.64534 v 5.22667 h -6.64534 v 20.23468 q 0,2.61333 1.64267,4.256 1.64267,1.568 4.256,1.568 v 5.6 q -6.048,0 -9.184,-2.912 -3.06134,-2.912 -3.06134,-8.512 v -20.23468 h -3.43467 z"
|
||||||
|
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
||||||
|
id="path317" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
aria-label="l"
|
||||||
|
transform="matrix(1.3208994,0,0,1.3208994,69.600141,-354.30583)"
|
||||||
|
id="text416-2-8-1"
|
||||||
|
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-5-5);display:inline;fill:#ff1c30;stroke-width:1.06591;stroke-linejoin:round">
|
||||||
|
<path
|
||||||
|
d="m 189.92152,349.36851 v 48.08536 h -6.27201 v -48.08536 z"
|
||||||
|
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
||||||
|
id="path326" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
aria-label="a"
|
||||||
|
transform="matrix(1.3208994,0,0,1.3208994,-48.469095,-354.51494)"
|
||||||
|
id="text416-2-4-5"
|
||||||
|
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-1-4);display:inline;fill:#ff1c30;stroke-width:1.06591;stroke-linejoin:round">
|
||||||
|
<path
|
||||||
|
d="m 181.85751,379.23519 q 0,-3.88267 1.344,-7.24267 1.344,-3.36 3.584,-5.824 2.31467,-2.53867 5.37601,-3.95734 3.136,-1.49333 6.72,-1.49333 4.256,0 7.76534,2.09067 3.50933,2.016 5.74933,5.45067 v -7.39201 h 6.34667 v 36.58669 h -6.34667 v -7.31734 q -2.24,3.43467 -5.74933,5.45067 -3.50934,2.016 -7.76534,2.016 -3.584,0 -6.72,-1.41867 -3.06134,-1.49333 -5.37601,-3.95733 -2.24,-2.464 -3.584,-5.824 -1.344,-3.36001 -1.344,-7.16801 z m 6.34667,0 q 0,2.464 0.896,4.704 0.97067,2.16534 2.53867,3.80801 1.64267,1.64266 3.808,2.61333 2.24,0.896 4.77867,0.896 2.464,0 4.62934,-0.896 2.24,-0.97067 3.88266,-2.61333 1.64267,-1.64267 2.61334,-3.80801 0.97067,-2.24 0.97067,-4.704 0,-2.464 -0.97067,-4.704 -0.97067,-2.24 -2.61334,-3.88267 -1.64266,-1.64267 -3.88266,-2.61333 -2.16534,-0.97067 -4.62934,-0.97067 -2.53867,0 -4.77867,0.97067 -2.16533,0.97066 -3.808,2.61333 -1.568,1.64267 -2.53867,3.88267 -0.896,2.24 -0.896,4.704 z"
|
||||||
|
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
||||||
|
id="path323" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
aria-label="y"
|
||||||
|
transform="matrix(1.3208994,0,0,1.3208994,9.0695965,-354.11012)"
|
||||||
|
id="text416-2-84-0"
|
||||||
|
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-3-1);display:inline;fill:#ff1c30;stroke-width:1.06591;stroke-linejoin:round">
|
||||||
|
<path
|
||||||
|
d="m 186.56151,360.86718 10.97601,28.07468 10.752,-28.07468 h 6.72001 l -18.74135,47.56269 h -6.272 l 4.256,-10.82667 -14.48534,-36.73602 z"
|
||||||
|
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
||||||
|
id="path320" />
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 8.7 KiB |
@@ -0,0 +1,10 @@
|
|||||||
|
<script lang="ts">
|
||||||
|
let count: number = 0
|
||||||
|
const increment = () => {
|
||||||
|
count += 1
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<button on:click={increment}>
|
||||||
|
count is {count}
|
||||||
|
</button>
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
<script lang="ts">
|
||||||
|
import { onMount } from "svelte";
|
||||||
|
import { GetHost } from "./Host";
|
||||||
|
|
||||||
|
let currentInstance = "N/A";
|
||||||
|
|
||||||
|
onMount(async () => {
|
||||||
|
const response = await fetch(`http://${GetHost()}/api/state`);
|
||||||
|
const state = await response.json();
|
||||||
|
currentInstance = state.invidious.selected_instance;
|
||||||
|
})
|
||||||
|
|
||||||
|
</script>
|
||||||
|
<div>
|
||||||
|
Current Instance: {currentInstance}
|
||||||
|
</div>
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
function GetHost() {
|
||||||
|
const urlSearchParams = new URLSearchParams(window.location.search);
|
||||||
|
return urlSearchParams.get('host') ?? window.location.host
|
||||||
|
}
|
||||||
|
|
||||||
|
export { GetHost }
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
import './app.css'
|
||||||
|
import App from './App.svelte'
|
||||||
|
|
||||||
|
const app = new App({
|
||||||
|
target: document.getElementById('app')
|
||||||
|
})
|
||||||
|
|
||||||
|
export default app
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
/// <reference types="svelte" />
|
||||||
|
/// <reference types="vite/client" />
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
import sveltePreprocess from 'svelte-preprocess'
|
||||||
|
|
||||||
|
export default {
|
||||||
|
// Consult https://github.com/sveltejs/svelte-preprocess
|
||||||
|
// for more information about preprocessors
|
||||||
|
preprocess: sveltePreprocess()
|
||||||
|
}
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"extends": "@tsconfig/svelte/tsconfig.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"target": "ESNext",
|
||||||
|
"useDefineForClassFields": true,
|
||||||
|
"module": "ESNext",
|
||||||
|
"resolveJsonModule": true,
|
||||||
|
/**
|
||||||
|
* Typecheck JS in `.svelte` and `.js` files by default.
|
||||||
|
* Disable checkJs if you'd like to use dynamic types in JS.
|
||||||
|
* Note that setting allowJs false does not prevent the use
|
||||||
|
* of JS in `.svelte` files.
|
||||||
|
*/
|
||||||
|
"allowJs": true,
|
||||||
|
"checkJs": true,
|
||||||
|
"isolatedModules": true
|
||||||
|
},
|
||||||
|
"include": ["src/**/*.d.ts", "src/**/*.ts", "src/**/*.js", "src/**/*.svelte"],
|
||||||
|
"references": [{ "path": "./tsconfig.node.json" }]
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"composite": true,
|
||||||
|
"module": "ESNext",
|
||||||
|
"moduleResolution": "Node"
|
||||||
|
},
|
||||||
|
"include": ["vite.config.ts"]
|
||||||
|
}
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
import { defineConfig } from 'vite'
|
||||||
|
import { svelte } from '@sveltejs/vite-plugin-svelte'
|
||||||
|
import { readFileSync } from 'fs'
|
||||||
|
import { parse as dotEnvParse } from 'dotenv'
|
||||||
|
import { internalIpV4Sync } from 'internal-ip';
|
||||||
|
|
||||||
|
const envVars = dotEnvParse(readFileSync('../.vscode/.env'))
|
||||||
|
|
||||||
|
const PORT = 5173
|
||||||
|
|
||||||
|
// https://vitejs.dev/config/
|
||||||
|
/** @type {import('vite').UserConfig} */
|
||||||
|
export default defineConfig({
|
||||||
|
plugins: [svelte()],
|
||||||
|
build: {
|
||||||
|
outDir: "../src/www",
|
||||||
|
emptyOutDir: true
|
||||||
|
},
|
||||||
|
server: {
|
||||||
|
host: true,
|
||||||
|
port: PORT,
|
||||||
|
open: `http://${internalIpV4Sync()}:${PORT}/?host=${envVars.ROKU_DEV_TARGET}:8888`
|
||||||
|
}
|
||||||
|
})
|
||||||
@@ -1,14 +1,16 @@
|
|||||||
const path = require('path');
|
const path = require('path');
|
||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
|
const { execSync } = require("child_process");
|
||||||
|
|
||||||
const semverParse = require('semver/functions/parse')
|
const semverParse = require('semver/functions/parse')
|
||||||
|
|
||||||
const packageJsonContent = fs.readFileSync("./package.json", {encoding:'utf8', flag:'r'})
|
const packageJsonContent = fs.readFileSync("./package.json", { encoding: 'utf8', flag: 'r' })
|
||||||
const packageJson = JSON.parse(packageJsonContent)
|
const packageJson = JSON.parse(packageJsonContent)
|
||||||
|
|
||||||
const version = packageJson.version
|
const version = packageJson.version
|
||||||
const parsedVersion = semverParse(version)
|
const parsedVersion = semverParse(version)
|
||||||
|
|
||||||
let appManifestContent = fs.readFileSync("./src/manifest", {encoding:'utf8', flag:'r'})
|
let appManifestContent = fs.readFileSync("./src/manifest", { encoding: 'utf8', flag: 'r' })
|
||||||
|
|
||||||
const majorPattern = /major_version=(\d+)/
|
const majorPattern = /major_version=(\d+)/
|
||||||
const minorPattern = /minor_version=(\d+)/
|
const minorPattern = /minor_version=(\d+)/
|
||||||
@@ -19,3 +21,5 @@ appManifestContent = appManifestContent.replace(minorPattern, `minor_version=${p
|
|||||||
appManifestContent = appManifestContent.replace(buildPattern, `build_version=${String(parsedVersion.patch).padStart(5, '0')}`)
|
appManifestContent = appManifestContent.replace(buildPattern, `build_version=${String(parsedVersion.patch).padStart(5, '0')}`)
|
||||||
|
|
||||||
fs.writeFileSync("./src/manifest", appManifestContent)
|
fs.writeFileSync("./src/manifest", appManifestContent)
|
||||||
|
|
||||||
|
execSync(`npm version ${version}`, { cwd: 'playlet-web' })
|
||||||
@@ -26,11 +26,16 @@ function WebServerLoop()
|
|||||||
homeRouter = new Http.HttpRouter()
|
homeRouter = new Http.HttpRouter()
|
||||||
homeRouter.Get("/", function(context as object) as boolean
|
homeRouter.Get("/", function(context as object) as boolean
|
||||||
response = context.response
|
response = context.response
|
||||||
response.Redirect("/index.html?tab=settings", 302)
|
response.Redirect("/index.v1.html", 302)
|
||||||
return true
|
return true
|
||||||
end function)
|
end function)
|
||||||
|
|
||||||
m.server.UseRouter(new Http.CorsMiddleware(`http://${GetLocalIpAddress()}:8888`))
|
#if DEBUG
|
||||||
|
allowedOrigin = "*"
|
||||||
|
#else
|
||||||
|
allowedOrigin = `http://${GetLocalIpAddress()}:8888`
|
||||||
|
#end if
|
||||||
|
m.server.UseRouter(new Http.CorsMiddleware(allowedOrigin))
|
||||||
m.server.UseRouter(homeRouter)
|
m.server.UseRouter(homeRouter)
|
||||||
m.server.UseRouter(new Http.DashRouter())
|
m.server.UseRouter(new Http.DashRouter())
|
||||||
m.server.UseRouter(new Http.CommandsApiRouter())
|
m.server.UseRouter(new Http.CommandsApiRouter())
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 11 KiB |
@@ -7,8 +7,31 @@
|
|||||||
viewBox="0 0 508 285.75"
|
viewBox="0 0 508 285.75"
|
||||||
version="1.1"
|
version="1.1"
|
||||||
id="svg10011"
|
id="svg10011"
|
||||||
|
sodipodi:docname="logo-dark.svg"
|
||||||
|
inkscape:version="1.2.1 (9c6d41e4, 2022-07-14)"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
xmlns:svg="http://www.w3.org/2000/svg">
|
xmlns:svg="http://www.w3.org/2000/svg">
|
||||||
|
<sodipodi:namedview
|
||||||
|
id="namedview396"
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#000000"
|
||||||
|
borderopacity="0.25"
|
||||||
|
inkscape:showpageshadow="2"
|
||||||
|
inkscape:pageopacity="0.0"
|
||||||
|
inkscape:pagecheckerboard="0"
|
||||||
|
inkscape:deskcolor="#d1d1d1"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:zoom="0.21851852"
|
||||||
|
inkscape:cx="382.11864"
|
||||||
|
inkscape:cy="540"
|
||||||
|
inkscape:window-width="1440"
|
||||||
|
inkscape:window-height="758"
|
||||||
|
inkscape:window-x="0"
|
||||||
|
inkscape:window-y="25"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:current-layer="svg10011" />
|
||||||
<defs
|
<defs
|
||||||
id="defs10008">
|
id="defs10008">
|
||||||
<rect
|
<rect
|
||||||
@@ -66,75 +89,75 @@
|
|||||||
y="88.402878"
|
y="88.402878"
|
||||||
rx="20.13974"
|
rx="20.13974"
|
||||||
ry="19.408449" />
|
ry="19.408449" />
|
||||||
<text
|
<g
|
||||||
xml:space="preserve"
|
aria-label="P"
|
||||||
transform="matrix(1.3208994,0,0,1.3208994,-115.36013,-354.38654)"
|
transform="matrix(1.3208994,0,0,1.3208994,-115.36013,-354.38654)"
|
||||||
id="text416-2-13"
|
id="text416-2-13"
|
||||||
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-51);display:inline;fill:#ff1c30;fill-opacity:1;stroke:none;stroke-width:1.06591;stroke-linejoin:round;stroke-dasharray:none"><tspan
|
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-51);display:inline;fill:#ff1c30;stroke-width:1.06591;stroke-linejoin:round">
|
||||||
x="180.21484"
|
<path
|
||||||
y="397.45387"
|
d="m 182.08151,397.45387 v -50.02669 h 15.38134 q 4.032,0 7.54134,1.49333 3.50933,1.49334 6.12267,4.18134 2.61333,2.61333 4.10667,6.12267 1.49333,3.50933 1.49333,7.54133 0,3.95734 -1.49333,7.46667 -1.49334,3.50934 -4.10667,6.12267 -2.61334,2.53867 -6.12267,4.03201 -3.50934,1.49333 -7.54134,1.49333 h -8.81067 v 11.57334 z m 6.57067,-18.14401 h 8.81067 q 2.61334,0 4.928,-0.97067 2.31467,-1.04533 4.03201,-2.688 1.71733,-1.71733 2.688,-3.95733 1.04533,-2.31467 1.04533,-4.92801 0,-2.688 -1.04533,-5.00267 -0.97067,-2.31466 -2.688,-4.032 -1.71734,-1.71733 -4.03201,-2.688 -2.31466,-0.97067 -4.928,-0.97067 h -8.81067 z"
|
||||||
id="tspan11055"><tspan
|
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
||||||
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
id="path533" />
|
||||||
id="tspan11053">P</tspan></tspan></text>
|
</g>
|
||||||
<text
|
<g
|
||||||
xml:space="preserve"
|
aria-label="l"
|
||||||
transform="matrix(1.3208994,0,0,1.3208994,-65.866935,-354.45042)"
|
transform="matrix(1.3208994,0,0,1.3208994,-65.866935,-354.45042)"
|
||||||
id="text416-2-1-4"
|
id="text416-2-1-4"
|
||||||
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-8-2);display:inline;fill:#ff1c30;fill-opacity:1;stroke:none;stroke-width:1.06591;stroke-linejoin:round;stroke-dasharray:none"><tspan
|
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-8-2);display:inline;fill:#ff1c30;stroke-width:1.06591;stroke-linejoin:round">
|
||||||
x="180.21484"
|
<path
|
||||||
y="397.45387"
|
d="m 189.92152,349.36851 v 48.08536 h -6.27201 v -48.08536 z"
|
||||||
id="tspan11059"><tspan
|
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
||||||
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
id="path530" />
|
||||||
id="tspan11057">l</tspan></tspan></text>
|
</g>
|
||||||
<text
|
<g
|
||||||
xml:space="preserve"
|
aria-label="e"
|
||||||
transform="matrix(1.3208994,0,0,1.3208994,87.108046,-354.30193)"
|
transform="matrix(1.3208994,0,0,1.3208994,87.108046,-354.30193)"
|
||||||
id="text416-2-5-8"
|
id="text416-2-5-8"
|
||||||
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-53-6);display:inline;fill:#ff1c30;fill-opacity:1;stroke:none;stroke-width:1.06591;stroke-linejoin:round;stroke-dasharray:none"><tspan
|
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-53-6);display:inline;fill:#ff1c30;stroke-width:1.06591;stroke-linejoin:round">
|
||||||
x="180.21484"
|
<path
|
||||||
y="397.45387"
|
d="m 216.35353,388.8672 q -3.06134,4.55467 -7.24267,6.64533 -4.10667,2.09067 -8.96001,2.09067 -3.808,0 -7.168,-1.41867 -3.36,-1.49333 -5.824,-3.95733 -2.464,-2.464 -3.95734,-5.824 -1.41867,-3.36001 -1.41867,-7.16801 0,-3.88267 1.41867,-7.24267 1.49334,-3.36 3.95734,-5.824 2.464,-2.53867 5.824,-3.95734 3.36,-1.49333 7.168,-1.49333 4.85334,0 9.10934,2.24 4.33067,2.24 7.46667,6.944 l -21.65334,20.16001 q 1.19466,0.82134 2.98667,1.19467 1.792,0.29867 3.584,0.0747 3.136,-0.37334 5.824,-2.09067 2.76267,-1.792 4.62934,-4.48 z m -28.59735,-10.60267 q -0.224,2.83733 0.74667,5.22666 0.97066,2.38934 2.76267,3.73334 l 17.09867,-16.65067 q -1.41867,-1.71734 -3.808,-2.76267 -2.38934,-1.12 -5.22667,-0.97067 -2.31467,0.14933 -4.33067,1.04533 -2.016,0.896 -3.584,2.46401 -1.49333,1.49333 -2.464,3.50933 -0.97067,2.016 -1.19467,4.40534 z"
|
||||||
id="tspan11063"><tspan
|
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
||||||
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
id="path527" />
|
||||||
id="tspan11061">e</tspan></tspan></text>
|
</g>
|
||||||
<text
|
<g
|
||||||
xml:space="preserve"
|
aria-label="t"
|
||||||
transform="matrix(1.3208994,0,0,1.3208994,138.55003,-354.31168)"
|
transform="matrix(1.3208994,0,0,1.3208994,138.55003,-354.31168)"
|
||||||
id="text416-2-59-6"
|
id="text416-2-59-6"
|
||||||
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-6-6);display:inline;fill:#ff1c30;fill-opacity:1;stroke:none;stroke-width:1.06591;stroke-linejoin:round;stroke-dasharray:none"><tspan
|
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-6-6);display:inline;fill:#ff1c30;stroke-width:1.06591;stroke-linejoin:round">
|
||||||
x="180.21484"
|
<path
|
||||||
y="397.45387"
|
d="m 180.21484,360.71785 h 3.43467 v -11.34934 h 6.34667 v 11.34934 h 6.64534 v 5.22667 h -6.64534 v 20.23468 q 0,2.61333 1.64267,4.256 1.64267,1.568 4.256,1.568 v 5.6 q -6.048,0 -9.184,-2.912 -3.06134,-2.912 -3.06134,-8.512 v -20.23468 h -3.43467 z"
|
||||||
id="tspan11067"><tspan
|
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
||||||
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
id="path524" />
|
||||||
id="tspan11065">t</tspan></tspan></text>
|
</g>
|
||||||
<text
|
<g
|
||||||
xml:space="preserve"
|
aria-label="l"
|
||||||
transform="matrix(1.3208994,0,0,1.3208994,69.600141,-354.30583)"
|
transform="matrix(1.3208994,0,0,1.3208994,69.600141,-354.30583)"
|
||||||
id="text416-2-8-1"
|
id="text416-2-8-1"
|
||||||
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-5-5);display:inline;fill:#ff1c30;fill-opacity:1;stroke:none;stroke-width:1.06591;stroke-linejoin:round;stroke-dasharray:none"><tspan
|
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-5-5);display:inline;fill:#ff1c30;stroke-width:1.06591;stroke-linejoin:round">
|
||||||
x="180.21484"
|
<path
|
||||||
y="397.45387"
|
d="m 189.92152,349.36851 v 48.08536 h -6.27201 v -48.08536 z"
|
||||||
id="tspan11071"><tspan
|
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
||||||
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
id="path521" />
|
||||||
id="tspan11069">l</tspan></tspan></text>
|
</g>
|
||||||
<text
|
<g
|
||||||
xml:space="preserve"
|
aria-label="a"
|
||||||
transform="matrix(1.3208994,0,0,1.3208994,-48.469095,-354.51494)"
|
transform="matrix(1.3208994,0,0,1.3208994,-48.469095,-354.51494)"
|
||||||
id="text416-2-4-5"
|
id="text416-2-4-5"
|
||||||
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-1-4);display:inline;fill:#ff1c30;fill-opacity:1;stroke:none;stroke-width:1.06591;stroke-linejoin:round;stroke-dasharray:none"><tspan
|
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-1-4);display:inline;fill:#ff1c30;stroke-width:1.06591;stroke-linejoin:round">
|
||||||
x="180.21484"
|
<path
|
||||||
y="397.45387"
|
d="m 181.85751,379.23519 q 0,-3.88267 1.344,-7.24267 1.344,-3.36 3.584,-5.824 2.31467,-2.53867 5.37601,-3.95734 3.136,-1.49333 6.72,-1.49333 4.256,0 7.76534,2.09067 3.50933,2.016 5.74933,5.45067 v -7.39201 h 6.34667 v 36.58669 h -6.34667 v -7.31734 q -2.24,3.43467 -5.74933,5.45067 -3.50934,2.016 -7.76534,2.016 -3.584,0 -6.72,-1.41867 -3.06134,-1.49333 -5.37601,-3.95733 -2.24,-2.464 -3.584,-5.824 -1.344,-3.36001 -1.344,-7.16801 z m 6.34667,0 q 0,2.464 0.896,4.704 0.97067,2.16534 2.53867,3.80801 1.64267,1.64266 3.808,2.61333 2.24,0.896 4.77867,0.896 2.464,0 4.62934,-0.896 2.24,-0.97067 3.88266,-2.61333 1.64267,-1.64267 2.61334,-3.80801 0.97067,-2.24 0.97067,-4.704 0,-2.464 -0.97067,-4.704 -0.97067,-2.24 -2.61334,-3.88267 -1.64266,-1.64267 -3.88266,-2.61333 -2.16534,-0.97067 -4.62934,-0.97067 -2.53867,0 -4.77867,0.97067 -2.16533,0.97066 -3.808,2.61333 -1.568,1.64267 -2.53867,3.88267 -0.896,2.24 -0.896,4.704 z"
|
||||||
id="tspan11075"><tspan
|
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
||||||
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
id="path518" />
|
||||||
id="tspan11073">a</tspan></tspan></text>
|
</g>
|
||||||
<text
|
<g
|
||||||
xml:space="preserve"
|
aria-label="y"
|
||||||
transform="matrix(1.3208994,0,0,1.3208994,9.0695965,-354.11012)"
|
transform="matrix(1.3208994,0,0,1.3208994,9.0695965,-354.11012)"
|
||||||
id="text416-2-84-0"
|
id="text416-2-84-0"
|
||||||
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-3-1);display:inline;fill:#ff1c30;fill-opacity:1;stroke:none;stroke-width:1.06591;stroke-linejoin:round;stroke-dasharray:none"><tspan
|
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-3-1);display:inline;fill:#ff1c30;stroke-width:1.06591;stroke-linejoin:round">
|
||||||
x="180.21484"
|
<path
|
||||||
y="397.45387"
|
d="m 186.56151,360.86718 10.97601,28.07468 10.752,-28.07468 h 6.72001 l -18.74135,47.56269 h -6.272 l 4.256,-10.82667 -14.48534,-36.73602 z"
|
||||||
id="tspan11079"><tspan
|
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
||||||
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
id="path515" />
|
||||||
id="tspan11077">y</tspan></tspan></text>
|
</g>
|
||||||
</g>
|
</g>
|
||||||
</svg>
|
</svg>
|
||||||
|
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 8.7 KiB |
@@ -78,6 +78,7 @@ namespace WebUtils
|
|||||||
jpe: "image/jpeg",
|
jpe: "image/jpeg",
|
||||||
jpg: "image/jpeg",
|
jpg: "image/jpeg",
|
||||||
png: "image/png",
|
png: "image/png",
|
||||||
|
svg: "image/svg+xml",
|
||||||
css: "text/css",
|
css: "text/css",
|
||||||
html: "text/html",
|
html: "text/html",
|
||||||
js: "text/javascript",
|
js: "text/javascript",
|
||||||
|
|||||||