feat(frontend): add HistoryCard + HistoryList
This commit is contained in:
parent
65d88be032
commit
01c281ca80
3 changed files with 88 additions and 0 deletions
12
frontend/src/components/HistoryCard.astro
Normal file
12
frontend/src/components/HistoryCard.astro
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
import { HistoryList } from './HistoryList';
|
||||
interface Props { station: string; }
|
||||
const { station } = Astro.props;
|
||||
---
|
||||
<div class="card history">
|
||||
<div class="full-secthead">
|
||||
<div class="full-secthead-jp">再生履歴</div>
|
||||
<div class="full-secthead-en">// recently played</div>
|
||||
</div>
|
||||
<HistoryList station={station} client:visible />
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue