This commit is contained in:
cpu
2025-05-09 23:40:18 +02:00
parent e8db2d4701
commit 411d7568a7
5 changed files with 18 additions and 11 deletions

View File

@@ -1,3 +1,10 @@
## UI/UX Considerations
* **Minimalist Design:** Focus on clarity and ease of use. Avoid clutter.
* **Large, Clear Timers:** Timers should be easily readable at a glance.
* **Color Coding:** Use color to indicate timer state (e.g., green for running, red for negative time, grey for skipped).
* **Responsive Layout:** The UI should adapt to different (mobile phone) screen sizes.
* **Touch-Friendly:** Buttons and interactive elements should be large enough for easy tapping.
## Tech Stack
* **HTML5:** For structuring the user interface.
* **CSS3:** For styling and visual presentation, including animations. Consider a CSS framework like Tailwind CSS for rapid prototyping.

View File

@@ -9,6 +9,14 @@ Clone the repository
git clone --depth 1 https://gitea.virtonline.eu/2HoursProject/nexus-timer.git
cd nexus-timer
```
If you will run the container on the docker network `traefik` find its IP subnet
```bash
docker network inspect traefik --format '{{(index .IPAM.Config 0).Subnet}}'
```
Set the subnet in the `nginx.conf`. For example:
```bash
set_real_ip_from 172.22.0.0/16
```
Build the docker image
```bash
docker build -t virt-nexus-timer .
@@ -25,7 +33,7 @@ View the example service definition:
cat systemd/virt-nexus-timer.service
```
### Create the systemd service
Use the editor to create or overwrite the service:
The editor opens to create or overwrite the service:
```bash
sudo systemctl edit --force --full virt-nexus-timer.service
```