-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1247 from rainlanguage/add-homepage
Add homepage
- Loading branch information
Showing
5 changed files
with
89 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,11 @@ | |
href="https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap" | ||
rel="stylesheet" | ||
/> | ||
<link | ||
href="https://fonts.googleapis.com/css2?family=Handjet:[email protected]&family=Instrument+Serif:ital@0;1&display=swap" | ||
rel="stylesheet" | ||
/> | ||
|
||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
%sveltekit.head% | ||
</head> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
<script lang="ts"> | ||
import { WalletConnect, logoDark, logoLight } from '@rainlanguage/ui-components'; | ||
import { Button } from 'flowbite-svelte'; | ||
import { appKitModal, connected } from '$lib/stores/wagmi'; | ||
import { goto } from '$app/navigation'; | ||
export let colorTheme; | ||
</script> | ||
|
||
<div class="mx-auto flex min-h-screen w-full flex-col"> | ||
<div class="flex h-16 w-full items-center bg-gray-100 dark:bg-gray-800"> | ||
<div class="flex w-full items-center justify-between px-4"> | ||
<div class="flex h-full flex-row items-center gap-x-4"> | ||
<img src={$colorTheme === 'light' ? logoLight : logoDark} alt="Rainlang logo" class="h-8" /> | ||
</div> | ||
<div class="flex h-full flex-row items-center gap-x-2 dark:text-gray-100 md:gap-x-6"> | ||
<a href="https://docs.rainlang.xyz/raindex/overview">Docs</a> | ||
<a href="/deploy">Dashboard</a> | ||
<WalletConnect {appKitModal} {connected} /> | ||
</div> | ||
</div> | ||
</div> | ||
<div | ||
class="flex w-full flex-row justify-center border-b-2 border-gray-300 bg-gray-200 px-4 dark:border-gray-600 dark:bg-gray-700" | ||
> | ||
<div class="my-24 flex w-full max-w-4xl flex-col"> | ||
<h1 | ||
class="light:text-gray-900 text-left font-instrument-serif text-7xl font-light leading-tight dark:text-white lg:text-8xl" | ||
> | ||
Trade onchain | ||
<br /> | ||
without limits | ||
</h1> | ||
<div class="mt-8 flex justify-start gap-x-4"> | ||
<Button color="blue" size="lg" on:click={() => goto('/deploy')}>Deploy a strategy</Button> | ||
<a href="https://docs.rainlang.xyz/raindex/overview"> | ||
<Button color="light" size="lg">Learn</Button> | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
<div | ||
class="flex w-full flex-grow justify-center bg-gray-100 px-4 dark:bg-gray-800 dark:text-white" | ||
> | ||
<div class="mx-auto mt-12 grid max-w-4xl grid-cols-1 gap-16 md:grid-cols-3"> | ||
<div class="flex flex-col gap-y-3"> | ||
<h2 class="text-xl font-semibold">Automated</h2> | ||
<p>No more manual trades. Raindex brings automated trading strategies directly onchain.</p> | ||
</div> | ||
|
||
<div class="flex flex-col gap-y-3"> | ||
<h2 class="text-xl font-semibold">Trustless</h2> | ||
<p> | ||
Raindex is non-custodial – your assets remain in your control always. Strategies are | ||
trustlessly executed by competing solvers. | ||
</p> | ||
</div> | ||
|
||
<div class="flex flex-col gap-y-3"> | ||
<h2 class="text-xl font-semibold">Infinitely flexible</h2> | ||
<p> | ||
Deploy existing strategies in minutes or write your own using Rainlang. DCA, limit orders, | ||
liquidity provision and more. | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters