1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
--- export interface Props { name: string; href: string; } const { name, href } = Astro.props; --- <style> .author { margin-bottom: 0.75rem; } </style> <div class="author"> <p><a href={href}>{name}</a></p> </div>