<?php
namespace Site\Controller;

trait Mods {
  public function getMenu(): array {
    return [
      [
        'class' => 'menu-item',
        'href' => '/',
        'page' => 'blog',
        'text' => 'トップ',
        'show' => true,
      ],
      [
        'class' => 'menu-item',
        'href' => '/about',
        'page' => 'about',
        'text' => '自己紹介',
        'show' => true,
      ],
      [
        'class' => 'menu-item',
        'href' => '/monero',
        'page' => 'monero',
        'text' => '支援♡',
        'show' => true,
      ],
      [
        'class' => 'menu-item',
        'href' => '/secret',
        'page' => 'secret',
        'text' => '秘密のページ',
        'show' => false,
      ],
    ];
  }
}
?>
