feat: updating some things
All checks were successful
Deploy to GitHub Pages / build_site (push) Successful in 10m47s
All checks were successful
Deploy to GitHub Pages / build_site (push) Successful in 10m47s
This commit is contained in:
@@ -177,11 +177,9 @@
|
|||||||
<EdgeEl z={graphState.cameraPosition[2]} {x1} {y1} {x2} {y2} />
|
<EdgeEl z={graphState.cameraPosition[2]} {x1} {y1} {x2} {y2} />
|
||||||
{/each}
|
{/each}
|
||||||
|
|
||||||
<HTML transform={false}>
|
<HTML>
|
||||||
<div
|
<div
|
||||||
role="tree"
|
|
||||||
id="graph"
|
id="graph"
|
||||||
tabindex="0"
|
|
||||||
class="wrapper"
|
class="wrapper"
|
||||||
style:transform={`scale(${graphState.cameraPosition[2] * 0.1})`}
|
style:transform={`scale(${graphState.cameraPosition[2] * 0.1})`}
|
||||||
class:hovering-sockets={graphState.activeSocket}
|
class:hovering-sockets={graphState.activeSocket}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
import NestedSettings from "./NestedSettings.svelte";
|
import NestedSettings from "./NestedSettings.svelte";
|
||||||
import { localState } from "$lib/helpers/localState.svelte";
|
import { localState } from "$lib/helpers/localState.svelte";
|
||||||
import type { NodeInput } from "@nodarium/types";
|
import type { NodeInput } from "@nodarium/types";
|
||||||
import Input from "@nodarium/ui";
|
import { Input } from "@nodarium/ui";
|
||||||
|
|
||||||
type Button = { type: "button"; callback: () => void; label?: string };
|
type Button = { type: "button"; callback: () => void; label?: string };
|
||||||
|
|
||||||
|
|||||||
25
app/src/routes/dev/+page.svelte
Normal file
25
app/src/routes/dev/+page.svelte
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
<script lang="ts">
|
||||||
|
import Grid from "$lib/grid";
|
||||||
|
import Panel from "$lib/sidebar/Panel.svelte";
|
||||||
|
import Sidebar from "$lib/sidebar/Sidebar.svelte";
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<Grid.Row>
|
||||||
|
<Grid.Cell></Grid.Cell>
|
||||||
|
<Grid.Cell>
|
||||||
|
<Sidebar>
|
||||||
|
<Panel
|
||||||
|
id="node-store"
|
||||||
|
classes="text-green-400"
|
||||||
|
title="Node Store"
|
||||||
|
icon="i-tabler-database"
|
||||||
|
></Panel>
|
||||||
|
</Sidebar>
|
||||||
|
</Grid.Cell>
|
||||||
|
</Grid.Row>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
:global body {
|
||||||
|
height: 100vh;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -1,8 +1,7 @@
|
|||||||
// uno.config.ts
|
// uno.config.ts
|
||||||
import { defineConfig } from 'unocss'
|
import { defineConfig } from 'unocss'
|
||||||
import presetIcons from '@unocss/preset-icons'
|
import presetIcons from '@unocss/preset-icons'
|
||||||
import { presetUno } from 'unocss'
|
import fs from 'node:fs'
|
||||||
import fs from 'fs'
|
|
||||||
|
|
||||||
const icons = Object.fromEntries(fs.readdirSync('./src/lib/icons')
|
const icons = Object.fromEntries(fs.readdirSync('./src/lib/icons')
|
||||||
.map(name => [name.replace(".svg", ""), fs.readFileSync(`./src/lib/icons/${name}`, 'utf-8')]))
|
.map(name => [name.replace(".svg", ""), fs.readFileSync(`./src/lib/icons/${name}`, 'utf-8')]))
|
||||||
@@ -10,7 +9,6 @@ const icons = Object.fromEntries(fs.readdirSync('./src/lib/icons')
|
|||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
presets: [
|
presets: [
|
||||||
presetUno(),
|
|
||||||
presetIcons({
|
presetIcons({
|
||||||
collections: {
|
collections: {
|
||||||
custom: icons
|
custom: icons
|
||||||
|
|||||||
Reference in New Issue
Block a user