feat: add initial support for points page
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
.table {
|
||||
border-spacing: 0;
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.thead {
|
||||
background-color: var(--Base-Fill-Normal);
|
||||
border-left: 1px solid var(--Base-Fill-Normal);
|
||||
border-right: 1px solid var(--Base-Fill-Normal);
|
||||
}
|
||||
|
||||
.tr {
|
||||
border: 1px solid #e6e9ec;
|
||||
}
|
||||
|
||||
.th {
|
||||
text-align: left;
|
||||
padding: 20px 32px;
|
||||
}
|
||||
|
||||
.td {
|
||||
text-align: left;
|
||||
padding: 16px 32px;
|
||||
}
|
||||
26
components/MyPages/Blocks/Points/ExpiringPoints/index.tsx
Normal file
26
components/MyPages/Blocks/Points/ExpiringPoints/index.tsx
Normal file
@@ -0,0 +1,26 @@
|
||||
import { _ } from "@/lib/translation"
|
||||
|
||||
import styles from "./expiringPoints.module.css"
|
||||
|
||||
export const ExpiringPoints = () => {
|
||||
return (
|
||||
<table className={styles.table}>
|
||||
<thead className={styles.thead}>
|
||||
<tr>
|
||||
<th className={styles.th}>{_("Arrival date")}</th>
|
||||
<th className={styles.th}>{_("Points")}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr className={styles.tr}>
|
||||
<td className={styles.td}>23 May 2023</td>
|
||||
<td className={styles.td}>30000</td>
|
||||
</tr>
|
||||
<tr className={styles.tr}>
|
||||
<td className={styles.td}>23 May 2023</td>
|
||||
<td className={styles.td}>-15000</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user