chore: clean up index.astro
This commit is contained in:
parent
2e0dbaa1a0
commit
480d83f198
1 changed files with 18 additions and 32 deletions
|
|
@ -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>
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue