-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
48 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,54 @@ | ||
<template> | ||
<div class="w-full border-b border-gray-300 px-10 py-2.5 text-right my-auto space-x-8 text-gray-500 text-xl"> | ||
<i class="fa-regular fa-bell hover:text-usa-blue"></i> | ||
<i class="fa-solid fa-gear hover:text-usa-blue"></i> | ||
<div | ||
class="w-full flex justify-between lg:justify-end border-b border-gray-300 px-10 py-2.5 my-auto text-usa-white lg:text-gray-500 text-xl bg-usa-blue lg:bg-transparent" | ||
> | ||
<button | ||
class="my-auto lg:hidden text-xl leading-10 rounded-md hover:text-usa-red hover:scale-110 transition-all" | ||
@click="console.log('will toggle the nav')" | ||
> | ||
<i class="fa-solid fa-bars"></i> | ||
</button> | ||
<img src="@/assets/logo-alt.png" class="my-auto block lg:hidden w-28" /> | ||
<div class="my-auto space-x-8"> | ||
<i class="fa-regular fa-bell hover:text-usa-red lg:hover:text-usa-blue"></i> | ||
|
||
<div class="relative inline-block text-left"> | ||
<button type="button" @click="toggleDropdown"> | ||
<i class="fa-regular fa-user hover:text-usa-blue"></i> | ||
</button> | ||
<div class="relative inline-block text-left"> | ||
<button type="button" @click="toggleDropdown"> | ||
<i class="fa-regular fa-user hover:text-usa-red lg:hover:text-usa-blue"></i> | ||
</button> | ||
|
||
<div | ||
v-if="isDropdownOpen" | ||
class="absolute z-10 bg-white divide-y divide-gray-100 rounded-lg shadow w-64 right-0 top-full mt-2.5" | ||
> | ||
<ul class="py-2 text-sm text-gray-700 flex flex-col"> | ||
<li class="py-2 px-4"> | ||
<div class="flex my-auto justify-between"> | ||
<div> | ||
<h2 class="text-usa-blue text-xl font-bold -mb-1">Raaj Patel</h2> | ||
<p>[email protected]</p> | ||
<div | ||
v-if="isDropdownOpen" | ||
class="absolute z-10 bg-white divide-y divide-gray-100 rounded-lg shadow w-64 right-0 top-full mt-2.5" | ||
> | ||
<ul class="py-2 text-sm text-gray-700 flex flex-col"> | ||
<li class="py-2 px-4"> | ||
<div class="flex my-auto justify-between"> | ||
<div> | ||
<h2 class="text-usa-blue text-xl font-bold -mb-1">Raaj Patel</h2> | ||
<p>[email protected]</p> | ||
</div> | ||
<div class="my-auto"> | ||
<p class="text-usa-blue text-4xl font-bold">C3</p> | ||
</div> | ||
</div> | ||
<div class="my-auto"> | ||
<p class="text-usa-blue text-4xl font-bold">C3</p> | ||
</div> | ||
</div> | ||
</li> | ||
<router-link | ||
to="Profile" | ||
class="font-bold text-md py-2.5 px-4 hover:bg-gray-100 text-gray-600" | ||
active-class="text-usa-red" | ||
> | ||
Profile | ||
</router-link> | ||
<li class="border-t border-gray-200 mt-2 pt-2"></li> | ||
<a class="cursor-pointer"> | ||
<p class="font-bold text-md py-2.5 px-4 hover:bg-gray-100 text-gray-600">Help Center</p> | ||
</a> | ||
<a class="cursor-pointer"> | ||
<p class="font-bold text-md py-2.5 px-4 hover:bg-gray-100 text-gray-600">Sign Out</p> | ||
</a> | ||
</ul> | ||
</li> | ||
<router-link | ||
to="Profile" | ||
class="font-bold text-md py-2.5 px-4 hover:bg-gray-100 text-gray-600" | ||
active-class="text-usa-red" | ||
> | ||
Profile | ||
</router-link> | ||
<li class="border-t border-gray-200 mt-2 pt-2"></li> | ||
<a class="cursor-pointer"> | ||
<p class="font-bold text-md py-2.5 px-4 hover:bg-gray-100 text-gray-600">Help Center</p> | ||
</a> | ||
<a class="cursor-pointer"> | ||
<p class="font-bold text-md py-2.5 px-4 hover:bg-gray-100 text-gray-600">Sign Out</p> | ||
</a> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|