Complete a blog tutorial
This commit is contained in:
parent
a14cb236e3
commit
4375b7c2e4
26 changed files with 2489 additions and 538 deletions
14
src/components/Social.astro
Normal file
14
src/components/Social.astro
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
const { platform, username } = Astro.props;
|
||||
---
|
||||
|
||||
<a href={`https://www.${platform}.com/${username}`}>{platform}</a>
|
||||
|
||||
<style>
|
||||
a {
|
||||
padding: 0.5rem 1rem;
|
||||
color: white;
|
||||
background-color: #4c1d95;
|
||||
text-decoration: none;
|
||||
}
|
||||
</style>
|
||||
Loading…
Add table
Add a link
Reference in a new issue