diff --git a/assets/styles/app.css b/assets/styles/app.css index ba7e05b..de3c520 100644 --- a/assets/styles/app.css +++ b/assets/styles/app.css @@ -124,3 +124,12 @@ table.dataTable { .statblock-collapse h3 { margin-top: 0.75rem; } + +/* --- Overview tiles ------------------------------------------------------ */ +.home-tile { + transition: border-color 0.12s ease, transform 0.12s ease; +} +.home-tile:hover { + border-color: var(--bs-primary); + transform: translateY(-2px); +} diff --git a/templates/home/index.html.twig b/templates/home/index.html.twig index fb154ca..951fde9 100644 --- a/templates/home/index.html.twig +++ b/templates/home/index.html.twig @@ -3,37 +3,31 @@ {% block title %}Overview ยท dmtools{% endblock %} {% block body %} -
- Starting point for the Monday-evening campaign tools. The table below is a - placeholder that shows the Bootstrap + DataTables layout wiring works - (search, sort, paging). -
+ {% set tiles = [ + { route: 'app_characters', icon: '๐ง', label: 'Characters', blurb: 'The player characters' }, + { route: 'app_npcs', icon: '๐งโ๐พ', label: "NPC's", blurb: 'Villagers and other non-player characters' }, + { route: 'app_enemies', icon: '๐น', label: 'Enemies', blurb: 'Monster stat blocks' }, + { route: 'app_tracker', icon: 'โ๏ธ', label: 'Tracker', blurb: 'Run encounters and track hit points' }, + { route: 'app_art', icon: '๐ผ๏ธ', label: 'Art', blurb: 'Maps, handouts and character pieces' }, + { route: 'app_storyline', icon: '๐', label: 'Storyline', blurb: 'Campaign notes and plot threads' }, + ] %} -| Name | -Type | -Location | -Notes | -
|---|---|---|---|
| Seraphina Vane | NPC | Blackreach | Owes the party a favour |
| Goblin ambush | Encounter | Old Kings Road | CR 2, 6 goblins |
| The Sunken Vault | Location | Lake Nydra | Water-breathing required |
| Rusted Key | Item | Party inventory | Opens the vault antechamber |
| Captain Dorae | NPC | Saltmarsh docks | Will smuggle cargo for coin |
| Owlbear den | Encounter | Whisperwood | CR 3, mother + 2 cubs |