From 58afd61f4375b51519ad5d4949b9cbef6269a7b9 Mon Sep 17 00:00:00 2001 From: Claude Brisson Date: Sun, 15 Oct 2023 12:02:24 +0200 Subject: [PATCH] Prepare landing page --- api-webapp/src/test/resources/weights.txt | 2 +- server.sh | 2 +- standalone.sh | 2 +- view-webapp/src/main/sass/main.scss | 17 ++++++- .../main/webapp/WEB-INF/layouts/standard.html | 2 +- .../src/main/webapp/fonts/Hornbill-Black.otf | Bin 0 -> 63352 bytes .../webapp/fonts/Hornbill-BlackItalic.otf | Bin 0 -> 39748 bytes .../src/main/webapp/fonts/Hornbill-Bold.otf | Bin 0 -> 39712 bytes .../main/webapp/fonts/Hornbill-BoldItalic.otf | Bin 0 -> 42696 bytes .../src/main/webapp/fonts/Hornbill-Italic.otf | Bin 0 -> 43220 bytes .../main/webapp/fonts/Hornbill-Regular.otf | Bin 0 -> 39364 bytes .../src/main/webapp/fonts/hornbill.css | 42 +++++++++++++++++ view-webapp/src/main/webapp/index-ffg.html | 43 ++++++++++++++++++ view-webapp/src/main/webapp/index.html | 2 +- 14 files changed, 106 insertions(+), 6 deletions(-) create mode 100644 view-webapp/src/main/webapp/fonts/Hornbill-Black.otf create mode 100644 view-webapp/src/main/webapp/fonts/Hornbill-BlackItalic.otf create mode 100644 view-webapp/src/main/webapp/fonts/Hornbill-Bold.otf create mode 100644 view-webapp/src/main/webapp/fonts/Hornbill-BoldItalic.otf create mode 100644 view-webapp/src/main/webapp/fonts/Hornbill-Italic.otf create mode 100644 view-webapp/src/main/webapp/fonts/Hornbill-Regular.otf create mode 100644 view-webapp/src/main/webapp/fonts/hornbill.css create mode 100644 view-webapp/src/main/webapp/index-ffg.html diff --git a/api-webapp/src/test/resources/weights.txt b/api-webapp/src/test/resources/weights.txt index 6898e52..e51822a 100644 --- a/api-webapp/src/test/resources/weights.txt +++ b/api-webapp/src/test/resources/weights.txt @@ -1,4 +1,4 @@ -Round 2 +Round 1 Costs Player1Name=Baratou Paul Player2Name=Batailler Philippe diff --git a/server.sh b/server.sh index 6b763ce..c80e88b 100755 --- a/server.sh +++ b/server.sh @@ -1,4 +1,4 @@ #!/bin/bash export MAVEN_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=*:5005" -mvn --projects api-webapp package jetty:run +mvn -DskipTests --projects api-webapp package jetty:run diff --git a/standalone.sh b/standalone.sh index bd21b39..0fd09f5 100755 --- a/standalone.sh +++ b/standalone.sh @@ -3,4 +3,4 @@ # debug version # mvn package && java -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:5006 -jar application/target/pairgoth-engine.jar -mvn package && java -jar application/target/pairgoth-engine.jar +mvn -DskipTests package && java -jar application/target/pairgoth-engine.jar diff --git a/view-webapp/src/main/sass/main.scss b/view-webapp/src/main/sass/main.scss index abb1eef..e291058 100644 --- a/view-webapp/src/main/sass/main.scss +++ b/view-webapp/src/main/sass/main.scss @@ -1,7 +1,8 @@ +@import "/fonts/hornbill.css"; @import "/lib/fomantic-ui-2.9.2/semantic.min.css" layer(semantic); @layer pairgoth { - + /* general styles */ body { font-size: clamp(14px, 1rem + 1vw, 24px); @@ -24,6 +25,20 @@ } } + .logo { + font-family: Hornbill, serif; + font-weight: bolder; + font-style: normal; + } + + .centered { + text-align: center; + } + + .nobreak { + white-space: nowrap; + } + /* header, center, footer */ #header { diff --git a/view-webapp/src/main/webapp/WEB-INF/layouts/standard.html b/view-webapp/src/main/webapp/WEB-INF/layouts/standard.html index f099390..b3a3f23 100644 --- a/view-webapp/src/main/webapp/WEB-INF/layouts/standard.html +++ b/view-webapp/src/main/webapp/WEB-INF/layouts/standard.html @@ -13,7 +13,7 @@
-#translate('tournament-form.inc.html') + #translate('tournament-form.inc.html')