chore: Improve readme UI, use raw HTML for the table
This commit is contained in:
parent
2a1d1f9ef6
commit
8dd1208bdd
107
README.md
107
README.md
|
@ -40,34 +40,93 @@ Repository](https://git.itsdrike.com/ap7pd/event-management-backend).
|
|||
|
||||
Below is a showcase of key features and screens in the application:
|
||||
|
||||
| ![API Unreachable](showcase/01_api_unreachable.png) | ![Login Screen](showcase/02_login.png) | ![Base URL Change](showcase/02_login_base_url_change.png) |
|
||||
| --------------------------------------------------------- | -------------------------------------- | ---------------------------------------------------------------------------------------------- |
|
||||
| Error screen, shown whenever the API becomes unreachable. | Login screen for user authentication. | Screen to update the API base URL, available from the login, register & API unreachable pages. |
|
||||
<style>
|
||||
table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
text-align: center;
|
||||
margin: auto;
|
||||
table-layout: fixed; /* Forces equal column widths */
|
||||
}
|
||||
|
||||
| ![Register Screen](showcase/03_register.png) | ![Month View](showcase/04_month_view.png) | ![Day View](showcase/05_day_view.png) |
|
||||
| -------------------------------------------- | ----------------------------------------- | ------------------------------------------------- |
|
||||
| User registration screen. | Monthly calendar view to browse events. | Daily event view with event details for that day. |
|
||||
th, td {
|
||||
width: 33.33%; /* Explicitly set equal widths for all columns */
|
||||
word-wrap: break-word; /* Ensures long text doesn't break layout */
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
| ![Edit Duration Event](showcase/06_duration_event_edit.png) | ![Edit Instant Event](showcase/07_instant_event_edit.png) | ![Invite User to Event](showcase/08_invite_user_to_event.png) |
|
||||
| ----------------------------------------------------------- | --------------------------------------------------------- | ------------------------------------------------------------- |
|
||||
| Edit screen for duration-based events. | Edit screen for instant events. | Interface for inviting users to an event. |
|
||||
img {
|
||||
max-width: 100%; /* Scale images to fit within their container */
|
||||
height: auto; /* Maintain aspect ratio */
|
||||
display: block;
|
||||
margin: 0 auto; /* Center images horizontally */
|
||||
}
|
||||
|
||||
| ![Duration Event Details](showcase/09_duration_event_details.png) | ![Instant Event Details](showcase/10_instant_event_details.png) | ![Categories Overview](showcase/11_categories.png) |
|
||||
| ----------------------------------------------------------------- | --------------------------------------------------------------- | -------------------------------------------------- |
|
||||
| Detailed view of a duration-based event. | Detailed view of an instant event. | List of event categories of the user. |
|
||||
th {
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
}
|
||||
</style>
|
||||
|
||||
| ![Create New Category](showcase/12_new_category.png) | ![Updated Categories](showcase/13_categories_with_new.png) | ![Settings Screen](showcase/14_settings.png) |
|
||||
| ---------------------------------------------------- | ---------------------------------------------------------- | ------------------------------------------------------------------- |
|
||||
| Form to create a new category. | Updated list with a newly added category. | Settings menu for app configuration. Only available when logged in. |
|
||||
<table>
|
||||
<!-- First Image Row -->
|
||||
<tr>
|
||||
<th>📶 API Unreachable</th>
|
||||
<th>🔒 Login Screen</th>
|
||||
<th>🔧 Base URL Change</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<img src="showcase/01_api_unreachable.png" alt="API Unreachable" />
|
||||
</td>
|
||||
<td>
|
||||
<img src="showcase/02_login.png" alt="Login Screen" />
|
||||
</td>
|
||||
<td>
|
||||
<img src="showcase/02_login_base_url_change.png" alt="Base URL Change" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Error screen, shown whenever the API becomes unreachable.</td>
|
||||
<td>Login screen for user authentication.</td>
|
||||
<td>Screen to update the API base URL.</td>
|
||||
</tr>
|
||||
|
||||
| ![Notification: Invite](showcase/15_notification_invite_bob.png) | ![Invite Preview](showcase/16_invite_event_details_preview.png) | ![Notification: Invite Accepted](showcase/17_notification_invite_accepted_bob.png) |
|
||||
| ---------------------------------------------------------------- | --------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
|
||||
| Notification about an (incomming) event invite. | Preview of the event from the invite. | Notification for the (incomming) invite after accepting (already marked read). |
|
||||
<!-- Second Image Row -->
|
||||
<tr>
|
||||
<th>📝 Register Screen</th>
|
||||
<th>📆 Month View</th>
|
||||
<th>📅 Day View</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<img src="showcase/03_register.png" alt="Register Screen" />
|
||||
</td>
|
||||
<td>
|
||||
<img src="showcase/04_month_view.png" alt="Month View" />
|
||||
</td>
|
||||
<td>
|
||||
<img src="showcase/05_day_view.png" alt="Day View" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>User registration screen.</td>
|
||||
<td>Monthly calendar view to browse events.</td>
|
||||
<td>Daily event view with event details.</td>
|
||||
</tr>
|
||||
|
||||
| ![Day View with Invite](showcase/18_day_view_invited_event_bob.png) | ![Invited Event Details](showcase/19_invited_event_details_bob.png) | ![Notification Accepted John](showcase/20_notification_invite_accepted_john.png) |
|
||||
| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
|
||||
| Day view showing the invited event. | Details of an event the user was invited to. | Notification about user having accepted an outgoing invite (from the invitor's account). |
|
||||
<!-- Additional Rows... -->
|
||||
|
||||
| ![Notifications Cleared](showcase/21_notifications_cleared.png) |
|
||||
| --------------------------------------------------------------- |
|
||||
| Screen showing cleared notifications. |
|
||||
<!-- Final Row -->
|
||||
<tr>
|
||||
<th colspan="3">🗑️ Notifications Cleared</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
<img src="showcase/21_notifications_cleared.png" alt="Notifications Cleared" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3">Screen showing cleared notifications.</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
Loading…
Reference in a new issue