Skip to content

Commit

Permalink
fix some build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
neajmorshed0 committed Feb 13, 2025
1 parent 84a5331 commit 790fabe
Show file tree
Hide file tree
Showing 10 changed files with 68 additions and 279 deletions.
Binary file added public/images/user/owner.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
104 changes: 0 additions & 104 deletions src/components/charts/pie/PieChartOne.tsx

This file was deleted.

121 changes: 0 additions & 121 deletions src/components/charts/pie/PieChartTwo.tsx

This file was deleted.

8 changes: 4 additions & 4 deletions src/components/header/UserDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ export default function UserDropdown() {
<Image
width={44}
height={44}
src="/images/user/user-01.jpg"
src="/images/user/owner.jpg"
alt="User"
/>
</span>

<span className="block mr-1 font-medium text-theme-sm">
Emirhan Boruch
Musharof
</span>

<svg
Expand Down Expand Up @@ -61,10 +61,10 @@ export default function UserDropdown() {
>
<div>
<span className="block font-medium text-gray-700 text-theme-sm dark:text-gray-400">
Emirhan Boruch
Musharof Chowdury
</span>
<span className="mt-0.5 block text-theme-xs text-gray-500 dark:text-gray-400">
emirhanboruch51@gmail.com
randomuser@pimjo.com
</span>
</div>

Expand Down
5 changes: 4 additions & 1 deletion src/components/ui/dropdown/DropdownItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ export const DropdownItem: React.FC<DropdownItemProps> = ({
}) => {
const combinedClasses = `${baseClassName} ${className}`.trim();

const handleClick = () => {
const handleClick = (event: React.MouseEvent) => {
if (tag === "button") {
event.preventDefault();
}
if (onClick) onClick();
if (onItemClick) onItemClick();
};
Expand Down
8 changes: 4 additions & 4 deletions src/components/user-profile/UserAddressCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function UserAddressCard() {
Country
</p>
<p className="text-sm font-medium text-gray-800 dark:text-white/90">
United Kingdom
United States
</p>
</div>

Expand All @@ -37,7 +37,7 @@ export default function UserAddressCard() {
City/State
</p>
<p className="text-sm font-medium text-gray-800 dark:text-white/90">
Leeds, East London
Phoenix, Arizona, United States.
</p>
</div>

Expand Down Expand Up @@ -99,12 +99,12 @@ export default function UserAddressCard() {
<div className="grid grid-cols-1 gap-x-6 gap-y-5 lg:grid-cols-2">
<div>
<Label>Country</Label>
<Input type="text" defaultValue="United Kingdom" />
<Input type="text" defaultValue="United States" />
</div>

<div>
<Label>City/State</Label>
<Input type="text" defaultValue="Leeds, East London" />
<Input type="text" defaultValue="Arizona, United States." />
</div>

<div>
Expand Down
15 changes: 6 additions & 9 deletions src/components/user-profile/UserInfoCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default function UserInfoCard() {
First Name
</p>
<p className="text-sm font-medium text-gray-800 dark:text-white/90">
Emirhan
Musharof
</p>
</div>

Expand All @@ -36,7 +36,7 @@ export default function UserInfoCard() {
Last Name
</p>
<p className="text-sm font-medium text-gray-800 dark:text-white/90">
Boruch
Chowdhury
</p>
</div>

Expand All @@ -45,7 +45,7 @@ export default function UserInfoCard() {
Email address
</p>
<p className="text-sm font-medium text-gray-800 dark:text-white/90">
emirhanboruch55@gmail.com
randomuser@pimjo.com
</p>
</div>

Expand Down Expand Up @@ -148,20 +148,17 @@ export default function UserInfoCard() {
<div className="grid grid-cols-1 gap-x-6 gap-y-5 lg:grid-cols-2">
<div className="col-span-2 lg:col-span-1">
<Label>First Name</Label>
<Input type="text" defaultValue="Emirhan" />
<Input type="text" defaultValue="Musharof" />
</div>

<div className="col-span-2 lg:col-span-1">
<Label>Last Name</Label>
<Input type="text" defaultValue="Boruch" />
<Input type="text" defaultValue="Chowdhury" />
</div>

<div className="col-span-2 lg:col-span-1">
<Label>Email Address</Label>
<Input
type="text"
defaultValue="[email protected]"
/>
<Input type="text" defaultValue="[email protected]" />
</div>

<div className="col-span-2 lg:col-span-1">
Expand Down
Loading

0 comments on commit 790fabe

Please sign in to comment.