Přesunuto na GitHub https://github.com/ksp/kurz
https://ksp.mff.cuni.cz/kurz
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
521 B
33 lines
521 B
<script lang="ts">
|
|
export let name: string;
|
|
|
|
import Graph from "./Graph.svelte";
|
|
</script>
|
|
|
|
<main>
|
|
<h1>Hello {name}!</h1>
|
|
<p>Visit the <a href="https://svelte.dev/tutorial">Svelte tutorial</a> to learn how to build Svelte apps.</p>
|
|
<Graph />
|
|
</main>
|
|
|
|
<style>
|
|
main {
|
|
text-align: center;
|
|
padding: 1em;
|
|
max-width: 240px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
h1 {
|
|
color: #ff3e00;
|
|
text-transform: uppercase;
|
|
font-size: 4em;
|
|
font-weight: 100;
|
|
}
|
|
|
|
@media (min-width: 640px) {
|
|
main {
|
|
max-width: none;
|
|
}
|
|
}
|
|
</style>
|
|
|