Skip to content

Commit

Permalink
add Zero-JavaScript View Transitions
Browse files Browse the repository at this point in the history
  • Loading branch information
inotelab authored Jun 12, 2024
1 parent 5ee9a7c commit f828838
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/components/BaseHead.astro
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,11 @@ const { title, description, image = "/blog-placeholder-1.avif" } = Astro.props;
<!-- Preline CSS -->
<script>
import "preline/dist/preline.js";
</script>
</script>

<!-- view transition -->
<style>
@view-transition {
navigation: auto;
}
<style>

0 comments on commit f828838

Please sign in to comment.