diff options
author | João Augusto Costa Branco Marado Torres <torres.dev@disroot.org> | 2025-07-27 10:58:32 -0300 |
---|---|---|
committer | João Augusto Costa Branco Marado Torres <torres.dev@disroot.org> | 2025-07-27 10:58:32 -0300 |
commit | 9f3b746f72bc7895d3f659a7201969349f5e5298 (patch) | |
tree | 094f189733c06570e351d837996e663192e960d8 /src/layouts | |
parent | 3159d2fd4bf98571c6131153229aa5bf96d7a56e (diff) |
refactor: cleaner code
Signed-off-by: João Augusto Costa Branco Marado Torres <torres.dev@disroot.org>
Diffstat (limited to 'src/layouts')
-rw-r--r-- | src/layouts/PrevNext.astro | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/layouts/PrevNext.astro b/src/layouts/PrevNext.astro new file mode 100644 index 0000000..64db40b --- /dev/null +++ b/src/layouts/PrevNext.astro @@ -0,0 +1,13 @@ +--- +import PrevNextNav from "@components/templates/PrevNextNav.astro"; + +interface Props { + previous?: string | URL; + next?: string | URL; + label?: string; +} +--- + +<PrevNextNav {...Astro.props} /> +<slot /> +<PrevNextNav {...Astro.props} /> |