Skip to content

Commit

Permalink
Better header nav on small viewports
Browse files Browse the repository at this point in the history
  • Loading branch information
benvinegar committed Jan 19, 2024
1 parent 00cec16 commit 5d8c59e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ export default function App() {
<header className="border-b-2 mb-12 py-4">
<nav className="flex justify-between items-center">
<div className="flex items-center">
<a href="/" className="text-2xl font-bold">Counterscale</a>
<img className="ml-1" src="/favicon.png" alt="Counterscale Icon" />
<a href="/" className="text-xl sm:text-2xl font-bold">Counterscale</a>
<img className="w-6 sm:w-8 ml-1" src="/favicon.png" alt="Counterscale Icon" />
</div>
<div className="flex items-center">
<a href="/dashboard" className="text-lg font-medium">Dashboard</a>
<a href="/admin-redirect" target="_blank" className="text-lg font-medium ml-4">Admin</a>
<a href="https://github.com/benvinegar/counterscale" className="w-8 ml-4">
<div className="flex items-center font-small font-medium text-md sm:text-lg">
<a href="/dashboard">Dashboard</a>
<a href="/admin-redirect" target="_blank" className="ml-2 sm:ml-4">Admin</a>
<a href="https://github.com/benvinegar/counterscale" className="w-8 ml-2 sm:ml-4">
<img src="/github-mark.svg" alt="GitHub Logo" style={{ filter: "invert(21%) sepia(27%) saturate(271%) hue-rotate(113deg) brightness(97%) contrast(97%)" }} />
</a>
</div>
Expand Down

0 comments on commit 5d8c59e

Please sign in to comment.