Skip to content

Commit

Permalink
Basic homepage frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
amandasinha committed Mar 1, 2024
1 parent 049f855 commit 6bb0f01
Showing 1 changed file with 45 additions and 4 deletions.
49 changes: 45 additions & 4 deletions frontend/src/routes/Home.svelte
Original file line number Diff line number Diff line change
@@ -1,13 +1,54 @@
<script lang="ts">
/* Put stuff here */
import { Backend, clearToken, type LoginResponse } from "../lib/backend";
import { Button, Label, Input } from "flowbite-svelte";
import Cookies from "js-cookie";
import { onMount } from "svelte";
import { navigate } from "svelte-routing";
import { user } from "../lib/stores/user"
</script>

<svelte:head>
<title>Venome Home</title>
</svelte:head>

<div>home</div>
<div id="title_col_1">
<h1>Welcome to the Unknown Venome</h1>
<h3>New? Check out our <a href="/tutorials">tutorials</a>!</h3>
<h3>Looking for something specific? Start searching now!</h3>
<!--search bar-->
<form>
<input type="text">
<!--I'm feeling lucky-->
<button>Roll the dice</button>
</form>
</div>

<style>
/* put stuff here */
</style>
h1 {
margin-top: 10px;
margin-top: 3px;
color: rgb(25, 63, 90);
}
h3 {
margin: 5px;
margin-bottom: 3px;
margin-top: 10px;
}
input {
padding: 5px;
display: inline;
}
button {
background-color: rgb(25, 63, 90);
border-radius: 3px;
color: lightgray;
padding: 3px;
}
#title_col_1 {
margin-left: 15px;
}
</style>

0 comments on commit 6bb0f01

Please sign in to comment.