-
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
1 parent
f2fb52d
commit 1c42bca
Showing
6 changed files
with
164 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,25 @@ | ||
import React from 'react'; | ||
import { Bars3Icon, SunIcon } from '@heroicons/react/24/outline'; | ||
import { Avatar, AvatarFallback, AvatarImage, Input } from '@aafiyah/ui'; | ||
|
||
export const Header = () => { | ||
return <header className=""></header>; | ||
return ( | ||
<header className="px-6 py-3 shadow-md flex items-center justify-between gap-10 bg-white"> | ||
<div className="flex flex-1 items-center space-x-5"> | ||
<button> | ||
<Bars3Icon className="w-6 h-6" /> | ||
</button> | ||
<Input className="max-w-xs" placeholder="Search here" /> | ||
</div> | ||
<div className="flex items-center space-x-5"> | ||
<button className="hover:text-black text-gray-500 transition-colors duration-300"> | ||
<SunIcon className="w-8 h-8" /> | ||
</button> | ||
<Avatar> | ||
<AvatarImage src="https://github.com/shadcn.png" alt="@shadcn" /> | ||
<AvatarFallback>CN</AvatarFallback> | ||
</Avatar> | ||
</div> | ||
</header> | ||
); | ||
}; |
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
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,3 +1,64 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
@tailwind utilities; | ||
|
||
@layer base { | ||
:root { | ||
--background: 0 0% 100%; | ||
--foreground: 20 14.3% 4.1%; | ||
--card: 0 0% 100%; | ||
--card-foreground: 20 14.3% 4.1%; | ||
--popover: 0 0% 100%; | ||
--popover-foreground: 20 14.3% 4.1%; | ||
--primary: 24.6 95% 53.1%; | ||
--primary-foreground: 60 9.1% 97.8%; | ||
--secondary: 60 4.8% 95.9%; | ||
--secondary-foreground: 24 9.8% 10%; | ||
--muted: 60 4.8% 95.9%; | ||
--muted-foreground: 25 5.3% 44.7%; | ||
--accent: 60 4.8% 95.9%; | ||
--accent-foreground: 24 9.8% 10%; | ||
--destructive: 0 84.2% 60.2%; | ||
--destructive-foreground: 60 9.1% 97.8%; | ||
--border: 20 5.9% 90%; | ||
--input: 20 5.9% 90%; | ||
--ring: 24.6 95% 53.1%; | ||
--radius: 0.5rem; | ||
} | ||
|
||
.dark { | ||
--background: 20 14.3% 4.1%; | ||
--foreground: 60 9.1% 97.8%; | ||
--card: 20 14.3% 4.1%; | ||
--card-foreground: 60 9.1% 97.8%; | ||
--popover: 20 14.3% 4.1%; | ||
--popover-foreground: 60 9.1% 97.8%; | ||
--primary: 20.5 90.2% 48.2%; | ||
--primary-foreground: 60 9.1% 97.8%; | ||
--secondary: 12 6.5% 15.1%; | ||
--secondary-foreground: 60 9.1% 97.8%; | ||
--muted: 12 6.5% 15.1%; | ||
--muted-foreground: 24 5.4% 63.9%; | ||
--accent: 12 6.5% 15.1%; | ||
--accent-foreground: 60 9.1% 97.8%; | ||
--destructive: 0 72.2% 50.6%; | ||
--destructive-foreground: 60 9.1% 97.8%; | ||
--border: 12 6.5% 15.1%; | ||
--input: 12 6.5% 15.1%; | ||
--ring: 20.5 90.2% 48.2%; | ||
} | ||
} | ||
|
||
@layer base { | ||
* { | ||
@apply border-border; | ||
} | ||
html { | ||
scroll-behavior: smooth; | ||
@apply font-roboto; | ||
} | ||
body { | ||
@apply bg-background text-foreground; | ||
font-feature-settings: 'rlig' 1, 'calt' 1; | ||
} | ||
} |
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