diff --git a/packages/frontend/src/components/shared/CustomIcon/NotificationBellIcon.tsx b/packages/frontend/src/components/shared/CustomIcon/NotificationBellIcon.tsx
new file mode 100644
index 0000000..2980e2f
--- /dev/null
+++ b/packages/frontend/src/components/shared/CustomIcon/NotificationBellIcon.tsx
@@ -0,0 +1,20 @@
+import React from 'react';
+import { CustomIcon, CustomIconProps } from './CustomIcon';
+
+export const NotificationBellIcon = (props: CustomIconProps) => {
+ return (
+
+
+
+ );
+};
diff --git a/packages/frontend/src/components/shared/CustomIcon/index.ts b/packages/frontend/src/components/shared/CustomIcon/index.ts
index 93f2438..2be9f68 100644
--- a/packages/frontend/src/components/shared/CustomIcon/index.ts
+++ b/packages/frontend/src/components/shared/CustomIcon/index.ts
@@ -22,3 +22,4 @@ export * from './EllipseIcon';
export * from './EllipsesIcon';
export * from './SnowballIcon';
export * from './ReactNativeIcon';
+export * from './NotificationBellIcon';
diff --git a/packages/frontend/src/components/shared/Input/Input.theme.ts b/packages/frontend/src/components/shared/Input/Input.theme.ts
index bf5ce91..b1ecb70 100644
--- a/packages/frontend/src/components/shared/Input/Input.theme.ts
+++ b/packages/frontend/src/components/shared/Input/Input.theme.ts
@@ -19,10 +19,10 @@ export const inputTheme = tv(
'block',
'w-full',
'h-full',
- 'rounded-lg',
- 'text-elements-mid-em',
'shadow-sm',
'border',
+ 'rounded-lg',
+ 'text-elements-mid-em',
'border-border-interactive',
'disabled:shadow-none',
'disabled:border-none',
@@ -71,6 +71,15 @@ export const inputTheme = tv(
helperIcon: ['h-4 w-4'],
},
},
+ appearance: {
+ borderless: {
+ input: [
+ 'border-none', // Remove the border
+ 'shadow-none', // Optional: remove shadow if desired
+ // Add any additional styles necessary for the borderless appearance
+ ],
+ },
+ },
},
defaultVariants: {
size: 'md',
diff --git a/packages/frontend/src/components/shared/Input/Input.tsx b/packages/frontend/src/components/shared/Input/Input.tsx
index d2d5459..fb3fd7d 100644
--- a/packages/frontend/src/components/shared/Input/Input.tsx
+++ b/packages/frontend/src/components/shared/Input/Input.tsx
@@ -24,12 +24,17 @@ export const Input = ({
helperText,
size,
state,
+ appearance,
...props
}: InputProps) => {
- const styleProps = (({ size = 'md', state }) => ({
- size,
- state,
- }))({ size, state });
+ const styleProps = useMemo(
+ () => ({
+ size: size || 'md',
+ state: state || 'default',
+ appearance, // Pass appearance to inputTheme
+ }),
+ [size, state, appearance],
+ );
const {
container: containerCls,
diff --git a/packages/frontend/src/layouts/ProjectSearch.tsx b/packages/frontend/src/layouts/ProjectSearch.tsx
index bd2b496..775f5ab 100644
--- a/packages/frontend/src/layouts/ProjectSearch.tsx
+++ b/packages/frontend/src/layouts/ProjectSearch.tsx
@@ -2,12 +2,14 @@ import React, { useCallback, useEffect, useState } from 'react';
import { Outlet, useNavigate } from 'react-router-dom';
import { User } from 'gql-client';
-import { IconButton, Tooltip, Typography } from '@material-tailwind/react';
+// import { Tooltip } from '@material-tailwind/react';
import HorizontalLine from '../components/HorizontalLine';
import ProjectSearchBar from '../components/projects/ProjectSearchBar';
import { useGQLClient } from '../context/GQLClientContext';
import { formatAddress } from '../utils/format';
+import { NotificationBellIcon, PlusIcon } from 'components/shared/CustomIcon';
+import { Button } from 'components/shared/Button';
const ProjectSearch = () => {
const navigate = useNavigate();
@@ -26,8 +28,8 @@ const ProjectSearch = () => {
return (
-
-
+
+
{
navigate(
@@ -36,23 +38,15 @@ const ProjectSearch = () => {
}}
/>
-
-
- +
-
-
-
- ^
-
-
- {user?.name && (
- {formatAddress(user.name)}
- )}
-
+
+
+ {user?.name ? (
+
+ ) : null}
diff --git a/packages/frontend/src/pages/OrgSlug.tsx b/packages/frontend/src/pages/OrgSlug.tsx
index 7ee4083..b2214e4 100644
--- a/packages/frontend/src/pages/OrgSlug.tsx
+++ b/packages/frontend/src/pages/OrgSlug.tsx
@@ -12,7 +12,7 @@ const OrgSlug = () => {