diff --git a/client/.vscode/extensions.json b/client/.vscode/extensions.json index 29c5e50..190f3b0 100644 --- a/client/.vscode/extensions.json +++ b/client/.vscode/extensions.json @@ -1,6 +1,7 @@ { "recommendations": [ "svelte.svelte-vscode", - "bradlc.vscode-tailwindcss" + "bradlc.vscode-tailwindcss", + "fivethree.vscode-svelte-snippets" ] } \ No newline at end of file diff --git a/client/public/favicon.png b/client/public/favicon.png index 7e6f5eb..3b0dbc9 100644 Binary files a/client/public/favicon.png and b/client/public/favicon.png differ diff --git a/client/public/img/Banner.jpg b/client/public/img/Banner.jpg new file mode 100644 index 0000000..fc38ea4 Binary files /dev/null and b/client/public/img/Banner.jpg differ diff --git a/client/public/index.html b/client/public/index.html index a9c8fd6..4d3662b 100644 --- a/client/public/index.html +++ b/client/public/index.html @@ -4,7 +4,7 @@ - Svelte app + FOXBANK diff --git a/client/src/App.svelte b/client/src/App.svelte index 42570ba..debcc7d 100644 --- a/client/src/App.svelte +++ b/client/src/App.svelte @@ -1,15 +1,22 @@ -
-

Hello {name}!

-

Visit the Svelte tutorial to learn how to build Svelte apps.

- - +
+ + {#if loggedin} + + {:else} + + {/if}
\ No newline at end of file diff --git a/client/src/InputField.svelte b/client/src/InputField.svelte new file mode 100644 index 0000000..26e925f --- /dev/null +++ b/client/src/InputField.svelte @@ -0,0 +1,11 @@ + + +
+
+

{title}

+

{text}

+
+
\ No newline at end of file diff --git a/client/src/Login.svelte b/client/src/Login.svelte new file mode 100644 index 0000000..aa7acdb --- /dev/null +++ b/client/src/Login.svelte @@ -0,0 +1,15 @@ + + +
+
+ +

Login

+
+
+ +
\ No newline at end of file diff --git a/client/src/MainPage.svelte b/client/src/MainPage.svelte new file mode 100644 index 0000000..0b47147 --- /dev/null +++ b/client/src/MainPage.svelte @@ -0,0 +1,7 @@ + + +
+

Main

+
\ No newline at end of file diff --git a/client/src/main.js b/client/src/main.js index d6cacbb..d80e9a3 100644 --- a/client/src/main.js +++ b/client/src/main.js @@ -2,9 +2,6 @@ import App from './App.svelte'; const app = new App({ target: document.body, - props: { - name: 'world' - } }); export default app; \ No newline at end of file diff --git a/client/tailwind.config.js b/client/tailwind.config.js index 1a87969..4547a28 100644 --- a/client/tailwind.config.js +++ b/client/tailwind.config.js @@ -8,7 +8,11 @@ module.exports = { }, darkMode: false, // or 'media' or 'class' theme: { - extend: {}, + extend: { + backgroundImage:{ + "banner":"url('/img/Banner.jpg')" + } + }, }, variants: { extend: {},