Adjusted logo and applied table component

This commit is contained in:
Patrick Alvin Alcala 2025-09-19 17:49:05 +08:00
parent d9a856b788
commit 62259713be

View file

@ -2,6 +2,8 @@
import Layout from '../layouts/Layout.astro' import Layout from '../layouts/Layout.astro'
import { Button, Logo, Link, Page, Footer, Row, Column, Image, Copyright, OptimizeLogo, Display, Padding, Modal } from '../../fwt/' import { Button, Logo, Link, Page, Footer, Row, Column, Image, Copyright, OptimizeLogo, Display, Padding, Modal } from '../../fwt/'
import { FiLogOut } from 'solid-icons/fi' import { FiLogOut } from 'solid-icons/fi'
import { ofetch } from 'ofetch'
import Table from '../components/Table/Table'
--- ---
<script> <script>
@ -32,7 +34,7 @@ import { FiLogOut } from 'solid-icons/fi'
<Row content="split"> <Row content="split">
<Display desktop tablet> <Display desktop tablet>
<Row content="left" gap={2}> <Row content="left" gap={2}>
<Logo size={140} /> <Logo size={200} />
<h1>OCBO e-Sign</h1> <h1>OCBO e-Sign</h1>
</Row> </Row>
</Display> </Display>
@ -47,7 +49,9 @@ import { FiLogOut } from 'solid-icons/fi'
<h2>List of Ready to Approve and Sign OP (Order of Payments)</h2> <h2>List of Ready to Approve and Sign OP (Order of Payments)</h2>
</Row> </Row>
<table class="table"> <Table client:load />
<!-- <table class="table">
<thead> <thead>
<tr> <tr>
<th>Application Number</th> <th>Application Number</th>
@ -57,7 +61,7 @@ import { FiLogOut } from 'solid-icons/fi'
<tbody> <tbody>
<tr> <tr>
<td>25-000011</td> <td>25-000011</td>
<td>Some Name</td> <td>123</td>
<td id="modal-button"><Button label="Show Details" design="bu-ghost" /></td> <td id="modal-button"><Button label="Show Details" design="bu-ghost" /></td>
</tr> </tr>
<tr> <tr>
@ -66,7 +70,7 @@ import { FiLogOut } from 'solid-icons/fi'
<td><Button label="Show Details" design="bu-ghost" /></td> <td><Button label="Show Details" design="bu-ghost" /></td>
</tr> </tr>
</tbody> </tbody>
</table> </table> -->
</Padding> </Padding>
</Page> </Page>
@ -94,25 +98,4 @@ import { FiLogOut } from 'solid-icons/fi'
.name .name
font-size: 1.25rem font-size: 1.25rem
.table
width: 100%
border-collapse: collapse
margin: 2rem
th, td
border: 1px solid vars.$tableBorderColor
padding: 0.75rem
text-align: left
font-size: 1.1rem
td:nth-child(1)
width: 12rem
td:nth-child(3)
width: 9rem
th
background-color: vars.$tableHeaderBackground
color: white
</style> </style>