summaryrefslogtreecommitdiff
path: root/docs/src/components/Examples/CardImage.astro
diff options
context:
space:
mode:
Diffstat (limited to 'docs/src/components/Examples/CardImage.astro')
-rw-r--r--docs/src/components/Examples/CardImage.astro20
1 files changed, 0 insertions, 20 deletions
diff --git a/docs/src/components/Examples/CardImage.astro b/docs/src/components/Examples/CardImage.astro
deleted file mode 100644
index d785b6ce8..000000000
--- a/docs/src/components/Examples/CardImage.astro
+++ /dev/null
@@ -1,20 +0,0 @@
----
-import getHeroImg from './Functions/get-hero-img.js'
-const getImg = await getHeroImg() || 'https://source.unsplash.com/600x300/?space,cosmos'
----
-
- <img src={getImg} class='heroImg' alt="A Image of Space"/>
-
-<style lang='scss'>
-.heroImg{
- display: block;
- --hero-radius: 50px 50px 100px 100px / 60px 60px 20px 20px;
- border-radius: var(--hero-radius);
- width: 100%;
- height:15rem;
- box-shadow: inset 5px -2px 7px 0px rgb(185 188 231 / 37%),
- 0px 8px 0px 0px var(--theme-divider);
- border-radius: var(--hero-radius);
- object-fit: cover;
- }
-</style> \ No newline at end of file
Gravatar matthewp 1-1/+1 2023-07-11Fixes Response not being cloneable by middleware (#7623)Gravatar Matthew Phillips 5-0/+37 2023-07-11[ci] release (#7594)astro@2.8.1@astrojs/prefetch@0.3.0@astrojs/markdoc@0.4.2Gravatar Houston (Bot) 50-104/+100 2023-07-11Filter out astro from `peerDependencies` in `astro add` (#7620)Gravatar Chris Swithinbank 2-1/+7 2023-07-11[ci] formatGravatar bluwy 1-1/+1 2023-07-11Refactor simple CLI commands (#7619)Gravatar Bjorn Lu 12-115/+123 2023-07-10fix: `astro info` command fallback for package manager (#7618)Gravatar Emanuele Stoppa 2-1/+7 2023-07-10Add CLI startup speed benchmark (#7617)Gravatar Bjorn Lu 5-11/+95 2023-07-10[ci] formatGravatar bluwy 1-1/+1