Skip to content

Commit

Permalink
Merge pull request #2 from niyak93rus/landing
Browse files Browse the repository at this point in the history
add bootstrap webjar to landing page and pom.xml, correct link to project's page
  • Loading branch information
niyak93rus committed Oct 14, 2022
2 parents 947428e + bfdcbe5 commit 9ea2917
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
5 changes: 5 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,11 @@
<version>${database-rider.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>bootstrap</artifactId>
<version>5.2.2</version>
</dependency>
</dependencies>

<build>
Expand Down
9 changes: 3 additions & 6 deletions src/main/resources/static/landing.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
<html lang="en">

<head>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css"
integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous">
<link rel="stylesheet" href="/webjars/bootstrap/5.2.2/css/bootstrap.min.css" />
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
Expand Down Expand Up @@ -51,7 +50,7 @@ <h1 class="display-1">Hexlet-correction</h1>
href="https://sicp.hexlet.io/ru/pages/about">О
проекте</a></li>
<li class="nav-item"><a class="nav-link px-0 py-1 text-light" target="_blank"
href="https://github.com/Hexlet/hexlet-sicp">Исходный код</a></li>
href="https://github.com/Hexlet/hexlet-correction">Исходный код</a></li>
<li class="nav-item"><a class="nav-link px-0 py-1 text-light" target="_blank"
href="https://slack-ru.hexlet.io/">Slack
#hexlet-volunteers</a></li>
Expand Down Expand Up @@ -94,9 +93,7 @@ <h1 class="display-1">Hexlet-correction</h1>
</div>
</footer>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/js/bootstrap.bundle.min.js"
integrity="sha384-u1OknCvxWvY5kfmNBILK2hRnQC3Pr17a+RTT6rIHI7NnikvbZlHgTPOOmMi466C8"
crossorigin="anonymous"></script>
<script src="/webjars/bootstrap/js/bootstrap.min.js"></script>
</body>

</html>

0 comments on commit 9ea2917

Please sign in to comment.