Skip to content

Commit

Permalink
Merge pull request #105 from SJSUCSClub/104-improve-profile-button-ta…
Browse files Browse the repository at this point in the history
…kes-up-too-much-space-+-bug-schedule-with-tba-redirects-to-error-page

[Improve] made profile-btn smaller + [Bug] Made schedule with TBA direct to #
  • Loading branch information
chrehall68 authored Sep 30, 2024
2 parents 56da2e7 + d281c55 commit d745113
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
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

0 comments on commit d745113

Please sign in to comment.