Update heading and image position to center

Previously image and heading of the welcome page showed to left. After changing this, now image and the heading showing to the center position of the page.
This commit is contained in:
Suvash Kumar 2024-12-29 00:41:03 +06:00
parent 6148ddd967
commit 3ab697933f

View file

@ -4,13 +4,17 @@
<body> <body>
<h2 th:text="#{welcome}">Welcome</h2>
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="text-center">
<h2 th:text="#{welcome}">Welcome</h2>
</div>
</div>
<div class="row">
<div class="col-md-12 text-center">
<img class="img-responsive" src="../static/resources/images/pets.png" th:src="@{/resources/images/pets.png}"/> <img class="img-responsive" src="../static/resources/images/pets.png" th:src="@{/resources/images/pets.png}"/>
</div> </div>
</div> </div>
</body> </body>
</html> </html>