blob: 747385394b2de61fbca71f32ff962c2899dc8e9e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
---
import Counter from '../components/Counter.jsx';
---
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<style global>
:root {
font-family: system-ui;
}
.counter {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
place-items: center;
font-size: 2em;
margin-top: 3em;
}
.counter-message {
text-align: center;
}
</style>
</head>
<body>
<main>
<Counter client:visible>
<h1>Hello, Solid!</h1>
</Counter>
</main>
</body>
</html>
|