first commit
This commit is contained in:
commit
ab63fff97a
|
|
@ -0,0 +1,24 @@
|
||||||
|
# Nuxt dev/build outputs
|
||||||
|
.output
|
||||||
|
.data
|
||||||
|
.nuxt
|
||||||
|
.nitro
|
||||||
|
.cache
|
||||||
|
dist
|
||||||
|
|
||||||
|
# Node dependencies
|
||||||
|
node_modules
|
||||||
|
|
||||||
|
# Logs
|
||||||
|
logs
|
||||||
|
*.log
|
||||||
|
|
||||||
|
# Misc
|
||||||
|
.DS_Store
|
||||||
|
.fleet
|
||||||
|
.idea
|
||||||
|
|
||||||
|
# Local env files
|
||||||
|
.env
|
||||||
|
.env.*
|
||||||
|
!.env.example
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"js/ts.experimental.useTsgo": false
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,75 @@
|
||||||
|
# Nuxt Minimal Starter
|
||||||
|
|
||||||
|
Look at the [Nuxt documentation](https://nuxt.com/docs/getting-started/introduction) to learn more.
|
||||||
|
|
||||||
|
## Setup
|
||||||
|
|
||||||
|
Make sure to install dependencies:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# npm
|
||||||
|
npm install
|
||||||
|
|
||||||
|
# pnpm
|
||||||
|
pnpm install
|
||||||
|
|
||||||
|
# yarn
|
||||||
|
yarn install
|
||||||
|
|
||||||
|
# bun
|
||||||
|
bun install
|
||||||
|
```
|
||||||
|
|
||||||
|
## Development Server
|
||||||
|
|
||||||
|
Start the development server on `http://localhost:3000`:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# npm
|
||||||
|
npm run dev
|
||||||
|
|
||||||
|
# pnpm
|
||||||
|
pnpm dev
|
||||||
|
|
||||||
|
# yarn
|
||||||
|
yarn dev
|
||||||
|
|
||||||
|
# bun
|
||||||
|
bun run dev
|
||||||
|
```
|
||||||
|
|
||||||
|
## Production
|
||||||
|
|
||||||
|
Build the application for production:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# npm
|
||||||
|
npm run build
|
||||||
|
|
||||||
|
# pnpm
|
||||||
|
pnpm build
|
||||||
|
|
||||||
|
# yarn
|
||||||
|
yarn build
|
||||||
|
|
||||||
|
# bun
|
||||||
|
bun run build
|
||||||
|
```
|
||||||
|
|
||||||
|
Locally preview production build:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# npm
|
||||||
|
npm run preview
|
||||||
|
|
||||||
|
# pnpm
|
||||||
|
pnpm preview
|
||||||
|
|
||||||
|
# yarn
|
||||||
|
yarn preview
|
||||||
|
|
||||||
|
# bun
|
||||||
|
bun run preview
|
||||||
|
```
|
||||||
|
|
||||||
|
Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information.
|
||||||
|
|
@ -0,0 +1,83 @@
|
||||||
|
<script setup lang="ts">
|
||||||
|
useHead({
|
||||||
|
link: [
|
||||||
|
{
|
||||||
|
rel: "preconnect",
|
||||||
|
href: "https://fonts.googleapis.com",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
rel: "preconnect",
|
||||||
|
href: "https://fonts.gstatic.com",
|
||||||
|
crossorigin: "",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
rel: "stylesheet",
|
||||||
|
href: "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
});
|
||||||
|
|
||||||
|
const { locale } = useI18n();
|
||||||
|
|
||||||
|
const changingLocale = useState(
|
||||||
|
"locale-loading",
|
||||||
|
() => false,
|
||||||
|
);
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<NuxtLayout>
|
||||||
|
<NuxtPage />
|
||||||
|
</NuxtLayout>
|
||||||
|
|
||||||
|
<!-- CUSTOM CURSOR -->
|
||||||
|
<CustomCursor />
|
||||||
|
|
||||||
|
<!-- LANGUAGE LOADING -->
|
||||||
|
<Transition
|
||||||
|
enter-active-class="transition-opacity duration-200 ease-out"
|
||||||
|
enter-from-class="opacity-0"
|
||||||
|
enter-to-class="opacity-100"
|
||||||
|
leave-active-class="transition-opacity duration-200 ease-in"
|
||||||
|
leave-from-class="opacity-100"
|
||||||
|
leave-to-class="opacity-0"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
v-if="changingLocale"
|
||||||
|
class="fixed inset-0 z-99999 flex items-center justify-center"
|
||||||
|
:style="{
|
||||||
|
backgroundColor: 'var(--bg)',
|
||||||
|
color: 'var(--text)',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
<div class="flex flex-col items-center">
|
||||||
|
<!-- Spinner -->
|
||||||
|
<div
|
||||||
|
class="h-10 w-10 animate-spin rounded-full border-2 border-transparent border-t-current"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<!-- Text -->
|
||||||
|
<div class="mt-5 text-center">
|
||||||
|
<p class="text-sm font-semibold tracking-wide">
|
||||||
|
{{
|
||||||
|
locale === "id"
|
||||||
|
? "Mengganti bahasa"
|
||||||
|
: "Switching language"
|
||||||
|
}}
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p
|
||||||
|
class="mt-1 text-xs"
|
||||||
|
:style="{ color: 'var(--text-muted)' }"
|
||||||
|
>
|
||||||
|
{{
|
||||||
|
locale === "id"
|
||||||
|
? "Tunggu sebentar..."
|
||||||
|
: "Please wait..."
|
||||||
|
}}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</Transition>
|
||||||
|
</template>
|
||||||
|
|
@ -0,0 +1,69 @@
|
||||||
|
@import "tailwindcss";
|
||||||
|
|
||||||
|
:root {
|
||||||
|
--bg: #d8d7dc;
|
||||||
|
--surface: #c8c8c8;
|
||||||
|
--surface-hover: #b8b8b8;
|
||||||
|
|
||||||
|
--border: #b8b7be;
|
||||||
|
--grid: #5f5f63;
|
||||||
|
|
||||||
|
--text: #242328;
|
||||||
|
--text-muted: #626068;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dark {
|
||||||
|
--bg: #151517;
|
||||||
|
--surface: #202023;
|
||||||
|
--surface-hover: #2a2a2e;
|
||||||
|
|
||||||
|
--border: #38383d;
|
||||||
|
--grid: #36363b;
|
||||||
|
|
||||||
|
--text: #ffffff;
|
||||||
|
--text-muted: #a2a2aa;
|
||||||
|
}
|
||||||
|
|
||||||
|
html {
|
||||||
|
scroll-behavior: smooth;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
background: var(--bg);
|
||||||
|
color: var(--text);
|
||||||
|
font-family: var(--font-body);
|
||||||
|
overflow-x: hidden;
|
||||||
|
|
||||||
|
transition:
|
||||||
|
background-color 0.3s ease,
|
||||||
|
color 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1,
|
||||||
|
h2,
|
||||||
|
h3,
|
||||||
|
h4,
|
||||||
|
h5,
|
||||||
|
h6 {
|
||||||
|
font-family: var(--font-heading);
|
||||||
|
color: var(--text);
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 640px) {
|
||||||
|
section {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 768px) {
|
||||||
|
html,
|
||||||
|
body,
|
||||||
|
a,
|
||||||
|
button {
|
||||||
|
cursor: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,172 @@
|
||||||
|
<script setup lang="ts">
|
||||||
|
import { onMounted, onBeforeUnmount, ref } from "vue";
|
||||||
|
|
||||||
|
const x = ref(0);
|
||||||
|
const y = ref(0);
|
||||||
|
const visible = ref(false);
|
||||||
|
|
||||||
|
const handleMouseMove = (event: MouseEvent) => {
|
||||||
|
x.value = event.clientX;
|
||||||
|
y.value = event.clientY;
|
||||||
|
visible.value = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
const handleMouseLeave = () => {
|
||||||
|
visible.value = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
onMounted(() => {
|
||||||
|
window.addEventListener("mousemove", handleMouseMove, {
|
||||||
|
passive: true,
|
||||||
|
});
|
||||||
|
|
||||||
|
document.documentElement.addEventListener(
|
||||||
|
"mouseleave",
|
||||||
|
handleMouseLeave,
|
||||||
|
);
|
||||||
|
});
|
||||||
|
|
||||||
|
onBeforeUnmount(() => {
|
||||||
|
window.removeEventListener(
|
||||||
|
"mousemove",
|
||||||
|
handleMouseMove,
|
||||||
|
);
|
||||||
|
|
||||||
|
document.documentElement.removeEventListener(
|
||||||
|
"mouseleave",
|
||||||
|
handleMouseLeave,
|
||||||
|
);
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div
|
||||||
|
class="custom-cursor"
|
||||||
|
:class="{ 'is-visible': visible }"
|
||||||
|
:style="{
|
||||||
|
left: `${x}px`,
|
||||||
|
top: `${y}px`,
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
<div class="crosshair">
|
||||||
|
<span class="horizontal" />
|
||||||
|
<span class="vertical" />
|
||||||
|
<span class="center" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="coordinates">
|
||||||
|
<span>X {{ x }}</span>
|
||||||
|
<span>Y {{ y }}</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.custom-cursor {
|
||||||
|
position: fixed;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
|
||||||
|
width: 0;
|
||||||
|
height: 0;
|
||||||
|
|
||||||
|
z-index: 2147483647;
|
||||||
|
|
||||||
|
pointer-events: none;
|
||||||
|
|
||||||
|
opacity: 0;
|
||||||
|
|
||||||
|
transform: translate3d(0, 0, 0);
|
||||||
|
|
||||||
|
transition: opacity 120ms ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.custom-cursor.is-visible {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.crosshair {
|
||||||
|
position: absolute;
|
||||||
|
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
|
||||||
|
width: 22px;
|
||||||
|
height: 22px;
|
||||||
|
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.horizontal,
|
||||||
|
.vertical {
|
||||||
|
position: absolute;
|
||||||
|
|
||||||
|
display: block;
|
||||||
|
|
||||||
|
background: var(--text);
|
||||||
|
|
||||||
|
opacity: 0.85;
|
||||||
|
}
|
||||||
|
|
||||||
|
.horizontal {
|
||||||
|
left: 0;
|
||||||
|
top: 10px;
|
||||||
|
|
||||||
|
width: 22px;
|
||||||
|
height: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vertical {
|
||||||
|
left: 10px;
|
||||||
|
top: 0;
|
||||||
|
|
||||||
|
width: 1px;
|
||||||
|
height: 22px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.center {
|
||||||
|
position: absolute;
|
||||||
|
|
||||||
|
left: 50%;
|
||||||
|
top: 50%;
|
||||||
|
|
||||||
|
width: 3px;
|
||||||
|
height: 3px;
|
||||||
|
|
||||||
|
border-radius: 9999px;
|
||||||
|
|
||||||
|
background: var(--text);
|
||||||
|
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.coordinates {
|
||||||
|
position: absolute;
|
||||||
|
|
||||||
|
left: 14px;
|
||||||
|
top: 14px;
|
||||||
|
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 1px;
|
||||||
|
|
||||||
|
white-space: nowrap;
|
||||||
|
|
||||||
|
font-family: monospace;
|
||||||
|
|
||||||
|
font-size: 9px;
|
||||||
|
line-height: 1.2;
|
||||||
|
|
||||||
|
letter-spacing: 0.04em;
|
||||||
|
|
||||||
|
color: var(--text-muted);
|
||||||
|
|
||||||
|
opacity: 0.9;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 767px) {
|
||||||
|
.custom-cursor {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
@ -0,0 +1,127 @@
|
||||||
|
<script setup lang="ts">
|
||||||
|
import {
|
||||||
|
Mail,
|
||||||
|
Smartphone,
|
||||||
|
MessageCircle,
|
||||||
|
Globe,
|
||||||
|
} from "lucide-vue-next";
|
||||||
|
|
||||||
|
const year = new Date().getFullYear();
|
||||||
|
|
||||||
|
const { t } = useI18n();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<footer
|
||||||
|
class="border-t"
|
||||||
|
:style="{
|
||||||
|
borderColor: 'var(--border)',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
<div class="max-w-7xl mx-auto px-5 sm:px-6 py-10 sm:py-14 lg:py-16">
|
||||||
|
|
||||||
|
<!-- Main -->
|
||||||
|
|
||||||
|
<div class="grid md:grid-cols-2 gap-8 sm:gap-10 lg:gap-16">
|
||||||
|
|
||||||
|
<!-- Brand -->
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<h2 class="text-xl sm:text-2xl font-bold mb-3 sm:mb-4">
|
||||||
|
DifarFT
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
<p
|
||||||
|
class="max-w-md text-sm sm:text-base leading-relaxed"
|
||||||
|
style="color: var(--text-muted)"
|
||||||
|
>
|
||||||
|
{{ t("footer.description") }}
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<div class="mt-5 sm:mt-6 flex flex-wrap gap-2.5 sm:gap-3">
|
||||||
|
<span
|
||||||
|
class="px-3 py-1.5 sm:py-2 rounded-xl text-xs sm:text-sm"
|
||||||
|
:style="{
|
||||||
|
backgroundColor: 'var(--surface)',
|
||||||
|
border: '1px solid var(--border)',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
{{ t("footer.services.web") }}
|
||||||
|
</span>
|
||||||
|
|
||||||
|
<span
|
||||||
|
class="px-3 py-1.5 sm:py-2 rounded-xl text-xs sm:text-sm"
|
||||||
|
:style="{
|
||||||
|
backgroundColor: 'var(--surface)',
|
||||||
|
border: '1px solid var(--border)',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
{{ t("footer.services.backend") }}
|
||||||
|
</span>
|
||||||
|
|
||||||
|
<span
|
||||||
|
class="px-3 py-1.5 sm:py-2 rounded-xl text-xs sm:text-sm"
|
||||||
|
:style="{
|
||||||
|
backgroundColor: 'var(--surface)',
|
||||||
|
border: '1px solid var(--border)',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
{{ t("footer.services.network") }}
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Contact -->
|
||||||
|
|
||||||
|
<div class="md:justify-self-end md:w-full lg:w-auto">
|
||||||
|
<h3 class="font-semibold mb-4 sm:mb-5">
|
||||||
|
{{ t("footer.contact") }}
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<ul
|
||||||
|
class="space-y-3 sm:space-y-4 text-sm sm:text-base"
|
||||||
|
style="color: var(--text-muted)"
|
||||||
|
>
|
||||||
|
<li class="flex items-center gap-3">
|
||||||
|
<Mail :size="17" class="shrink-0" />
|
||||||
|
<span class="break-all">hello@difarft.com</span>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="flex items-center gap-3">
|
||||||
|
<Smartphone :size="17" class="shrink-0" />
|
||||||
|
<span>+62 896-2962-6283</span>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="flex items-center gap-3">
|
||||||
|
<MessageCircle :size="17" class="shrink-0" />
|
||||||
|
<span>@difarft</span>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="flex items-center gap-3">
|
||||||
|
<Globe :size="17" class="shrink-0" />
|
||||||
|
<span>Indonesia</span>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Bottom -->
|
||||||
|
|
||||||
|
<div
|
||||||
|
class="mt-8 sm:mt-12 pt-6 sm:pt-8 border-t text-center"
|
||||||
|
:style="{
|
||||||
|
borderColor: 'var(--border)',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
<p
|
||||||
|
class="text-xs sm:text-sm"
|
||||||
|
style="color: var(--text-muted)"
|
||||||
|
>
|
||||||
|
© {{ year }} DifarFT —
|
||||||
|
{{ t("footer.copyright") }}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
</template>
|
||||||
|
|
@ -0,0 +1,127 @@
|
||||||
|
<script setup lang="ts">
|
||||||
|
import { ref, onMounted, onUnmounted } from "vue";
|
||||||
|
import { Moon, Sun, Globe } from "lucide-vue-next";
|
||||||
|
|
||||||
|
const { locale, setLocale } = useI18n();
|
||||||
|
const colorMode = useColorMode();
|
||||||
|
|
||||||
|
const scrolled = ref(false);
|
||||||
|
const changingLocale = useState("locale-loading", () => false);
|
||||||
|
|
||||||
|
const handleScroll = () => {
|
||||||
|
scrolled.value = window.scrollY > 20;
|
||||||
|
};
|
||||||
|
|
||||||
|
const toggleTheme = () => {
|
||||||
|
colorMode.preference =
|
||||||
|
colorMode.value === "dark" ? "light" : "dark";
|
||||||
|
};
|
||||||
|
|
||||||
|
const changeLocale = async () => {
|
||||||
|
if (changingLocale.value) return;
|
||||||
|
|
||||||
|
const nextLocale = locale.value === "id" ? "en" : "id";
|
||||||
|
|
||||||
|
changingLocale.value = true;
|
||||||
|
|
||||||
|
try {
|
||||||
|
await setLocale(nextLocale);
|
||||||
|
} catch (error) {
|
||||||
|
console.error("Gagal mengganti bahasa:", error);
|
||||||
|
} finally {
|
||||||
|
changingLocale.value = false;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
onMounted(() => {
|
||||||
|
handleScroll();
|
||||||
|
|
||||||
|
window.addEventListener("scroll", handleScroll, {
|
||||||
|
passive: true,
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
onUnmounted(() => {
|
||||||
|
window.removeEventListener("scroll", handleScroll);
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<header
|
||||||
|
class="fixed left-1/2 top-4 z-50 w-[calc(100%-2rem)] max-w-6xl -translate-x-1/2"
|
||||||
|
>
|
||||||
|
<nav
|
||||||
|
class="rounded-2xl border backdrop-blur-xl transition-shadow duration-300"
|
||||||
|
:style="{
|
||||||
|
backgroundColor: 'var(--surface)',
|
||||||
|
borderColor: 'var(--border)',
|
||||||
|
boxShadow: scrolled
|
||||||
|
? '0 10px 35px rgba(0,0,0,0.12)'
|
||||||
|
: '0 4px 20px rgba(0,0,0,0.06)',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="flex h-14 items-center justify-between px-3 sm:h-16 sm:px-5"
|
||||||
|
>
|
||||||
|
<!-- Logo -->
|
||||||
|
<span
|
||||||
|
class="text-lg font-bold tracking-tight"
|
||||||
|
:style="{ color: 'var(--text)' }"
|
||||||
|
>
|
||||||
|
DifarFT
|
||||||
|
</span>
|
||||||
|
|
||||||
|
<!-- Actions -->
|
||||||
|
<div class="flex items-center gap-1.5">
|
||||||
|
<!-- Language -->
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
@click="changeLocale"
|
||||||
|
:disabled="changingLocale"
|
||||||
|
class="flex h-9 items-center gap-1.5 rounded-xl border px-2.5 transition-transform duration-200 hover:scale-[1.03] disabled:cursor-wait disabled:opacity-60 sm:h-10 sm:px-3"
|
||||||
|
:style="{
|
||||||
|
backgroundColor: 'var(--surface)',
|
||||||
|
borderColor: 'var(--border)',
|
||||||
|
color: 'var(--text)',
|
||||||
|
}"
|
||||||
|
:aria-label="
|
||||||
|
locale === 'id'
|
||||||
|
? 'Bahasa Indonesia aktif'
|
||||||
|
: 'English language active'
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<Globe class="h-4 w-4" />
|
||||||
|
|
||||||
|
<span class="text-[11px] font-semibold sm:text-sm">
|
||||||
|
{{ locale.toUpperCase() }}
|
||||||
|
</span>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<!-- Theme -->
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
@click="toggleTheme"
|
||||||
|
class="flex h-9 w-9 items-center justify-center rounded-xl border transition-transform duration-200 hover:scale-[1.03] sm:h-10 sm:w-10"
|
||||||
|
:style="{
|
||||||
|
backgroundColor: 'var(--surface)',
|
||||||
|
borderColor: 'var(--border)',
|
||||||
|
color: 'var(--text)',
|
||||||
|
}"
|
||||||
|
:aria-label="
|
||||||
|
colorMode.value === 'dark'
|
||||||
|
? 'Switch to light mode'
|
||||||
|
: 'Switch to dark mode'
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<Sun
|
||||||
|
v-if="colorMode.value === 'dark'"
|
||||||
|
class="h-4 w-4"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<Moon v-else class="h-4 w-4" />
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
</template>
|
||||||
|
|
@ -0,0 +1,282 @@
|
||||||
|
<script setup lang="ts">
|
||||||
|
import { ref, onMounted, onUnmounted } from "vue";
|
||||||
|
import {
|
||||||
|
Menu,
|
||||||
|
X,
|
||||||
|
Moon,
|
||||||
|
Sun,
|
||||||
|
Globe,
|
||||||
|
House,
|
||||||
|
UserRound,
|
||||||
|
BriefcaseBusiness,
|
||||||
|
FolderKanban,
|
||||||
|
Mail,
|
||||||
|
ArrowUpRight,
|
||||||
|
} from "lucide-vue-next";
|
||||||
|
|
||||||
|
const { locale, setLocale } = useI18n();
|
||||||
|
const colorMode = useColorMode();
|
||||||
|
|
||||||
|
const mobileOpen = ref(false);
|
||||||
|
const scrolled = ref(false);
|
||||||
|
const changingLocale = useState("locale-loading", () => false);
|
||||||
|
|
||||||
|
const navItems = [
|
||||||
|
{ id: "home", label: "Home", icon: House },
|
||||||
|
{ id: "about", label: "About", icon: UserRound },
|
||||||
|
{ id: "services", label: "Services", icon: BriefcaseBusiness },
|
||||||
|
{ id: "projects", label: "Projects", icon: FolderKanban },
|
||||||
|
{ id: "contact", label: "Contact", icon: Mail },
|
||||||
|
];
|
||||||
|
|
||||||
|
const handleScroll = () => {
|
||||||
|
scrolled.value = window.scrollY > 20;
|
||||||
|
};
|
||||||
|
|
||||||
|
const scrollToSection = (id: string) => {
|
||||||
|
document.getElementById(id)?.scrollIntoView({
|
||||||
|
behavior: "smooth",
|
||||||
|
block: "start",
|
||||||
|
});
|
||||||
|
|
||||||
|
mobileOpen.value = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
const toggleTheme = () => {
|
||||||
|
colorMode.preference =
|
||||||
|
colorMode.value === "dark" ? "light" : "dark";
|
||||||
|
};
|
||||||
|
|
||||||
|
const changeLocale = async () => {
|
||||||
|
if (changingLocale.value) return;
|
||||||
|
|
||||||
|
changingLocale.value = true;
|
||||||
|
mobileOpen.value = false;
|
||||||
|
|
||||||
|
try {
|
||||||
|
await setLocale(locale.value === "id" ? "en" : "id");
|
||||||
|
} catch (error) {
|
||||||
|
console.error("Gagal mengganti bahasa:", error);
|
||||||
|
} finally {
|
||||||
|
changingLocale.value = false;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
onMounted(() => {
|
||||||
|
handleScroll();
|
||||||
|
|
||||||
|
window.addEventListener("scroll", handleScroll, {
|
||||||
|
passive: true,
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
onUnmounted(() => {
|
||||||
|
window.removeEventListener("scroll", handleScroll);
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<header
|
||||||
|
class="fixed left-1/2 top-4 z-50 w-[calc(100%-2rem)] max-w-6xl -translate-x-1/2"
|
||||||
|
>
|
||||||
|
<nav
|
||||||
|
class="rounded-2xl border backdrop-blur-xl transition-shadow duration-300"
|
||||||
|
:style="{
|
||||||
|
backgroundColor: 'var(--surface)',
|
||||||
|
borderColor: 'var(--border)',
|
||||||
|
boxShadow: scrolled
|
||||||
|
? '0 10px 35px rgba(0,0,0,0.12)'
|
||||||
|
: '0 4px 20px rgba(0,0,0,0.06)',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
<div class="flex h-14 items-center justify-between px-3 sm:h-16 sm:px-5">
|
||||||
|
<!-- Logo -->
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
class="flex items-center gap-2"
|
||||||
|
aria-label="Go to home"
|
||||||
|
@click="scrollToSection('home')"
|
||||||
|
>
|
||||||
|
<span
|
||||||
|
class="text-lg font-bold tracking-tight"
|
||||||
|
:style="{ color: 'var(--text)' }"
|
||||||
|
>
|
||||||
|
DifarFT
|
||||||
|
</span>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<!-- Desktop Navigation -->
|
||||||
|
<div class="hidden items-center gap-1 md:flex">
|
||||||
|
<button
|
||||||
|
v-for="item in navItems"
|
||||||
|
:key="item.id"
|
||||||
|
type="button"
|
||||||
|
class="rounded-lg px-3 py-2 text-sm font-medium transition-transform duration-200 hover:scale-[1.02]"
|
||||||
|
:style="{ color: 'var(--text)' }"
|
||||||
|
@click="scrollToSection(item.id)"
|
||||||
|
>
|
||||||
|
{{ item.label }}
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Desktop Actions -->
|
||||||
|
<div class="hidden items-center gap-2 md:flex">
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
aria-label="Change language"
|
||||||
|
:disabled="changingLocale"
|
||||||
|
class="flex h-10 items-center gap-1.5 rounded-xl border px-2.5 transition-transform duration-300 hover:scale-[1.03] disabled:cursor-wait disabled:opacity-60 sm:px-3"
|
||||||
|
:style="{
|
||||||
|
backgroundColor: 'var(--surface)',
|
||||||
|
borderColor: 'var(--border)',
|
||||||
|
color: 'var(--text)',
|
||||||
|
}"
|
||||||
|
@click="changeLocale"
|
||||||
|
>
|
||||||
|
<Globe class="h-4 w-4" />
|
||||||
|
|
||||||
|
<span class="text-xs font-medium sm:text-sm">
|
||||||
|
{{ locale.toUpperCase() }}
|
||||||
|
</span>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
aria-label="Toggle theme"
|
||||||
|
class="flex h-10 w-10 items-center justify-center rounded-xl border transition-transform duration-300 hover:scale-[1.03]"
|
||||||
|
:style="{
|
||||||
|
backgroundColor: 'var(--surface)',
|
||||||
|
borderColor: 'var(--border)',
|
||||||
|
color: 'var(--text)',
|
||||||
|
}"
|
||||||
|
@click="toggleTheme"
|
||||||
|
>
|
||||||
|
<Sun
|
||||||
|
v-if="colorMode.value === 'dark'"
|
||||||
|
class="h-4 w-4"
|
||||||
|
/>
|
||||||
|
<Moon v-else class="h-4 w-4" />
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Mobile Actions -->
|
||||||
|
<div class="flex items-center gap-1.5 md:hidden">
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
aria-label="Change language"
|
||||||
|
:disabled="changingLocale"
|
||||||
|
class="flex h-9 items-center gap-1.5 rounded-xl border px-2.5 transition-opacity duration-200 disabled:cursor-wait disabled:opacity-60"
|
||||||
|
:style="{
|
||||||
|
backgroundColor: 'var(--surface)',
|
||||||
|
borderColor: 'var(--border)',
|
||||||
|
color: 'var(--text)',
|
||||||
|
}"
|
||||||
|
@click="changeLocale"
|
||||||
|
>
|
||||||
|
<Globe class="h-4 w-4" />
|
||||||
|
|
||||||
|
<span class="text-[11px] font-semibold">
|
||||||
|
{{ locale.toUpperCase() }}
|
||||||
|
</span>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
aria-label="Toggle theme"
|
||||||
|
class="flex h-9 w-9 items-center justify-center rounded-xl border"
|
||||||
|
:style="{
|
||||||
|
backgroundColor: 'var(--surface)',
|
||||||
|
borderColor: 'var(--border)',
|
||||||
|
color: 'var(--text)',
|
||||||
|
}"
|
||||||
|
@click="toggleTheme"
|
||||||
|
>
|
||||||
|
<Sun
|
||||||
|
v-if="colorMode.value === 'dark'"
|
||||||
|
class="h-4 w-4"
|
||||||
|
/>
|
||||||
|
<Moon v-else class="h-4 w-4" />
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
:aria-label="
|
||||||
|
mobileOpen ? 'Close navigation' : 'Open navigation'
|
||||||
|
"
|
||||||
|
:aria-expanded="mobileOpen"
|
||||||
|
class="flex h-9 w-9 items-center justify-center rounded-xl border"
|
||||||
|
:style="{
|
||||||
|
backgroundColor: 'var(--surface)',
|
||||||
|
borderColor: 'var(--border)',
|
||||||
|
color: 'var(--text)',
|
||||||
|
}"
|
||||||
|
@click="mobileOpen = !mobileOpen"
|
||||||
|
>
|
||||||
|
<X v-if="mobileOpen" class="h-4 w-4" />
|
||||||
|
<Menu v-else class="h-4 w-4" />
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Mobile Menu -->
|
||||||
|
<Transition
|
||||||
|
enter-active-class="transition-all duration-200 ease-out"
|
||||||
|
enter-from-class="opacity-0 -translate-y-2 scale-[0.98]"
|
||||||
|
enter-to-class="opacity-100 translate-y-0 scale-100"
|
||||||
|
leave-active-class="transition-all duration-150 ease-in"
|
||||||
|
leave-from-class="opacity-100 translate-y-0 scale-100"
|
||||||
|
leave-to-class="opacity-0 -translate-y-2 scale-[0.98]"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
v-if="mobileOpen"
|
||||||
|
class="border-t px-3 pb-3 pt-2 md:hidden"
|
||||||
|
:style="{ borderColor: 'var(--border)' }"
|
||||||
|
>
|
||||||
|
<div class="space-y-1">
|
||||||
|
<button
|
||||||
|
v-for="item in navItems"
|
||||||
|
:key="item.id"
|
||||||
|
type="button"
|
||||||
|
class="flex min-h-11 w-full items-center gap-3 rounded-xl px-2 text-left transition-transform duration-200 hover:translate-x-0.5"
|
||||||
|
:style="{ color: 'var(--text)' }"
|
||||||
|
@click="scrollToSection(item.id)"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="flex h-8 w-8 shrink-0 items-center justify-center rounded-lg border"
|
||||||
|
:style="{
|
||||||
|
backgroundColor: 'var(--bg)',
|
||||||
|
borderColor: 'var(--border)',
|
||||||
|
color: 'var(--text-muted)',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
<component :is="item.icon" class="h-4 w-4" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<span class="flex-1 text-sm font-medium">
|
||||||
|
{{ item.label }}
|
||||||
|
</span>
|
||||||
|
|
||||||
|
<ArrowUpRight
|
||||||
|
class="h-4 w-4"
|
||||||
|
:style="{ color: 'var(--text-muted)' }"
|
||||||
|
/>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div
|
||||||
|
class="mt-2 border-t px-3 pt-2.5"
|
||||||
|
:style="{ borderColor: 'var(--border)' }"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="flex items-center justify-between text-[10px] uppercase tracking-[0.18em]"
|
||||||
|
:style="{ color: 'var(--text-muted)' }"
|
||||||
|
>
|
||||||
|
<span>Navigation</span>
|
||||||
|
<span>DifarFT</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</Transition>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
</template>
|
||||||
|
|
@ -0,0 +1,193 @@
|
||||||
|
<script setup lang="ts">
|
||||||
|
import { onMounted, onBeforeUnmount, ref } from "vue";
|
||||||
|
|
||||||
|
const { t } = useI18n();
|
||||||
|
|
||||||
|
const aboutRef = ref<HTMLElement | null>(null);
|
||||||
|
let observer: IntersectionObserver | null = null;
|
||||||
|
|
||||||
|
onMounted(() => {
|
||||||
|
if (!aboutRef.value) return;
|
||||||
|
|
||||||
|
observer = new IntersectionObserver(
|
||||||
|
(entries) => {
|
||||||
|
entries.forEach((entry) => {
|
||||||
|
if (entry.isIntersecting) {
|
||||||
|
entry.target.classList.add("is-visible");
|
||||||
|
} else {
|
||||||
|
entry.target.classList.remove("is-visible");
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
|
{
|
||||||
|
threshold: 0.15,
|
||||||
|
rootMargin: "0px 0px -40px 0px",
|
||||||
|
},
|
||||||
|
);
|
||||||
|
|
||||||
|
aboutRef.value
|
||||||
|
.querySelectorAll("[data-reveal]")
|
||||||
|
.forEach((element) => observer?.observe(element));
|
||||||
|
});
|
||||||
|
|
||||||
|
onBeforeUnmount(() => {
|
||||||
|
observer?.disconnect();
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<section
|
||||||
|
id="about"
|
||||||
|
ref="aboutRef"
|
||||||
|
class="relative overflow-hidden py-16 sm:py-20 lg:py-28"
|
||||||
|
>
|
||||||
|
<div class="mx-auto max-w-7xl px-5 sm:px-8 lg:px-10">
|
||||||
|
<!-- Badge -->
|
||||||
|
|
||||||
|
<div
|
||||||
|
data-reveal
|
||||||
|
data-direction="bottom"
|
||||||
|
class="reveal mb-10 flex justify-center sm:mb-14"
|
||||||
|
>
|
||||||
|
<span
|
||||||
|
class="inline-flex rounded-full border border-(--border) bg-(--surface) px-3 py-1.5 text-xs font-medium text-(--text) sm:px-4 sm:py-2 sm:text-sm"
|
||||||
|
>
|
||||||
|
{{ t("about.badge") }}
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div
|
||||||
|
class="grid items-center gap-10 sm:gap-12 lg:grid-cols-[0.85fr_1.15fr] lg:gap-20"
|
||||||
|
>
|
||||||
|
<!-- Photo -->
|
||||||
|
|
||||||
|
<div
|
||||||
|
data-reveal
|
||||||
|
data-direction="bottom"
|
||||||
|
class="reveal flex justify-center"
|
||||||
|
style="--delay: 100ms"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="aspect-4/5 w-full max-w-70 overflow-hidden rounded-2xl border border-(--border) bg-(--surface) sm:max-w-sm lg:max-w-none"
|
||||||
|
>
|
||||||
|
<img
|
||||||
|
src="/img/foto.jpeg"
|
||||||
|
:alt="t('about.name')"
|
||||||
|
width="899"
|
||||||
|
height="1126"
|
||||||
|
loading="lazy"
|
||||||
|
decoding="async"
|
||||||
|
class="h-full w-full object-cover transition-transform duration-700 hover:scale-[1.02]"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Content -->
|
||||||
|
|
||||||
|
<div class="min-w-0 text-left">
|
||||||
|
<div
|
||||||
|
data-reveal
|
||||||
|
data-direction="bottom"
|
||||||
|
class="reveal"
|
||||||
|
style="--delay: 180ms"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="mb-3 font-mono text-[10px] uppercase tracking-[0.28em] text-(--text-muted) sm:mb-4"
|
||||||
|
>
|
||||||
|
WHO AM I
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<h2
|
||||||
|
class="text-3xl font-semibold leading-tight tracking-[-0.035em] text-(--text) sm:text-4xl lg:text-5xl"
|
||||||
|
>
|
||||||
|
{{ t("about.title") }}
|
||||||
|
</h2>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div
|
||||||
|
data-reveal
|
||||||
|
data-direction="bottom"
|
||||||
|
class="reveal mt-5 max-w-2xl space-y-4 text-sm leading-6 text-(--text-muted) sm:mt-7 sm:space-y-5 sm:text-base sm:leading-7 lg:mx-0 lg:text-lg lg:leading-8"
|
||||||
|
style="--delay: 280ms"
|
||||||
|
>
|
||||||
|
<p>
|
||||||
|
{{ t("about.paragraph1") }}
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
{{ t("about.paragraph2") }}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Info -->
|
||||||
|
|
||||||
|
<div
|
||||||
|
data-reveal
|
||||||
|
data-direction="bottom"
|
||||||
|
class="reveal mx-auto mt-7 grid max-w-xl grid-cols-2 gap-3 sm:mt-9 lg:mx-0"
|
||||||
|
style="--delay: 380ms"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="rounded-xl border border-(--border) bg-(--surface) px-3 py-3.5 sm:px-4 sm:py-4"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="font-mono text-[9px] uppercase tracking-[0.2em] text-(--text-muted)"
|
||||||
|
>
|
||||||
|
Focus
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="mt-2 text-xs font-medium text-(--text) sm:text-base">
|
||||||
|
Web & Backend
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div
|
||||||
|
class="rounded-xl border border-(--border) bg-(--surface) px-3 py-3.5 sm:px-4 sm:py-4"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="font-mono text-[9px] uppercase tracking-[0.2em] text-(--text-muted)"
|
||||||
|
>
|
||||||
|
Also
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="mt-2 text-xs font-medium text-(--text) sm:text-base">
|
||||||
|
Network & System
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.reveal {
|
||||||
|
opacity: 0;
|
||||||
|
transform: translate3d(0, 30px, 0);
|
||||||
|
transition:
|
||||||
|
opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
|
||||||
|
transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
|
||||||
|
transition-delay: var(--delay, 0ms);
|
||||||
|
will-change: opacity, transform;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal.is-visible {
|
||||||
|
opacity: 1;
|
||||||
|
transform: translate3d(0, 0, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 640px) {
|
||||||
|
.reveal {
|
||||||
|
transform: translate3d(0, 35px, 0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-reduced-motion: reduce) {
|
||||||
|
.reveal {
|
||||||
|
opacity: 1;
|
||||||
|
transform: none !important;
|
||||||
|
transition: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
@ -0,0 +1,396 @@
|
||||||
|
<script setup lang="ts">
|
||||||
|
import {
|
||||||
|
MapPin,
|
||||||
|
GraduationCap,
|
||||||
|
Briefcase,
|
||||||
|
Globe,
|
||||||
|
Server,
|
||||||
|
Network,
|
||||||
|
Wrench,
|
||||||
|
Github,
|
||||||
|
Instagram,
|
||||||
|
} from "lucide-vue-next";
|
||||||
|
|
||||||
|
const { t } = useI18n();
|
||||||
|
|
||||||
|
const contactRef = ref<HTMLElement | null>(null);
|
||||||
|
|
||||||
|
let observer: IntersectionObserver | null = null;
|
||||||
|
|
||||||
|
onMounted(async () => {
|
||||||
|
await nextTick();
|
||||||
|
|
||||||
|
const elements = contactRef.value?.querySelectorAll("[data-reveal]");
|
||||||
|
|
||||||
|
if (!elements?.length) return;
|
||||||
|
|
||||||
|
if (!("IntersectionObserver" in window)) {
|
||||||
|
elements.forEach((element) => {
|
||||||
|
element.classList.add("is-visible");
|
||||||
|
});
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
observer = new IntersectionObserver(
|
||||||
|
(entries) => {
|
||||||
|
entries.forEach((entry) => {
|
||||||
|
entry.target.classList.toggle("is-visible", entry.isIntersecting);
|
||||||
|
});
|
||||||
|
},
|
||||||
|
{
|
||||||
|
threshold: 0.1,
|
||||||
|
rootMargin: "0px 0px -50px 0px",
|
||||||
|
},
|
||||||
|
);
|
||||||
|
|
||||||
|
elements.forEach((element) => {
|
||||||
|
observer?.observe(element);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
onBeforeUnmount(() => {
|
||||||
|
observer?.disconnect();
|
||||||
|
});
|
||||||
|
|
||||||
|
const whatsappUrl = computed(() => {
|
||||||
|
return `https://wa.me/6289629626283?text=${encodeURIComponent(
|
||||||
|
t("contact.whatsappMessage"),
|
||||||
|
)}`;
|
||||||
|
});
|
||||||
|
|
||||||
|
const scrollToSection = (id: string) => {
|
||||||
|
const element = document.getElementById(id);
|
||||||
|
|
||||||
|
if (!element) return;
|
||||||
|
|
||||||
|
element.scrollIntoView({
|
||||||
|
behavior: "smooth",
|
||||||
|
block: "start",
|
||||||
|
});
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<section id="contact" ref="contactRef" class="py-16 sm:py-20 lg:py-24">
|
||||||
|
<div class="mx-auto max-w-7xl px-5 sm:px-6">
|
||||||
|
<div class="grid min-w-0 items-center gap-6 lg:grid-cols-2 lg:gap-8">
|
||||||
|
<!-- Business Card -->
|
||||||
|
<div
|
||||||
|
data-reveal
|
||||||
|
class="reveal rounded-2xl border p-5 sm:rounded-3xl sm:p-8 md:p-10"
|
||||||
|
:style="{
|
||||||
|
backgroundColor: 'var(--surface)',
|
||||||
|
borderColor: 'var(--border)',
|
||||||
|
'--delay': '0ms',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
<h2 class="mb-2 text-2xl font-bold sm:text-3xl">Dimas Fata</h2>
|
||||||
|
|
||||||
|
<p
|
||||||
|
class="mb-5 text-sm sm:mb-6 sm:text-base"
|
||||||
|
style="color: var(--text-muted)"
|
||||||
|
>
|
||||||
|
{{ t("contact.role") }}
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<div class="space-y-3 sm:space-y-4">
|
||||||
|
<!-- Location -->
|
||||||
|
<div class="flex items-center gap-3 text-sm sm:text-base">
|
||||||
|
<MapPin :size="18" class="shrink-0" />
|
||||||
|
|
||||||
|
<span> Indonesia </span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Education -->
|
||||||
|
<div class="flex items-center gap-3 text-sm sm:text-base">
|
||||||
|
<GraduationCap :size="18" class="shrink-0" />
|
||||||
|
|
||||||
|
<span>
|
||||||
|
{{ t("contact.education") }}
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Freelance -->
|
||||||
|
<div class="flex items-center gap-3 text-sm sm:text-base">
|
||||||
|
<Briefcase :size="18" class="shrink-0" />
|
||||||
|
|
||||||
|
<span>
|
||||||
|
{{ t("contact.freelance") }}
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Divider -->
|
||||||
|
<div
|
||||||
|
class="my-6 border-t sm:my-8"
|
||||||
|
:style="{
|
||||||
|
borderColor: 'var(--border)',
|
||||||
|
}"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<!-- Contact Information -->
|
||||||
|
<div class="space-y-3 sm:space-y-4">
|
||||||
|
<!-- Email -->
|
||||||
|
<div>
|
||||||
|
<p class="text-xs sm:text-sm" style="color: var(--text-muted)">
|
||||||
|
{{ t("contact.email") }}
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<a
|
||||||
|
href="mailto:hello@difarft.com"
|
||||||
|
class="inline-block break-all text-sm transition-opacity duration-200 hover:opacity-70 sm:text-base"
|
||||||
|
>
|
||||||
|
hello@difarft.com
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- WhatsApp -->
|
||||||
|
<div>
|
||||||
|
<p class="text-xs sm:text-sm" style="color: var(--text-muted)">
|
||||||
|
{{ t("contact.whatsapp") }}
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<a
|
||||||
|
:href="whatsappUrl"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
class="inline-block text-sm transition-opacity duration-200 hover:opacity-70 sm:text-base"
|
||||||
|
>
|
||||||
|
+6289629626283
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Telegram -->
|
||||||
|
<div>
|
||||||
|
<p class="text-xs sm:text-sm" style="color: var(--text-muted)">
|
||||||
|
{{ t("contact.telegram") }}
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<a
|
||||||
|
href="https://t.me/Difarft"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
class="inline-block text-sm transition-opacity duration-200 hover:opacity-70 sm:text-base"
|
||||||
|
>
|
||||||
|
@Difarft
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Social Links -->
|
||||||
|
<div class="mt-6 flex flex-wrap gap-2.5 sm:mt-8 sm:gap-3">
|
||||||
|
<!-- GitHub -->
|
||||||
|
<a
|
||||||
|
href="https://github.com/Difarft2"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
class="flex items-center gap-2 rounded-xl border px-3 py-2 text-sm transition-all duration-300 hover:-translate-y-1 sm:px-4"
|
||||||
|
:style="{
|
||||||
|
borderColor: 'var(--border)',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
<Github :size="17" />
|
||||||
|
GitHub
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<!-- Instagram -->
|
||||||
|
<a
|
||||||
|
href="https://www.instagram.com/difarft.02/"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
class="flex items-center gap-2 rounded-xl border px-3 py-2 text-sm transition-all duration-300 hover:-translate-y-1 sm:px-4"
|
||||||
|
:style="{
|
||||||
|
borderColor: 'var(--border)',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
<Instagram :size="17" />
|
||||||
|
Instagram
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<!-- LinkedIn -->
|
||||||
|
<a
|
||||||
|
href="https://www.linkedin.com/in/dimasft/"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
class="flex items-center gap-2 rounded-xl border px-3 py-2 text-sm transition-all duration-300 hover:-translate-y-1 sm:px-4"
|
||||||
|
:style="{
|
||||||
|
borderColor: 'var(--border)',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
<Globe :size="17" />
|
||||||
|
LinkedIn
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- CTA -->
|
||||||
|
<div
|
||||||
|
data-reveal
|
||||||
|
class="reveal"
|
||||||
|
:style="{
|
||||||
|
'--delay': '120ms',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
<!-- Badge -->
|
||||||
|
<span
|
||||||
|
class="mb-4 inline-flex rounded-full px-3 py-1.5 text-xs font-medium sm:mb-6 sm:px-4 sm:py-2 sm:text-sm"
|
||||||
|
:style="{
|
||||||
|
backgroundColor: 'var(--surface)',
|
||||||
|
border: '1px solid var(--border)',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
{{ t("contact.badge") }}
|
||||||
|
</span>
|
||||||
|
|
||||||
|
<!-- Title -->
|
||||||
|
<h2
|
||||||
|
class="mb-4 wrap-break-word text-3xl font-bold leading-tight sm:mb-6 sm:text-4xl md:text-5xl"
|
||||||
|
>
|
||||||
|
{{ t("contact.title") }}
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
<!-- Description -->
|
||||||
|
<p
|
||||||
|
class="mb-6 text-sm sm:mb-8 sm:text-base lg:text-lg"
|
||||||
|
style="color: var(--text-muted)"
|
||||||
|
>
|
||||||
|
{{ t("contact.description") }}
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<!-- Services -->
|
||||||
|
<div class="mb-6 grid gap-3 sm:mb-8 sm:grid-cols-2 sm:gap-4">
|
||||||
|
<!-- Website -->
|
||||||
|
<div
|
||||||
|
data-reveal
|
||||||
|
class="reveal flex items-center gap-3 rounded-xl border p-3.5 text-sm sm:rounded-2xl sm:p-4 sm:text-base"
|
||||||
|
:style="{
|
||||||
|
backgroundColor: 'var(--surface)',
|
||||||
|
borderColor: 'var(--border)',
|
||||||
|
'--delay': '180ms',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
<Globe :size="19" class="shrink-0" />
|
||||||
|
|
||||||
|
<span>
|
||||||
|
{{ t("contact.website") }}
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Backend -->
|
||||||
|
<div
|
||||||
|
data-reveal
|
||||||
|
class="reveal flex items-center gap-3 rounded-xl border p-3.5 text-sm sm:rounded-2xl sm:p-4 sm:text-base"
|
||||||
|
:style="{
|
||||||
|
backgroundColor: 'var(--surface)',
|
||||||
|
borderColor: 'var(--border)',
|
||||||
|
'--delay': '240ms',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
<Server :size="19" class="shrink-0" />
|
||||||
|
|
||||||
|
<span>
|
||||||
|
{{ t("contact.backend") }}
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Network -->
|
||||||
|
<div
|
||||||
|
data-reveal
|
||||||
|
class="reveal flex items-center gap-3 rounded-xl border p-3.5 text-sm sm:rounded-2xl sm:p-4 sm:text-base"
|
||||||
|
:style="{
|
||||||
|
backgroundColor: 'var(--surface)',
|
||||||
|
borderColor: 'var(--border)',
|
||||||
|
'--delay': '300ms',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
<Network :size="19" class="shrink-0" />
|
||||||
|
|
||||||
|
<span>
|
||||||
|
{{ t("contact.network") }}
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Maintenance -->
|
||||||
|
<div
|
||||||
|
data-reveal
|
||||||
|
class="reveal flex items-center gap-3 rounded-xl border p-3.5 text-sm sm:rounded-2xl sm:p-4 sm:text-base"
|
||||||
|
:style="{
|
||||||
|
backgroundColor: 'var(--surface)',
|
||||||
|
borderColor: 'var(--border)',
|
||||||
|
'--delay': '360ms',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
<Wrench :size="19" class="shrink-0" />
|
||||||
|
|
||||||
|
<span>
|
||||||
|
{{ t("contact.maintenance") }}
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Buttons -->
|
||||||
|
<div
|
||||||
|
data-reveal
|
||||||
|
class="reveal flex flex-wrap gap-3"
|
||||||
|
:style="{
|
||||||
|
'--delay': '440ms',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
<!-- WhatsApp -->
|
||||||
|
<a
|
||||||
|
:href="whatsappUrl"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
class="rounded-xl border px-5 py-2.5 text-sm transition-all duration-300 hover:-translate-y-1 sm:px-6 sm:py-3 sm:text-base"
|
||||||
|
:style="{
|
||||||
|
borderColor: 'var(--border)',
|
||||||
|
backgroundColor: 'var(--surface)',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
{{ t("contact.contactButton") }}
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<!-- Projects -->
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
@click="scrollToSection('projects')"
|
||||||
|
class="rounded-xl border px-5 py-2.5 text-sm transition-all duration-300 hover:-translate-y-1 sm:px-6 sm:py-3 sm:text-base"
|
||||||
|
:style="{
|
||||||
|
borderColor: 'var(--border)',
|
||||||
|
backgroundColor: 'var(--surface)',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
{{ t("contact.projectButton") }}
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.reveal {
|
||||||
|
opacity: 0;
|
||||||
|
transform: translate3d(0, 40px, 0);
|
||||||
|
transition:
|
||||||
|
opacity 0.8s ease,
|
||||||
|
transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
|
||||||
|
transition-delay: var(--delay, 0ms);
|
||||||
|
will-change: opacity, transform;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal.is-visible {
|
||||||
|
opacity: 1;
|
||||||
|
transform: translate3d(0, 0, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-reduced-motion: reduce) {
|
||||||
|
.reveal {
|
||||||
|
opacity: 1;
|
||||||
|
transform: none;
|
||||||
|
transition: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
@ -0,0 +1,119 @@
|
||||||
|
<template>
|
||||||
|
<section id="projects" ref="projectsRef" class="py-16 sm:py-20 lg:py-24">
|
||||||
|
<div class="max-w-7xl mx-auto px-5 sm:px-6">
|
||||||
|
<div data-reveal class="reveal text-center mb-10 sm:mb-14 lg:mb-16">
|
||||||
|
<span
|
||||||
|
class="inline-block px-3 py-1.5 sm:px-4 sm:py-2 rounded-full text-xs sm:text-sm font-medium mb-4"
|
||||||
|
:style="{
|
||||||
|
backgroundColor: 'var(--surface)',
|
||||||
|
border: '1px solid var(--border)',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
{{ t("projects.badge") }}
|
||||||
|
</span>
|
||||||
|
|
||||||
|
<h2 class="text-3xl sm:text-4xl md:text-5xl font-bold mb-4">
|
||||||
|
{{ t("projects.title") }}
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
<p
|
||||||
|
class="max-w-2xl mx-auto text-sm sm:text-base"
|
||||||
|
style="color: var(--text-muted)"
|
||||||
|
>
|
||||||
|
{{ t("projects.description") }}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="max-w-3xl mx-auto">
|
||||||
|
<div
|
||||||
|
data-reveal
|
||||||
|
class="reveal rounded-2xl sm:rounded-3xl border p-6 sm:p-8 lg:p-10 text-center"
|
||||||
|
:style="{
|
||||||
|
backgroundColor: 'var(--surface)',
|
||||||
|
borderColor: 'var(--border)',
|
||||||
|
'--delay': '120ms',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
<div class="flex justify-center mb-5 sm:mb-6">
|
||||||
|
<div
|
||||||
|
class="w-16 h-16 sm:w-20 sm:h-20 rounded-2xl flex items-center justify-center"
|
||||||
|
:style="{
|
||||||
|
backgroundColor: 'var(--bg)',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
<FolderKanban :size="32" class="sm:hidden" />
|
||||||
|
<FolderKanban :size="40" class="hidden sm:block" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<h3 class="text-2xl sm:text-3xl font-bold mb-3 sm:mb-4">
|
||||||
|
{{ t("projects.maintenance.title") }}
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<p
|
||||||
|
class="max-w-xl mx-auto text-sm sm:text-base leading-relaxed"
|
||||||
|
style="color: var(--text-muted)"
|
||||||
|
>
|
||||||
|
{{ t("projects.maintenance.description") }}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script setup lang="ts">
|
||||||
|
import { FolderKanban } from "lucide-vue-next";
|
||||||
|
|
||||||
|
const { t } = useI18n();
|
||||||
|
|
||||||
|
const projectsRef = ref<HTMLElement | null>(null);
|
||||||
|
|
||||||
|
let observer: IntersectionObserver | null = null;
|
||||||
|
|
||||||
|
onMounted(() => {
|
||||||
|
observer = new IntersectionObserver(
|
||||||
|
(entries) => {
|
||||||
|
entries.forEach((entry) => {
|
||||||
|
entry.target.classList.toggle("is-visible", entry.isIntersecting);
|
||||||
|
});
|
||||||
|
},
|
||||||
|
{
|
||||||
|
threshold: 0.1,
|
||||||
|
rootMargin: "0px 0px -50px 0px",
|
||||||
|
},
|
||||||
|
);
|
||||||
|
|
||||||
|
projectsRef.value?.querySelectorAll("[data-reveal]").forEach((element) => {
|
||||||
|
observer?.observe(element);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
onBeforeUnmount(() => {
|
||||||
|
observer?.disconnect();
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.reveal {
|
||||||
|
opacity: 0;
|
||||||
|
transform: translate3d(0, 30px, 0);
|
||||||
|
transition:
|
||||||
|
opacity 0.7s ease,
|
||||||
|
transform 0.7s ease;
|
||||||
|
transition-delay: var(--delay, 0ms);
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal.is-visible {
|
||||||
|
opacity: 1;
|
||||||
|
transform: translate3d(0, 0, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-reduced-motion: reduce) {
|
||||||
|
.reveal {
|
||||||
|
opacity: 1;
|
||||||
|
transform: none;
|
||||||
|
transition: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
@ -0,0 +1,204 @@
|
||||||
|
<script setup lang="ts">
|
||||||
|
import { computed, onBeforeUnmount, onMounted, ref } from "vue";
|
||||||
|
import { Code2, Network, ServerCog } from "lucide-vue-next";
|
||||||
|
|
||||||
|
const { t } = useI18n();
|
||||||
|
|
||||||
|
const servicesRef = ref<HTMLElement | null>(null);
|
||||||
|
let observer: IntersectionObserver | null = null;
|
||||||
|
|
||||||
|
const services = computed(() => [
|
||||||
|
{
|
||||||
|
icon: Code2,
|
||||||
|
title: t("services.items.web.title"),
|
||||||
|
description: t("services.items.web.description"),
|
||||||
|
features: [
|
||||||
|
t("services.items.web.features.companyProfile"),
|
||||||
|
t("services.items.web.features.landingPage"),
|
||||||
|
t("services.items.web.features.dashboard"),
|
||||||
|
t("services.items.web.features.api"),
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
icon: Network,
|
||||||
|
title: t("services.items.network.title"),
|
||||||
|
description: t("services.items.network.description"),
|
||||||
|
features: [
|
||||||
|
t("services.items.network.features.mikrotik"),
|
||||||
|
t("services.items.network.features.routing"),
|
||||||
|
t("services.items.network.features.troubleshooting"),
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
icon: ServerCog,
|
||||||
|
title: t("services.items.hosting.title"),
|
||||||
|
description: t("services.items.hosting.description"),
|
||||||
|
features: [
|
||||||
|
t("services.items.hosting.features.vps"),
|
||||||
|
t("services.items.hosting.features.configuration"),
|
||||||
|
],
|
||||||
|
},
|
||||||
|
]);
|
||||||
|
|
||||||
|
onMounted(() => {
|
||||||
|
if (!servicesRef.value) return;
|
||||||
|
|
||||||
|
observer = new IntersectionObserver(
|
||||||
|
(entries) => {
|
||||||
|
entries.forEach((entry) => {
|
||||||
|
entry.target.classList.toggle(
|
||||||
|
"is-visible",
|
||||||
|
entry.isIntersecting,
|
||||||
|
);
|
||||||
|
});
|
||||||
|
},
|
||||||
|
{
|
||||||
|
threshold: 0.12,
|
||||||
|
rootMargin: "0px 0px -50px 0px",
|
||||||
|
},
|
||||||
|
);
|
||||||
|
|
||||||
|
servicesRef.value
|
||||||
|
.querySelectorAll("[data-reveal]")
|
||||||
|
.forEach((element) => observer?.observe(element));
|
||||||
|
});
|
||||||
|
|
||||||
|
onBeforeUnmount(() => {
|
||||||
|
observer?.disconnect();
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<section
|
||||||
|
id="services"
|
||||||
|
ref="servicesRef"
|
||||||
|
class="relative overflow-hidden py-16 sm:py-20 lg:py-24"
|
||||||
|
>
|
||||||
|
<div class="mx-auto w-full max-w-7xl px-5 sm:px-8 lg:px-10">
|
||||||
|
<div
|
||||||
|
data-reveal
|
||||||
|
class="reveal mx-auto mb-10 max-w-3xl text-center sm:mb-14 lg:mb-16"
|
||||||
|
>
|
||||||
|
<span
|
||||||
|
class="inline-flex items-center rounded-full border px-3 py-1.5 text-[10px] font-medium sm:px-4 sm:py-2 sm:text-sm"
|
||||||
|
:style="{
|
||||||
|
backgroundColor: 'var(--surface)',
|
||||||
|
borderColor: 'var(--border)',
|
||||||
|
color: 'var(--text-muted)',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
{{ t("services.badge") }}
|
||||||
|
</span>
|
||||||
|
|
||||||
|
<h2
|
||||||
|
class="mt-4 text-3xl font-bold tracking-[-0.04em] sm:mt-6 sm:text-4xl md:text-5xl"
|
||||||
|
>
|
||||||
|
{{ t("services.title") }}
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
<p
|
||||||
|
class="mx-auto mt-3 max-w-2xl text-sm leading-6 sm:mt-5 sm:text-lg sm:leading-7"
|
||||||
|
style="color: var(--text-muted)"
|
||||||
|
>
|
||||||
|
{{ t("services.description") }}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div
|
||||||
|
class="grid gap-4 sm:gap-6 md:grid-cols-2 xl:grid-cols-3 xl:gap-7"
|
||||||
|
>
|
||||||
|
<article
|
||||||
|
v-for="(service, index) in services"
|
||||||
|
:key="service.title"
|
||||||
|
data-reveal
|
||||||
|
class="reveal group relative rounded-2xl border p-5 transition-[transform,background-color,border-color] duration-300 hover:-translate-y-1 sm:rounded-3xl sm:p-7 lg:p-8"
|
||||||
|
:style="{
|
||||||
|
'--delay': `${index * 100}ms`,
|
||||||
|
backgroundColor: 'var(--surface)',
|
||||||
|
borderColor: 'var(--border)',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="mb-5 flex h-11 w-11 items-center justify-center rounded-xl border sm:mb-6 sm:h-14 sm:w-14 sm:rounded-2xl"
|
||||||
|
:style="{
|
||||||
|
backgroundColor: 'var(--bg)',
|
||||||
|
borderColor: 'var(--border)',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
<component
|
||||||
|
:is="service.icon"
|
||||||
|
:size="22"
|
||||||
|
:stroke-width="1.7"
|
||||||
|
class="sm:h-7 sm:w-7"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<h3
|
||||||
|
class="text-xl font-bold tracking-tight sm:text-2xl"
|
||||||
|
>
|
||||||
|
{{ service.title }}
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<p
|
||||||
|
class="mt-2.5 text-sm leading-5 sm:mt-4 sm:text-base sm:leading-6"
|
||||||
|
style="color: var(--text-muted)"
|
||||||
|
>
|
||||||
|
{{ service.description }}
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<ul
|
||||||
|
class="mt-5 space-y-2.5 sm:mt-6 sm:space-y-3"
|
||||||
|
style="color: var(--text-muted)"
|
||||||
|
>
|
||||||
|
<li
|
||||||
|
v-for="feature in service.features"
|
||||||
|
:key="feature"
|
||||||
|
class="flex items-start gap-2 text-xs leading-5 sm:text-sm sm:leading-6"
|
||||||
|
>
|
||||||
|
<span
|
||||||
|
class="mt-px shrink-0 text-(--text)"
|
||||||
|
aria-hidden="true"
|
||||||
|
>
|
||||||
|
✓
|
||||||
|
</span>
|
||||||
|
|
||||||
|
<span>{{ feature }}</span>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.reveal {
|
||||||
|
opacity: 0;
|
||||||
|
transform: translate3d(0, 30px, 0);
|
||||||
|
transition:
|
||||||
|
opacity 650ms cubic-bezier(0.22, 1, 0.36, 1),
|
||||||
|
transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
|
||||||
|
transition-delay: var(--delay, 0ms);
|
||||||
|
will-change: opacity, transform;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal.is-visible {
|
||||||
|
opacity: 1;
|
||||||
|
transform: translate3d(0, 0, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 639px) {
|
||||||
|
.reveal {
|
||||||
|
transform: translate3d(0, 22px, 0);
|
||||||
|
transition-duration: 580ms;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-reduced-motion: reduce) {
|
||||||
|
.reveal {
|
||||||
|
opacity: 1;
|
||||||
|
transform: none;
|
||||||
|
transition: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
@ -0,0 +1,126 @@
|
||||||
|
<script setup lang="ts">
|
||||||
|
import { computed, onBeforeUnmount, onMounted, ref } from "vue";
|
||||||
|
|
||||||
|
const { t } = useI18n();
|
||||||
|
|
||||||
|
const statsRef = ref<HTMLElement | null>(null);
|
||||||
|
let observer: IntersectionObserver | null = null;
|
||||||
|
|
||||||
|
const stats = computed(() => [
|
||||||
|
{
|
||||||
|
value: "8+",
|
||||||
|
label: t("stats.projectsCompleted"),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
value: "6+",
|
||||||
|
label: t("stats.projectsOnline"),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
value: "5+",
|
||||||
|
label: t("stats.websites"),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
value: "3+",
|
||||||
|
label: t("stats.backendApis"),
|
||||||
|
},
|
||||||
|
]);
|
||||||
|
|
||||||
|
onMounted(() => {
|
||||||
|
if (!statsRef.value) return;
|
||||||
|
|
||||||
|
observer = new IntersectionObserver(
|
||||||
|
(entries) => {
|
||||||
|
entries.forEach((entry) => {
|
||||||
|
entry.target.classList.toggle(
|
||||||
|
"is-visible",
|
||||||
|
entry.isIntersecting,
|
||||||
|
);
|
||||||
|
});
|
||||||
|
},
|
||||||
|
{
|
||||||
|
threshold: 0.15,
|
||||||
|
rootMargin: "0px 0px -40px 0px",
|
||||||
|
},
|
||||||
|
);
|
||||||
|
|
||||||
|
statsRef.value
|
||||||
|
.querySelectorAll("[data-reveal]")
|
||||||
|
.forEach((element) => observer?.observe(element));
|
||||||
|
});
|
||||||
|
|
||||||
|
onBeforeUnmount(() => {
|
||||||
|
observer?.disconnect();
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<section
|
||||||
|
ref="statsRef"
|
||||||
|
class="relative overflow-hidden py-14 sm:py-18 lg:py-24"
|
||||||
|
>
|
||||||
|
<div class="mx-auto w-full max-w-7xl px-5 sm:px-8 lg:px-10">
|
||||||
|
<div
|
||||||
|
class="grid grid-cols-2 gap-3 sm:gap-5 lg:grid-cols-4 lg:gap-6"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
v-for="(item, index) in stats"
|
||||||
|
:key="item.label"
|
||||||
|
data-reveal
|
||||||
|
class="reveal group rounded-2xl border p-4 text-center transition-[transform,background-color,border-color] duration-300 hover:-translate-y-1 sm:rounded-3xl sm:p-6 md:p-8"
|
||||||
|
:style="{
|
||||||
|
'--delay': `${index * 90}ms`,
|
||||||
|
backgroundColor: 'var(--surface)',
|
||||||
|
borderColor: 'var(--border)',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
<h3
|
||||||
|
class="text-3xl font-bold tracking-[-0.04em] text-(--primary) sm:text-4xl md:text-5xl"
|
||||||
|
>
|
||||||
|
{{ item.value }}
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<p
|
||||||
|
class="mt-2 text-[11px] leading-4 sm:mt-3 sm:text-sm sm:leading-5"
|
||||||
|
:style="{
|
||||||
|
color: 'var(--text-muted)',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
{{ item.label }}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.reveal {
|
||||||
|
opacity: 0;
|
||||||
|
transform: translate3d(0, 30px, 0);
|
||||||
|
transition:
|
||||||
|
opacity 650ms cubic-bezier(0.22, 1, 0.36, 1),
|
||||||
|
transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
|
||||||
|
transition-delay: var(--delay, 0ms);
|
||||||
|
will-change: opacity, transform;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal.is-visible {
|
||||||
|
opacity: 1;
|
||||||
|
transform: translate3d(0, 0, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 639px) {
|
||||||
|
.reveal {
|
||||||
|
transform: translate3d(0, 22px, 0);
|
||||||
|
transition-duration: 580ms;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-reduced-motion: reduce) {
|
||||||
|
.reveal {
|
||||||
|
opacity: 1;
|
||||||
|
transform: none;
|
||||||
|
transition: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
@ -0,0 +1,237 @@
|
||||||
|
<script setup lang="ts">
|
||||||
|
import { computed, onBeforeUnmount, onMounted, ref } from "vue";
|
||||||
|
import { Icon } from "@iconify/vue";
|
||||||
|
|
||||||
|
const { t } = useI18n();
|
||||||
|
|
||||||
|
const techStackRef = ref<HTMLElement | null>(null);
|
||||||
|
let observer: IntersectionObserver | null = null;
|
||||||
|
|
||||||
|
const categories = computed(() => [
|
||||||
|
{
|
||||||
|
title: t("techStack.frontend"),
|
||||||
|
items: [
|
||||||
|
{ name: "Vue.js", icon: "simple-icons:vuedotjs" },
|
||||||
|
{ name: "Nuxt.js", icon: "simple-icons:nuxtdotjs" },
|
||||||
|
{ name: "React.js", icon: "simple-icons:react" },
|
||||||
|
{ name: "TailwindCSS", icon: "simple-icons:tailwindcss" },
|
||||||
|
{ name: "Bootstrap", icon: "simple-icons:bootstrap" },
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: t("techStack.backend"),
|
||||||
|
items: [
|
||||||
|
{ name: "Laravel", icon: "simple-icons:laravel" },
|
||||||
|
{ name: "Express.js", icon: "simple-icons:express" },
|
||||||
|
{ name: "REST API", icon: "lucide:braces" },
|
||||||
|
{ name: "Sanctum", icon: "lucide:shield-check" },
|
||||||
|
{ name: "JWT", icon: "lucide:key-round" },
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: t("techStack.database"),
|
||||||
|
items: [
|
||||||
|
{ name: "MySQL", icon: "simple-icons:mysql" },
|
||||||
|
{ name: "MariaDB", icon: "simple-icons:mariadb" },
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: t("techStack.infrastructure"),
|
||||||
|
items: [
|
||||||
|
{ name: "MikroTik", icon: "simple-icons:mikrotik" },
|
||||||
|
{ name: "Linux", icon: "simple-icons:linux" },
|
||||||
|
{ name: "Docker", icon: "simple-icons:docker" },
|
||||||
|
{ name: "Nginx", icon: "simple-icons:nginx" },
|
||||||
|
{ name: "WireGuard", icon: "simple-icons:wireguard" },
|
||||||
|
{ name: "Cloudflare", icon: "simple-icons:cloudflare" },
|
||||||
|
{ name: "DNS", icon: "lucide:globe-2" },
|
||||||
|
{ name: "TCP/IP", icon: "lucide:network" },
|
||||||
|
],
|
||||||
|
},
|
||||||
|
]);
|
||||||
|
|
||||||
|
onMounted(() => {
|
||||||
|
if (!techStackRef.value) return;
|
||||||
|
|
||||||
|
observer = new IntersectionObserver(
|
||||||
|
(entries) => {
|
||||||
|
entries.forEach((entry) => {
|
||||||
|
entry.target.classList.toggle(
|
||||||
|
"is-visible",
|
||||||
|
entry.isIntersecting,
|
||||||
|
);
|
||||||
|
});
|
||||||
|
},
|
||||||
|
{
|
||||||
|
threshold: 0.12,
|
||||||
|
rootMargin: "0px 0px -50px 0px",
|
||||||
|
},
|
||||||
|
);
|
||||||
|
|
||||||
|
techStackRef.value
|
||||||
|
.querySelectorAll("[data-reveal]")
|
||||||
|
.forEach((element) => observer?.observe(element));
|
||||||
|
});
|
||||||
|
|
||||||
|
onBeforeUnmount(() => {
|
||||||
|
observer?.disconnect();
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<section
|
||||||
|
id="tech-stack"
|
||||||
|
ref="techStackRef"
|
||||||
|
class="relative overflow-hidden py-16 sm:py-20 lg:py-24"
|
||||||
|
>
|
||||||
|
<div class="mx-auto w-full max-w-7xl px-5 sm:px-8 lg:px-10">
|
||||||
|
<div
|
||||||
|
data-reveal
|
||||||
|
class="reveal mx-auto mb-10 max-w-3xl text-center sm:mb-14 lg:mb-16"
|
||||||
|
>
|
||||||
|
<span
|
||||||
|
class="inline-flex items-center rounded-full border px-3 py-1.5 text-[10px] font-medium sm:px-4 sm:py-2 sm:text-sm"
|
||||||
|
:style="{
|
||||||
|
backgroundColor: 'var(--surface)',
|
||||||
|
borderColor: 'var(--border)',
|
||||||
|
color: 'var(--text-muted)',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
{{ t("techStack.badge") }}
|
||||||
|
</span>
|
||||||
|
|
||||||
|
<h2
|
||||||
|
class="mt-4 text-3xl font-bold tracking-[-0.04em] sm:mt-6 sm:text-4xl md:text-5xl"
|
||||||
|
>
|
||||||
|
{{ t("techStack.title") }}
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
<p
|
||||||
|
class="mx-auto mt-3 max-w-2xl text-sm leading-6 sm:mt-5 sm:text-lg sm:leading-7"
|
||||||
|
style="color: var(--text-muted)"
|
||||||
|
>
|
||||||
|
{{ t("techStack.description") }}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="grid gap-4 sm:gap-6 lg:grid-cols-2 lg:gap-7">
|
||||||
|
<article
|
||||||
|
v-for="(category, index) in categories"
|
||||||
|
:key="category.title"
|
||||||
|
data-reveal
|
||||||
|
class="reveal rounded-2xl border p-5 sm:rounded-3xl sm:p-7 lg:p-8"
|
||||||
|
:style="{
|
||||||
|
'--delay': `${index * 100}ms`,
|
||||||
|
backgroundColor: 'var(--surface)',
|
||||||
|
borderColor: 'var(--border)',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
<div class="mb-5 flex items-center justify-between sm:mb-6">
|
||||||
|
<h3
|
||||||
|
class="text-lg font-bold tracking-tight sm:text-2xl"
|
||||||
|
>
|
||||||
|
{{ category.title }}
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<span
|
||||||
|
class="font-mono text-[9px] text-(--text-muted) sm:text-[10px]"
|
||||||
|
>
|
||||||
|
{{ String(index + 1).padStart(2, "0") }}
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="flex flex-wrap gap-2 sm:gap-3">
|
||||||
|
<span
|
||||||
|
v-for="item in category.items"
|
||||||
|
:key="item.name"
|
||||||
|
class="tech-badge"
|
||||||
|
>
|
||||||
|
<Icon
|
||||||
|
:icon="item.icon"
|
||||||
|
class="h-4 w-4 shrink-0"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<span>{{ item.name }}</span>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.reveal {
|
||||||
|
opacity: 0;
|
||||||
|
transform: translate3d(0, 30px, 0);
|
||||||
|
transition:
|
||||||
|
opacity 650ms cubic-bezier(0.22, 1, 0.36, 1),
|
||||||
|
transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
|
||||||
|
transition-delay: var(--delay, 0ms);
|
||||||
|
will-change: opacity, transform;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal.is-visible {
|
||||||
|
opacity: 1;
|
||||||
|
transform: translate3d(0, 0, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
.tech-badge {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 7px;
|
||||||
|
padding: 7px 12px;
|
||||||
|
border-radius: 999px;
|
||||||
|
border: 1px solid var(--border);
|
||||||
|
background: var(--bg);
|
||||||
|
color: var(--text-muted);
|
||||||
|
font-size: 0.75rem;
|
||||||
|
line-height: 1.2;
|
||||||
|
transition:
|
||||||
|
transform 300ms ease,
|
||||||
|
border-color 300ms ease,
|
||||||
|
color 300ms ease,
|
||||||
|
background-color 300ms ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tech-badge:hover {
|
||||||
|
transform: translateY(-2px);
|
||||||
|
border-color: var(--primary);
|
||||||
|
color: var(--text);
|
||||||
|
}
|
||||||
|
|
||||||
|
.tech-badge :deep(svg) {
|
||||||
|
width: 15px;
|
||||||
|
height: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 639px) {
|
||||||
|
.reveal {
|
||||||
|
transform: translate3d(0, 22px, 0);
|
||||||
|
transition-duration: 580ms;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tech-badge {
|
||||||
|
gap: 6px;
|
||||||
|
padding: 6px 10px;
|
||||||
|
font-size: 0.7rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tech-badge :deep(svg) {
|
||||||
|
width: 14px;
|
||||||
|
height: 14px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-reduced-motion: reduce) {
|
||||||
|
.reveal {
|
||||||
|
opacity: 1;
|
||||||
|
transform: none;
|
||||||
|
transition: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tech-badge {
|
||||||
|
transition: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
@ -0,0 +1,226 @@
|
||||||
|
<script setup lang="ts">
|
||||||
|
const { t } = useI18n();
|
||||||
|
|
||||||
|
const expertise = [
|
||||||
|
{
|
||||||
|
title: "hero.expertise.web.title",
|
||||||
|
desc: "hero.expertise.web.desc",
|
||||||
|
number: "01",
|
||||||
|
icon: `
|
||||||
|
<svg
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
width="26"
|
||||||
|
height="26"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
fill="none"
|
||||||
|
stroke="currentColor"
|
||||||
|
stroke-width="1.8"
|
||||||
|
stroke-linecap="round"
|
||||||
|
stroke-linejoin="round"
|
||||||
|
>
|
||||||
|
<rect x="3" y="3" width="18" height="18" rx="2"/>
|
||||||
|
<path d="M3 9h18"/>
|
||||||
|
<path d="M9 21V9"/>
|
||||||
|
</svg>
|
||||||
|
`,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "hero.expertise.backend.title",
|
||||||
|
desc: "hero.expertise.backend.desc",
|
||||||
|
number: "02",
|
||||||
|
icon: `
|
||||||
|
<svg
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
width="26"
|
||||||
|
height="26"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
fill="none"
|
||||||
|
stroke="currentColor"
|
||||||
|
stroke-width="1.8"
|
||||||
|
stroke-linecap="round"
|
||||||
|
stroke-linejoin="round"
|
||||||
|
>
|
||||||
|
<ellipse cx="12" cy="5" rx="8" ry="3"/>
|
||||||
|
<path d="M4 5v7c0 1.7 3.6 3 8 3s8-1.3 8-3V5"/>
|
||||||
|
<path d="M4 12v7c0 1.7 3.6 3 8 3s8-1.3 8-3v-7"/>
|
||||||
|
</svg>
|
||||||
|
`,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "hero.expertise.infrastructure.title",
|
||||||
|
desc: "hero.expertise.infrastructure.desc",
|
||||||
|
number: "03",
|
||||||
|
icon: `
|
||||||
|
<svg
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
width="26"
|
||||||
|
height="26"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
fill="none"
|
||||||
|
stroke="currentColor"
|
||||||
|
stroke-width="1.8"
|
||||||
|
stroke-linecap="round"
|
||||||
|
stroke-linejoin="round"
|
||||||
|
>
|
||||||
|
<rect x="3" y="3" width="18" height="6" rx="2"/>
|
||||||
|
<rect x="3" y="15" width="18" height="6" rx="2"/>
|
||||||
|
<path d="M7 6h.01"/>
|
||||||
|
<path d="M7 18h.01"/>
|
||||||
|
</svg>
|
||||||
|
`,
|
||||||
|
},
|
||||||
|
];
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<section
|
||||||
|
id="home"
|
||||||
|
class="relative flex min-h-svh items-center overflow-hidden pt-24 pb-10 sm:pt-20 sm:pb-16 lg:py-0"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="relative mx-auto w-full max-w-7xl px-5 sm:px-8 lg:px-10"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="grid items-center gap-10 lg:grid-cols-[1.05fr_0.95fr] lg:gap-14 xl:gap-16"
|
||||||
|
>
|
||||||
|
<div class="min-w-0">
|
||||||
|
<div
|
||||||
|
class="inline-flex items-center gap-2 rounded-full border border-(--border) bg-(--surface) px-3 py-1.5 text-[10px] text-(--text-muted) sm:text-xs"
|
||||||
|
>
|
||||||
|
<span
|
||||||
|
class="h-1.5 w-1.5 rounded-full bg-emerald-500 sm:h-2 sm:w-2"
|
||||||
|
></span>
|
||||||
|
|
||||||
|
<span>
|
||||||
|
{{ t("hero.availability") }}
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div
|
||||||
|
class="mt-5 text-[9px] font-medium uppercase tracking-[0.25em] text-(--text-muted) sm:mt-6 sm:text-sm sm:tracking-[0.28em]"
|
||||||
|
>
|
||||||
|
{{ t("hero.label") }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<h1
|
||||||
|
class="hero-title mt-3 text-[clamp(3.7rem,19vw,5.5rem)] font-black leading-[0.84] tracking-[-0.07em] text-(--text) sm:mt-4 sm:text-[clamp(4rem,7vw,6rem)]"
|
||||||
|
>
|
||||||
|
DIFARFT
|
||||||
|
</h1>
|
||||||
|
|
||||||
|
<p
|
||||||
|
class="mt-5 max-w-3xl text-[clamp(1.35rem,6.5vw,2.35rem)] font-medium leading-[1.08] tracking-[-0.045em] text-(--text) sm:mt-6"
|
||||||
|
>
|
||||||
|
<span class="block">
|
||||||
|
{{ t("hero.tagline.code") }}
|
||||||
|
<span class="text-(--text-muted)">•</span>
|
||||||
|
{{ t("hero.tagline.network") }}
|
||||||
|
<span class="text-(--text-muted)">•</span>
|
||||||
|
{{ t("hero.tagline.system") }}
|
||||||
|
</span>
|
||||||
|
|
||||||
|
<span class="mt-1.5 block sm:mt-2">
|
||||||
|
{{ t("hero.tagline.title") }}
|
||||||
|
</span>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p
|
||||||
|
class="mt-4 max-w-xl text-[12px] leading-5 text-(--text-muted) sm:mt-6 sm:text-base sm:leading-7"
|
||||||
|
>
|
||||||
|
{{ t("hero.description") }}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="min-w-0">
|
||||||
|
<div
|
||||||
|
class="rounded-2xl border border-(--border) bg-(--surface)/70 p-4 backdrop-blur-[2px] sm:p-6"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="text-[9px] uppercase tracking-[0.3em] text-(--text-muted) sm:text-[10px]"
|
||||||
|
>
|
||||||
|
{{ t("hero.focus.label") }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div
|
||||||
|
class="mt-1.5 text-lg font-semibold tracking-tight text-(--text) sm:mt-3 sm:text-[1.65rem]"
|
||||||
|
>
|
||||||
|
{{ t("hero.focus.title") }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div
|
||||||
|
class="group relative mt-2.5 min-h-32 overflow-hidden rounded-2xl border border-(--border) bg-(--surface)/70 p-4 backdrop-blur-[2px] transition-colors duration-300 hover:bg-(--surface-hover) sm:mt-3 sm:min-h-40 sm:p-6"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="absolute right-4 top-4 font-mono text-[9px] text-(--text-muted) sm:right-5 sm:top-5 sm:text-[10px]"
|
||||||
|
>
|
||||||
|
{{ expertise[0].number }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div
|
||||||
|
class="flex h-10 w-10 items-center justify-center rounded-xl border border-(--border) text-(--text) sm:h-11 sm:w-11"
|
||||||
|
v-html="expertise[0].icon"
|
||||||
|
></div>
|
||||||
|
|
||||||
|
<div class="mt-4 sm:mt-7">
|
||||||
|
<h2
|
||||||
|
class="text-sm font-semibold text-(--text) sm:text-lg"
|
||||||
|
>
|
||||||
|
{{ t(expertise[0].title) }}
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
<p
|
||||||
|
class="mt-1 text-xs text-(--text-muted) sm:text-sm"
|
||||||
|
>
|
||||||
|
{{ t(expertise[0].desc) }}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div
|
||||||
|
class="mt-2.5 grid grid-cols-2 gap-2.5 sm:mt-3 sm:gap-3"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
v-for="item in expertise.slice(1)"
|
||||||
|
:key="item.number"
|
||||||
|
class="group relative min-h-32 overflow-hidden rounded-2xl border border-(--border) bg-(--surface)/70 p-4 backdrop-blur-[2px] transition-colors duration-300 hover:bg-(--surface-hover) sm:min-h-40 sm:p-6"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="absolute right-4 top-4 font-mono text-[9px] text-(--text-muted) sm:right-5 sm:top-5 sm:text-[10px]"
|
||||||
|
>
|
||||||
|
{{ item.number }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div
|
||||||
|
class="flex h-10 w-10 items-center justify-center rounded-xl border border-(--border) text-(--text) sm:h-11 sm:w-11"
|
||||||
|
v-html="item.icon"
|
||||||
|
></div>
|
||||||
|
|
||||||
|
<div class="mt-4 sm:mt-7">
|
||||||
|
<h2
|
||||||
|
class="text-sm font-semibold leading-tight text-(--text) sm:text-lg"
|
||||||
|
>
|
||||||
|
{{ t(item.title) }}
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
<p
|
||||||
|
class="mt-1 text-xs text-(--text-muted) sm:text-sm"
|
||||||
|
>
|
||||||
|
{{ t(item.desc) }}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
@media (max-width: 639px) {
|
||||||
|
.hero-title {
|
||||||
|
font-size: clamp(3.7rem, 19vw, 5rem);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
@ -0,0 +1,173 @@
|
||||||
|
<script setup lang="ts">
|
||||||
|
import { AlertTriangle, ArrowLeft, RefreshCw } from "lucide-vue-next";
|
||||||
|
|
||||||
|
const props = defineProps<{
|
||||||
|
error: {
|
||||||
|
statusCode?: number;
|
||||||
|
statusMessage?: string;
|
||||||
|
message?: string;
|
||||||
|
};
|
||||||
|
}>();
|
||||||
|
|
||||||
|
const { t } = useI18n();
|
||||||
|
|
||||||
|
const clearErrorAndGoHome = async () => {
|
||||||
|
await clearError({
|
||||||
|
redirect: "/",
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
const reloadPage = () => {
|
||||||
|
window.location.reload();
|
||||||
|
};
|
||||||
|
|
||||||
|
const statusCode = computed(() => {
|
||||||
|
return props.error?.statusCode || 500;
|
||||||
|
});
|
||||||
|
|
||||||
|
const errorTitle = computed(() => {
|
||||||
|
if (statusCode.value === 404) {
|
||||||
|
return t("error.notFound.title");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (statusCode.value === 403) {
|
||||||
|
return t("error.forbidden.title");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (statusCode.value === 500) {
|
||||||
|
return t("error.server.title");
|
||||||
|
}
|
||||||
|
|
||||||
|
return t("error.default.title");
|
||||||
|
});
|
||||||
|
|
||||||
|
const errorDescription = computed(() => {
|
||||||
|
if (statusCode.value === 404) {
|
||||||
|
return t("error.notFound.description");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (statusCode.value === 403) {
|
||||||
|
return t("error.forbidden.description");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (statusCode.value === 500) {
|
||||||
|
return t("error.server.description");
|
||||||
|
}
|
||||||
|
|
||||||
|
return t("error.default.description");
|
||||||
|
});
|
||||||
|
|
||||||
|
useHead({
|
||||||
|
title: computed(() => `${statusCode.value} — ${errorTitle.value}`),
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<NuxtLayout name="err">
|
||||||
|
<main
|
||||||
|
class="flex min-h-[calc(100vh-220px)] items-center justify-center px-5 py-20 sm:px-8"
|
||||||
|
>
|
||||||
|
<section class="w-full max-w-2xl text-center">
|
||||||
|
<!-- Technical label -->
|
||||||
|
<div
|
||||||
|
class="mb-6 flex items-center justify-center gap-3 text-[10px] font-semibold uppercase tracking-[0.25em]"
|
||||||
|
:style="{ color: 'var(--text-muted)' }"
|
||||||
|
>
|
||||||
|
<span>{{ t("error.system") }}</span>
|
||||||
|
|
||||||
|
<span>/</span>
|
||||||
|
|
||||||
|
<span>{{ t("error.status") }}</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Status code -->
|
||||||
|
<div
|
||||||
|
class="text-7xl font-bold tracking-[-0.06em] sm:text-9xl"
|
||||||
|
:style="{ color: 'var(--text)' }"
|
||||||
|
>
|
||||||
|
{{ statusCode }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Icon -->
|
||||||
|
<div
|
||||||
|
class="mx-auto mt-5 flex h-14 w-14 items-center justify-center rounded-2xl border"
|
||||||
|
:style="{
|
||||||
|
backgroundColor: 'var(--surface)',
|
||||||
|
borderColor: 'var(--border)',
|
||||||
|
color: 'var(--text)',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
<AlertTriangle class="h-6 w-6" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Title -->
|
||||||
|
<h1
|
||||||
|
class="mt-6 text-2xl font-bold tracking-tight sm:text-3xl"
|
||||||
|
:style="{ color: 'var(--text)' }"
|
||||||
|
>
|
||||||
|
{{ errorTitle }}
|
||||||
|
</h1>
|
||||||
|
|
||||||
|
<!-- Description -->
|
||||||
|
<p
|
||||||
|
class="mx-auto mt-4 max-w-lg text-sm leading-7 sm:text-base"
|
||||||
|
:style="{ color: 'var(--text-muted)' }"
|
||||||
|
>
|
||||||
|
{{ errorDescription }}
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<!-- Error information -->
|
||||||
|
<div
|
||||||
|
class="mx-auto mt-7 max-w-lg rounded-xl border px-4 py-3 text-left"
|
||||||
|
:style="{
|
||||||
|
backgroundColor: 'var(--surface)',
|
||||||
|
borderColor: 'var(--border)',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="flex items-center justify-between gap-4 text-[9px] font-semibold uppercase tracking-[0.2em]"
|
||||||
|
:style="{ color: 'var(--text-muted)' }"
|
||||||
|
>
|
||||||
|
<span>{{ t("error.code") }}</span>
|
||||||
|
|
||||||
|
<span>{{ statusCode }}</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Actions -->
|
||||||
|
<div class="mt-8 flex flex-col justify-center gap-3 sm:flex-row">
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
@click="clearErrorAndGoHome"
|
||||||
|
class="inline-flex h-11 items-center justify-center gap-2 rounded-xl border px-5 text-sm font-semibold transition-all duration-200 hover:-translate-y-0.5"
|
||||||
|
:style="{
|
||||||
|
backgroundColor: 'var(--surface)',
|
||||||
|
borderColor: 'var(--border)',
|
||||||
|
color: 'var(--text)',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
<ArrowLeft class="h-4 w-4" />
|
||||||
|
|
||||||
|
{{ t("error.backHome") }}
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
@click="reloadPage"
|
||||||
|
class="inline-flex h-11 items-center justify-center gap-2 rounded-xl border px-5 text-sm font-semibold transition-all duration-200 hover:-translate-y-0.5"
|
||||||
|
:style="{
|
||||||
|
backgroundColor: 'var(--text)',
|
||||||
|
borderColor: 'var(--text)',
|
||||||
|
color: 'var(--bg)',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
<RefreshCw class="h-4 w-4" />
|
||||||
|
|
||||||
|
{{ t("error.retry") }}
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</main>
|
||||||
|
</NuxtLayout>
|
||||||
|
<CustomCursor />
|
||||||
|
</template>
|
||||||
|
|
@ -0,0 +1,184 @@
|
||||||
|
<script setup lang="ts">
|
||||||
|
import AppNavbar from "../components/layout/AppNavbar.vue";
|
||||||
|
import AppFooter from "../components/layout/AppFooter.vue";
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div class="site-shell">
|
||||||
|
<!-- GLOBAL BACKGROUND -->
|
||||||
|
<div class="global-background" aria-hidden="true">
|
||||||
|
<!-- Fine Grid -->
|
||||||
|
<div
|
||||||
|
class="global-grid"
|
||||||
|
:style="{
|
||||||
|
backgroundImage: `
|
||||||
|
linear-gradient(
|
||||||
|
to right,
|
||||||
|
var(--grid) 1px,
|
||||||
|
transparent 1px
|
||||||
|
),
|
||||||
|
linear-gradient(
|
||||||
|
to bottom,
|
||||||
|
var(--grid) 1px,
|
||||||
|
transparent 1px
|
||||||
|
)
|
||||||
|
`,
|
||||||
|
backgroundSize: '72px 72px',
|
||||||
|
}"
|
||||||
|
></div>
|
||||||
|
|
||||||
|
<!-- Vertical Technical Lines -->
|
||||||
|
<!-- <div class="guide-line guide-left"></div>
|
||||||
|
<div class="guide-line guide-right"></div> -->
|
||||||
|
|
||||||
|
<!-- Horizontal Technical Lines -->
|
||||||
|
<!-- <div class="guide-line guide-top"></div>
|
||||||
|
<div class="guide-line guide-bottom"></div> -->
|
||||||
|
|
||||||
|
<!-- Corner Marks -->
|
||||||
|
<!-- <div class="corner corner-tl"></div>
|
||||||
|
<div class="corner corner-tr"></div>
|
||||||
|
<div class="corner corner-bl"></div>
|
||||||
|
<div class="corner corner-br"></div> -->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- NAVBAR -->
|
||||||
|
<AppNavbar />
|
||||||
|
|
||||||
|
<!-- CONTENT -->
|
||||||
|
<main class="page-content">
|
||||||
|
<slot />
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<!-- FOOTER -->
|
||||||
|
<footer class="site-footer">
|
||||||
|
<AppFooter />
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.site-shell {
|
||||||
|
position: relative;
|
||||||
|
min-height: 100vh;
|
||||||
|
background: var(--bg);
|
||||||
|
color: var(--text);
|
||||||
|
}
|
||||||
|
|
||||||
|
.global-background {
|
||||||
|
position: fixed;
|
||||||
|
inset: 0;
|
||||||
|
z-index: 0;
|
||||||
|
pointer-events: none;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.global-grid {
|
||||||
|
position: absolute;
|
||||||
|
inset: 0;
|
||||||
|
|
||||||
|
opacity: 0.45;
|
||||||
|
|
||||||
|
background-image:
|
||||||
|
linear-gradient(
|
||||||
|
to right,
|
||||||
|
var(--grid) 1px,
|
||||||
|
transparent 1px
|
||||||
|
),
|
||||||
|
linear-gradient(
|
||||||
|
to bottom,
|
||||||
|
var(--grid) 1px,
|
||||||
|
transparent 1px
|
||||||
|
);
|
||||||
|
|
||||||
|
background-size: 72px 72px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.guide-line {
|
||||||
|
position: absolute;
|
||||||
|
background: var(--grid);
|
||||||
|
opacity: 0.35;
|
||||||
|
}
|
||||||
|
|
||||||
|
.guide-left,
|
||||||
|
.guide-right {
|
||||||
|
top: 0;
|
||||||
|
bottom: 0;
|
||||||
|
width: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.guide-left {
|
||||||
|
left: 18%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.guide-right {
|
||||||
|
right: 18%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.guide-top,
|
||||||
|
.guide-bottom {
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
height: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.guide-top {
|
||||||
|
top: 22%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.guide-bottom {
|
||||||
|
bottom: 18%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.corner {
|
||||||
|
position: absolute;
|
||||||
|
width: 10px;
|
||||||
|
height: 10px;
|
||||||
|
|
||||||
|
border-color: var(--text-muted);
|
||||||
|
opacity: 0.55;
|
||||||
|
}
|
||||||
|
|
||||||
|
.corner-tl {
|
||||||
|
top: 22%;
|
||||||
|
left: 18%;
|
||||||
|
|
||||||
|
border-top: 1px solid;
|
||||||
|
border-left: 1px solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
.corner-tr {
|
||||||
|
top: 22%;
|
||||||
|
right: 18%;
|
||||||
|
|
||||||
|
border-top: 1px solid;
|
||||||
|
border-right: 1px solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
.corner-bl {
|
||||||
|
bottom: 18%;
|
||||||
|
left: 18%;
|
||||||
|
|
||||||
|
border-bottom: 1px solid;
|
||||||
|
border-left: 1px solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
.corner-br {
|
||||||
|
right: 18%;
|
||||||
|
bottom: 18%;
|
||||||
|
|
||||||
|
border-right: 1px solid;
|
||||||
|
border-bottom: 1px solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
.page-content {
|
||||||
|
position: relative;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.site-footer {
|
||||||
|
position: relative;
|
||||||
|
z-index: 2;
|
||||||
|
background: var(--bg);
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
@ -0,0 +1,184 @@
|
||||||
|
<script setup lang="ts">
|
||||||
|
import AppNavbarErr from "../components/layout/AppNavbar-err.vue";
|
||||||
|
import AppFooter from "~/components/layout/AppFooter.vue";
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div class="site-shell">
|
||||||
|
<!-- GLOBAL BACKGROUND -->
|
||||||
|
<div class="global-background" aria-hidden="true">
|
||||||
|
<!-- Fine Grid -->
|
||||||
|
<div
|
||||||
|
class="global-grid"
|
||||||
|
:style="{
|
||||||
|
backgroundImage: `
|
||||||
|
linear-gradient(
|
||||||
|
to right,
|
||||||
|
var(--grid) 1px,
|
||||||
|
transparent 1px
|
||||||
|
),
|
||||||
|
linear-gradient(
|
||||||
|
to bottom,
|
||||||
|
var(--grid) 1px,
|
||||||
|
transparent 1px
|
||||||
|
)
|
||||||
|
`,
|
||||||
|
backgroundSize: '72px 72px',
|
||||||
|
}"
|
||||||
|
></div>
|
||||||
|
|
||||||
|
<!-- Vertical Technical Lines -->
|
||||||
|
<!-- <div class="guide-line guide-left"></div>
|
||||||
|
<div class="guide-line guide-right"></div> -->
|
||||||
|
|
||||||
|
<!-- Horizontal Technical Lines -->
|
||||||
|
<!-- <div class="guide-line guide-top"></div>
|
||||||
|
<div class="guide-line guide-bottom"></div> -->
|
||||||
|
|
||||||
|
<!-- Corner Marks -->
|
||||||
|
<!-- <div class="corner corner-tl"></div>
|
||||||
|
<div class="corner corner-tr"></div>
|
||||||
|
<div class="corner corner-bl"></div>
|
||||||
|
<div class="corner corner-br"></div> -->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- NAVBAR -->
|
||||||
|
<AppNavbarErr />
|
||||||
|
|
||||||
|
<!-- CONTENT -->
|
||||||
|
<main class="page-content">
|
||||||
|
<slot />
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<!-- FOOTER -->
|
||||||
|
<footer class="site-footer">
|
||||||
|
<AppFooter />
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.site-shell {
|
||||||
|
position: relative;
|
||||||
|
min-height: 100vh;
|
||||||
|
background: var(--bg);
|
||||||
|
color: var(--text);
|
||||||
|
}
|
||||||
|
|
||||||
|
.global-background {
|
||||||
|
position: fixed;
|
||||||
|
inset: 0;
|
||||||
|
z-index: 0;
|
||||||
|
pointer-events: none;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.global-grid {
|
||||||
|
position: absolute;
|
||||||
|
inset: 0;
|
||||||
|
|
||||||
|
opacity: 0.45;
|
||||||
|
|
||||||
|
background-image:
|
||||||
|
linear-gradient(
|
||||||
|
to right,
|
||||||
|
var(--grid) 1px,
|
||||||
|
transparent 1px
|
||||||
|
),
|
||||||
|
linear-gradient(
|
||||||
|
to bottom,
|
||||||
|
var(--grid) 1px,
|
||||||
|
transparent 1px
|
||||||
|
);
|
||||||
|
|
||||||
|
background-size: 72px 72px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.guide-line {
|
||||||
|
position: absolute;
|
||||||
|
background: var(--grid);
|
||||||
|
opacity: 0.35;
|
||||||
|
}
|
||||||
|
|
||||||
|
.guide-left,
|
||||||
|
.guide-right {
|
||||||
|
top: 0;
|
||||||
|
bottom: 0;
|
||||||
|
width: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.guide-left {
|
||||||
|
left: 18%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.guide-right {
|
||||||
|
right: 18%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.guide-top,
|
||||||
|
.guide-bottom {
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
height: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.guide-top {
|
||||||
|
top: 22%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.guide-bottom {
|
||||||
|
bottom: 18%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.corner {
|
||||||
|
position: absolute;
|
||||||
|
width: 10px;
|
||||||
|
height: 10px;
|
||||||
|
|
||||||
|
border-color: var(--text-muted);
|
||||||
|
opacity: 0.55;
|
||||||
|
}
|
||||||
|
|
||||||
|
.corner-tl {
|
||||||
|
top: 22%;
|
||||||
|
left: 18%;
|
||||||
|
|
||||||
|
border-top: 1px solid;
|
||||||
|
border-left: 1px solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
.corner-tr {
|
||||||
|
top: 22%;
|
||||||
|
right: 18%;
|
||||||
|
|
||||||
|
border-top: 1px solid;
|
||||||
|
border-right: 1px solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
.corner-bl {
|
||||||
|
bottom: 18%;
|
||||||
|
left: 18%;
|
||||||
|
|
||||||
|
border-bottom: 1px solid;
|
||||||
|
border-left: 1px solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
.corner-br {
|
||||||
|
right: 18%;
|
||||||
|
bottom: 18%;
|
||||||
|
|
||||||
|
border-right: 1px solid;
|
||||||
|
border-bottom: 1px solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
.page-content {
|
||||||
|
position: relative;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.site-footer {
|
||||||
|
position: relative;
|
||||||
|
z-index: 2;
|
||||||
|
background: var(--bg);
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
<template>
|
||||||
|
<slot />
|
||||||
|
</template>
|
||||||
|
|
@ -0,0 +1,121 @@
|
||||||
|
<script setup lang="ts">
|
||||||
|
import HeroSection from "../components/sections/home/hero.vue";
|
||||||
|
import StatsSection from "../components/sections/home/StatsSection.vue";
|
||||||
|
import AboutSection from "../components/sections/home/AboutSection.vue";
|
||||||
|
import ServicesSection from "../components/sections/home/ServicesSection.vue";
|
||||||
|
import TechStackSection from "../components/sections/home/TechStackSection.vue";
|
||||||
|
import ProjectsSection from "~/components/sections/home/ProjectsSection.vue";
|
||||||
|
import ContactSection from "~/components/sections/home/ContactBusinessCard.vue";
|
||||||
|
|
||||||
|
const route = useRoute();
|
||||||
|
const { locale } = useI18n();
|
||||||
|
|
||||||
|
const canonicalUrl = computed(() =>
|
||||||
|
route.path === "/en" ? "https://difarft.com/en" : "https://difarft.com/",
|
||||||
|
);
|
||||||
|
|
||||||
|
const seo = computed(() => {
|
||||||
|
if (locale.value === "en") {
|
||||||
|
return {
|
||||||
|
title: "Difarft — Dimas Fata | Developer & Network Support",
|
||||||
|
description:
|
||||||
|
"Difarft is the personal brand of Dimas Fata, covering software development, web applications, backend systems, networking, and IT infrastructure.",
|
||||||
|
ogDescription:
|
||||||
|
"Difarft is the personal brand of Dimas Fata, covering software development, networking, and IT infrastructure.",
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
return {
|
||||||
|
title: "Difarft — Dimas Fata | Developer & Network Support",
|
||||||
|
description:
|
||||||
|
"Difarft adalah personal brand Dimas Fata yang mencakup pengembangan software, aplikasi web, sistem backend, jaringan, dan infrastruktur IT.",
|
||||||
|
ogDescription:
|
||||||
|
"Difarft adalah personal brand Dimas Fata di bidang pengembangan software, jaringan, dan infrastruktur IT.",
|
||||||
|
};
|
||||||
|
});
|
||||||
|
|
||||||
|
const languageLinks = [
|
||||||
|
{
|
||||||
|
hreflang: "id",
|
||||||
|
href: "https://difarft.com/",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
hreflang: "en",
|
||||||
|
href: "https://difarft.com/en",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
hreflang: "x-default",
|
||||||
|
href: "https://difarft.com/",
|
||||||
|
},
|
||||||
|
];
|
||||||
|
|
||||||
|
useHead({
|
||||||
|
htmlAttrs: {
|
||||||
|
lang: () => locale.value,
|
||||||
|
},
|
||||||
|
|
||||||
|
link: [
|
||||||
|
{
|
||||||
|
rel: "canonical",
|
||||||
|
href: canonicalUrl,
|
||||||
|
},
|
||||||
|
...languageLinks.map((link) => ({
|
||||||
|
rel: "alternate",
|
||||||
|
hreflang: link.hreflang,
|
||||||
|
href: link.href,
|
||||||
|
})),
|
||||||
|
],
|
||||||
|
|
||||||
|
script: [
|
||||||
|
{
|
||||||
|
type: "application/ld+json",
|
||||||
|
innerHTML: JSON.stringify([
|
||||||
|
{
|
||||||
|
"@context": "https://schema.org",
|
||||||
|
"@type": "Person",
|
||||||
|
name: "Dimas Fata",
|
||||||
|
jobTitle: "Developer & Network Support",
|
||||||
|
url: "https://difarft.com/",
|
||||||
|
sameAs: [
|
||||||
|
"https://www.instagram.com/difarft.02/",
|
||||||
|
"https://www.linkedin.com/in/dimas-fata-5324aa2aa/",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"@context": "https://schema.org",
|
||||||
|
"@type": "WebSite",
|
||||||
|
name: "Difarft",
|
||||||
|
url: "https://difarft.com/",
|
||||||
|
},
|
||||||
|
]),
|
||||||
|
},
|
||||||
|
],
|
||||||
|
});
|
||||||
|
|
||||||
|
useSeoMeta({
|
||||||
|
title: () => seo.value.title,
|
||||||
|
description: () => seo.value.description,
|
||||||
|
ogTitle: () => seo.value.title,
|
||||||
|
ogDescription: () => seo.value.ogDescription,
|
||||||
|
ogImage: "https://difarft.com/og-image.png",
|
||||||
|
ogUrl: canonicalUrl,
|
||||||
|
ogType: "website",
|
||||||
|
twitterCard: "summary_large_image",
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<HeroSection />
|
||||||
|
|
||||||
|
<StatsSection />
|
||||||
|
|
||||||
|
<AboutSection />
|
||||||
|
|
||||||
|
<ServicesSection />
|
||||||
|
|
||||||
|
<TechStackSection />
|
||||||
|
|
||||||
|
<ProjectsSection />
|
||||||
|
|
||||||
|
<ContactSection />
|
||||||
|
</template>
|
||||||
|
|
@ -0,0 +1,151 @@
|
||||||
|
<script setup lang="ts">
|
||||||
|
import {
|
||||||
|
Wrench,
|
||||||
|
ArrowLeft,
|
||||||
|
RefreshCw,
|
||||||
|
} from "lucide-vue-next";
|
||||||
|
|
||||||
|
definePageMeta({
|
||||||
|
layout: "err",
|
||||||
|
});
|
||||||
|
|
||||||
|
const { t } = useI18n();
|
||||||
|
|
||||||
|
const reloadPage = () => {
|
||||||
|
window.location.reload();
|
||||||
|
};
|
||||||
|
|
||||||
|
useHead({
|
||||||
|
title: "Maintenance",
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<main
|
||||||
|
class="flex min-h-[calc(100vh-220px)] items-center justify-center px-5 py-20 sm:px-8"
|
||||||
|
>
|
||||||
|
<section class="w-full max-w-2xl text-center">
|
||||||
|
<!-- Status -->
|
||||||
|
<div
|
||||||
|
class="mb-8 flex items-center justify-center gap-2 text-[10px] font-semibold uppercase tracking-[0.25em]"
|
||||||
|
:style="{ color: 'var(--text-muted)' }"
|
||||||
|
>
|
||||||
|
<span
|
||||||
|
class="h-1.5 w-1.5 rounded-full"
|
||||||
|
:style="{ backgroundColor: 'var(--text)' }"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<span>{{ t("maintenance.status") }}</span>
|
||||||
|
|
||||||
|
<span>01</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Icon -->
|
||||||
|
<div
|
||||||
|
class="mx-auto mb-7 flex h-16 w-16 items-center justify-center rounded-2xl border"
|
||||||
|
:style="{
|
||||||
|
backgroundColor: 'var(--surface)',
|
||||||
|
borderColor: 'var(--border)',
|
||||||
|
color: 'var(--text)',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
<Wrench class="h-7 w-7" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Title -->
|
||||||
|
<h1
|
||||||
|
class="text-4xl font-bold tracking-tight sm:text-6xl"
|
||||||
|
:style="{ color: 'var(--text)' }"
|
||||||
|
>
|
||||||
|
{{ t("maintenance.title") }}
|
||||||
|
</h1>
|
||||||
|
|
||||||
|
<!-- Description -->
|
||||||
|
<p
|
||||||
|
class="mx-auto mt-5 max-w-xl text-sm leading-7 sm:text-base"
|
||||||
|
:style="{ color: 'var(--text-muted)' }"
|
||||||
|
>
|
||||||
|
{{ t("maintenance.description") }}
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<!-- Technical info -->
|
||||||
|
<div
|
||||||
|
class="mx-auto mt-8 grid max-w-md grid-cols-2 gap-px overflow-hidden rounded-xl border"
|
||||||
|
:style="{
|
||||||
|
backgroundColor: 'var(--border)',
|
||||||
|
borderColor: 'var(--border)',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="px-4 py-4"
|
||||||
|
:style="{ backgroundColor: 'var(--surface)' }"
|
||||||
|
>
|
||||||
|
<p
|
||||||
|
class="text-[9px] font-semibold uppercase tracking-[0.2em]"
|
||||||
|
:style="{ color: 'var(--text-muted)' }"
|
||||||
|
>
|
||||||
|
{{ t("maintenance.system") }}
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p
|
||||||
|
class="mt-1 text-sm font-semibold"
|
||||||
|
:style="{ color: 'var(--text)' }"
|
||||||
|
>
|
||||||
|
{{ t("maintenance.systemValue") }}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div
|
||||||
|
class="px-4 py-4"
|
||||||
|
:style="{ backgroundColor: 'var(--surface)' }"
|
||||||
|
>
|
||||||
|
<p
|
||||||
|
class="text-[9px] font-semibold uppercase tracking-[0.2em]"
|
||||||
|
:style="{ color: 'var(--text-muted)' }"
|
||||||
|
>
|
||||||
|
{{ t("maintenance.statusLabel") }}
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p
|
||||||
|
class="mt-1 text-sm font-semibold"
|
||||||
|
:style="{ color: 'var(--text)' }"
|
||||||
|
>
|
||||||
|
{{ t("maintenance.statusValue") }}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Actions -->
|
||||||
|
<div class="mt-8 flex flex-col justify-center gap-3 sm:flex-row">
|
||||||
|
<NuxtLink
|
||||||
|
to="/"
|
||||||
|
class="inline-flex h-11 items-center justify-center gap-2 rounded-xl border px-5 text-sm font-semibold transition-all duration-200 hover:-translate-y-0.5"
|
||||||
|
:style="{
|
||||||
|
backgroundColor: 'var(--surface)',
|
||||||
|
borderColor: 'var(--border)',
|
||||||
|
color: 'var(--text)',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
<ArrowLeft class="h-4 w-4" />
|
||||||
|
|
||||||
|
{{ t("maintenance.backHome") }}
|
||||||
|
</NuxtLink>
|
||||||
|
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
@click="reloadPage"
|
||||||
|
class="inline-flex h-11 items-center justify-center gap-2 rounded-xl border px-5 text-sm font-semibold transition-all duration-200 hover:-translate-y-0.5"
|
||||||
|
:style="{
|
||||||
|
backgroundColor: 'var(--text)',
|
||||||
|
borderColor: 'var(--text)',
|
||||||
|
color: 'var(--bg)',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
<RefreshCw class="h-4 w-4" />
|
||||||
|
|
||||||
|
{{ t("maintenance.retry") }}
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</main>
|
||||||
|
</template>
|
||||||
|
|
@ -0,0 +1,20 @@
|
||||||
|
import type { RouterConfig } from "@nuxt/schema";
|
||||||
|
|
||||||
|
export default <RouterConfig>{
|
||||||
|
scrollBehavior(to, from, savedPosition) {
|
||||||
|
if (savedPosition) {
|
||||||
|
return savedPosition;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (to.hash) {
|
||||||
|
return {
|
||||||
|
el: to.hash,
|
||||||
|
behavior: "smooth",
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
return {
|
||||||
|
top: 0,
|
||||||
|
};
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
@ -0,0 +1,230 @@
|
||||||
|
{
|
||||||
|
"nav": {
|
||||||
|
"home": "Home",
|
||||||
|
"about": "About",
|
||||||
|
"services": "Services",
|
||||||
|
"projects": "Projects",
|
||||||
|
"contact": "Contact"
|
||||||
|
},
|
||||||
|
|
||||||
|
"hero": {
|
||||||
|
"availability": "Available for collaboration",
|
||||||
|
"label": "Digital Technology",
|
||||||
|
"tagline": {
|
||||||
|
"code": "Code",
|
||||||
|
"network": "Network",
|
||||||
|
"system": "System",
|
||||||
|
"title": "Building systems, fixing chaos"
|
||||||
|
},
|
||||||
|
"description": "Building web applications, backend systems, and reliable infrastructure for practical digital solutions.",
|
||||||
|
"focus": {
|
||||||
|
"label": "Focus",
|
||||||
|
"title": "What I build."
|
||||||
|
},
|
||||||
|
"expertise": {
|
||||||
|
"web": {
|
||||||
|
"title": "Web Development",
|
||||||
|
"desc": "Modern web applications"
|
||||||
|
},
|
||||||
|
"backend": {
|
||||||
|
"title": "Backend",
|
||||||
|
"desc": "API & systems"
|
||||||
|
},
|
||||||
|
"infrastructure": {
|
||||||
|
"title": "Infrastructure",
|
||||||
|
"desc": "Network & servers"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"about": {
|
||||||
|
"badge": "About Me",
|
||||||
|
"name": "Dimas Fata",
|
||||||
|
"title": "Hello, I'm Dimas Fata",
|
||||||
|
|
||||||
|
"paragraph1": "I am an Information Technology Education student at Universitas Negeri Surabaya with an interest in application development, backend systems, networking, and infrastructure.",
|
||||||
|
|
||||||
|
"paragraph2": "Since 2024, I have worked on various technology projects, ranging from websites and dashboards to backend APIs and computer network implementations. Each project is part of my ongoing process of learning, solving problems, and building practical solutions."
|
||||||
|
},
|
||||||
|
|
||||||
|
"stats": {
|
||||||
|
"projectsCompleted": "Projects Completed",
|
||||||
|
"projectsOnline": "Projects Online",
|
||||||
|
"websites": "Websites",
|
||||||
|
"backendApis": "Backend APIs"
|
||||||
|
},
|
||||||
|
|
||||||
|
"services": {
|
||||||
|
"badge": "Services",
|
||||||
|
"title": "Services I Provide",
|
||||||
|
"description": "Technology services to help build, develop, and maintain digital systems based on specific needs.",
|
||||||
|
|
||||||
|
"items": {
|
||||||
|
"web": {
|
||||||
|
"title": "Web Development",
|
||||||
|
"description": "Building modern, fast, responsive websites tailored to user needs.",
|
||||||
|
|
||||||
|
"features": {
|
||||||
|
"companyProfile": "Company Profile",
|
||||||
|
"landingPage": "Landing Page",
|
||||||
|
"dashboard": "Admin Dashboard",
|
||||||
|
"api": "Backend API"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"network": {
|
||||||
|
"title": "Network Support",
|
||||||
|
"description": "Computer network support to help maintain system connectivity and stability.",
|
||||||
|
|
||||||
|
"features": {
|
||||||
|
"mikrotik": "MikroTik",
|
||||||
|
"vlan": "",
|
||||||
|
"routing": "Routing",
|
||||||
|
"troubleshooting": "Troubleshooting"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"hosting": {
|
||||||
|
"title": "Hosting & Deployment",
|
||||||
|
"description": "Helping applications and websites go online with reliable and secure server configuration.",
|
||||||
|
|
||||||
|
"features": {
|
||||||
|
"vps": "VPS",
|
||||||
|
"domain": "",
|
||||||
|
"configuration": "Server Configuration"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"projects": {
|
||||||
|
"badge": "Portfolio",
|
||||||
|
"title": "Featured Projects",
|
||||||
|
"description": "A selection of projects I have worked on.",
|
||||||
|
|
||||||
|
"ctaText": "Interested in seeing more of my work?",
|
||||||
|
"ctaButton": "View All Portfolio",
|
||||||
|
|
||||||
|
"maintenance": {
|
||||||
|
"title": "Portfolio Coming Soon",
|
||||||
|
"description": "I am currently preparing project documentation and application demos to showcase my work in a more complete and informative way."
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"contact": {
|
||||||
|
"badge": "Let's Work Together",
|
||||||
|
|
||||||
|
"title": "Ready to Help Bring Your Digital Project to Life",
|
||||||
|
|
||||||
|
"description": "I am available for website development, backend APIs, network support, and maintenance of existing applications.",
|
||||||
|
|
||||||
|
"role": "Web Developer & Network Support",
|
||||||
|
|
||||||
|
"education": "Bachelor of Information Technology Education (UNESA)",
|
||||||
|
|
||||||
|
"freelance": "Available for Freelance Projects",
|
||||||
|
|
||||||
|
"email": "Email",
|
||||||
|
"whatsapp": "WhatsApp",
|
||||||
|
"telegram": "Telegram",
|
||||||
|
|
||||||
|
"website": "Website Development",
|
||||||
|
"backend": "Backend API",
|
||||||
|
"network": "Network Support",
|
||||||
|
"maintenance": "Maintenance",
|
||||||
|
|
||||||
|
"contactButton": "Contact Me",
|
||||||
|
"projectButton": "View Projects",
|
||||||
|
"whatsappMessage": "Hello DifarFT, I’m interested in your website development services. I’d like to discuss my requirements and the concept of the website I’m looking to build."
|
||||||
|
},
|
||||||
|
|
||||||
|
"techStack": {
|
||||||
|
"badge": "Tech Stack",
|
||||||
|
|
||||||
|
"title": "Technologies I Use",
|
||||||
|
|
||||||
|
"description": "Various technologies I use to develop applications, backend systems, networking, and infrastructure.",
|
||||||
|
|
||||||
|
"frontend": "Frontend",
|
||||||
|
"backend": "Backend",
|
||||||
|
"database": "Database",
|
||||||
|
"infrastructure": "Networking & Infrastructure"
|
||||||
|
},
|
||||||
|
|
||||||
|
"footer": {
|
||||||
|
"description": "Dimas Fata, a Web Developer and Network Support who works with website development, backend APIs, and network infrastructure.",
|
||||||
|
|
||||||
|
"navigation": "Navigation",
|
||||||
|
|
||||||
|
"services": {
|
||||||
|
"web": "Web Development",
|
||||||
|
"backend": "Backend API",
|
||||||
|
"network": "Network Support"
|
||||||
|
},
|
||||||
|
|
||||||
|
"contact": "Contact",
|
||||||
|
|
||||||
|
"nav": {
|
||||||
|
"home": "Home",
|
||||||
|
"about": "About",
|
||||||
|
"services": "Services",
|
||||||
|
"projects": "Projects",
|
||||||
|
"contact": "Contact"
|
||||||
|
},
|
||||||
|
|
||||||
|
"copyright": "All rights reserved"
|
||||||
|
},
|
||||||
|
|
||||||
|
"projectsPage": {
|
||||||
|
"filterTitle": "Project Filter",
|
||||||
|
"filterDescription": "Discover projects based on categories and the technologies used.",
|
||||||
|
"categories": "Categories",
|
||||||
|
"technologies": "Technologies",
|
||||||
|
"showing": "Showing",
|
||||||
|
"of": "of",
|
||||||
|
"projects2": "projects",
|
||||||
|
"resetFilter": "Reset Filters",
|
||||||
|
"emptyTitle": "No Projects Found",
|
||||||
|
"emptyDescription": "Try changing or resetting the selected filters to view other projects."
|
||||||
|
},
|
||||||
|
|
||||||
|
"maintenance": {
|
||||||
|
"status": "Under maintenance",
|
||||||
|
"title": "System is being updated",
|
||||||
|
"description": "The website is currently undergoing maintenance to improve performance, security, and system stability. Please check back shortly.",
|
||||||
|
"system": "System",
|
||||||
|
"systemValue": "Maintenance",
|
||||||
|
"statusLabel": "Status",
|
||||||
|
"statusValue": "In Progress",
|
||||||
|
"backHome": "Back to Home",
|
||||||
|
"retry": "Try Again"
|
||||||
|
},
|
||||||
|
|
||||||
|
"error": {
|
||||||
|
"system": "System",
|
||||||
|
"status": "Error",
|
||||||
|
"code": "Error Code",
|
||||||
|
"backHome": "Back to Home",
|
||||||
|
"retry": "Try Again",
|
||||||
|
|
||||||
|
"notFound": {
|
||||||
|
"title": "Page not found",
|
||||||
|
"description": "The page you are looking for does not exist or may have been moved."
|
||||||
|
},
|
||||||
|
|
||||||
|
"forbidden": {
|
||||||
|
"title": "Access denied",
|
||||||
|
"description": "You do not have permission to access this page or resource."
|
||||||
|
},
|
||||||
|
|
||||||
|
"server": {
|
||||||
|
"title": "Server error",
|
||||||
|
"description": "The server encountered a problem while processing your request. Please try again shortly."
|
||||||
|
},
|
||||||
|
|
||||||
|
"default": {
|
||||||
|
"title": "Something went wrong",
|
||||||
|
"description": "There was a problem processing your request. Please try again."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,230 @@
|
||||||
|
{
|
||||||
|
"nav": {
|
||||||
|
"home": "Beranda",
|
||||||
|
"about": "Tentang",
|
||||||
|
"services": "Layanan",
|
||||||
|
"projects": "Proyek",
|
||||||
|
"contact": "Kontak"
|
||||||
|
},
|
||||||
|
|
||||||
|
"hero": {
|
||||||
|
"availability": "Tersedia untuk kolaborasi",
|
||||||
|
"label": "Teknologi Digital",
|
||||||
|
"tagline": {
|
||||||
|
"code": "Code",
|
||||||
|
"network": "Network",
|
||||||
|
"system": "System",
|
||||||
|
"title": "Building systems, fixing chaos"
|
||||||
|
},
|
||||||
|
"description": "Membangun aplikasi web, sistem backend, dan infrastruktur yang andal untuk solusi digital yang praktis.",
|
||||||
|
"focus": {
|
||||||
|
"label": "Fokus",
|
||||||
|
"title": "Apa yang saya bangun."
|
||||||
|
},
|
||||||
|
"expertise": {
|
||||||
|
"web": {
|
||||||
|
"title": "Pengembangan Web",
|
||||||
|
"desc": "Aplikasi web modern"
|
||||||
|
},
|
||||||
|
"backend": {
|
||||||
|
"title": "Backend",
|
||||||
|
"desc": "API & sistem"
|
||||||
|
},
|
||||||
|
"infrastructure": {
|
||||||
|
"title": "Infrastruktur",
|
||||||
|
"desc": "Jaringan & server"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"about": {
|
||||||
|
"badge": "Tentang Saya",
|
||||||
|
"name": "Dimas Fata",
|
||||||
|
"title": "Halo, Saya Dimas Fata",
|
||||||
|
|
||||||
|
"paragraph1": "Saya mahasiswa S1 Pendidikan Teknologi Informasi Universitas Negeri Surabaya yang tertarik pada pengembangan aplikasi, sistem backend, teknologi jaringan, dan infrastruktur.",
|
||||||
|
|
||||||
|
"paragraph2": "Sejak tahun 2024, saya telah mengerjakan berbagai proyek teknologi, mulai dari website dan dashboard hingga backend API dan implementasi jaringan komputer. Setiap proyek menjadi bagian dari proses saya untuk terus belajar, memecahkan masalah, dan membangun solusi yang dapat digunakan secara nyata."
|
||||||
|
},
|
||||||
|
|
||||||
|
"stats": {
|
||||||
|
"projectsCompleted": "Proyek Selesai",
|
||||||
|
"projectsOnline": "Proyek Online",
|
||||||
|
"websites": "Website",
|
||||||
|
"backendApis": "Backend API"
|
||||||
|
},
|
||||||
|
|
||||||
|
"services": {
|
||||||
|
"badge": "Layanan",
|
||||||
|
"title": "Layanan yang Saya Tawarkan",
|
||||||
|
"description": "Berbagai layanan teknologi untuk membantu membangun, mengembangkan, dan menjaga sistem digital sesuai kebutuhan.",
|
||||||
|
|
||||||
|
"items": {
|
||||||
|
"web": {
|
||||||
|
"title": "Web Development",
|
||||||
|
"description": "Pembuatan website modern, cepat, responsif, dan sesuai kebutuhan pengguna.",
|
||||||
|
|
||||||
|
"features": {
|
||||||
|
"companyProfile": "Company Profile",
|
||||||
|
"landingPage": "Landing Page",
|
||||||
|
"dashboard": "Dashboard Admin",
|
||||||
|
"api": "Backend API"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"network": {
|
||||||
|
"title": "Network Support",
|
||||||
|
"description": "Dukungan jaringan komputer untuk membantu menjaga konektivitas sistem.",
|
||||||
|
|
||||||
|
"features": {
|
||||||
|
"mikrotik": "MikroTik",
|
||||||
|
"vlan": "",
|
||||||
|
"routing": "Routing",
|
||||||
|
"troubleshooting": "Troubleshooting"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"hosting": {
|
||||||
|
"title": "Hosting & Deployment",
|
||||||
|
"description": "Membantu aplikasi dan website online dengan konfigurasi server yang optimal dan aman.",
|
||||||
|
|
||||||
|
"features": {
|
||||||
|
"vps": "VPS",
|
||||||
|
"domain": "",
|
||||||
|
"configuration": "Konfigurasi Server"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"projects": {
|
||||||
|
"badge": "Portfolio",
|
||||||
|
"title": "Proyek Pilihan",
|
||||||
|
"description": "Beberapa proyek yang pernah saya kerjakan.",
|
||||||
|
|
||||||
|
"ctaText": "Ingin melihat lebih banyak proyek yang pernah saya kerjakan?",
|
||||||
|
"ctaButton": "Lihat Semua Portfolio",
|
||||||
|
|
||||||
|
"maintenance": {
|
||||||
|
"title": "Portfolio Akan Segera Hadir",
|
||||||
|
"description": "Saat ini saya sedang mempersiapkan dokumentasi proyek dan demo aplikasi agar dapat ditampilkan secara lebih lengkap dan informatif."
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"contact": {
|
||||||
|
"badge": "Mari Bekerja Sama",
|
||||||
|
|
||||||
|
"title": "Siap Membantu Mewujudkan Proyek Digital Anda",
|
||||||
|
|
||||||
|
"description": "Saya terbuka untuk pengembangan website, backend API, support jaringan, maupun maintenance aplikasi yang sudah berjalan.",
|
||||||
|
|
||||||
|
"role": "Web Developer & Network Support",
|
||||||
|
|
||||||
|
"education": "S1 Pendidikan Teknologi Informasi (UNESA)",
|
||||||
|
|
||||||
|
"freelance": "Tersedia untuk Proyek Freelance",
|
||||||
|
|
||||||
|
"email": "Email",
|
||||||
|
"whatsapp": "WhatsApp",
|
||||||
|
"telegram": "Telegram",
|
||||||
|
|
||||||
|
"website": "Website Development",
|
||||||
|
"backend": "Backend API",
|
||||||
|
"network": "Network Support",
|
||||||
|
"maintenance": "Maintenance",
|
||||||
|
|
||||||
|
"contactButton": "Hubungi Saya",
|
||||||
|
"projectButton": "Lihat Proyek",
|
||||||
|
"whatsappMessage": "Halo DifarFT, saya tertarik menggunakan jasa pengembangan website. Saya ingin berkonsultasi mengenai kebutuhan dan konsep website yang ingin saya buat."
|
||||||
|
},
|
||||||
|
|
||||||
|
"techStack": {
|
||||||
|
"badge": "Tech Stack",
|
||||||
|
|
||||||
|
"title": "Teknologi yang Saya Gunakan",
|
||||||
|
|
||||||
|
"description": "Berbagai teknologi yang saya gunakan dalam mengembangkan aplikasi, backend, serta sistem jaringan dan infrastruktur.",
|
||||||
|
|
||||||
|
"frontend": "Frontend",
|
||||||
|
"backend": "Backend",
|
||||||
|
"database": "Database",
|
||||||
|
"infrastructure": "Jaringan & Infrastruktur"
|
||||||
|
},
|
||||||
|
|
||||||
|
"footer": {
|
||||||
|
"description": "Dimas Fata, seorang Web Developer dan Network Support yang mengerjakan pengembangan website, backend API, dan infrastruktur jaringan.",
|
||||||
|
|
||||||
|
"navigation": "Navigasi",
|
||||||
|
|
||||||
|
"nav": {
|
||||||
|
"home": "Beranda",
|
||||||
|
"about": "Tentang",
|
||||||
|
"services": "Layanan",
|
||||||
|
"projects": "Proyek",
|
||||||
|
"contact": "Kontak"
|
||||||
|
},
|
||||||
|
|
||||||
|
"contact": "Kontak",
|
||||||
|
|
||||||
|
"services": {
|
||||||
|
"web": "Web Development",
|
||||||
|
"backend": "Backend API",
|
||||||
|
"network": "Network Support"
|
||||||
|
},
|
||||||
|
|
||||||
|
"copyright": "All rights reserved"
|
||||||
|
},
|
||||||
|
|
||||||
|
"projectsPage": {
|
||||||
|
"filterTitle": "Filter Project",
|
||||||
|
"filterDescription": "Temukan project berdasarkan kategori dan teknologi yang digunakan.",
|
||||||
|
"categories": "Kategori",
|
||||||
|
"technologies": "Teknologi",
|
||||||
|
"showing": "Menampilkan",
|
||||||
|
"of": "dari",
|
||||||
|
"projects2": "project",
|
||||||
|
"resetFilter": "Reset Filter",
|
||||||
|
"emptyTitle": "Project tidak ditemukan",
|
||||||
|
"emptyDescription": "Coba ubah atau reset filter yang dipilih untuk melihat project lainnya."
|
||||||
|
},
|
||||||
|
|
||||||
|
"maintenance": {
|
||||||
|
"status": "Dalam pemeliharaan",
|
||||||
|
"title": "Sistem sedang diperbarui",
|
||||||
|
"description": "Website sedang menjalani maintenance untuk meningkatkan performa, keamanan, dan stabilitas sistem. Silakan kembali beberapa saat lagi.",
|
||||||
|
"system": "Sistem",
|
||||||
|
"systemValue": "Maintenance",
|
||||||
|
"statusLabel": "Status",
|
||||||
|
"statusValue": "In Progress",
|
||||||
|
"backHome": "Kembali ke Beranda",
|
||||||
|
"retry": "Coba Lagi"
|
||||||
|
},
|
||||||
|
|
||||||
|
"error": {
|
||||||
|
"system": "Sistem",
|
||||||
|
"status": "Error",
|
||||||
|
"code": "Kode Error",
|
||||||
|
"backHome": "Kembali ke Beranda",
|
||||||
|
"retry": "Coba Lagi",
|
||||||
|
|
||||||
|
"notFound": {
|
||||||
|
"title": "Halaman tidak ditemukan",
|
||||||
|
"description": "Halaman yang Anda cari tidak tersedia atau mungkin telah dipindahkan."
|
||||||
|
},
|
||||||
|
|
||||||
|
"forbidden": {
|
||||||
|
"title": "Akses ditolak",
|
||||||
|
"description": "Anda tidak memiliki izin untuk mengakses halaman atau resource ini."
|
||||||
|
},
|
||||||
|
|
||||||
|
"server": {
|
||||||
|
"title": "Terjadi kesalahan pada server",
|
||||||
|
"description": "Server mengalami masalah saat memproses permintaan. Silakan coba lagi beberapa saat."
|
||||||
|
},
|
||||||
|
|
||||||
|
"default": {
|
||||||
|
"title": "Terjadi kesalahan",
|
||||||
|
"description": "Terjadi masalah saat memproses permintaan Anda. Silakan coba lagi."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,87 @@
|
||||||
|
import tailwindcss from "@tailwindcss/vite";
|
||||||
|
|
||||||
|
export default defineNuxtConfig({
|
||||||
|
app: {
|
||||||
|
head: {
|
||||||
|
meta: [
|
||||||
|
{
|
||||||
|
charset: "utf-8",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "viewport",
|
||||||
|
content: "width=device-width, initial-scale=1",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "author",
|
||||||
|
content: "Dimas Fata",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
link: [
|
||||||
|
{
|
||||||
|
rel: "icon",
|
||||||
|
type: "image/x-icon",
|
||||||
|
href: "/favicon.ico",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
compatibilityDate: "2026-06-03",
|
||||||
|
|
||||||
|
modules: [
|
||||||
|
"@nuxtjs/color-mode",
|
||||||
|
"@nuxtjs/i18n",
|
||||||
|
"@nuxtjs/sitemap",
|
||||||
|
"@nuxtjs/robots",
|
||||||
|
],
|
||||||
|
|
||||||
|
css: ["~/assets/css/main.css"],
|
||||||
|
|
||||||
|
vite: {
|
||||||
|
plugins: [tailwindcss()],
|
||||||
|
},
|
||||||
|
|
||||||
|
sitemap: {
|
||||||
|
autoLastmod: true,
|
||||||
|
},
|
||||||
|
|
||||||
|
robots: {
|
||||||
|
sitemap: ["https://difarft.com/sitemap.xml"],
|
||||||
|
groups: [
|
||||||
|
{
|
||||||
|
userAgent: "*",
|
||||||
|
allow: "/",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
|
||||||
|
colorMode: {
|
||||||
|
preference: "dark",
|
||||||
|
fallback: "dark",
|
||||||
|
classSuffix: "",
|
||||||
|
},
|
||||||
|
|
||||||
|
i18n: {
|
||||||
|
strategy: "prefix_except_default",
|
||||||
|
defaultLocale: "id",
|
||||||
|
|
||||||
|
locales: [
|
||||||
|
{
|
||||||
|
code: "id",
|
||||||
|
name: "Indonesia",
|
||||||
|
file: "id.json",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
code: "en",
|
||||||
|
name: "English",
|
||||||
|
file: "en.json",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
|
||||||
|
langDir: "locales",
|
||||||
|
|
||||||
|
detectBrowserLanguage: false,
|
||||||
|
|
||||||
|
baseUrl: "https://difarft.com",
|
||||||
|
},
|
||||||
|
} );
|
||||||
|
|
@ -0,0 +1,35 @@
|
||||||
|
{
|
||||||
|
"name": "difarft",
|
||||||
|
"type": "module",
|
||||||
|
"private": true,
|
||||||
|
"scripts": {
|
||||||
|
"build": "nuxt build",
|
||||||
|
"dev": "nuxt dev",
|
||||||
|
"generate": "nuxt generate",
|
||||||
|
"preview": "nuxt preview",
|
||||||
|
"postinstall": "nuxt prepare"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"@iconify/vue": "^5.0.3",
|
||||||
|
"@nuxt/image": "^2.1.0",
|
||||||
|
"@nuxtjs/color-mode": "^4.0.0",
|
||||||
|
"@nuxtjs/i18n": "^10.4.0",
|
||||||
|
"@nuxtjs/robots": "^6.0.9",
|
||||||
|
"@nuxtjs/sitemap": "^8.0.15",
|
||||||
|
"dotenv": "^17.4.2",
|
||||||
|
"gsap": "^3.15.0",
|
||||||
|
"lucide-vue-next": "^1.0.0",
|
||||||
|
"nuxt": "^4.4.6",
|
||||||
|
"vue": "^3.5.34",
|
||||||
|
"vue-router": "^5.0.7"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@tailwindcss/vite": "^4.3.0",
|
||||||
|
"@types/node": "^25.9.2",
|
||||||
|
"autoprefixer": "^10.5.0",
|
||||||
|
"postcss": "^8.5.15",
|
||||||
|
"tailwindcss": "^4.3.0",
|
||||||
|
"typescript": "^6.0.3",
|
||||||
|
"vue-tsc": "^3.3.3"
|
||||||
|
}
|
||||||
|
}
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,4 @@
|
||||||
|
allowBuilds:
|
||||||
|
'@parcel/watcher': false
|
||||||
|
esbuild: true
|
||||||
|
sharp: false
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 49 KiB |
|
|
@ -0,0 +1,2 @@
|
||||||
|
User-Agent: *
|
||||||
|
Disallow:
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 140 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 895 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 53 KiB |
|
|
@ -0,0 +1,13 @@
|
||||||
|
/** @type {import('tailwindcss').Config} */
|
||||||
|
export default {
|
||||||
|
content: [
|
||||||
|
"./components/**/*.{vue,js,ts}",
|
||||||
|
"./layouts/**/*.vue",
|
||||||
|
"./pages/**/*.vue",
|
||||||
|
"./app.vue",
|
||||||
|
],
|
||||||
|
theme: {
|
||||||
|
extend: {},
|
||||||
|
},
|
||||||
|
plugins: [],
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,18 @@
|
||||||
|
{
|
||||||
|
// https://nuxt.com/docs/guide/concepts/typescript
|
||||||
|
"files": [],
|
||||||
|
"references": [
|
||||||
|
{
|
||||||
|
"path": "./.nuxt/tsconfig.app.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "./.nuxt/tsconfig.server.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "./.nuxt/tsconfig.shared.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "./.nuxt/tsconfig.node.json"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue