astro/examples/component/demo/src/pages/index.astro

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
480 B
Text
Raw Normal View History

---
import * as Component from "@example/my-component";
---
<html lang="en">
2021-12-22 21:11:05 +00:00
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>Welcome to Astro</title>
<style is:global>
2021-12-22 21:11:05 +00:00
h {
display: block;
font-size: 2em;
font-weight: bold;
margin-block: 0.67em;
2021-12-22 21:11:05 +00:00
}
</style>
</head>
2021-12-22 21:11:05 +00:00
<body>
<Component.Heading>Welcome to Astro</Component.Heading>
<Component.Button>Plain Button</Component.Button>
2021-12-22 21:11:05 +00:00
</body>
</html>