Skip to content

Commit

Permalink
Merge pull request #331 from helsingborg-stad/feat/hamburgermenu-name…
Browse files Browse the repository at this point in the history
…-change

Feat: Hamburger menu name change
  • Loading branch information
NiclasNorin authored Oct 2, 2023
2 parents 483bfde + 02e93d8 commit c99e53b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace ComponentLibrary\Component\HamburgerMenu;
namespace ComponentLibrary\Component\MegaMenu;

class HamburgerMenu extends \ComponentLibrary\Component\BaseController
class MegaMenu extends \ComponentLibrary\Component\BaseController
{

public function init() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- hamburgerMenu.blade.php -->
<div class="{{$class}} hamburgermenu-container u-display--none" js-toggle-item="hamburger-menu" js-toggle-class="u-display--none" {!! $attribute !!}>
<!-- megaMenu.blade.php -->
<div class="{{$class}} u-display--none" js-toggle-item="mega-menu" js-toggle-class="u-display--none" {!! $attribute !!}>

<nav class="{{$baseClass}}__menu o-container o-container--wide o-grid">

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"slug": "hamburgerMenu",
"slug": "megaMenu",
"default": {
"menuItems": [],
"parentStyle": false,
Expand All @@ -9,9 +9,9 @@
"description": {
"menuItems": "List of arrays containing at least 'label' and 'href' option 'icon' name as string.",
"parentStyle": "Select the style of menu parents.",
"mobile": "If true, the hamburger menu will be visible on mobile as well."
"mobile": "If true, the mega menu will be visible on mobile as well."
},
"view": "hamburgerMenu.blade.php",
"view": "megaMenu.blade.php",
"dependency": {
"sass": {
"components": [
Expand Down

0 comments on commit c99e53b

Please sign in to comment.