feat: align projects page with Figma design
This commit is contained in:
parent
78848dd7d1
commit
9de99c833b
42 changed files with 347 additions and 384 deletions
|
|
@ -77,14 +77,14 @@ export const ProjectListPage: React.FC = () => {
|
|||
}
|
||||
|
||||
return (
|
||||
<div className="space-y-5">
|
||||
<div className="project-dashboard space-y-5">
|
||||
{/* Page Header matching MVP · Quản lý dự án.png */}
|
||||
<div className="flex flex-wrap items-start justify-between gap-4">
|
||||
<div className="flex flex-wrap items-center justify-between gap-4">
|
||||
<div>
|
||||
<h1 className="text-[28px] font-bold leading-tight tracking-tight text-slate-900">
|
||||
<h1 className="text-[27px] font-medium leading-[40.5px] tracking-[-1px] text-[var(--project-heading)]">
|
||||
Dự án của bạn
|
||||
</h1>
|
||||
<p className="mt-1 text-xs text-slate-500">
|
||||
<p className="mt-1.5 text-xs leading-[18px] text-[var(--project-body)]">
|
||||
Quản lý dữ liệu, phân công gán nhãn và kiểm soát chất lượng trong một nơi.
|
||||
</p>
|
||||
</div>
|
||||
|
|
@ -92,9 +92,9 @@ export const ProjectListPage: React.FC = () => {
|
|||
<button
|
||||
type="button"
|
||||
onClick={() => setIsCreateModalOpen(true)}
|
||||
className="inline-flex items-center gap-2 rounded-xl bg-[#C95C3C] px-4 py-2.5 text-xs font-semibold text-white shadow-sm transition hover:bg-[#B5492B]"
|
||||
className="inline-flex h-10 items-center gap-2 rounded-lg bg-[var(--color-brand-orange-red)] px-4 text-[13px] font-semibold text-white [outline:1px_solid_var(--project-accent)] [outline-offset:-1px] transition hover:bg-[var(--brand-primary-hover)] focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-[var(--project-accent)]"
|
||||
>
|
||||
<span className="text-base leading-none">+</span>
|
||||
<img className="h-4 w-4" src="/assets/projects-ui/plus.svg" alt="" />
|
||||
<span>Tạo dự án</span>
|
||||
</button>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue