<div class="ui large hidden container">
    <div class="ui menu">
        <div class="header item">Mailpenny</div>
        <div class="item">
            <div class="ui action left icon input">
                <i class="search icon"></i>
                <input type="text" placeholder="Search">
                <button class="ui button">Submit</button>
            </div>
        </div>
        <div class="right menu">
          <% if user_signed_in? %>
          <div class="item">
            <i class="user icon"></i>
            Profile
          </div>
          <a href="#">
          <div class="item">
            <i class="mail icon"></i>
            Inbox
          </div>
          </a>
          <div class="dropdown item" tabindex="0">
              Dropdown
              <i class="dropdown icon"></i>
              <div class="menu transition hidden" tabindex="-1">
                  <div class="item">Action</div>
                  <div class="item">Another Action</div>
                  <div class="item">Something else here</div>
                  <div class="divider"></div>
                  <div class="item">Separated Link</div>
                  <div class="divider"></div>
                  <div class="item">One more separated link</div>
              </div>
          </div>
          <% else %>
          <div class="item">
              <a href="<%= new_user_session_path %>" class="ui button">Log in</a>
          </div>
          <div class="item">
              <a href="<%= new_user_registration_path %>" class="ui primary button">Sign Up</a>
          </div>
          <% end %>
        </div>
    </div>
</div>

<div class="ui large hidden container">
    <div class="ui menu">
        <div class="header item">Mailpenny</div>
        <div class="item">
            <div class="ui action left icon input">
                <i class="search icon"></i>
                <input type="text" placeholder="Search">
                <button class="ui button">Submit</button>
            </div>
        </div>
        <div class="right menu">
          <% if user_signed_in? %>
          <a href="#" class="item">
            <i class="user icon"></i>
            Profile
          </a>
          <a href="#" class="item">
            <i class="mail icon"></i>
            Inbox
          </a>
          <div class="dropdown item" tabindex="0">
              Dropdown
              <i class="dropdown icon"></i>
              <div class="menu transition hidden" tabindex="-1">
                  <div class="item">Action</div>
                  <div class="item">Another Action</div>
                  <div class="item">Something else here</div>
                  <div class="divider"></div>
                  <div class="item">Separated Link</div>
                  <div class="divider"></div>
                  <div class="item">One more separated link</div>
              </div>
          </div>
          <% else %>
          <div class="item">
              <a href="<%= new_user_session_path %>" class="ui button">Log in</a>
          </div>
          <div class="item">
              <a href="<%= new_user_registration_path %>" class="ui primary button">Sign Up</a>
          </div>
          <% end %>
        </a>
    </div>
</div>

Convert the menu items into anchor tags
Convert the menu items into anchor tags
