File tree 2 files changed +3
-6
lines changed
src/Admin/Resources/templates
2 files changed +3
-6
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 8
8
<
link rel =
" stylesheet" href =
" https://cdn.jsdelivr.net/npm/[email protected] /css/bulma.min.css" >
9
9
<meta name =" viewport" content =" width=device-width, initial-scale=1" >
10
10
</head >
11
- <body class =" p-5 container is-max-desktop" >
11
+ <body class =" p-5 container is-max-desktop" x-data = " { isMenuOpen: false } " >
12
12
<nav class =" navbar" role =" navigation" aria-label =" main navigation" >
13
13
<div class =" navbar-brand" >
14
14
<a class =" navbar-item" href =" {{ path(' admin_forms' ) }}" >
15
15
<img src =" /images/logo_small.svg" >
16
16
</a >
17
17
18
- <a role =" button" class =" navbar-burger" aria-label =" menu" aria-expanded =" false" data-target =" navbar" >
18
+ <a role =" button" class =" navbar-burger" aria-label =" menu" aria-expanded =" false" data-target =" navbar" @ click = " isMenuOpen = !isMenuOpen " >
19
19
<span aria-hidden =" true" ></span >
20
20
<span aria-hidden =" true" ></span >
21
21
<span aria-hidden =" true" ></span >
22
22
</a >
23
23
</div >
24
24
25
- <div id =" navbar" class =" navbar-menu" >
25
+ <div id =" navbar" class =" navbar-menu" : class = " {'is-active': isMenuOpen} " >
26
26
<div class =" navbar-start" >
27
27
<a
28
28
class =" navbar-item {{ current_path starts with ' admin_forms' ? ' is-tab is-active' : ' ' }}"
You can’t perform that action at this time.
0 commit comments