-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#153] add footer login page #155
base: main
Are you sure you want to change the base?
Changes from 4 commits
22b70c0
ed651dd
334be3c
cbb9ba4
bd31505
5e6fca8
99819c7
bd9ba88
97873b7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,5 +37,6 @@ | |
</div> | ||
</div> | ||
</main> | ||
<footer th:replace="~{fragments/footer :: foot}"></footer> | ||
</body> | ||
</html> |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,5 +48,6 @@ | |
</div> | ||
</div> | ||
</main> | ||
<footer th:replace="~{fragments/footer :: foot}"></footer> | ||
</body> | ||
</html> |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -84,6 +84,6 @@ | |
</div> | ||
</div> | ||
</main> | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Футер должен быть не только на странице входа, но вообще любой, где пользователь сидит. К примеру такая логика на Хекслете, код бейзиксе (на хекслете футера нет только в практиках) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Я почти везде добавил, чтобы посмотреть как это все выглядет и потыкать мы можем связаться в телеграм или еще где, я его у себя соберу и дам IP что бы смогли зайти посмотреть. |
||
<footer th:replace="~{fragments/footer :: foot}"></footer> | ||
</body> | ||
</html> |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,5 +35,6 @@ | |
</div> | ||
</div> | ||
</main> | ||
<footer th:replace="~{fragments/footer :: foot}"></footer> | ||
</body> | ||
</html> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
<!DOCTYPE html> | ||
<html lang="en" xmlns:th="http://www.thymeleaf.org"> | ||
<body> | ||
<footer th:fragment="foot" class="footer fixed-bottom d-flex p-3 "> | ||
<div class="container-xl"> | ||
<div class="row justify-content-lg-around"> | ||
<div class="col-sm-6 col-md-3 col-lg-auto"> | ||
<a class="text-dark px-0 py-0 text-decoration-none " href="https://ru.hexlet.io"> | ||
<p class="h3 mb-2 text-light">© Hexlet</p> | ||
</a> | ||
<ul class="nav flex-column"> | ||
<li class="nav-item"> | ||
<a class="nav-link px-0 py-1 text-light" href="https://sicp.hexlet.io/ru/pages/about"> | ||
О проекте | ||
</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link px-0 py-1 text-light" href="https://github.com/Hexlet/hexlet-correction" | ||
target="_blank"> | ||
Исходный код | ||
</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link px-0 py-1 text-light" href="https://t.me/hexletcommunity/12" | ||
target="_blank"> | ||
Telegram Hexlet канал Волонтеры | ||
</a> | ||
</li> | ||
</ul> | ||
</div> | ||
<div class="col-sm-6 col-md-3 col-lg-auto"> | ||
<p class="h5 mb-3">Помощь</p> | ||
<ul class="nav flex-column"> | ||
<li class="nav-item"> | ||
<a class="nav-link px-0 py-1 text-light" href="https://ru.hexlet.io/blog"> | ||
Блог | ||
</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link px-0 py-1 text-light" href="https://ru.hexlet.io/knowledge"> | ||
База знаний | ||
</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link px-0 py-1 text-light" | ||
href="https://ru.hexlet.io/pages/recommended-books"> | ||
Рекомендуемые книги | ||
</a> | ||
</li> | ||
</ul> | ||
</div> | ||
<div class="col-sm-6 col-md-3 col-lg-auto"> | ||
<p class="h5 mb-3">Другие open-source проекты</p> | ||
<ul class="nav flex-column"> | ||
<li class="nav-item"> | ||
<a class="nav-link px-0 py-1 text-light" href="https://github.com/Hexlet/hexlet-cv"> | ||
Хекслет-резюме | ||
</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link px-0 py-1 text-light" href="https://github.com/Hexlet/hexlet-editor"> | ||
Хекслет-редактор | ||
</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link px-0 py-1 text-light" href="https://github.com/Hexlet/hexlet-friends"> | ||
Друзья Хекслета | ||
</a> | ||
</li> | ||
</ul> | ||
</div> | ||
<div class="col-sm-6 col-md-3 col-lg-auto"> | ||
<p class="h5 mb-3">Дополнительно</p> | ||
<ul class="nav flex-column"> | ||
<li class="nav-item"> | ||
<a class="nav-link px-0 py-1 text-light" href="https://ru.code-basics.com/"> | ||
Code Basics | ||
</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link px-0 py-1 text-light" href="https://codebattle.hexlet.io/"> | ||
Кодбаттл | ||
</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link px-0 py-1 text-light" href="https://guides.hexlet.io/"> | ||
Гайды Хекслета | ||
</a> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
</footer> | ||
</body> | ||
</html> |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,6 @@ | |
</div> | ||
</div> | ||
</main> | ||
|
||
<footer th:replace="~{fragments/footer :: foot}"></footer> | ||
</body> | ||
</html> |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,5 +5,6 @@ | |
<div class="alert alert-success"> | ||
<span>Сообщение об ошибке успешно отправлено. Спасибо!</span> | ||
</div> | ||
<footer th:replace="~{fragments/footer :: foot}"></footer> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. В данном файле футер не нужен. Это кусочек виджета |
||
</body> | ||
</html> |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,5 +45,6 @@ | |
} | ||
}; | ||
</script> | ||
<footer th:replace="~{fragments/footer :: foot}"></footer> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. В данном файле футер не нужен. Это кусочек виджета |
||
</body> | ||
</html> |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,5 +50,6 @@ | |
</div> | ||
</div> | ||
</main> | ||
<footer th:replace="~{fragments/footer :: foot}"></footer> | ||
</body> | ||
</html> |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -168,5 +168,6 @@ | |
</div> | ||
</div> | ||
</main> | ||
<footer th:replace="~{fragments/footer :: foot}"></footer> | ||
</body> | ||
</html> |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,5 +59,6 @@ | |
</div> | ||
</div> | ||
</main> | ||
<footer th:replace="~{fragments/footer :: foot}"></footer> | ||
</body> | ||
</html> |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -135,5 +135,6 @@ | |
</div> | ||
</div> | ||
</main> | ||
<footer th:replace="~{fragments/footer :: foot}"></footer> | ||
</body> | ||
</html> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Посмотрите, есть ли в шаблонизаторе механизм наследования шаблонов, чтобы не дублировать футер во все страницы подряд.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Можно немного подробнее про этот момент, я вроде и так получается использую шаблоный футер и передаю его с помощью шаблонизатора