Added ArticleFooter and SequenceNav
This commit is contained in:
17
src/components/post/Footer/ArticleFooter.astro
Normal file
17
src/components/post/Footer/ArticleFooter.astro
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
import type { Sequence } from '@/lib/site/navigation'
|
||||
|
||||
import SequenceNav from './SequenceNav.astro'
|
||||
|
||||
type Props = {
|
||||
sequence: Sequence | null
|
||||
}
|
||||
|
||||
const { sequence } = Astro.props
|
||||
---
|
||||
|
||||
{sequence && (
|
||||
<footer class="article-footer">
|
||||
<SequenceNav sequence={sequence} />
|
||||
</footer>
|
||||
)}
|
||||
Reference in New Issue
Block a user