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.html59
1 files changed, 0 insertions, 59 deletions
diff --git a/themes/danix-xyz-hacker/layouts/index.html b/themes/danix-xyz-hacker/layouts/index.html
deleted file mode 100644
index fd3cfa0..0000000
--- a/themes/danix-xyz-hacker/layouts/index.html
+++ /dev/null
@@ -1,59 +0,0 @@
-{{ define "main" }}
-<section class="min-h-[calc(100vh-200px)] flex items-center justify-center px-4 py-12">
- <div class="max-w-4xl w-full">
- <!-- Profile Image (optional) -->
- {{ if .Params.image }}
- <div class="flex justify-center mb-8">
- <img
- src="{{ .Params.image }}"
- alt="{{ .Site.Params.author }}"
- loading="lazy"
- class="w-32 h-32 md:w-48 md:h-48 rounded-full border-4 border-accent object-cover"
- >
- </div>
- {{ end }}
-
- <!-- Author Name -->
-<!-- <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-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 (Primary) -->
- <a
- href="{{ $articlesUrl }}"
- class="btn btn-primary btn-lg"
- >
- {{ i18n "articles" }}
- </a>
-
- <!-- Contact Button (Outline) -->
- <a
- href="{{ $contactUrl }}"
- class="btn btn-outline btn-lg"
- >
- {{ i18n "contact" }}
- </a>
- </div>
-
- <!-- Tag Cloud Section -->
- <div class="mt-16 pt-8 border-t border-border">
- {{ partial "tag-cloud.html" (dict "page" . "showCount" true "wrapInWidget" false) }}
- </div>
- </div>
-</section>
-{{ end }}