-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
now there are actual pages for each window
- Loading branch information
1 parent
67be43f
commit 257482c
Showing
7 changed files
with
67 additions
and
34 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -1,39 +1,17 @@ | ||
<script lang="ts"> | ||
import Greet from './lib/Greet.svelte' | ||
import { Router, Route } from 'svelte-routing'; | ||
import Search from './routes/search/+page.svelte'; | ||
import Timeline from './routes/timeline/+page.svelte'; | ||
import Home from './routes/+page.svelte'; | ||
</script> | ||
|
||
<main class="container"> | ||
<h1>Welcome to Tauri!</h1> | ||
|
||
<div class="row"> | ||
<a href="https://vitejs.dev" target="_blank"> | ||
<img src="/vite.svg" class="logo vite" alt="Vite Logo" /> | ||
</a> | ||
<a href="https://tauri.app" target="_blank"> | ||
<img src="/tauri.svg" class="logo tauri" alt="Tauri Logo" /> | ||
</a> | ||
<a href="https://svelte.dev" target="_blank"> | ||
<img src="/svelte.svg" class="logo svelte" alt="Svelte Logo" /> | ||
</a> | ||
</div> | ||
|
||
<p> | ||
Click on the Tauri, Vite, and Svelte logos to learn more. | ||
</p> | ||
|
||
<div class="row"> | ||
<Greet /> | ||
</div> | ||
|
||
|
||
<Router> | ||
<Route path="" component={Home} /> | ||
<Route path="search" component={Search} /> | ||
<Route path="timeline" component={Timeline} /> | ||
</Router> | ||
</main> | ||
|
||
<style> | ||
.logo.vite:hover { | ||
filter: drop-shadow(0 0 2em #747bff); | ||
} | ||
.logo.svelte:hover { | ||
filter: drop-shadow(0 0 2em #ff3e00); | ||
} | ||
</style> | ||
</style> |
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,37 @@ | ||
<script lang="ts"> | ||
import Greet from '../lib/Greet.svelte' | ||
</script> | ||
|
||
<main class="container"> | ||
<h1>Welcome to Tauri!</h1> | ||
<div> | ||
<a href="https://vitejs.dev" target="_blank"> | ||
<img src="/vite.svg" class="logo vite" alt="Vite Logo" /> | ||
</a> | ||
<a href="https://tauri.app" target="_blank"> | ||
<img src="/tauri.svg" class="logo tauri" alt="Tauri Logo" /> | ||
</a> | ||
<a href="https://svelte.dev" target="_blank"> | ||
<img src="/svelte.svg" class="logo svelte" alt="Svelte Logo" /> | ||
</a> | ||
</div> | ||
|
||
<p> | ||
Click on the Tauri, Vite, and Svelte logos to learn more. | ||
</p> | ||
|
||
<div class="row"> | ||
<Greet /> | ||
</div> | ||
|
||
</main> | ||
|
||
<style> | ||
.logo.vite:hover { | ||
filter: drop-shadow(0 0 2em #747bff); | ||
} | ||
.logo.svelte:hover { | ||
filter: drop-shadow(0 0 2em #ff3e00); | ||
} | ||
</style> |
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 @@ | ||
<h1>Search</h1> |
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 @@ | ||
<h1>Timeline</h1> |