refactor: optimised UI and UX

- add tag style to status;
- add button style to action links of each domain;
- add Notiflix for better notification experiences
This commit is contained in:
jamo.siu@gmail.com committed 2026-10-12 16:22:37 +08:00
1 parent 46e6607d46
commit cc5e98f29c
9 files changed
+181 -49

No files matched your search

+3 -1
View File
@@ -1,5 +1,7 @@
"use client"
import { dangerButtonClass } from "./button-styles"
export function DeleteButton() {
return (
<button
@@ -7,7 +9,7 @@ export function DeleteButton() {
onClick={(event) => {
if (!window.confirm("确定要删除这条记录吗?")) event.preventDefault()
}}
className="text-sm text-red-600 transition-opacity hover:opacity-70 dark:text-red-400">
className={dangerButtonClass}>
删除
</button>
)