Skip to content

Commit

Permalink
Merge pull request #1144 from rainlanguage/01/13/25-theme-responsive-…
Browse files Browse the repository at this point in the history
…raindex-logo

Make Raindex logo on homescreen theme-responsive
  • Loading branch information
hardyjosh authored Jan 14, 2025
2 parents 2a65df5 + d55d4b1 commit 27e15b9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tauri-app/src/routes/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
<script lang="ts">
import { IconTelegram } from '@rainlanguage/ui-components';
import { Button } from 'flowbite-svelte';
import { colorTheme } from '$lib/stores/darkMode';
</script>

<div class="mx-auto flex max-w-prose flex-col items-center gap-y-8 pt-12">
<img alt="Raindex logo" class="w-[400px]" src="/logo-light.svg" />
<img
alt="Raindex logo"
class="w-[400px]"
src={$colorTheme === 'dark' ? '/logo-dark.svg' : '/logo-light.svg'}
/>
<div class="mt-4 text-center text-2xl">
Raindex allows anyone to write, deploy and manage token trading strategies, written in Rainlang,
on any EVM network.
Expand Down

0 comments on commit 27e15b9

Please sign in to comment.