Skip to content

Commit

Permalink
add header
Browse files Browse the repository at this point in the history
  • Loading branch information
ElinaZoldnere committed Feb 11, 2025
1 parent 3869b34 commit 9edcf88
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<header xmlns:th="http://www.thymeleaf.org" th:fragment="header">
<nav>
<h1>Travel Insurance Calculator</h1>
<ul>
<li><a href="/insurance/travel/web/v2">Home</a></li>
<li><a href="">About</a></li>
<li><a href="">Contact</a></li>
</ul>
</nav>
<hr>
</header>
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Travel Insurance Premium Calculation</title>
</head>
<body>

<h1>Travel Insurance Premium Calculation</h1>
<header th:replace="fragments/header :: header"></header>

<h2>Travel Insurance Premium Calculation</h2>

<form action="#" th:action="@{/insurance/travel/web/v2}" th:object="${request}" method="post">
<div>
Expand Down

0 comments on commit 9edcf88

Please sign in to comment.