Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Improve] made profile-btn smaller + [Bug] Made schedule with TBA direct to # #105

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions components/molecules/client/profile-btn/component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { LinkBtn } from '@/components/atoms';
import { cn } from '@/utils/cn';
import { useSession } from '@/wrappers/session-provider';
import { UserIcon } from '@heroicons/react/20/solid';
import { UserCircleIcon } from '@heroicons/react/24/solid';

interface Props
extends Omit<
Expand All @@ -20,8 +20,9 @@ export const ProfileBtn: React.FC<Props> = ({ className, ...props }) => {
{...props}
href="/profile"
variant="tertiary"
aria-label="Profile"
>
<UserIcon width={20} height={20} /> Profile
<UserCircleIcon width={24} height={24} />{' '}
</LinkBtn>
);
}
Expand Down
2 changes: 1 addition & 1 deletion components/organisms/schedule/component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const Schedule: React.FC<Props> = (props) => (
<LinkBtn
variant="tertiary"
className="rounded-lg p-0 text-inherit"
href={props.link}
href={props.title !== 'TBA' ? props.link : '#'}
>
<Card className="flex w-full flex-col gap-sm max-lg:p-sm lg:p-lg">
<div className="flex max-lg:flex-col max-lg:items-center max-lg:gap-sm max-lg:p-sm lg:items-start lg:justify-between lg:gap-md">
Expand Down
Loading