Skip to content

Commit

Permalink
refactor: 公安备案增加图片 (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
wan92hen authored Dec 7, 2023
1 parent e724728 commit 490ebb6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/styles/footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,12 @@
align-items: center;
font-size: 1rem;
color: var(--light-color-secondary);
margin-top: 8px;

span {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 0 8px;
}

Expand Down
Binary file added templates/assets/image/gongan.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions templates/modules/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,16 @@
<span>:: Theme <a href="https://github.com/wan92hen/theme-terminal">Terminal</a></span>
</div>
<div class="beian">
<span>
<span th:if="${not #strings.isEmpty(theme.config.beian.icp_text)}">
<a
href="https://beian.miit.gov.cn/"
target="_blank"
th:href="${theme.config.beian.icp_link}"
th:text="${theme.config.beian.icp_text}"
></a
></span>
<span>
<span th:if="${not #strings.isEmpty(theme.config.beian.gongan_text)}">
<img th:src="@{/assets/image/gongan.png}" style="display:inline-block; height: 1.2em;">
<a
href="https://www.beian.gov.cn/"
target="_blank"
Expand Down

0 comments on commit 490ebb6

Please sign in to comment.