added a content component
This commit is contained in:
@@ -3,6 +3,7 @@ export const immutable = [];
|
||||
export const prerendered = [];
|
||||
|
||||
export const assets = [
|
||||
{"path":"voidarc-hollow.svg"},
|
||||
{"path":"adumh00man.png"},
|
||||
{"path":"robots.txt"}
|
||||
];
|
||||
|
||||
@@ -3,5 +3,5 @@ globalThis.__sveltekit_dev = {
|
||||
env: {
|
||||
// empty
|
||||
},
|
||||
version: "1793788577988"
|
||||
version: "1793794104752"
|
||||
};
|
||||
2
node_modules/$app/types/index.d.ts
generated
vendored
2
node_modules/$app/types/index.d.ts
generated
vendored
@@ -18,7 +18,7 @@ declare module "$app/types" {
|
||||
};
|
||||
Path(): "" | `artwork/${string}` & {} | `books/${string}` & {} | `posters/${string}` & {};
|
||||
ResolvedPathname(): `${"/" | `/${string}/`}${ReturnType<AppTypes['Path']>}`;
|
||||
AssetPath(): "adumh00man.png" | "robots.txt";
|
||||
AssetPath(): "voidarc-hollow.svg" | "adumh00man.png" | "robots.txt";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,10 +1,19 @@
|
||||
<script lang="ts">
|
||||
import type { PageData } from './$types';
|
||||
|
||||
import Content from './Content.svelte';
|
||||
|
||||
let { data }: { data: PageData } = $props();
|
||||
import voidarcIcon from '../../static/voidarc-hollow.svg?raw';
|
||||
</script>
|
||||
|
||||
<div class="m-6 mx-auto grid max-w-7xl grid-cols-1 grid-rows-3 gap-5">
|
||||
<div class="fira-mono-bold mt-5 flex h-40 w-full items-center justify-center text-center text-6xl">
|
||||
<div class="absolute aspect-[2/1.732] h-40 text-ctp-surface0">
|
||||
{@html voidarcIcon}
|
||||
</div>
|
||||
<span class="absolute">[VOIDARC INCORPORATED]</span>
|
||||
</div>
|
||||
<div class="m-6 mx-auto grid max-w-6xl grid-cols-1 grid-rows-3 gap-5">
|
||||
<div
|
||||
class="main-container grid grid-cols-[2fr_1fr] py-7 pl-10"
|
||||
style="--container-color:var(--ctp-mauve);"
|
||||
@@ -153,6 +162,7 @@
|
||||
<div class="grid grid-cols-[4fr_3fr] grid-rows-1 gap-4">
|
||||
<div class="main-container" style="--container-color:var(--ctp-blue);">
|
||||
<div class="section-title fira-mono-bold mr-3 py-2 text-4xl">Content</div>
|
||||
<Content items={['some']} />
|
||||
</div>
|
||||
<div class="main-container" style="--container-color:var(--ctp-green);">
|
||||
<div class="section-title fira-mono-bold mr-3 py-2 text-4xl">Commits</div>
|
||||
|
||||
5
src/routes/Content.svelte
Normal file
5
src/routes/Content.svelte
Normal file
@@ -0,0 +1,5 @@
|
||||
<script lang="ts">
|
||||
let { items } = $props();
|
||||
</script>
|
||||
|
||||
<div>{items[0]}</div>
|
||||
29
static/voidarc-hollow.svg
Normal file
29
static/voidarc-hollow.svg
Normal file
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
viewBox="0 0 512.08997 443.48322"
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
xml:space="preserve"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"><defs
|
||||
id="defs1" /><g
|
||||
id="layer1"
|
||||
transform="matrix(0.99124422,0,0,0.99124422,2.2864692,-32.01692)"><g
|
||||
id="g26"
|
||||
style="display:inline"><path
|
||||
d="m 294.79965,34.297099 39.57108,121.763401 65.7377,0.17339 -33.25603,99.76808 33.25603,99.76611 H 334.619 L 294.79965,477.7029 h 89.20094 L 512.00024,256 384.00059,34.297099 Z"
|
||||
style="fill:currentColor;stroke:currentColor;stroke-width:3.99474"
|
||||
id="path26" /><path
|
||||
d="M 127.99934,34.297099 -3.0431451e-4,256 127.99934,477.7029 h 89.20094 L 177.6292,355.76808 h -65.73769 l 33.25602,-99.76611 -33.25602,-99.76808 h 65.9367 L 217.20028,34.297099 Z"
|
||||
style="fill:currentColor;stroke:currentColor;stroke-width:3.99474"
|
||||
id="path22" /><path
|
||||
d="m 641.64264,15.133196 -22.25661,71.01166 h 44.5142 z"
|
||||
style="opacity:1;fill:currentColor;fill-opacity:1;stroke:currentColor;stroke-width:1.99029;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path23"
|
||||
transform="matrix(1.9922792,0,0,1.9922792,-1022.3323,51.121339)" /><path
|
||||
d="m 619.38603,119.52877 22.25661,72.33396 22.25759,-72.33396 z"
|
||||
style="display:inline;opacity:1;fill:currentColor;fill-opacity:1;stroke:currentColor;stroke-width:1.99029;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path25"
|
||||
transform="matrix(1.9922792,0,0,1.9922792,-1022.3323,51.121339)" /></g></g></svg>
|
||||
|
After Width: | Height: | Size: 1.7 KiB |
Reference in New Issue
Block a user