diff --git a/src/ui/public/global.css b/src/ui/public/global.css index 8a06963..055f781 100644 --- a/src/ui/public/global.css +++ b/src/ui/public/global.css @@ -1,3 +1,5 @@ +@import url('https://fonts.googleapis.com/css2?family=Inter&display=swap'); + * { margin: 0; padding: 0; diff --git a/src/ui/src/App.svelte b/src/ui/src/App.svelte index 3f3e759..7614e93 100644 --- a/src/ui/src/App.svelte +++ b/src/ui/src/App.svelte @@ -1,6 +1,6 @@ - -
-

Svelte NUI Popup!

-
Player coords: {JSON.stringify(clientData) || ''}
-
- - -
- Or press the escape key! -
- - diff --git a/src/ui/src/components/Main.svelte b/src/ui/src/components/Main.svelte new file mode 100644 index 0000000..5f18cca --- /dev/null +++ b/src/ui/src/components/Main.svelte @@ -0,0 +1,39 @@ + + +
+ +
+
Some Data here
+
+
+ + diff --git a/src/ui/src/components/resources/Resources.svelte b/src/ui/src/components/resources/Resources.svelte new file mode 100644 index 0000000..d2dd0cd --- /dev/null +++ b/src/ui/src/components/resources/Resources.svelte @@ -0,0 +1,45 @@ + + +
+ {#each executingResources as resource} +
+
+ {resource} +
+
+ {/each} +
+ +