Skip to content

Commit

Permalink
adjusted width of of JOIN button
Browse files Browse the repository at this point in the history
  • Loading branch information
Bahugunajii committed Jan 18, 2024
1 parent 82be189 commit 8733adf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export default function Home() {
return (
<Link href={data.platform_link} target="_blank">
<PrimaryButton
className="bg-primary text-white text-sm rounded-lg w-14 h-8 mr-4 shadow-md shadow-slate-400">JOIN</PrimaryButton>
className="bg-primary text-white text-sm rounded-lg w-12 h-8 mr-4 shadow-md shadow-slate-400">JOIN</PrimaryButton>
</Link>
);
} else {
Expand Down
2 changes: 1 addition & 1 deletion components/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import { PrimaryButton } from '@/app/types';

const PrimaryButton: React.FC<PrimaryButton> = ({ onClick, children, className }) => {
const buttonClasses = `p-2 w-24 ${className}`;
const buttonClasses = `p-2 ${className}`;

return (
<button className={buttonClasses} onClick={onClick}>
Expand Down

0 comments on commit 8733adf

Please sign in to comment.