Skip to content

Commit fbc4b1c

Browse files
committed
feat(ads) : add services and advertisements to the website home page
1 parent ed0e531 commit fbc4b1c

5 files changed

Lines changed: 151 additions & 61 deletions

File tree

app/components/AppBanner.vue

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
<script setup lang="ts">
2+
const isVisible = ref(true)
3+
4+
function dismiss() {
5+
isVisible.value = false
6+
if (import.meta.client) {
7+
sessionStorage.setItem('banner-dismissed', 'true')
8+
}
9+
}
10+
11+
onMounted(() => {
12+
if (sessionStorage.getItem('banner-dismissed') === 'true') {
13+
isVisible.value = false
14+
}
15+
})
16+
</script>
17+
18+
<template>
19+
<Transition name="banner">
20+
<div
21+
v-if="isVisible"
22+
class="relative z-50 w-full bg-[#0d0d0d] text-white flex items-center justify-between px-4 py-2.5 gap-4"
23+
>
24+
<!-- Left brand -->
25+
<div class="flex items-center gap-3 min-w-0 shrink-0">
26+
<span class="text-sm font-bold tracking-tight">
27+
<span class="text-red-500">NLFTs</span><span class="font-light">Dev</span>
28+
</span>
29+
</div>
30+
31+
<!-- Center content -->
32+
<div class="flex-1 flex items-center justify-center gap-2 text-sm min-w-0 text-center">
33+
<span class="font-semibold text-white">Developer Program Member sekarang tersedia.</span>
34+
<span class="text-neutral-400 hidden sm:inline">Bergabunglah dan akses semua modul eksklusif.</span>
35+
</div>
36+
37+
<!-- CTA button -->
38+
<div class="shrink-0 flex items-center gap-3">
39+
<NuxtLink
40+
to="/pricing"
41+
class="flex items-center gap-1.5 bg-red-600 hover:bg-red-500 transition-colors text-white text-xs font-semibold px-3 py-1.5 rounded-md whitespace-nowrap"
42+
>
43+
Gabung Sekarang
44+
<UIcon name="i-lucide-arrow-right" class="w-3 h-3" />
45+
</NuxtLink>
46+
47+
<!-- Close button -->
48+
<button
49+
class="text-neutral-400 hover:text-white transition-colors p-1 rounded"
50+
aria-label="Tutup banner"
51+
@click="dismiss"
52+
>
53+
<UIcon name="i-lucide-x" class="w-4 h-4" />
54+
</button>
55+
</div>
56+
</div>
57+
</Transition>
58+
</template>
59+
60+
<style scoped>
61+
.banner-enter-active,
62+
.banner-leave-active {
63+
transition: all 0.3s ease;
64+
overflow: hidden;
65+
}
66+
67+
.banner-enter-from,
68+
.banner-leave-to {
69+
max-height: 0;
70+
opacity: 0;
71+
padding-top: 0;
72+
padding-bottom: 0;
73+
}
74+
75+
.banner-enter-to,
76+
.banner-leave-from {
77+
max-height: 60px;
78+
opacity: 1;
79+
}
80+
</style>

app/layouts/default.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<template>
22
<div>
3+
<AppBanner />
34
<AppHeader />
45

56
<UMain>

app/pages/.index.vue.swo

16 KB
Binary file not shown.

app/pages/.index.vue.swp

16 KB
Binary file not shown.

content/2.pricing.yml

Lines changed: 70 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,82 +1,91 @@
1-
title: A plan for every need
2-
description: Our plans are designed to meet the requirements of both beginners and players. Get the right plan that suits you.
1+
title: Pilih Paket Belajar yang Tepat
2+
description: Dapatkan akses ke materi pembelajaran Java terlengkap, dari pemula hingga mahir. Tersedia paket gratis dan berbayar sesuai kebutuhan Anda.
33
seo:
4-
title: Pricing
5-
description: Choose the plan that's right for you.
6-
navigation.icon: i-lucide-credit-card
4+
title: Harga & Paket Belajar
5+
description: Pilih paket belajar Java yang sesuai dengan kebutuhan Anda. Tersedia paket gratis dengan akses ke 3 modul pertama.
6+
navigation.icon: i-lucide-graduation-cap
77
plans:
8-
- title: Basic
9-
description: A basic plan for individuals.
8+
- title: Gratis
9+
description: Untuk memulai perjalanan belajar Java Anda.
1010
price:
11-
month: $9.9
12-
year: $99.9
11+
month: Rp 0
12+
year: Rp 0
1313
button:
14-
label: Get Started
14+
label: Mulai Belajar Gratis
1515
color: neutral
1616
variant: subtle
1717
features:
18-
- 1 GB Storage
19-
- 1 Email Account
20-
- 1 Domain
21-
- 1 Website
22-
- 1 Database
23-
- 1 SSL Certificate
24-
- 1 Support Ticket
25-
- title: Standard
26-
description: A standard plan for small teams.
18+
- ✅ 3 Modul pertama (Pengenalan, Tipe Data, Operator)
19+
- ✅ 5 Video tutorial dasar
20+
- ✅ 10 Soal latihan Level 1
21+
- ✅ Akses forum diskusi
22+
- ✅ Update materi gratis
23+
- ⭐ Cocok untuk pemula
24+
- title: Gratis
25+
description: Untuk pembelajaran yang lebih mendalam dan terstruktur.
2726
price:
28-
month: $19.9
29-
year: $199.9
27+
month: Rp 99.000
28+
year: Rp 999.000
3029
highlight: true
3130
scale: true
3231
button:
33-
label: Get Started
32+
label: Dapatkan Akses Pro
3433
features:
35-
- 10 GB Storage
36-
- 10 Email Accounts
37-
- 10 Domains
38-
- 10 Websites
39-
- 10 Databases
40-
- 10 SSL Certificates
41-
- 10 Support Tickets
42-
- title: Premium
43-
description: A premium plan for large teams.
34+
- ✅ Semua modul (1-9 lengkap)
35+
- ✅ 30+ Video tutorial eksklusif
36+
- ✅ 50+ Soal latihan Level 1-3
37+
- ✅ Studi kasus mini project
38+
- ✅ Sertifikat penyelesaian
39+
- ✅ Akses source code lengkap
40+
- ✅ Grup diskusi eksklusif
41+
- ✅ Konsultasi via chat
42+
- ⭐ Terpopuler
43+
- title: Company
44+
description: Untuk pengembangan karir dan persiapan sertifikasi.
4445
price:
45-
month: $29.9
46-
year: $299.9
46+
month: Rp 199.000
47+
year: Rp 1.999.000
4748
button:
48-
label: Get Started
49+
label: Upgrade ke Pro+
4950
color: neutral
5051
variant: subtle
5152
features:
52-
- 100 GB Storage
53-
- 100 Email Accounts
54-
- 100 Domains
55-
- 100 Websites
56-
- 100 Databases
57-
- 100 SSL Certificates
58-
- 100 Support Tickets
53+
- ✅ Semua fitur Pro
54+
- ✅ 10 Modul lanjutan (OOP, Exception, Collection)
55+
- ✅ 50+ Video tutorial lengkap
56+
- ✅ 100+ Soal latihan semua level
57+
- ✅ 5 Mini project (Todo App, Kalkulator, dll)
58+
- ✅ 1 Final project (Aplikasi Perpustakaan)
59+
- ✅ Persiapan sertifikasi OCA/OCP
60+
- ✅ Review kode 1-on-1
61+
- ✅ Konsultasi karir
62+
- ✅ Akses seumur hidup
63+
- ⭐ Untuk profesional
5964
logos:
60-
title: Trusted by the world's best
65+
title: Dipercaya oleh ribuan pembelajar dari
6166
icons:
62-
- i-simple-icons-amazonaws
63-
- i-simple-icons-heroku
64-
- i-simple-icons-netlify
65-
- i-simple-icons-vercel
66-
- i-simple-icons-cloudflare
67+
- i-simple-icons-ui
68+
- i-simple-icons-bri
69+
- i-simple-icons-gojek
70+
- i-simple-icons-bukalapak
71+
- i-simple-icons-traveloka
6772
faq:
68-
title: Frequently asked questions
69-
description: Culpa consectetur dolor pariatur commodo aliqua amet tempor nisi enim deserunt elit cillum.
73+
title: Pertanyaan yang Sering Diajukan
74+
description: Temukan jawaban atas pertanyaan seputar course Java ini.
7075
items:
71-
- label: Is this a secure service?
72-
content: Qui sunt nostrud aliquip reprehenderit enim proident veniam magna aliquip velit occaecat eiusmod nisi deserunt sunt.
73-
- label: How can I cancel my subscription?
74-
content: Consectetur irure Lorem nostrud adipisicing aliqua mollit Lorem sit officia magna eiusmod cupidatat.
75-
- label: How does the free trial work?
76-
content: Quis officia commodo magna eu qui aliquip duis.
77-
- label: Can I switch plans later?
78-
content: Dolore irure ullamco dolore eu occaecat magna eiusmod dolor aliqua culpa labore.
79-
- label: Do you offer refunds?
80-
content: Duis mollit nostrud voluptate mollit Lorem dolore commodo veniam incididunt eiusmod.
81-
- label: Do you offer support?
82-
content: Aliqua sit nisi consequat pariatur Lorem minim irure qui.
76+
- label: Apa saja yang didapat di paket Gratis?
77+
content: Paket Gratis memberikan akses ke 3 modul pertama (Pengenalan Java, Tipe Data & Variabel, Operator), 5 video tutorial dasar, 10 soal latihan Level 1, dan akses forum diskusi. Cocok untuk mencoba sebelum memutuskan upgrade.
78+
- label: Bagaimana cara mengakses materi setelah membeli?
79+
content: Setelah melakukan pembayaran, Anda akan mendapatkan email dengan link akses ke dashboard pembelajaran. Anda bisa mengakses materi kapan saja, di mana saja melalui browser.
80+
- label: Apada masa berlaku akses?
81+
content: Paket bulanan berlaku 30 hari, paket tahunan berlaku 12 bulan, dan paket Pro+ berlaku seumur hidup (tidak perlu perpanjangan).
82+
- label: Bisa upgrade dari paket Gratis ke Pro?
83+
content: Tentu! Anda bisa upgrade kapan saja. Biaya upgrade akan dihitung prorata jika Anda masih dalam masa percobaan.
84+
- label: Apakah ada garansi uang kembali?
85+
content: Ya, kami memberikan garansi 7 hari uang kembali jika Anda tidak puas dengan materi. Syarat dan ketentuan berlaku.
86+
- label: Apakah ada diskon untuk pembelian grup?
87+
content: Ya, untuk pembelian minimal 5 akun, kami memberikan diskon khusus. Silakan hubungi tim support untuk informasi lebih lanjut.
88+
- label: Bagaimana jika saya kesulitan memahami materi?
89+
content: Untuk paket Pro dan Pro+, Anda bisa bertanya melalui grup diskusi eksklusif atau fitur konsultasi chat. Tim pengajar akan merespon dalam 1x24 jam.
90+
- label: Apakah sertifikatnya diakui?
91+
content: Sertifikat penyelesaian dikeluarkan oleh platform kami dan dapat dicantumkan di LinkedIn atau CV sebagai bukti kompetensi. Untuk sertifikasi resmi Oracle (OCA/OCP), kami sediakan modul persiapan khusus.

0 commit comments

Comments
 (0)