Wednesday, July 15, 2026 2:55:33 AM
> project show esm_website_v1
The unexpected heart of the ESM ecosystem. What started as a simple Rails dashboard has evolved into the command center for thousands of gaming communities, proving that sometimes the best infrastructure projects are the ones you never planned to build.
Details
> _player_sidebar.html.erb
<div class="uk-width-1-5@xl uk-width-1-4@m uk-width-1-1">
  <%# DESKTOP %>
  <div class="sidebar uk-visible@m" uk-height-viewport="offset-top: true">
    <h2 class="uk-text-center uk-margin-remove-bottom uk-margin-remove-top uk-padding">Player Dashboard</h2>
    <div class="uk-margin-left uk-margin-right">
      <h4>My Profile</h4>
      <hr class="esm-border-color-blue">
      <ul class="uk-list sidebar-items uk-margin-left">
        <%= link_to edit_user_path(current_user.discord_id) do %>
          <li
            <% if controller_name == "users" && action_name == "edit" %>
              class="selected"
            <% end %>
          >
            Modify
          </li>
        <% end %>
      </ul>
      <h4>Configure</h4>
      <hr class="esm-border-color-blue">
      <ul class="uk-list sidebar-items uk-margin-left">
        <%= link_to user_notification_routing_index_path(current_user.discord_id) do %>
          <li <%= "class=selected" if controller_name == "user_notification_routes" %>>
            XM8 Notification Routing
          </li>
        <% end %>
      </ul>
    </div>
  </div>
  <%# MOBILE %>
  <div class="uk-hidden@m uk-container uk-margin-top">
    <h3 class="uk-text-center">Player Dashboard</h3>
    <div class="uk-margin-bottom">
      <div class="uk-margin-top">
        <label class="esm-text-color-toast-green">Current Section:</label>
        <select class="uk-select uk-form-small" id="mobile-panel-select">
          <option value="<%= edit_user_path(current_user.discord_id) %>" <%= "selected" if controller_name == "users" && action_name == "edit" %>>
            My Profile
          </option>

          <option value="<%= user_notification_routing_index_path(current_user.discord_id) %>" <%= "selected" if controller_name == "user_notification_routes" && action_name == "player_index" %>>
            XM8 Notification Routing
          </option>
        </select>
      </div>
    </div>
  </div>
</div>
All opinions represented herein are my own
- © 2024 - 2026 itsthedevman
- build 43aa0d7