diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-09-01 14:48:45 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-09-01 14:48:45 +0300 |
| commit | 8a6d697308162874a236c84aac0b0f8c7ac01f83 (patch) | |
| tree | ed7dc7e8c6f50d66bde721fae78576aede929f66 /website/src/components/AuthorCard.astro | |
| parent | b54a78aa510b87d1e3b56c619b72eaeb59e4a2a1 (diff) | |
refactor: separate website presentation from runtime
Diffstat (limited to 'website/src/components/AuthorCard.astro')
| -rw-r--r-- | website/src/components/AuthorCard.astro | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/website/src/components/AuthorCard.astro b/website/src/components/AuthorCard.astro deleted file mode 100644 index ba3a1014..00000000 --- a/website/src/components/AuthorCard.astro +++ /dev/null @@ -1,30 +0,0 @@ ---- -const name = 'Can Celik'; -const role = 'Building Herdr'; -const photo = '/assets/author-can.jpeg'; -const x = 'https://x.com/cancelik'; -const email = 'can@herdr.dev'; ---- - -<aside class="author-card" aria-label="About the author"> - <img class="author-photo" src={photo} width="72" height="72" alt={name} loading="lazy" decoding="async" /> - <div class="author-body"> - <p class="author-name">{name}</p> - <p class="author-role">{role}</p> - <div class="author-links"> - <a href={x} target="_blank" rel="me noopener" aria-label={`${name} on X`}> - <svg viewBox="0 0 24 24" width="16" height="16" aria-hidden="true" fill="currentColor"> - <path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z" /> - </svg> - <span>X</span> - </a> - <a href={`mailto:${email}`} aria-label={`Email ${name}`}> - <svg viewBox="0 0 24 24" width="16" height="16" aria-hidden="true" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"> - <rect x="2.5" y="4.5" width="19" height="15" rx="2" /> - <path d="m3 6 9 7 9-7" /> - </svg> - <span>Email</span> - </a> - </div> - </div> -</aside> |
