Skip to content

Commit

Permalink
Revert "feat: added some bg"
Browse files Browse the repository at this point in the history
This reverts commit 9688419.
  • Loading branch information
0xMugen committed Nov 14, 2024
1 parent 9688419 commit 6416d74
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 48 deletions.
31 changes: 0 additions & 31 deletions client/src/lib/ui/Splash.svelte

This file was deleted.

6 changes: 2 additions & 4 deletions client/src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
import { account } from '$stores/account'
import { env } from '$stores/network'
import { initializeStore } from '$stores/dojoStore'
import Splash from '$lib/ui/Splash.svelte'
import Splat from '$lib/3d/components/map/Splat.svelte'
async function initStore() {
try {
Expand All @@ -31,11 +29,11 @@
})
</script>

<Splash />
<Background />
<div class="">
<div class="flex flex-col justify-center items-center h-screen">
<div
class="flex justify-center items-center flex-col bg-white/10 p-10 rounded-lg border-black border-4"
class="flex justify-center items-center flex-col bg-white p-10 rounded-lg border-black border-4"
>
<div class="text-9xl">
<img src="/logos/LOGO_15.png" alt="OCTOGUNS" width="300" height="300" />
Expand Down
15 changes: 2 additions & 13 deletions client/src/routes/[slug]/client/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -63,19 +63,8 @@
<div class="flex-grow"></div>
<Button href="/">Back to home screen</Button>
</div>
<div
class="m-7 md:ml-0 flex-grow border-4 border-black rounded-lg relative"
style="background-image: url('/sprites/octopuses.png'); background-size: cover;"
>
<!-- White bar at the top -->
<div class="absolute top-0 left-0 w-full h-20 bg-white"></div>

<!-- White overlay -->
<div class="absolute inset-0 bg-red-100 opacity-50"></div>

<div class="relative">
{@render children?.()}
</div>
<div class="m-7 md:ml-0 bg-white flex-grow border-4 border-black rounded-lg">
{@render children?.()}
</div>
</div>

Expand Down
Binary file removed client/static/sprites/background.png
Binary file not shown.
Binary file removed client/static/sprites/octopuses.png
Binary file not shown.

0 comments on commit 6416d74

Please sign in to comment.