diff options
author | 2021-05-17 17:45:41 -0500 | |
---|---|---|
committer | 2021-05-17 17:45:41 -0500 | |
commit | d6cedac38e25fbec8425e020c16393fd70f0adf6 (patch) | |
tree | 4bda69f8ec6ab76d75f1f98b141886ce5305df4d /examples/blog/src/components/AuthorCard.astro | |
parent | d8a78298f354e775c1a3ad8b2d44e372969b0c39 (diff) | |
download | astro-d6cedac38e25fbec8425e020c16393fd70f0adf6.tar.gz astro-d6cedac38e25fbec8425e020c16393fd70f0adf6.tar.zst astro-d6cedac38e25fbec8425e020c16393fd70f0adf6.zip |
Improve blog template (#217)
Diffstat (limited to 'examples/blog/src/components/AuthorCard.astro')
-rw-r--r-- | examples/blog/src/components/AuthorCard.astro | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/examples/blog/src/components/AuthorCard.astro b/examples/blog/src/components/AuthorCard.astro deleted file mode 100644 index 46ff504f7..000000000 --- a/examples/blog/src/components/AuthorCard.astro +++ /dev/null @@ -1,31 +0,0 @@ ---- -export let author; ---- - -<style lang="scss"> -.card { - display: flex; - align-items: center; -} - -.avatar { - width: 1.5rem; - height: 1.5rem; - margin-right: 0.5rem; - object-fit: cover; - border-radius: 50%; - overflow: hidden; - - img { - width: 100%; - height: 100%; - } -} -</style> - -<div class="card"> - <div class="avatar"> - <img class="avatar" src={author.img} alt={author.name} /> - </div> - {author.name} -</div> |