@@ -14,15 +14,22 @@ import {
14
14
} from "./UI/Popover" ;
15
15
import { Form } from "remix" ;
16
16
import { useJsonDoc } from "~/hooks/useJsonDoc" ;
17
+ import { LogoTriggerdotdev } from "./Icons/LogoTriggerdotdev" ;
17
18
18
19
export function Header ( ) {
19
20
const { doc } = useJsonDoc ( ) ;
20
21
21
22
return (
22
23
< header className = "flex items-center justify-between w-screen h-[40px] bg-indigo-700 dark:bg-slate-800 border-b-[1px] border-slate-600" >
23
- < Logo className = "pl-1 pr-2" width = { "130" } />
24
+ < div className = "flex pl-2 gap-1 sm:gap-1.5 pt-0.5 h-8 justify-center items-center" >
25
+ < div className = "w-20 sm:w-24" >
26
+ < Logo />
27
+ </ div >
28
+ < p className = "text-slate-300 text-sm font-sans" > by</ p >
29
+ < LogoTriggerdotdev className = "w-16 sm:w-20 opacity-80 hover:opacity-100 transition duration-300" />
30
+ </ div >
24
31
< DocumentTitle />
25
- < ol className = "flex items-center gap-2 px-4" >
32
+ < ol className = "flex text-sm items-center gap-2 px-4" >
26
33
{ ! doc . readOnly && (
27
34
< Form
28
35
method = "delete"
@@ -33,7 +40,7 @@ export function Header() {
33
40
}
34
41
>
35
42
< button type = "submit" >
36
- < button className = "flex items-center justify-center py-1 bg-slate-200 text-slate-800 bg-opacity-90 text-base font-bold px-2 rounded-sm uppercase hover:cursor-pointer hover:bg-opacity-100 transition" >
43
+ < button className = "flex items-center justify-center py-1 bg-slate-200 text-slate-800 bg-opacity-80 text-base font-bold px-2 rounded uppercase hover:cursor-pointer hover:bg-opacity-100 transition" >
37
44
< TrashIcon className = "w-4 h-4 mr-0.5" > </ TrashIcon >
38
45
Delete
39
46
</ button >
@@ -43,7 +50,7 @@ export function Header() {
43
50
44
51
< Popover >
45
52
< PopoverTrigger >
46
- < button className = "flex items-center justify-center bg-lime-500 text-slate-800 bg-opacity-90 text-base font-bold px-2 py-1 rounded-sm uppercase hover:cursor-pointer hover:bg-opacity-100 transition" >
53
+ < button className = "flex items-center justify-center bg-lime-500 text-slate-800 bg-opacity-90 text-base font-bold px-2 py-1 rounded uppercase hover:cursor-pointer hover:bg-opacity-100 transition" >
47
54
< PlusIcon className = "w-4 h-4 mr-0.5" > </ PlusIcon >
48
55
New
49
56
</ button >
@@ -59,7 +66,7 @@ export function Header() {
59
66
60
67
< Popover >
61
68
< PopoverTrigger >
62
- < button className = "flex items-center justify-center py-1 bg-slate-200 text-slate-800 bg-opacity-90 text-base font-bold px-2 rounded-sm uppercase hover:cursor-pointer hover:bg-opacity-100 transition" >
69
+ < button className = "flex items-center justify-center py-1 bg-slate-200 text-slate-800 bg-opacity-90 text-base font-bold px-2 rounded uppercase hover:cursor-pointer hover:bg-opacity-100 transition" >
63
70
< ShareIcon className = "w-4 h-4 mr-1" > </ ShareIcon >
64
71
Share
65
72
</ button >
@@ -76,11 +83,6 @@ export function Header() {
76
83
< li className = "opacity-90 transition hover:cursor-pointer hover:opacity-100" >
77
84
< GithubStar />
78
85
</ li >
79
- < li className = "hover:cursor-pointer opacity-90 hover:opacity-100 transition" >
80
- < a href = "mailto:[email protected] " >
81
- < EmailIconTransparent />
82
- </ a >
83
- </ li >
84
86
< li className = "opacity-90 transition hover:cursor-pointer hover:opacity-100" >
85
87
< a href = "https://discord.gg/JtBAxBr2m3" target = "_blank" >
86
88
< DiscordIconTransparent />
0 commit comments