mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2025-07-28 20:52:00 +08:00
[resumes][feat] add shadow to buttons
This commit is contained in:
@ -100,7 +100,7 @@ export default function ResumeReviewPage() {
|
|||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<Button
|
<Button
|
||||||
className="h-10 py-2"
|
className="h-10 py-2 shadow-md"
|
||||||
display="block"
|
display="block"
|
||||||
label="Add your review"
|
label="Add your review"
|
||||||
variant="tertiary"
|
variant="tertiary"
|
||||||
@ -151,18 +151,18 @@ export default function ResumeReviewPage() {
|
|||||||
<h1 className="pr-2 text-2xl font-semibold leading-7 text-slate-900 sm:truncate sm:text-3xl sm:tracking-tight">
|
<h1 className="pr-2 text-2xl font-semibold leading-7 text-slate-900 sm:truncate sm:text-3xl sm:tracking-tight">
|
||||||
{detailsQuery.data.title}
|
{detailsQuery.data.title}
|
||||||
</h1>
|
</h1>
|
||||||
<div className="flex gap-4 xl:pr-4">
|
<div className="flex gap-3 xl:pr-4">
|
||||||
{userIsOwner && (
|
{userIsOwner && (
|
||||||
<button
|
<button
|
||||||
className="p h-10 rounded-md border border-slate-300 bg-white py-1 px-2 text-center"
|
className="h-10 rounded-md border border-slate-300 bg-white py-1 px-2 text-center shadow-md hover:bg-slate-50"
|
||||||
type="button"
|
type="button"
|
||||||
onClick={onEditButtonClick}>
|
onClick={onEditButtonClick}>
|
||||||
<PencilSquareIcon className="text-primary-600 hover:text-primary-300 h-6 w-6" />
|
<PencilSquareIcon className="text-primary-600 h-6 w-6" />
|
||||||
</button>
|
</button>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<button
|
<button
|
||||||
className="isolate inline-flex h-10 items-center space-x-4 rounded-md border border-slate-300 bg-white px-4 py-2 text-sm font-medium text-slate-700 shadow-sm hover:bg-slate-50 disabled:hover:bg-white"
|
className="isolate inline-flex h-10 items-center space-x-4 rounded-md border border-slate-300 bg-white px-4 py-2 text-sm font-medium text-slate-700 shadow-md hover:bg-slate-50 disabled:hover:bg-white"
|
||||||
disabled={starMutation.isLoading || unstarMutation.isLoading}
|
disabled={starMutation.isLoading || unstarMutation.isLoading}
|
||||||
type="button"
|
type="button"
|
||||||
onClick={onStarButtonClick}>
|
onClick={onStarButtonClick}>
|
||||||
|
Reference in New Issue
Block a user