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 %} -
-

Overview

-
+

Overview

-

- 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' }, + ] %} -
-
- - - - - - - - - - - - - - - - - -
NameTypeLocationNotes
Seraphina VaneNPCBlackreachOwes the party a favour
Goblin ambushEncounterOld Kings RoadCR 2, 6 goblins
The Sunken VaultLocationLake NydraWater-breathing required
Rusted KeyItemParty inventoryOpens the vault antechamber
Captain DoraeNPCSaltmarsh docksWill smuggle cargo for coin
Owlbear denEncounterWhisperwoodCR 3, mother + 2 cubs
-
+
+ {% for t in tiles %} + + {% endfor %}
{% endblock %}