Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/main/resources/messages/messages.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
welcome=Welcome
welcome=Welcome to Spring PetClinic!
welcome.description=Your favorite place for managing pets!
required=is required
notFound=has not been found
duplicate=is already in use
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/messages/messages_de.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
welcome=Willkommen
welcome=Willkommen bei Spring PetClinic!
welcome.description=Ihr Lieblingsort zur Verwaltung von Haustieren!
required=muss angegeben werden
notFound=wurde nicht gefunden
duplicate=ist bereits vergeben
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/messages/messages_es.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
welcome=Bienvenido
welcome=¡Bienvenido a Spring PetClinic!
welcome.description=¡Tu lugar favorito para gestionar mascotas!
required=Es requerido
notFound=No ha sido encontrado
duplicate=Ya se encuentra en uso
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/messages/messages_fa.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
welcome=خوش آمدید
welcome=خوش آمدید به Spring PetClinic!
welcome.description=مکان مورد علاقه شما برای مدیریت حیوانات خانگی!
required=الزامی
notFound=یافت نشد
duplicate=قبلا استفاده شده
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/messages/messages_ko.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
welcome=환영합니다
welcome=스프링 펫클리닉에 오신 것을 환영합니다!
welcome.description=애완동물을 관리하는 당신의 좋아하는 장소!
required=입력이 필요합니다
notFound=찾을 수 없습니다
duplicate=이미 존재합니다
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/messages/messages_pt.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
welcome=Bem-vindo
welcome=Bem-vindo ao Spring PetClinic!
welcome.description=Seu lugar favorito para gerenciar pets!
required=E necessario
notFound=Nao foi encontrado
duplicate=Ja esta em uso
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/messages/messages_ru.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
welcome=Добро пожаловать
welcome=Добро пожаловать в Spring PetClinic!
welcome.description=Ваше любимое место для управления питомцами!
required=необходимо
notFound=не найдено
duplicate=уже используется
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/messages/messages_tr.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
welcome=hoş geldiniz
welcome=Spring PetClinic’e Hoşgeldiniz!
welcome.description=Evcil hayvanlarınızı yönetmek için favori yeriniz!
required=gerekli
notFound=bulunamadı
duplicate=zaten kullanılıyor
Expand Down
66 changes: 58 additions & 8 deletions src/main/resources/templates/welcome.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,66 @@
<!DOCTYPE html>

<html xmlns:th="https://www.thymeleaf.org" th:replace="~{fragments/layout :: layout (~{::body},'home')}">
<html xmlns:th="https://www.thymeleaf.org"
th:replace="~{fragments/layout :: layout (~{::body},'home')}">

<body>

<h2 th:text="#{welcome}">Welcome</h2>
<div class="row">
<div class="col-md-12">
<img class="img-responsive" src="../static/resources/images/pets.png" th:src="@{/resources/images/pets.png}" />
<!-- Hero Section -->
<section class="text-center py-5 bg-light">
<div class="container">
<h1 class="display-4 mb-3" th:text="#{welcome}">Welcome to Spring PetClinic!</h1>
<p class="lead mb-4" th:text="#{welcome.description}">
Your favorite place for managing pets and keeping them healthy!
</p>
<a href="/owners/find" class="btn btn-primary btn-lg">Find an Owner</a>
</div>
</div>
</section>

</body>
<!-- Features Section -->
<section class="py-5">
<div class="container">
<div class="row text-center">
<div class="col-md-4 mb-4">
<div class="card h-100 shadow-sm">
<div class="card-body">
<h5 class="card-title">Manage Pets</h5>
<p class="card-text">Easily add, update, and track your pets' information and visits.</p>
</div>
</div>
</div>
<div class="col-md-4 mb-4">
<div class="card h-100 shadow-sm">
<div class="card-body">
<h5 class="card-title">Appointments</h5>
<p class="card-text">Schedule and manage vet visits for your pets efficiently.</p>
</div>
</div>
</div>
<div class="col-md-4 mb-4">
<div class="card h-100 shadow-sm">
<div class="card-body">
<h5 class="card-title">Health Tracking</h5>
<p class="card-text">Keep track of vaccinations, treatments, and pet health records.</p>
</div>
</div>
</div>
</div>
</div>
</section>

<!-- Hero Image / Banner -->
<section class="text-center py-5 bg-white">
<div class="container">
<img class="img-fluid mx-auto d-block"
src="../static/resources/images/pets.png"
th:src="@{/resources/images/pets.png}"
alt="Happy pets" />
</div>
</section>

<!-- Footer -->
<footer class="text-center py-3 bg-light">
<p>&copy; 2026 Spring PetClinic. All rights reserved.</p>
</footer>

</body>
</html>