@@ -6,33 +6,30 @@ import { BsPeopleFill } from 'react-icons/bs';
6
6
import { SearchForm } from './search-form' ;
7
7
import { auth } from '@/auth' ;
8
8
import { signInAction , signOutAction } from '../../actions' ;
9
+ import { LogoIconsSvg } from '@/components/Icons' ;
9
10
10
11
export async function Header ( ) {
11
12
const session = await auth ( ) ;
12
13
13
14
return (
14
- < header className = "border-b-[0.5px] border-dashed border-b-hacktoberfest-light-green mb-5" >
15
- < div className = "container px-4 py-2 mx-auto" >
16
- < div className = "justify-between shadow-lg navbar" >
17
- < Link href = "/" >
18
- < img
19
- src = "/horizontal_beige.png"
20
- alt = "Hacktoberfest"
21
- className = "w-56"
22
- />
15
+ < header className = "fixed top-0 left-0 w-full z-50 py-3 px-6" >
16
+ < div className = "border border-hacktoberfest-light-blue rounded-lg py-4 px-6 container mx-auto bg-[radial-gradient(85.48%_85.48%_at_50%_0%,rgb(64,63,125)_0%,rgb(from_rgb(28,28,63)_r_g_b/_0)_100%)] backdrop-blur-md shadow-lg" >
17
+ < div className = "flex justify-between items-center" >
18
+ < Link href = "/" className = "z-5" >
19
+ < LogoIconsSvg />
23
20
</ Link >
24
21
25
22
< SearchForm />
26
23
27
24
< div className = "flex gap-2 lg:ml-40" >
28
25
< form action = { session ? signOutAction : signInAction } >
29
- < button className = "text-white border-white btn btn-ghost border-1 ms-4" >
26
+ < button className = "text-white border-white btn btn-ghost border-1 ms-4 hover:bg-blue-700 transition-colors " >
30
27
{ session && session . user ? 'Sign Out' : 'Sign In' }
31
28
</ button >
32
29
</ form >
33
30
< Link
34
31
href = "/contributors"
35
- className = "btn btn-square btn-ghost umami--click--contributors-button"
32
+ className = "btn btn-square btn-ghost umami--click--contributors-button hover:bg-blue-700 transition-colors "
36
33
>
37
34
< BsPeopleFill size = "1.5rem" color = "white" title = "Contributors" />
38
35
</ Link >
@@ -41,7 +38,7 @@ export async function Header() {
41
38
href = "https://github.com/max-programming/hacktoberfest-projects"
42
39
target = "_blank"
43
40
rel = "noreferrer"
44
- className = "btn btn-square btn-ghost umami--click--github-button"
41
+ className = "btn btn-square btn-ghost umami--click--github-button hover:bg-blue-700 transition-colors "
45
42
>
46
43
< IoLogoGithub size = "1.5rem" color = "white" title = "GitHub" />
47
44
</ a >
0 commit comments