From af54cdb9228ccab6dcc1767e05b88a5bf5809783 Mon Sep 17 00:00:00 2001 From: testuser Date: Sun, 15 Jun 2025 18:11:33 +0530 Subject: modified many files --- content/_index.md | 94 +++++++++++++++++++++--------- hugo.toml | 7 +++ layouts/index.html | 40 +++++++++++++ layouts/partials/about.html | 13 +++++ layouts/partials/head.html | 9 +++ layouts/partials/instructions.html | 22 +++++++ layouts/partials/link-card.html | 17 ++++++ layouts/partials/messaging-etiquette.html | 14 +++++ layouts/partials/profile.html | 22 +++++++ layouts/partials/spotify-playlist.html | 11 ++++ static/images/img.jpg | Bin 0 -> 259009 bytes 11 files changed, 220 insertions(+), 29 deletions(-) create mode 100644 layouts/index.html create mode 100644 layouts/partials/about.html create mode 100644 layouts/partials/head.html create mode 100644 layouts/partials/instructions.html create mode 100644 layouts/partials/link-card.html create mode 100644 layouts/partials/messaging-etiquette.html create mode 100644 layouts/partials/profile.html create mode 100644 layouts/partials/spotify-playlist.html create mode 100644 static/images/img.jpg diff --git a/content/_index.md b/content/_index.md index 7f63ddb..cdb73ec 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,42 +1,78 @@ +--- title: "My Personal Website" -#profileImage: "images/img.jpg" -name: "Hitesh" +# Profile settings +profileImage: "images/img.jpg" # path under static/ +name: "Hitesh Aggarwal" description: "Software Developer" socials: - - url: "mailto:sometestmail@gmail.com" - icon: "fab fa-gmail" -# ... -# messaging: -# title: "Messaging Etiquette" -# items: -# - icon: "fas fa-check-circle" -# color: "text-green-400" -# text: "Your guideline here." -# ... -about: - title: "About Me" - sections: - - heading: "Professional Background" - content: "Software Developer" -# ... -links: - - href: "https://github.com/hitesh-aggarwal" + - url: "https://github.com/hitesh-aggarwal" icon: "fab fa-github" - title: "GitHub" - description: "Explore my projects" + - url: "mailto:haggarwal@proton.me" + icon: "fas fa-envelope" + +# You can add as many links as you want! + +# Link cards +links: + - href: "https://devlearnings.xyz" + icon: "fas fa-globe" + title: "Personal Website" + description: "My Website" + - href: "https://cgit.devlearnings.xyz" + icon: "fab fa-git" + title: "Cgit" + description: "Explore my self hosted repos" - href: "https://picoshare.devlearnings.xyz" + icon: "fas fa-share" title: "Picoshare" description: "Share files seamlessly" - href: "https://radicale.devlearnings.xyz" + icon: "fas fa-calendar" title: "Radicale" description: "CalDav Server" - - href: "https://bin.devlearnings.xyz" - title: "Pastebin" - description: "Minimal Pastebin" - href: "https://fusion.devlearnings.xyz" + icon: "fas fa-rss" title: "Fusion" description: "RSS reader" - - href: "https://cgit.devlearnings.xyz" - title: "Cgit" - description: "Explore my projects" -# ... + - href: "https://bin.devlearnings.xyz" + icon: "fas fa-clipboard" + title: "Bin" + description: "A minimal pastebin" + +# Spotify playlist embed. You can add embed by rigth clicking on your spotify playlist -> Share -> Copy embed. After copying the embed, replace it with the iframe below. +#spotifyPlaylist: +# iframe: '' +# +## Messaging Etiquette. You can add new rules as per your needs. +#messaging: +# title: "Messaging Etiquette" +# items: +# - icon: "fas fa-check-circle" +# color: "text-green-400" +# text: "Please include context about why you're reaching out and how I can help." +# - icon: "fas fa-check-circle" +# color: "text-green-400" +# text: "For collaboration requests, include details about the project scope and timeline." +# - icon: "fas fa-check-circle" +# color: "text-green-400" +# text: "I typically respond within 2-3 business days for professional inquiries." +# - icon: "fas fa-times-circle" +# color: "text-red-400" +# text: "Please don't send unsolicited sales pitches or recruitment messages." + + +# REMOVE "How to Customize This Page" section by removing the line "{{ partial "Instructions.html" . }}" in index.html file under layouts/ + + +# About section (optional section) + +# about: +# title: "About Me" +# sections: +# - heading: "Professional Background" +# content: "I'm a full-stack developer with 5+ years of experience building web applications. Specialized in JavaScript frameworks and cloud architecture." +# # - heading: "Current Focus" +# # content: "Currently working on open-source tools to improve developer productivity and accessibility in web development." +# # - heading: "Personal Interests" +# # content: "When not coding, I enjoy photography, hiking, and contributing to local tech communities through mentorship programs." +--- diff --git a/hugo.toml b/hugo.toml index e18e069..6a8fe78 100644 --- a/hugo.toml +++ b/hugo.toml @@ -2,3 +2,10 @@ baseURL = 'https://devlearnings.xyz/' languageCode = 'en-in' title = 'My Personal Website.' theme = 'LucentLink-Hugo' + +[params] + description = "A clean, customizable, and responsive Linktree-style landing page built using HTML, Tailwind CSS, and Font Awesome." + googleAnalytics = "" # your GA ID, if any + +[outputs] + home = ["HTML"] diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..b7afe0f --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,40 @@ + + + {{ partial "head.html" . }} + + +
+ +
+ + {{ partial "profile.html" . }} + + + {{ partial "link-card.html" . }} + + + + + + + + + + + + + + {{ partial "about.html" . }} + + + + +
+ © 2025 LucentLink | Made with ❤️ +
+ +
+ + + + diff --git a/layouts/partials/about.html b/layouts/partials/about.html new file mode 100644 index 0000000..8d739f1 --- /dev/null +++ b/layouts/partials/about.html @@ -0,0 +1,13 @@ +{{ with .Params.about }} +
+

{{ .title }}

+
+ {{ range .sections }} +
+

{{ .heading }}

+

{{ .content }}

+
+ {{ end }} +
+
+{{ end }} \ No newline at end of file diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100644 index 0000000..f100897 --- /dev/null +++ b/layouts/partials/head.html @@ -0,0 +1,9 @@ + + + + {{ .Site.Title }} + + + + + diff --git a/layouts/partials/instructions.html b/layouts/partials/instructions.html new file mode 100644 index 0000000..6c13acc --- /dev/null +++ b/layouts/partials/instructions.html @@ -0,0 +1,22 @@ +
+

How to Customize This Page

+
+
+

Adding New Links

+

Copy one of the link cards and update the href, icon, title, and description.

+
+
+

Changing Icons

+

Replace the Font Awesome class (e.g., 'fa-twitter') with any icon from Font Awesome.

+
+
+

Updating Profile

+

Edit the profile section at the top with your name, bio, and profile image URL.

+
+
+

Theme Colors

+

Modify the Tailwind color classes (e.g., 'bg-blue-400') to match your brand.

+
+
+
diff --git a/layouts/partials/link-card.html b/layouts/partials/link-card.html new file mode 100644 index 0000000..8440fa8 --- /dev/null +++ b/layouts/partials/link-card.html @@ -0,0 +1,17 @@ +
+ + {{ range .Params.links }} + + +
+ +
+
+

{{ .title }}

+

{{ .description }}

+
+
+ + {{ end }} + +
\ No newline at end of file diff --git a/layouts/partials/messaging-etiquette.html b/layouts/partials/messaging-etiquette.html new file mode 100644 index 0000000..7e7be95 --- /dev/null +++ b/layouts/partials/messaging-etiquette.html @@ -0,0 +1,14 @@ +
+

{{ .Params.messaging.title }}

+
+ {{ range .Params.messaging.items }} +
+
+ +
+

{{ .text }}

+
+ {{ end }} +
+
diff --git a/layouts/partials/profile.html b/layouts/partials/profile.html new file mode 100644 index 0000000..d018103 --- /dev/null +++ b/layouts/partials/profile.html @@ -0,0 +1,22 @@ +{{/* layouts/partials/profile.html */}} +
+ {{ with .Params.profileImage }} + {{/* strip leading “/” if present, otherwise leave as-is */}} + {{ $img := replaceRE "^/" "" . }} + {{ $.Params.name }} + {{ end }} +

+ {{ .Params.name }} +

+

{{ .Params.description }}

+ + +
\ No newline at end of file diff --git a/layouts/partials/spotify-playlist.html b/layouts/partials/spotify-playlist.html new file mode 100644 index 0000000..fea9c52 --- /dev/null +++ b/layouts/partials/spotify-playlist.html @@ -0,0 +1,11 @@ +{{/* layouts/partials/spotify-playlist.html */}} +{{ with .Params.spotifyPlaylist.iframe }} +
+
+ +

My Spotify Playlist

+
+ {{ . | safeHTML }} +
+{{ end }} \ No newline at end of file diff --git a/static/images/img.jpg b/static/images/img.jpg new file mode 100644 index 0000000..26002d4 Binary files /dev/null and b/static/images/img.jpg differ -- cgit v1.2.3