chore: clean up index.astro

This commit is contained in:
Ayo 2024-01-21 22:48:36 +01:00
parent 2e0dbaa1a0
commit 480d83f198

View file

@ -32,28 +32,14 @@ const appName = 'Scalable Shoe Shop'
</html> </html>
<style> <style>
html { html {
font-family: system-ui, sans-serif; font-family: system-ui, sans-serif;
background-color: #f6f6f6; background-color: #f6f6f6;
} }
main { main {
margin: auto; margin: auto;
padding: 1.5rem; padding: 1.5rem;
max-width: 60ch; max-width: 60ch;
}
h1 {
font-size: 3rem;
font-weight: 800;
margin: 0;
}
</style>
<script>
window.addEventListener('message', (event) => {
if (event.data.source === 'app-a') {
console.log('>>> message', event)
} }
}) </style>
</script>