39 lines
594 B
Svelte
39 lines
594 B
Svelte
<script>
|
|
export let name;
|
|
</script>
|
|
|
|
<main>
|
|
<img src="/assets/email-baker.png" class="main-pic"/>
|
|
<h1>Chip <span class="highlight">Choc</span></h1>
|
|
<p>Visit the <a href="https://svelte.dev/tutorial">Svelte tutorial</a> to learn how to build Svelte apps.</p>
|
|
</main>
|
|
|
|
<style>
|
|
main {
|
|
text-align: center;
|
|
padding: 1em;
|
|
max-width: 240px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
h1 {
|
|
text-transform: lowercase;
|
|
font-size: 4em;
|
|
font-weight: 100;
|
|
}
|
|
|
|
.main-pic {
|
|
max-width: 100%;
|
|
}
|
|
|
|
@media (min-width: 640px) {
|
|
main {
|
|
max-width: none;
|
|
}
|
|
|
|
.main-pic {
|
|
max-width: 240px;
|
|
}
|
|
}
|
|
</style>
|