Skip to content

Commit 64a1fba

Browse files
chore:Moved open source section below Jump to our Hiero Repositories (#192)
Signed-off-by: shivam-batham <shivambatham2610@gmail.com>
1 parent b01c398 commit 64a1fba

File tree

1 file changed

+42
-31
lines changed

1 file changed

+42
-31
lines changed

layouts/_default/home.html

Lines changed: 42 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -33,37 +33,6 @@ <h3 class="text-2xl mb-5 sm:mb-2 [&>strong]:text-red">{{ .heading | safeHTML }}<
3333
</div>
3434
</div>
3535
</div>
36-
<!-- OPEN SOURCE -->
37-
<div>
38-
<div class="bg-white">
39-
<div class="container pt-[40px] pb-[40px] sm:pt-[92px] sm:pb-[154px] grid grid-cols-1 sm:grid-cols-2 gap-[80px] sm:gap-10 relative">
40-
{{ $graphic := resources.Get "images/Hiero-Logo-Outline.svg" }}
41-
{{ with $graphic }}
42-
<img src="{{ $graphic.RelPermalink }}" class="sm:absolute w-full h-full sm:top-[50%] sm:left-[50%] sm:-translate-x-[50%] sm:-translate-y-[50%]" {{ if $lazyLoading }}loading="lazy"{{ end }}>
43-
{{ end }}
44-
<div id="open-source" class="anchor anchor--open-source relative" >
45-
<div class="h-14 w-14 mb-5">
46-
{{ $icon := resources.Get "images/Hiero-Icon-Heart.svg" }}
47-
{{ with $icon }}
48-
<img src="{{ $icon.RelPermalink }}" {{ if $lazyLoading }}loading="lazy"{{ end }}>
49-
{{ end }}
50-
</div>
51-
<h2 class="text-2xl font-medium mb-5">{{ $.Param "section_why_open_source_heading" | safeHTML }}</h2>
52-
<p class="text-base max-w-[565px]">{{ $.Param "section_why_open_source_text" | safeHTML }}</p>
53-
</div>
54-
<div class="relative">
55-
<div class="h-14 w-14 mb-5">
56-
{{ $icon := resources.Get "images/Hiero-Icon-OpenSource.svg" }}
57-
{{ with $icon }}
58-
<img src="{{ $icon.RelPermalink }}" {{ if $lazyLoading }}loading="lazy"{{ end }}>
59-
{{ end }}
60-
</div>
61-
<h2 class="text-2xl font-medium mb-5">{{ $.Param "section_what_parts_open_source_heading" | safeHTML }}</h2>
62-
<p class="text-base max-w-[565px]">{{ $.Param "section_what_parts_open_source_text" | safeHTML }}</p>
63-
</div>
64-
</div>
65-
</div>
66-
</div>
6736

6837
<!-- Swiper JS -->
6938
<script src="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js"></script>
@@ -188,6 +157,48 @@ <h3 class="text-xl sm:text-2xl font-medium mb-3 text-red">{{ .name | safeHTML }}
188157
</div>
189158
</div>
190159

160+
<div> <!-- divider -->
161+
<div class="container py-[40px] sm:py-0 flex flex-row items-center gap-10">
162+
{{ $graphic := resources.Get "images/Hiero-Icon.svg" }}
163+
{{ with $graphic }}
164+
<img src="{{ $graphic.RelPermalink }}" {{ if $lazyLoading }}loading="lazy"{{ end }}>
165+
{{ end }}
166+
<div class="w-full bg-white-dark h-[1px]"></div>
167+
</div>
168+
</div>
169+
170+
<!-- OPEN SOURCE -->
171+
<div>
172+
<div class="bg-white">
173+
<div class="container pt-[40px] pb-[40px] sm:pt-[92px] sm:pb-[154px] grid grid-cols-1 sm:grid-cols-2 gap-[80px] sm:gap-10 relative">
174+
{{ $graphic := resources.Get "images/Hiero-Logo-Outline.svg" }}
175+
{{ with $graphic }}
176+
<img src="{{ $graphic.RelPermalink }}" class="sm:absolute w-full h-full sm:top-[50%] sm:left-[50%] sm:-translate-x-[50%] sm:-translate-y-[50%]" {{ if $lazyLoading }}loading="lazy"{{ end }}>
177+
{{ end }}
178+
<div id="open-source" class="anchor anchor--open-source relative" >
179+
<div class="h-14 w-14 mb-5">
180+
{{ $icon := resources.Get "images/Hiero-Icon-Heart.svg" }}
181+
{{ with $icon }}
182+
<img src="{{ $icon.RelPermalink }}" {{ if $lazyLoading }}loading="lazy"{{ end }}>
183+
{{ end }}
184+
</div>
185+
<h2 class="text-2xl font-medium mb-5">{{ $.Param "section_why_open_source_heading" | safeHTML }}</h2>
186+
<p class="text-base max-w-[565px]">{{ $.Param "section_why_open_source_text" | safeHTML }}</p>
187+
</div>
188+
<div class="relative">
189+
<div class="h-14 w-14 mb-5">
190+
{{ $icon := resources.Get "images/Hiero-Icon-OpenSource.svg" }}
191+
{{ with $icon }}
192+
<img src="{{ $icon.RelPermalink }}" {{ if $lazyLoading }}loading="lazy"{{ end }}>
193+
{{ end }}
194+
</div>
195+
<h2 class="text-2xl font-medium mb-5">{{ $.Param "section_what_parts_open_source_heading" | safeHTML }}</h2>
196+
<p class="text-base max-w-[565px]">{{ $.Param "section_what_parts_open_source_text" | safeHTML }}</p>
197+
</div>
198+
</div>
199+
</div>
200+
</div>
201+
191202
<!-- Initialize Repos Swiper after HTML is rendered -->
192203
<script>
193204
var reposSwiper = new Swiper(".reposSwiper", {

0 commit comments

Comments
 (0)