Skip to content

Commit

Permalink
Cleaning console errors and Style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
develad committed Mar 19, 2024
1 parent 65e8f1e commit cf39689
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 21 deletions.
14 changes: 6 additions & 8 deletions app/[locale]/members/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,12 @@ const WelcomeMessage = () => {
<p className="text-2xl text-center md:text-right">
כאן אפשר להכיר את כל המשפחה! וכשתסיימו, בואו לדיסקורד
</p>
<div className="">
<DiscordLink
href={LINKS.DISCORD}
className="w-48 mx-auto mt-4 md:mt-0 font-inter font-semibold bg-gray-50 text-gray-600 py-2 px-6"
>
ערוץ דיסקורד
</DiscordLink>
</div>
<DiscordLink
href={LINKS.DISCORD}
className="w-48 mx-auto mt-4 md:mt-0 font-inter font-semibold bg-gray-50 text-gray-600 py-2 px-6"
>
ערוץ דיסקורד
</DiscordLink>
</div>
</div>
);
Expand Down
4 changes: 2 additions & 2 deletions components/Members/MemberCard/MemberCardInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ function Crown(props: SVGProps<SVGSVGElement>) {
{...props}
>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M7.50627 0.253069C7.29803 -0.0843556 6.80738 -0.0843565 6.59913 0.253068L4.62678 3.44888L0.705087 2.11843C0.291657 1.97818 -0.105816 2.36723 0.0255619 2.78357L1.54556 7.60046C1.58239 7.71719 1.65204 7.80831 1.7389 7.87123C1.77628 7.97324 1.87424 8.04603 1.9892 8.04603H12.1161C12.2633 8.04603 12.3826 7.92672 12.3826 7.77953V7.74748C12.4127 7.70428 12.4372 7.65518 12.4545 7.60046L13.9745 2.78357C14.1058 2.36723 13.7084 1.97818 13.2949 2.11843L9.46038 3.41932L7.50627 0.253069ZM1.7227 8.71248H12.3826V10.578C12.3826 10.9459 12.0843 11.2442 11.7164 11.2442H2.38895C2.02099 11.2442 1.7227 10.9459 1.7227 10.578V8.71248Z"
/>
</svg>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@ export const TwitterMemberLink = ({ twitterUrl }: TwitterMemberLinkProps) => {
>
<path
d="M23.0005 0.999314C22.0429 1.67479 20.9826 2.19142 19.8605 2.52931C19.2582 1.83682 18.4578 1.34601 17.5675 1.12324C16.6772 0.900474 15.74 0.956509 14.8826 1.28377C14.0252 1.61102 13.2889 2.19371 12.7735 2.95303C12.258 3.71235 11.9882 4.61165 12.0005 5.52931V6.52931C10.2431 6.57488 8.50176 6.18513 6.9315 5.39476C5.36123 4.60439 4.01081 3.43795 3.00049 1.99931C3.00049 1.99931 -0.999512 10.9993 8.00049 14.9993C5.94102 16.3973 3.48765 17.0982 1.00049 16.9993C10.0005 21.9993 21.0005 16.9993 21.0005 5.49931C20.9996 5.22077 20.9728 4.94291 20.9205 4.66931C21.9411 3.66281 22.6613 2.39203 23.0005 0.999314Z"
stroke-width="1.59763"
stroke-linecap="round"
stroke-linejoin="round"
strokeWidth="round"
strokeLinejoin="round"
/>
</svg>
</a>
Expand Down
16 changes: 8 additions & 8 deletions components/Members/MembersSearch/MembersSearch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ function Magnifier(props: SVGProps<SVGSVGElement>) {
>
<path
d="M9 17C13.4183 17 17 13.4183 17 9C17 4.58172 13.4183 1 9 1C4.58172 1 1 4.58172 1 9C1 13.4183 4.58172 17 9 17Z"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
/>
<path
d="M19.35 19.35L15 15"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
/>
</svg>
);
Expand All @@ -32,7 +32,7 @@ export const MembersSearch: React.FC<MembersSearchProps> = ({
onSearchInputChange,
}) => {
return (
<div className="flex items-center justify-between mx-auto w-4/5">
<div className="flex items-center justify-between mx-auto w-4/5 gap-4">
<select
className="hidden md:block h-[45px] bg-purple-100 dark:bg-gray-800 rounded-r-3xl rounded-l-3xl p-2"
name="activitySelect"
Expand All @@ -46,7 +46,7 @@ export const MembersSearch: React.FC<MembersSearchProps> = ({
<div className="w-full relative h-[45px]">
<input
type="text"
className="pr-4 top-0 right-0 w-full h-full mr-0 md:mr-4 bg-purple-100 dark:bg-gray-800 rounded-r-3xl rounded-l-3xl"
className="pr-4 top-0 right-0 w-full h-full bg-purple-100 dark:bg-gray-800 rounded-r-3xl rounded-l-3xl"
placeholder="חפש לפי שם, תפקיד"
onChange={onSearchInputChange}
/>
Expand Down

0 comments on commit cf39689

Please sign in to comment.