summaryrefslogtreecommitdiffstats
path: root/themes/danix-xyz-hacker/layouts/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/danix-xyz-hacker/layouts/index.html')
-rw-r--r--themes/danix-xyz-hacker/layouts/index.html20
1 files changed, 14 insertions, 6 deletions
diff --git a/themes/danix-xyz-hacker/layouts/index.html b/themes/danix-xyz-hacker/layouts/index.html
index e9d2c39..ed151cb 100644
--- a/themes/danix-xyz-hacker/layouts/index.html
+++ b/themes/danix-xyz-hacker/layouts/index.html
@@ -1,6 +1,6 @@
{{ define "main" }}
<section class="min-h-[calc(100vh-200px)] flex items-center justify-center px-4 py-12">
- <div class="max-w-2xl w-full">
+ <div class="max-w-4xl w-full">
<!-- Profile Image (optional) -->
{{ if .Params.image }}
<div class="flex justify-center mb-8">
@@ -13,20 +13,28 @@
{{ end }}
<!-- Author Name -->
- <h1 class="text-4xl md:text-5xl font-bold text-accent text-center mb-4">
+<!-- <h1 class="text-4xl md:text-5xl font-bold text-accent text-center mb-4">
{{ .Site.Params.author }}
</h1>
-
+ -->
<!-- Bio (from page content) -->
- <div class="text-lg text-text-dim text-center mb-8 leading-relaxed prose prose-invert max-w-none">
+ <div class="text-xl text-text-dim text-center mb-8 leading-relaxed prose prose-invert max-w-none">
{{ .Content }}
</div>
<!-- Call-to-Action Buttons -->
<div class="flex flex-col sm:flex-row gap-4 justify-center">
+ {{ $lang := .Lang }}
+ {{ $articlesUrl := "/articles/" }}
+ {{ $contactUrl := "/is/here/" }}
+ {{ if eq $lang "it" }}
+ {{ $articlesUrl = "/it/articles/" }}
+ {{ $contactUrl = "/it/is/here/" }}
+ {{ end }}
+
<!-- Articles Button -->
<a
- href="/articles/"
+ href="{{ $articlesUrl }}"
class="px-8 py-3 bg-accent text-white rounded font-semibold hover:opacity-90 transition-opacity text-center"
>
{{ i18n "articles" }}
@@ -34,7 +42,7 @@
<!-- Contact Button -->
<a
- href="/is/here/"
+ href="{{ $contactUrl }}"
class="px-8 py-3 border-2 border-accent text-accent rounded font-semibold hover:bg-accent/10 transition-colors text-center"
>
{{ i18n "contact" }}