Skip to content

Commit

Permalink
Merge pull request #109 from Arquisoft/index-view-develop
Browse files Browse the repository at this point in the history
index.html updated
  • Loading branch information
Pelayori authored Mar 4, 2024
2 parents 12f87ab + 3417ea1 commit 84e6dfa
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
5 changes: 3 additions & 2 deletions src/main/resources/messages.properties
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ error.message=Mensaje de error:
error.error=Error:

# -------------------Statements for the index.html file---------------------
index.heading=Bienvenidos a la página principal
index.development=En desarrollo
index.heading=WIQ
index.subtitle=Responde las preguntas correctamente y GANA!!!
index.button=JUGAR

# -------------------Statements for the home.html file---------------------
home.heading=Bienvenido
Expand Down
5 changes: 3 additions & 2 deletions src/main/resources/messages_en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ error.message=Error message:
error.error=Error:

# -------------------Statements for the index.html file---------------------
index.heading=Welcome to the main page
index.development=Under development
index.heading=WIQ
index.subtitle=Answer the questions correctly and WIN!!!
index.button=PLAY

# -------------------Statements for the home.html file---------------------
home.heading=Welcome
Expand Down
5 changes: 3 additions & 2 deletions src/main/resources/messages_es.properties
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ error.message=Mensaje de error:
error.error=Error:

# -------------------Statements for the index.html file---------------------
index.heading=Bienvenidos a la página principal
index.development=En desarrollo
index.heading=WIQ
index.subtitle=Responde las preguntas correctamente y GANA!!!
index.button=JUGAR

# -------------------Statements for the home.html file---------------------
home.heading=Bienvenido
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
<nav th:replace="~{fragments/nav}"></nav>
<div class="container" style="text-align: center">
<h2 th:text="#{index.heading}" ></h2>
<p th:text="#{index.development}"></p>
<p th:text="#{index.subtitle}"></p>
<button type="button" class="btn btn-primary" th:text="#{index.button}"></button>
</div>
<footer th:replace="~{fragments/footer}"></footer>
</body>
Expand Down

0 comments on commit 84e6dfa

Please sign in to comment.