Skip to content

Commit b26fadd

Browse files
committed
feat: add RepliesPage component with styling
1 parent 220ddcd commit b26fadd

File tree

2 files changed

+51
-0
lines changed

2 files changed

+51
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
.container {
2+
display: flex;
3+
flex-direction: column;
4+
gap: 1rem;
5+
}
6+
7+
.wrapper {
8+
display: flex;
9+
align-items: center;
10+
gap: 1rem;
11+
}
12+
13+
.status {
14+
color: var(--green);
15+
background-color: var(--green-subtle);
16+
border-radius: 0;
17+
clip-path: polygon(0.25rem 0, 100% 0, 100% 0, calc(100% - 0.25rem) 100%, 0 100%, 0 100%);
18+
}
19+
20+
.checkButton {
21+
background-color: white;
22+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
import { Badge, Button, Input } from "@/shared/components";
2+
import { Repeat2, SquareArrowOutUpRight } from "lucide-react";
3+
import styles from "./RepliesPage.module.css";
4+
5+
export const AdminFormRepliesPage = () => {
6+
return (
7+
<div className={styles.container}>
8+
<div className={styles.wrapper}>
9+
<h2>回覆蒐集</h2>
10+
<Badge className={styles.status} variant="success" showDot>
11+
已連結 Google Sheets
12+
</Badge>
13+
</div>
14+
<p>請將以下服務帳號加入您的 Google Sheets 編輯權限:</p>
15+
<Input value="your-service-account@example.com" readOnly></Input>
16+
<Input value="sss" readOnly></Input>
17+
<div className={styles.wrapper}>
18+
<Button className={styles.checkButton} variant="primary">
19+
<Repeat2 />
20+
檢查狀態
21+
</Button>
22+
<Button variant="primary">
23+
<SquareArrowOutUpRight />
24+
檢視表單
25+
</Button>
26+
</div>
27+
</div>
28+
);
29+
};

0 commit comments

Comments
 (0)