Compare commits

...

4 Commits

Author SHA1 Message Date
Floren Munteanu
b43a8ff5d4
Merge 368c20e935eb96e9a6a5998c5a2941b9416b286c into 86a1f3fd9638a65c70fb7892964a396df22409a0 2024-11-14 17:45:49 +00:00
Jonas Pleyer
86a1f3fd96
docs(showcase): add cellular_raza (#498)
Some checks failed
Deploy Hugo site to Pages / build (push) Has been cancelled
Deploy Hugo site to Pages / deploy (push) Has been cancelled
* add cellular_raza to showcase exampleSite

* use link from github PR to store image

Co-authored-by: Xin <fuxin1997@gmail.com>

---------

Co-authored-by: Xin <fuxin1997@gmail.com>
2024-11-14 11:18:59 +00:00
Floren Munteanu
368c20e935 Implement header size 2024-05-17 15:29:39 -04:00
Floren Munteanu
9e684fa313 Implement hextra hero-section 2024-05-16 19:24:41 -04:00
2 changed files with 17 additions and 0 deletions

View File

@ -12,6 +12,13 @@ Open source projects powered by Hextra
</p> </p>
{{< cards >}} {{< cards >}}
{{< card
link="https://github.com/jonaspleyer/cellular_raza"
title="cellular_raza"
image="https://github.com/user-attachments/assets/f24c6455-b70a-419b-b025-e3d60101b673"
imageStyle="object-fit:cover; aspect-ratio:16/9;"
>}}
{{< card {{< card
link="https://github.com/mightymoud/sidekick" link="https://github.com/mightymoud/sidekick"
title="Sidekick" title="Sidekick"

View File

@ -0,0 +1,10 @@
{{- $style := .Get "style" -}}
{{- $header := int (strings.TrimPrefix "h" (.Get "header" | default "h2")) -}}
{{- $size := cond (ge $header 4) "xl" (cond (eq $header 3) "2xl" "4xl") -}}
<h{{ $header }}
class="not-prose hx-text-{{ $size }} hx-font-bold hx-leading-none hx-tracking-tighter md:hx-text-3xl hx-py-2 hx-bg-clip-text hx-text-transparent hx-bg-gradient-to-r hx-from-gray-900 hx-to-gray-600 dark:hx-from-gray-100 dark:hx-to-gray-400"
{{ with $style }}style="{{ . | safeCSS }}"{{ end }}
>
{{ .Inner | markdownify }}
</h{{ $header }}>