feat: add initial support for points page

This commit is contained in:
Arvid Norlin
2024-05-13 15:24:15 +02:00
parent e853f3980a
commit 7ad8726633
10 changed files with 185 additions and 1 deletions

View File

@@ -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;
}

View 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>
)
}