Skip to content

Commit dbbf221

Browse files
authored
Merge pull request #23 from LombokDev/refactor/home
refactor: hero section layout and content
2 parents 7ce9e36 + 7b88d70 commit dbbf221

24 files changed

Lines changed: 1362 additions & 592 deletions

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"tailwindCSS.experimental.configFile": "assets/css/style.css"
3+
}

Gemfile.lock

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ GEM
1818
ffi (1.17.2-arm-linux-gnu)
1919
ffi (1.17.2-arm-linux-musl)
2020
ffi (1.17.2-arm64-darwin)
21+
ffi (1.17.2-x64-mingw-ucrt)
2122
ffi (1.17.2-x86-linux-gnu)
2223
ffi (1.17.2-x86-linux-musl)
2324
ffi (1.17.2-x86_64-darwin)
@@ -36,6 +37,9 @@ GEM
3637
google-protobuf (4.32.0-arm64-darwin)
3738
bigdecimal
3839
rake (>= 13)
40+
google-protobuf (4.32.0-x64-mingw-ucrt)
41+
bigdecimal
42+
rake (>= 13)
3943
google-protobuf (4.32.0-x86-linux-gnu)
4044
bigdecimal
4145
rake (>= 13)
@@ -75,6 +79,7 @@ GEM
7579
webrick (~> 1.7)
7680
jekyll-feed (0.15.1)
7781
jekyll (>= 3.7, < 5.0)
82+
jekyll-postcss-v2 (1.0.2)
7883
jekyll-sass-converter (3.1.0)
7984
sass-embedded (~> 1.75)
8085
jekyll-seo-tag (2.8.0)
@@ -130,6 +135,8 @@ GEM
130135
google-protobuf (~> 4.31)
131136
sass-embedded (1.91.0-riscv64-linux-musl)
132137
google-protobuf (~> 4.31)
138+
sass-embedded (1.91.0-x64-mingw-ucrt)
139+
google-protobuf (~> 4.31)
133140
sass-embedded (1.91.0-x86_64-darwin)
134141
google-protobuf (~> 4.31)
135142
sass-embedded (1.91.0-x86_64-linux-android)
@@ -140,7 +147,12 @@ GEM
140147
google-protobuf (~> 4.31)
141148
terminal-table (3.0.2)
142149
unicode-display_width (>= 1.1.1, < 3)
150+
tzinfo (2.0.6)
151+
concurrent-ruby (~> 1.0)
152+
tzinfo-data (1.2025.2)
153+
tzinfo (>= 1.0.0)
143154
unicode-display_width (2.6.0)
155+
wdm (0.2.0)
144156
webrick (1.9.1)
145157

146158
PLATFORMS
@@ -156,6 +168,7 @@ PLATFORMS
156168
riscv64-linux-android
157169
riscv64-linux-gnu
158170
riscv64-linux-musl
171+
x64-mingw-ucrt
159172
x86-linux-gnu
160173
x86-linux-musl
161174
x86_64-darwin
@@ -167,6 +180,7 @@ DEPENDENCIES
167180
http_parser.rb (~> 0.6.0)
168181
jekyll (~> 4.4.1)
169182
jekyll-feed (~> 0.12)
183+
jekyll-postcss-v2
170184
jekyll-sitemap
171185
minima (~> 2.5)
172186
tzinfo (>= 1, < 3)

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
run:
2+
@bundle exec jekyll serve

_data/carousel_partners.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Carousel Configuration
2+
images:
3+
- 'assets/lombokdev/partners/hayati-io.webp'
4+
- 'assets/lombokdev/partners/linov.webp'
5+
- 'assets/lombokdev/partners/lombok-ai.webp'
6+
- 'assets/lombokdev/partners/lombok-android.webp'
7+
- 'assets/lombokdev/partners/lombok-flutter.webp'
8+
- 'assets/lombokdev/partners/lombok-js.webp'
9+
- 'assets/lombokdev/partners/lombok-kotlin.webp'
10+
- 'assets/lombokdev/partners/lombok-py.webp'
11+
- 'assets/lombokdev/partners/loteng-dev.webp'
12+
- 'assets/lombokdev/partners/lotim-dev.webp'
13+
- 'assets/lombokdev/partners/petani-kode.webp'
14+
- 'assets/lombokdev/partners/uxid-lombok.webp'
15+
16+
# Optional captions for each image
17+
# captions:
18+
19+
# Carousel settings
20+
settings:
21+
autoplay: true
22+
interval: 4000 # milliseconds
23+
show_dots: true
24+
show_arrows: true
25+
show_counter: true
26+
lazy_loading: true

_includes/carousel.html

Lines changed: 739 additions & 332 deletions
Large diffs are not rendered by default.

_includes/events.html

Lines changed: 90 additions & 38 deletions
Large diffs are not rendered by default.

_includes/hero.html

Lines changed: 70 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,75 @@
1-
<section id="about" class="pt-24 pb-16 px-6">
2-
<div class="max-w-6xl mx-auto grid grid-cols-1 md:grid-cols-4 gap-8">
3-
4-
<!-- Left content (3/4 width on desktop) -->
5-
<div class="md:col-span-3">
6-
<div class="mb-12">
7-
<h1 class="text-4xl md:text-5xl font-bold text-gray-900 mb-4 leading-tight">
8-
Lombok Dev
9-
</h1>
10-
<p class="text-xl text-gray-600 mb-6">
11-
Local Software Developer Community in Indonesia
12-
</p>
13-
<p class="text-lg text-gray-700 max-width-none leading-relaxed">
14-
Welcome to Lombok Dev - your gateway to the vibrant world of software development in Lombok, Indonesia.
15-
</p>
16-
</div>
17-
18-
<div class="prose prose-lg max-width-none">
19-
<p class="text-gray-700 leading-relaxed">
20-
Lombok Dev is a community-driven, regular meetup in Lombok—specifically in cities like Mataram and Ampenan—that brings together anyone interested in IT, open source, software development, system/network administration, and related tech fields. It aims to provide information, inspiration, and hands-on knowledge while fostering a collaborative ecosystem among tech enthusiasts on the island.
21-
</p>
22-
</div>
1+
<section id="about" class="h-screen flex justify-center items-center px-6 mb-28 lg:mb-0">
2+
<div class="max-w-3xl mt-28 lg:mt-0 mx-auto flex flex-col gap-6">
3+
4+
<div class="w-full flex justify-center">
5+
<a href="/"
6+
class="flex items-center font-semibold gap-3 p-1 px-3 rounded-2xl bg-white border border-slate-400/10 shadow-lg text-sm">
7+
<div class="relative flex h-2 w-2"><span
8+
class="animate-ping absolute inline-flex h-full w-full rounded-full bg-emerald-400 opacity-75"></span><span
9+
class="relative inline-flex rounded-full h-2 w-2 bg-emerald-500"></span></div>
10+
11+
<span>Lombok Dev </span>
12+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
13+
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
14+
class="lucide lucide-zap h-3 w-3 text-orange-500" aria-hidden="true">
15+
<path
16+
d="M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z">
17+
</path>
18+
</svg>
19+
<span>Meetup#13</span>
20+
21+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
22+
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
23+
class="lucide lucide-arrow-right h-3 w-3" aria-hidden="true">
24+
<path d="M5 12h14"></path>
25+
<path d="m12 5 7 7-7 7"></path>
26+
</svg>
27+
</a>
2328
</div>
2429

25-
<!-- Right card (1/4 width on desktop) -->
26-
<div class="md:col-span-1 mt-16">
27-
<div class="bg-black/70 text-white shadow-lg rounded-2xl p-6 border border-gray-700">
28-
<h2 class="text-2xl font-semibold mb-4">External Links</h2>
29-
<ul class="space-y-2">
30-
<li><span class="font-medium">Telegram:</span> <a href="https://t.me/lombokdev" class="text-blue-400 hover:underline">Join here</a></li>
31-
<li><span class="font-medium">Members:</span> 500+</li>
32-
<li><span class="font-medium">Initiated:</span> 2017</li>
33-
34-
<li><span class="font-medium">LinkedIn:</span> <a href="https://www.linkedin.com/company/lombok-dev/" class="text-blue-400 hover:underline">Follow Us Here</a></li>
35-
</ul>
36-
</div>
30+
<h1 class="text-4xl md:text-6xl text-center font-bold transition-colors duration-300 text-gray-900">
31+
Lombok Dev</h1>
32+
33+
<h2 class="text-center text-xl font-bold tracking-tight mb-2"><span
34+
class="bg-gradient-to-r bg-[200%_auto] bg-clip-text leading-tight text-transparent transition-all duration-300 from-neutral-900 via-slate-500 to-neutral-500">Local
35+
Software Developer Community in Indonesia</span></h2>
36+
37+
<div class="prose prose-lg max-width-none">
38+
<p
39+
class="text-sm sm:text-lg mb-6 sm:mb-8 transition-colors duration-300 px-4 sm:px-0 text-gray-600 leading-relaxed text-center">
40+
Lombok Dev is a community-driven, regular meetup in Lombok—specifically in cities like Mataram and Ampenan—that
41+
brings together anyone interested in IT, open source, software development, system/network administration, and
42+
related tech fields. It aims to provide information, inspiration, and hands-on knowledge while fostering a
43+
collaborative ecosystem among tech enthusiasts on the island.
44+
</p>
3745
</div>
3846

47+
<div class="flex justify-center gap-4">
48+
<a href="https://t.me/lombokdev"
49+
class="rounded-xl border backdrop-blur-md border-blue-500 flex items-center justify-center p-2 bg-blue-500/10 hover:bg-blue-500/20">
50+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#007aff"
51+
stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
52+
<path d="M15 10l-4 4l6 6l4 -16l-18 7l4 2l2 6l3 -4" />
53+
</svg>
54+
</a>
55+
<a href="https://t.me/lombokdev"
56+
class="rounded-xl border backdrop-blur-md border-pink-500 flex items-center justify-center p-2 bg-pink-500/10 hover:bg-pink-500/20">
57+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#ff5c7a"
58+
stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
59+
<path d="M4 4m0 4a4 4 0 0 1 4 -4h8a4 4 0 0 1 4 4v8a4 4 0 0 1 -4 4h-8a4 4 0 0 1 -4 -4z" />
60+
<path d="M12 12m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0" />
61+
<path d="M16.5 7.5l0 .01" />
62+
</svg>
63+
</a>
64+
<a href="https://t.me/lombokdev"
65+
class="rounded-xl border backdrop-blur-md border-slate-500 flex items-center justify-center p-2 bg-slate-500/10 hover:bg-slate-500/20"><svg
66+
xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#383b47"
67+
stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
68+
<path
69+
d="M9 19c-4.3 1.4 -4.3 -2.5 -6 -3m12 5v-3.5c0 -1 .1 -1.4 -.5 -2c2.8 -.3 5.5 -1.4 5.5 -6a4.6 4.6 0 0 0 -1.3 -3.2a4.2 4.2 0 0 0 -.1 -3.2s-1.1 -.3 -3.5 1.3a12.3 12.3 0 0 0 -6.2 0c-2.4 -1.6 -3.5 -1.3 -3.5 -1.3a4.2 4.2 0 0 0 -.1 3.2a4.6 4.6 0 0 0 -1.3 3.2c0 4.6 2.7 5.7 5.5 6c-.6 .6 -.6 1.2 -.5 2v3.5" />
70+
</svg>
71+
72+
</a>
73+
</div>
3974
</div>
40-
</section>
75+
</section>

_includes/partners.html

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
<div class="overflow-hidden relative max-w-6xl mx-auto space-y-6 my-52">
2+
<div class="absolute top-0 -left-10 pointer-events-none h-full w-20 bg-gradient-to-r from-white via-white to-transparent z-40"
3+
aria-hidden="true"></div>
4+
<div class="absolute top-0 -right-10 pointer-events-none h-full w-20 bg-gradient-to-l from-white via-white to-transparent z-40"
5+
aria-hidden="true"></div>
6+
7+
<!-- Line 1 (arah kiri) -->
8+
<div class="flex animate-marquee whitespace-nowrap">
9+
{% assign carousel_images = include.images | default: site.data.carousel_partners.images %}
10+
{% for image in carousel_images %}
11+
<div class="flex-shrink-0 w-32 mx-4">
12+
<div class="aspect-square border border-gray-100 flex items-center justify-center">
13+
<img src="{{ '' | append: image | relative_url }}" alt="Carousel partner logo {{ forloop.index }}"
14+
class="w-full h-full object-contain" loading="lazy"
15+
onerror='this.parentElement.innerHTML=&apos;<div class="text-gray-400 text-center"><svg class="w-16 h-16 mx-auto mb-4" fill="currentColor" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M4 3a2 2 0 00-2 2v10a2 2 0 002 2h12a2 2 0 002-2V5a2 2 0 00-2-2H4zm12 12H4l4-8 3 6 2-4 3 6z" clip-rule="evenodd"></path></svg><p>{{ image }}</p></div>&apos;' />
16+
</div>
17+
</div>
18+
{% endfor %}
19+
20+
<!-- Duplicate biar looping mulus -->
21+
{% for image in carousel_images %}
22+
<div class="flex-shrink-0 w-32 mx-4">
23+
<div class="aspect-square border border-gray-100 flex items-center justify-center">
24+
<img src="{{ '' | append: image | relative_url }}"
25+
alt="Carousel partner logo duplicate {{ forloop.index }}" class="w-full h-full object-contain"
26+
loading="lazy" />
27+
</div>
28+
</div>
29+
{% endfor %}
30+
</div>
31+
32+
<!-- Line 2 (arah kanan) -->
33+
<div class="flex animate-marquee-reverse whitespace-nowrap">
34+
{% for image in carousel_images %}
35+
<div class="flex-shrink-0 w-32 mx-4">
36+
<div class="aspect-square border border-gray-100 flex items-center justify-center">
37+
<img src="{{ '' | append: image | relative_url }}" alt="Carousel partner logo {{ forloop.index }}"
38+
class="w-full h-full object-contain" loading="lazy" />
39+
</div>
40+
</div>
41+
{% endfor %}
42+
43+
{% for image in carousel_images %}
44+
<div class="flex-shrink-0 w-32 mx-4">
45+
<div class="aspect-square border border-gray-100 flex items-center justify-center">
46+
<img src="{{ '' | append: image | relative_url }}"
47+
alt="Carousel partner logo duplicate {{ forloop.index }}" class="w-full h-full object-contain"
48+
loading="lazy" />
49+
</div>
50+
</div>
51+
{% endfor %}
52+
</div>
53+
</div>
54+
55+
<style>
56+
@keyframes marquee {
57+
0% {
58+
transform: translateX(0);
59+
}
60+
61+
100% {
62+
transform: translateX(-100%);
63+
}
64+
}
65+
66+
@keyframes marquee-reverse {
67+
0% {
68+
transform: translateX(-100%);
69+
}
70+
71+
100% {
72+
transform: translateX(0);
73+
}
74+
}
75+
76+
.animate-marquee {
77+
animation: marquee 20s linear infinite;
78+
}
79+
80+
.animate-marquee-reverse {
81+
animation: marquee-reverse 20s linear infinite;
82+
}
83+
</style>

0 commit comments

Comments
 (0)