Skip to content

Commit e62d8c8

Browse files
committed
swapped out default buttons for link to GH/Chrome Store
1 parent dfc2d34 commit e62d8c8

File tree

1 file changed

+19
-70
lines changed

1 file changed

+19
-70
lines changed

www/src/pages/components/NavBar.tsx

Lines changed: 19 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,18 @@ function NavBarSytling() {
3939
<div className="flex items-center">
4040
<div className="ml-6 flex-shrink-0">
4141
<img
42-
className="block h-8 w-auto lg:hidden"
42+
className="block h-9 w-auto lg:hidden"
4343
src="https://i.imgur.com/ELBAyVb.png"
4444
alt="Your Company"
4545
/>
4646
<img
47-
className="hidden h-8 w-auto lg:block"
47+
className="hidden h-9 w-auto lg:block"
4848
src="https://i.imgur.com/ELBAyVb.png"
4949
alt="Your Company"
5050
/>
5151
</div>
52-
<span className="inline-flex items-center mx-4 rounded-full bg-red-200 px-2.5 py-0.5 text-xs font-medium text-red-800">
52+
<h2 className="font-bold text-2xl pl-1 mt-2">Reactime</h2>
53+
<span className="inline-flex items-center mt-2 mx-4 rounded-full bg-red-200 px-2.5 py-0.5 text-xs font-medium text-red-800">
5354
v17.0.0
5455
</span>
5556

@@ -58,26 +59,18 @@ function NavBarSytling() {
5859
<div className="hidden sm:ml-6 sm:block">
5960
<div className="flex space-x-4">
6061
{/* Current: "bg-gray-900 text-white", Default: "text-gray-300 hover:bg-gray-700 hover:text-white" */}
61-
<a href="#" className="rounded-md bg-gray-900 px-3 py-2 text-sm font-medium text-white">
62-
Dashboard
63-
</a>
64-
<a
65-
href="#"
66-
className="rounded-md px-3 py-2 text-sm font-medium text-gray-500 hover:bg-gray-700 hover:text-white"
67-
>
68-
Team
69-
</a>
7062
<a
71-
href="#"
63+
href="http://github.com/open-source-labs/reactime"
64+
target="_blank"
7265
className="rounded-md px-3 py-2 text-sm font-medium text-gray-500 hover:bg-gray-700 hover:text-white"
7366
>
74-
Projects
67+
Github
7568
</a>
76-
<a
77-
href="#"
78-
className="rounded-md px-3 py-2 text-sm font-medium text-gray-500 hover:bg-gray-700 hover:text-white"
79-
>
80-
Calendar
69+
<a
70+
href="https://chrome.google.com/webstore/detail/reactime/cgibknllccemdnfhfpmjhffpjfeidjga?hl=en-US"
71+
target="_blank"
72+
className="rounded-md bg-gray-900 px-3 py-2 text-sm font-medium text-white hover:bg-gray-700 hover:text-white">
73+
Download
8174
</a>
8275
</div>
8376
</div>
@@ -87,80 +80,36 @@ function NavBarSytling() {
8780
<Disclosure.Panel className="sm:hidden">
8881
<div className="space-y-1 px-2 pt-2 pb-3">
8982
{/* Current: "bg-gray-900 text-white", Default: "text-gray-300 hover:bg-gray-700 hover:text-white" */}
83+
9084
<Disclosure.Button
9185
as="a"
9286
href="#"
93-
className="block rounded-md bg-gray-900 px-3 py-2 text-base font-medium text-white"
87+
className="block rounded-md px-3 py-2 text-base font-medium text-gray-300 hover:bg-gray-700 hover:text-white"
9488
>
95-
Dashboard
89+
Team
9690
</Disclosure.Button>
9791
<Disclosure.Button
9892
as="a"
9993
href="#"
10094
className="block rounded-md px-3 py-2 text-base font-medium text-gray-300 hover:bg-gray-700 hover:text-white"
10195
>
102-
Team
96+
Projects
10397
</Disclosure.Button>
10498
<Disclosure.Button
10599
as="a"
106100
href="#"
107101
className="block rounded-md px-3 py-2 text-base font-medium text-gray-300 hover:bg-gray-700 hover:text-white"
108102
>
109-
Projects
103+
Calendar
110104
</Disclosure.Button>
111105
<Disclosure.Button
112106
as="a"
113107
href="#"
114-
className="block rounded-md px-3 py-2 text-base font-medium text-gray-300 hover:bg-gray-700 hover:text-white"
108+
className="block rounded-md bg-gray-900 px-3 py-2 text-base font-medium text-white"
115109
>
116-
Calendar
110+
Download
117111
</Disclosure.Button>
118112
</div>
119-
<div className="border-t border-gray-700 pt-4 pb-3">
120-
<div className="flex items-center px-5">
121-
<div className="flex-shrink-0">
122-
<img
123-
className="h-10 w-10 rounded-full"
124-
src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80"
125-
alt=""
126-
/>
127-
</div>
128-
<div className="ml-3">
129-
<div className="text-base font-medium text-white">Tom Cook</div>
130-
<div className="text-sm font-medium text-gray-400">[email protected]</div>
131-
</div>
132-
<button
133-
type="button"
134-
className="ml-auto flex-shrink-0 rounded-full bg-gray-800 p-1 text-gray-400 hover:text-white focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2 focus:ring-offset-gray-800"
135-
>
136-
<span className="sr-only">View notifications</span>
137-
<BellIcon className="h-6 w-6" aria-hidden="true" />
138-
</button>
139-
</div>
140-
<div className="mt-3 space-y-1 px-2">
141-
<Disclosure.Button
142-
as="a"
143-
href="#"
144-
className="block rounded-md px-3 py-2 text-base font-medium text-gray-400 hover:bg-gray-700 hover:text-white"
145-
>
146-
Your Profile
147-
</Disclosure.Button>
148-
<Disclosure.Button
149-
as="a"
150-
href="#"
151-
className="block rounded-md px-3 py-2 text-base font-medium text-gray-400 hover:bg-gray-700 hover:text-white"
152-
>
153-
Settings
154-
</Disclosure.Button>
155-
<Disclosure.Button
156-
as="a"
157-
href="#"
158-
className="block rounded-md px-3 py-2 text-base font-medium text-gray-400 hover:bg-gray-700 hover:text-white"
159-
>
160-
Sign out
161-
</Disclosure.Button>
162-
</div>
163-
</div>
164113
</Disclosure.Panel>
165114
</>
166115
)}

0 commit comments

Comments
 (0)