summaryrefslogtreecommitdiff
path: root/examples/fast-build/src
diff options
context:
space:
mode:
Diffstat (limited to 'examples/fast-build/src')
-rw-r--r--examples/fast-build/src/pages/index.astro10
1 files changed, 9 insertions, 1 deletions
diff --git a/examples/fast-build/src/pages/index.astro b/examples/fast-build/src/pages/index.astro
index ee228aa19..9d4555b79 100644
--- a/examples/fast-build/src/pages/index.astro
+++ b/examples/fast-build/src/pages/index.astro
@@ -3,6 +3,7 @@ import imgUrl from '../images/penguin.jpg';
import grayscaleUrl from '../images/random.jpg?grayscale=true';
import Greeting from '../components/Greeting.vue';
import Counter from '../components/Counter.vue';
+import { Code } from 'astro/components';
---
<html>
@@ -32,9 +33,16 @@ import Counter from '../components/Counter.vue';
<img src={grayscaleUrl} />
</section>
+ <section>
+ <h1>Astro components</h1>
+ <Code lang="css" code={`body {
+ color: salmon;
+}`} />
+ </section>
+
<section>
<h1>Hydrated component</h1>
<Counter client:idle />
</section>
</body>
-</html> \ No newline at end of file
+</html>