Skip to content

Commit 75d404e

Browse files
committed
Update index
1 parent b9c203b commit 75d404e

File tree

4 files changed

+16
-3
lines changed

4 files changed

+16
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<br>
1010
<br>
1111

12-
[**Live demo on heroku**](https://throyer-crud-api.herokuapp.com/app)
12+
[**Live demo on heroku**](https://throyer-crud-api.herokuapp.com)
1313

1414
## Sumario
1515

assets/mobile.jpg

357 KB
Loading
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package com.github.throyer.common.springboot.controllers.app;
2+
3+
import org.springframework.stereotype.Controller;
4+
import org.springframework.web.bind.annotation.RequestMapping;
5+
6+
@Controller
7+
public class HomeController {
8+
9+
@RequestMapping("/")
10+
public String index() {
11+
return "redirect:/app";
12+
}
13+
}

src/main/resources/templates/app/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
<div class="col-lg-8 mx-auto p-3 py-md-5">
55
<header class="d-flex align-items-center pb-3 mb-5 border-bottom">
66
<a th:href="@{/app}" class="d-flex d-flex flex-row container align-items-center justify-content-between text-dark text-decoration-none">
7-
<img class="d-inline-block align-top ml-2"
7+
<img class="d-inline-block align-top ml-2 img-fluid"
88
width="500"
99
src="https://github.com/Throyer/springboot-api-crud/raw/master/assets/tecnologias.png">
10-
<span class="fs-1">Simple spring Boot API crud</span>
10+
<span class="fs-1 d-none d-sm-block">Simple spring Boot API crud</span>
1111
</a>
1212
</header>
1313

0 commit comments

Comments
 (0)