Skip to content

Commit

Permalink
feat: update Turbo, enable view transition
Browse files Browse the repository at this point in the history
  • Loading branch information
Kocal committed Aug 11, 2024
1 parent 2b95c25 commit 6f9c68a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion importmap.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
'path' => './vendor/symfony/stimulus-bundle/assets/dist/loader.js',
],
'@hotwired/turbo' => [
'version' => '7.3.0',
'version' => '8.0.5',
],
'@symfony/ux-map/abstract-map-controller' => [
'path' => './vendor/symfony/ux-map/assets/dist/abstract_map_controller.js',
Expand Down
4 changes: 3 additions & 1 deletion templates/base.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
<html lang="{{ app.request.locale }}" dir="ltr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ block('title') }} </title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="color-scheme" content="dark light">
<meta name="view-transition" content="same-origin" />

{% block stylesheets %}
{% endblock %}
Expand Down

0 comments on commit 6f9c68a

Please # to comment.