diff --git a/public/iceproductions.svg b/public/iceproductions.svg new file mode 100644 index 0000000..74fb33b --- /dev/null +++ b/public/iceproductions.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/App.svelte b/src/App.svelte index c6add40..ced9842 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -30,10 +30,10 @@

igni is a universal discord bot with advanced moderation, advanced configuration and unique command handling. It can replace majority of other bots and is being actively worked on.

- igni avatar + igni avatar
- - + +
@@ -41,10 +41,32 @@

Czech tutorials, blog and news about node, php and scratch for everyone.

- The Tutorials logo + The Tutorials logo
- - + + +
+ + + +
+ Czech e-learning website and application, currently in closed beta. +
+ +
+ + +
+
+ + +
+ Independent team of developers, worked on Aztec, browser and more. +
+ Ice Productions Logo +
+ +
@@ -71,6 +93,7 @@ img.preview { height: 18rem; max-height: 100%; + max-width: 100%; } img.preview.thetutorials { border-radius: 50%; diff --git a/src/components/button.svelte b/src/components/button.svelte index a385ca6..a83ee3a 100644 --- a/src/components/button.svelte +++ b/src/components/button.svelte @@ -1,8 +1,9 @@ {#if href} - + {:else} @@ -49,11 +50,12 @@ width: 0; height: 100%; border-radius: 0; - transition: width .3s, border-radius .3s; + transition: width .3s, border-radius .3s, background-color .3s; z-index: -1; } .outline:hover::before { width: 100%; + background-color: #e0a500; } a:hover, button:hover { background-color: #e0a500; diff --git a/src/components/navbar.svelte b/src/components/navbar.svelte index d1d4ba4..a853037 100644 --- a/src/components/navbar.svelte +++ b/src/components/navbar.svelte @@ -14,7 +14,7 @@ .spacer { height: 50px; } - .darkmode { + nav.bar.darkmode { background: #242423; } nav.bar .inner { @@ -30,6 +30,7 @@ } nav.bar { position: fixed; + background: white; top: 0; left: 0; width: 100vw; diff --git a/src/components/project.svelte b/src/components/project.svelte index 60d1899..6f19f71 100644 --- a/src/components/project.svelte +++ b/src/components/project.svelte @@ -11,10 +11,12 @@

{title}

- {#if screenWidth < 765} -
- -
+ {#if $$slots.preview} + {#if screenWidth < 765} +
+ +
+ {/if} {/if}

diff --git a/src/main.js b/src/main.js index d6cacbb..4c473fa 100644 --- a/src/main.js +++ b/src/main.js @@ -1,10 +1,7 @@ import App from './App.svelte'; const app = new App({ - target: document.body, - props: { - name: 'world' - } + target: document.body }); export default app; \ No newline at end of file