Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .eleventy.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
const yaml = require("js-yaml");

module.exports = function (eleventyConfig) {
eleventyConfig.addShortcode("currentYear", function () {
return new Date().getFullYear();
});
// Add this line to copy your external assets
eleventyConfig.addPassthroughCopy("src/assets");
// 1. Recognize YAML as a template format
Expand Down
6 changes: 1 addition & 5 deletions src/_includes/bio.njk
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,8 @@
<title>{{ name }} | {{ role }}</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="/assets/css/style.css">
<script>
const saved = localStorage.getItem('theme');
if (saved === 'dark') document.documentElement.classList.add('dark');
</script>
</head>
<body class="min-h-screen">
<body class="min-h-screen scroll-smooth bg-[var(--bg-page)] text-[var(--text-main)] transition-colors duration-300"">

{% include "header.njk" %}

Expand Down
2 changes: 1 addition & 1 deletion src/_includes/footer.njk
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</p>

<p class="mt-1 text-[var(--text-muted)] text-[10px] font-mono uppercase tracking-[0.15em]">
&copy; <span id="current-year">2026</span> Built with
&copy; <span id="current-year">{% currentYear %}</span> Built with
<span id="footer-heart" class="transition-colors duration-500">❤️</span>
by the Open-Source Community
</p>
Expand Down
Binary file added src/assets/img/next.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 0 additions & 5 deletions src/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,6 @@ layout: false
</div>
</main>

<div id="matrix-overlay" class="fixed inset-0 bg-black hidden z-[9999]">
<canvas id="matrix-canvas"></canvas>
<button onclick="closeMatrix()" class="fixed top-8 right-8 z-[10000] bg-white/10 text-white px-4 py-2 rounded-full border border-white/20 backdrop-blur-md text-xs">EXIT [ESC]</button>
</div>

{% include "footer.njk" %}

</body>
Expand Down