diff --git a/examples/basics/package.json b/examples/basics/package.json index b5302fedce..6065c20bec 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -13,4 +13,4 @@ "dependencies": { "astro": "^2.9.2" } -} \ No newline at end of file +} diff --git a/examples/basics/src/components/Card.astro b/examples/basics/src/components/Card.astro index 5ce15cca4a..bd6d5971eb 100644 --- a/examples/basics/src/components/Card.astro +++ b/examples/basics/src/components/Card.astro @@ -24,13 +24,13 @@ const { href, title, body } = Astro.props; list-style: none; display: flex; padding: 1px; - background-color: #23262D; + background-color: #23262d; background-image: none; background-size: 400%; border-radius: 7px; background-position: 100%; transition: background-position 0.6s cubic-bezier(0.22, 1, 0.36, 1); - box-shadow: inset 0 0 0 1px rgba(255,255,255, 0.1); + box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); } .link-card > a { width: 100%; @@ -39,7 +39,7 @@ const { href, title, body } = Astro.props; padding: calc(1.5rem - 1px); border-radius: 8px; color: white; - background-color: #23262D; + background-color: #23262d; opacity: 0.8; } h2 { diff --git a/examples/basics/src/pages/index.astro b/examples/basics/src/pages/index.astro index e75451bb61..fa55169f5f 100644 --- a/examples/basics/src/pages/index.astro +++ b/examples/basics/src/pages/index.astro @@ -5,15 +5,33 @@ import Card from '../components/Card.astro';
- - + + - - - - + + + + - +

Welcome to Astro

To get started, open the directory src/pages in your project.
diff --git a/examples/basics/tsconfig.json b/examples/basics/tsconfig.json index 1a46b476c7..d78f81ec4e 100644 --- a/examples/basics/tsconfig.json +++ b/examples/basics/tsconfig.json @@ -1,3 +1,3 @@ { "extends": "astro/tsconfigs/base" -} \ No newline at end of file +}