docbrown/app/views/layouts/_nav_menu.html.erb
ludwiczakpawel 66e0637e4c
CSS cleanups (#6274) [deploy]
* move kbd where it should be

* initial cleanup

* do we even need that?

* sponsorships

* cleanups on articles.scss mostly

* initial cleanups to scaffolds

* moving cheese around

* color variables, variables cleanups

* adding spacing units

* variables cleanup

* adding topbar height variable

* a bit of top-bar refactor

* a bit of top-bar refactor

* a bit of top-bar refactor

* simpler animation

* top bar search and responsivness

* loggged out version

* remove unnecessary comment

* fixing svg icons

* search cleanup

* top bar cleanups

* .

* dropdown in header

* removing fill from svgs to make them work in other themes

* remove test element

* topbar icons recreated

* Whoops

* variables naming

* .

* whoops
2020-02-28 07:39:09 -06:00

60 lines
No EOL
1.4 KiB
Text

<div class="top-bar--menu-dropdown">
<% if user_signed_in? %>
<div id="user-profile-link-placeholder">
<div class="option">
...
</div>
</div>
<a href="/dashboard">
<div class="option">
Dashboard
</div>
</a>
<a href="/new">
<div class="option">
Write a Post
</div>
</a>
<a href="/readinglist">
<div class="option">
Reading List
</div>
</a>
<a href="/settings">
<div class="option">
Settings
</div>
</a>
<a href="/p/information" id="second-last-nav-link">
<div class="option">
Key Links
</div>
</a>
<a href="/signout_confirm" id="last-nav-link">
<div class="option">
Sign Out
</div>
</a>
<% else %>
<a href="/enter" data-no-instant id="first-nav-link">
<div class="header">
Sign In/Up
</div>
</a>
<a href="/users/auth/twitter?callback_url=<%= ApplicationConfig["APP_PROTOCOL"] %><%= ApplicationConfig["APP_DOMAIN"] %>/users/auth/twitter/callback" data-no-instant>
<div class="option">
Via Twitter
</div>
</a>
<a href="/users/auth/github?state=navbar_basic" data-no-instant id="second-last-nav-link">
<div class="option">
Via GitHub
</div>
</a>
<a href="/p/information" id="last-nav-link">
<div class="option">
All about dev.to
</div>
</a>
<% end %>
</div>