Skip to content

Commit

Permalink
feat: change theme (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
kowyo authored Oct 30, 2024
1 parent 337a099 commit 04bf60b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 22 deletions.
15 changes: 0 additions & 15 deletions layouts/hextra-home.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,6 @@
<div class="hx-flex hx-flex-col hx-items-start">
{{ .Content }}
</div>

<a href="/news/1st-anniversary/">
<div style="background: radial-gradient(ellipse at 50% 80%,rgba(255,178,111,0.15),hsla(0,0%,100%,0));" class="hx-mt-4 hextra-feature-card hx-rounded-3xl hx-border hx-border-gray-200 hover:hx-border-gray-300 dark:hx-border-neutral-800 dark:hover:hx-border-neutral-700">
<div class="hx-flex hx-w-full hx-items-start hx-justify-center hx-mb-4 hx-mt-4 hx-overflow-auto hx-snap-mandatory hx-snap-x ">
<div class="hx-flex hx-justify-between hx-flex-nowrap hx-items-stretch">
<img src="images/anniversary/hitsz.png" width="200" />
<img src="images/anniversary/open.png" width="200" />
<img src="images/anniversary/auto.png" width="200" />
<img src="images/anniversary/shengri.png" width="200" />
<img src="images/anniversary/kuaile.png" width="200" />
</div>
</div>
<div class="hx-text-gray-500 dark:hx-text-gray-400 hx-text-lg hx-leading-6 hx-text-center hx-mt-4 hx-mb-2 hx-font-bold">HITSZ OpenAuto 一岁啦!「点我」来查看维护者们有什么想说的吧👉</div>
</div>
</a>
</div>
</div>
{{ end }}
15 changes: 8 additions & 7 deletions layouts/shortcodes/hero-container.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@
>
{{- $button_text -}}
</a>

<a href="/news/1st-anniversary/">
<div style="background: radial-gradient(ellipse at 50% 80%,rgba(255,178,111,0.15),hsla(0,0%,100%,0));" class="hx-px-6 hx-mt-4 hx-rounded-3xl hx-border hx-border-gray-200 hover:hx-border-gray-300 dark:hx-border-neutral-800 dark:hover:hx-border-neutral-700">
<div class="hx-text-gray-500 dark:hx-text-gray-400 hx-text-lg hx-leading-6 hx-ml-4 hx-py-3 hx-text-center hx-font-bold">HITSZ OpenAuto 一周岁生日纪念!🎂</div>
</div>
</a>

</div>

</div>
Expand All @@ -49,17 +56,11 @@
<img src={{ $image }} width="400" alt="Logo"/><br/>
</div> -->
<a href="/news/1st-anniversary/">
<div class="hx-flex hx-justify-center hx-items-center">
<div class="hx-flex hx-justify-center hx-items-center hx-px-2 hx-mt-4">
<div style="border-radius: 5%; overflow: hidden; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);" class="hx-overflow-hidden hx-shadow-2xl hx-rounded-md">
<img src="images/anniversary/happy-birthday-skeb.jpg" alt="alt text" width="550"/>
</div>
</div>
</a>
{{- end -}}
</div>






0 comments on commit 04bf60b

Please sign in to comment.