nicco.io/src/routes/contact.svelte

51 lines
1.0 KiB
Svelte
Raw Normal View History

2020-07-24 11:10:01 +02:00
<script>
import SimplePage from '../components/SimplePage.svelte'
2020-07-27 12:36:55 +02:00
const links = [
{ href: 'mailto:hi@nicco.io', name: 'Say hi@nicco.io', icon: 'chatbubble-outline' },
{ href: 'https://github.com/cupcakearmy', name: 'Github', icon: 'logo-github' },
{ href: '/privacy', name: 'Privacy Policy', icon: 'finger-print-outline' },
]
2020-07-24 11:10:01 +02:00
</script>
<style>
2020-07-27 12:36:55 +02:00
ul {
list-style: none;
margin: 0;
padding: 0;
2020-07-24 11:10:01 +02:00
}
2020-07-27 12:36:55 +02:00
li {
transition: transform 200ms ease;
padding: 0.75em 0.5em;
cursor: pointer;
border-radius: 0.5em;
2020-07-24 11:10:01 +02:00
}
2020-07-27 12:36:55 +02:00
li:hover {
box-shadow: 0px 6px 6px -3px #00000012;
transform: translateY(0.25em) translateX(0.15em) scale(1.05);
2020-07-24 11:10:01 +02:00
}
ion-icon {
transform: translateY(0.3em);
}
</style>
<svelte:head>
<title>Contact</title>
</svelte:head>
2020-07-27 12:36:55 +02:00
<SimplePage title="Contact">
<ul>
{#each links as { href, name, icon }}
<li>
<a rel="noopener noreferrer" {href}>
<ion-icon name={icon} size="large" />
{name}
</a>
</li>
{/each}
</ul>
2020-07-24 11:10:01 +02:00
</SimplePage>