Skip to content

Commit

Permalink
修改首页图片为静态图片
Browse files Browse the repository at this point in the history
  • Loading branch information
fooying committed Jun 12, 2024
1 parent 945fc29 commit e500af5
Show file tree
Hide file tree
Showing 15 changed files with 19 additions and 11 deletions.
8 changes: 8 additions & 0 deletions assets/css/compiled/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -685,6 +685,9 @@ video {
.flex {
display: flex;
}
.flex {
display: flex;
}
.inline-flex {
display: inline-flex;
}
Expand Down Expand Up @@ -2471,6 +2474,7 @@ nav .search-wrapper {
display: inline-block;
}
}

@supports (
((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px)))
) {
Expand Down Expand Up @@ -3409,6 +3413,10 @@ body {
display: none;
}

.md\:flex {
display: flex;
}

.md\:aspect-\[1\.1\/1\] {
aspect-ratio: 1.1/1;
}
Expand Down
16 changes: 8 additions & 8 deletions content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ keywords:
</div>

{{< cards rows="4" >}}
{{< card link="enterprise_security/data_security" title="数据安全" image="https://source.unsplash.com/featured/800x400?1" subtitle="数据安全资料、方法论与实践经验">}}
{{< card link="enterprise_security/devsecops" title="DevSecOps" image="https://source.unsplash.com/featured/800x400?2" subtitle="DevSecOps及S-SDLC相关内容与实践方法" >}}
{{< card link="/" title="零信任安全" image="https://source.unsplash.com/featured/800x400?3" subtitle="开发中,敬请期待.">}}
{{< card link="/" title="攻防演练" image="https://source.unsplash.com/featured/800x400?4" subtitle="开发中,敬请期待.">}}
{{< card link="enterprise_security/data_security" title="数据安全" image="images/banner/1.jpg" subtitle="数据安全资料、方法论与实践经验">}}
{{< card link="enterprise_security/devsecops" title="DevSecOps" image="images/banner/2.jpg" subtitle="DevSecOps及S-SDLC相关内容与实践方法" >}}
{{< card link="/" title="零信任安全" image="images/banner/3.jpg" subtitle="开发中,敬请期待.">}}
{{< card link="/" title="攻防演练" image="images/banner/4.jpg" subtitle="开发中,敬请期待.">}}
{{< /cards >}}

<div class="mt-6">&nbsp;</div>
Expand All @@ -59,8 +59,8 @@ keywords:
</div>

{{< cards rows="4" >}}
{{< card link="security_research/ai_security" title="AI安全" image="https://source.unsplash.com/featured/800x400?5" subtitle="AI安全相关资料,重点包括大模型(LLM)/AIGC安全内容.">}}
{{< card link="/" title="区块链安全" image="https://source.unsplash.com/featured/800x400?6" subtitle="开发中,敬请期待." >}}
{{< card link="/" title="待开发知识" image="https://source.unsplash.com/featured/800x400?7" subtitle="开发中,敬请期待.">}}
{{< card link="/" title="待开发知识" image="https://source.unsplash.com/featured/800x400?8" subtitle="开发中,敬请期待.">}}
{{< card link="security_research/ai_security" title="AI安全" image="images/banner/5.jpg" subtitle="AI安全相关资料,重点包括大模型(LLM)/AIGC安全内容.">}}
{{< card link="/" title="区块链安全" image="images/banner/6.jpg" subtitle="开发中,敬请期待." >}}
{{< card link="/" title="待开发知识" image="images/banner/7.jpg" subtitle="开发中,敬请期待.">}}
{{< card link="/" title="待开发知识" image="images/banner/8.jpg" subtitle="开发中,敬请期待.">}}
{{< /cards >}}
6 changes: 3 additions & 3 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@
<div
class="{{ $footerWidth }} mx-auto flex justify-center py-12 pl-[max(env(safe-area-inset-left),1.5rem)] pr-[max(env(safe-area-inset-right),1.5rem)] text-gray-600 dark:text-gray-400 md:justify-start"
>
<div class="flex w-full items-center sm:items-start justify-between">
<div class="flex w-full items-top sm:items-start justify-between">
<div>
{{- if .Site.Params.footer.displayCopyright }}<div class="text-sm">{{ $copyright | markdownify }}</div>{{ end }}
<div class="flex">
<div class="md:flex">
{{- if .Site.Params.footer.displayGanbei }}<div class="text-xs text-gray-500"><a href="https://beian.mps.gov.cn/#/query/webSearch?code=44030002003757" rel="noreferrer" class="flex items-start" traget="_blank"><img style="width:14px;padding-top: 1.5px;" src="{{ "images/logo.gabei.png" | relURL }}">&nbsp;{{ $gabei | markdownify }}</a></div>{{ end }}
{{- if .Site.Params.footer.displayICP }}<div class="text-xs text-gray-500"><a href="https://beian.miit.gov.cn/" traget="_blank">{{ $icp | markdownify }}</a></div>{{ end }}
{{- if .Site.Params.footer.displayGanbei }}<div class="text-xs px-2 text-gray-500"><a href="https://beian.mps.gov.cn/#/query/webSearch?code=44030002003757" rel="noreferrer" class="flex items-start" traget="_blank"><img style="width:14px;padding-top: 1.5px;" src="{{ "images/logo.gabei.png" | relURL }}">&nbsp;{{ $gabei | markdownify }}</a></div>{{ end }}
</div>
</div>
{{- if .Site.Params.footer.displaySlogan }}<div class="text-xs">{{ $slogan | markdownify }}</div>{{ end }}
Expand Down
Binary file added static/images/banner/1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/banner/10.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/banner/11.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/banner/12.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/banner/2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/banner/3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/banner/4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/banner/5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/banner/6.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/banner/7.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/banner/8.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/banner/9.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e500af5

Please sign in to comment.