From 433ff827b77079d976f8a2d2c63173410b9e68a0 Mon Sep 17 00:00:00 2001 From: efim Date: Sat, 23 Sep 2023 19:17:09 +0000 Subject: [PATCH] feat: dummy country page and redirects from search and cards. card content wrapped in an anchor doesn't look good, and search only working with htmx (without graceful degradatino) also doesn't look too good but with 'hx-boost="true"' ordinary anchor in card also preserves header, that's nice --- .../src/main/resources/templates/index.html | 82 ++++++++++++------- .../src/main/scala/example/Routes.scala | 10 +++ 2 files changed, 61 insertions(+), 31 deletions(-) diff --git a/16-countries-page-from-api/src/main/resources/templates/index.html b/16-countries-page-from-api/src/main/resources/templates/index.html index ec2ad26..5043fe8 100644 --- a/16-countries-page-from-api/src/main/resources/templates/index.html +++ b/16-countries-page-from-api/src/main/resources/templates/index.html @@ -12,7 +12,7 @@ - +