Move to Astro
This commit is contained in:
16
src/components/Solocard.astro
Normal file
16
src/components/Solocard.astro
Normal file
@@ -0,0 +1,16 @@
|
||||
---
|
||||
import Card from "./Card.astro";
|
||||
|
||||
export interface Props {
|
||||
title: string;
|
||||
src: string;
|
||||
}
|
||||
|
||||
const { title, src } = Astro.props;
|
||||
---
|
||||
|
||||
<div class="container solocard-container">
|
||||
<div class="row">
|
||||
<Card title={title} src={src} />
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user