Skip to content
73 changes: 73 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="theme-color" content="#000000">
<title>Sean's Dev Tracker</title>
<link rel="stylesheet" href="style.css">
</head>
<body>

<nav class="navbar">
<div class="nav-content">
<div class="logo">Sean</div>
<div class="links">
<a href="#projects">Projects</a>
<a href="https://github.com" target="_blank">GitHub</a>
</div>
</div>
</nav>

<main class="page">
<header class="hero">
<h1>Dev Tracker</h1>
<p class="subtitle">Documenting the journey to software engineering.</p>
</header>

<section class="section">
<h2 class="section-title">Latest Activity</h2>
<div id="commits" class="commit-list">
</div>
</section>

<section class="section" id="projects">
<h2 class="section-title">Projects</h2>
<div class="projects-grid">
<a href="https://github.com" target="_blank" class="project-card">
<h3>Student Task Manager</h3>
<p>Simple task tracking system for students.</p>
<span class="card-arrow">→</span>
</a>

<a href="#" class="project-card">
<h3>Inventory Server</h3>
<p>Multiplayer socket server with inventory system.</p>
<span class="card-arrow">→</span>
</a>

<a href="#" class="project-card">
<h3>Dev Tracker</h3>
<p>This website tracking my GitHub progress.</p>
<span class="card-arrow">→</span>
</a>
</div>
</section>
</main>

<footer class="footer">
<div class="footer-content">
<div class="footer-left">
<p>&copy; 2026 Sean Joaquin. Built with precision.</p>
</div>
<div class="footer-right">
<a href="#">Back to top</a>
<a href="https://github.com" target="_blank">GitHub</a>
<a href="mailto:your@email.com">Contact</a>
</div>
</div>
</footer>

<script src="script.js"></script>
</body>
</html>
49 changes: 49 additions & 0 deletions script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
const username = "seanjoaquin";
const repo = "devlog1";

async function fetchCommits() {
const container = document.getElementById("commits");

try {
const response = await fetch(`https://api.github.com/repos/${username}/${repo}/commits`);
if (!response.ok) throw new Error('Fetch failed');

const data = await response.json();
container.innerHTML = "";

data.slice(0, 5).forEach((commit, index) => {
const div = document.createElement("div");
div.className = "commit";

// Smooth fade-up animation
div.style.animation = `fadeUp 0.6s cubic-bezier(0.2, 0, 0, 1) forwards ${index * 0.1}s`;
div.style.opacity = "0";

const message = commit.commit.message;
const date = new Date(commit.commit.author.date).toLocaleDateString(undefined, {
month: 'long', day: 'numeric', year: 'numeric'
});

div.innerHTML = `
<strong>${date}</strong>
<div style="margin-top: 8px; font-size: 16px;">${message}</div>
`;

container.appendChild(div);
});
} catch (error) {
container.innerHTML = `<p style="color: var(--subtext)">Unable to sync commits.</p>`;
}
}

// Inject animation keyframes
const styleSheet = document.createElement('style');
styleSheet.innerHTML = `
@keyframes fadeUp {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
`;
document.head.appendChild(styleSheet);

fetchCommits();
200 changes: 200 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,200 @@
:root {
--bg-top: #161617;
--bg-bottom: #000000;
--text: #f5f5f7;
--subtext: #86868b;
--accent: #0071e3;
--card: rgba(255, 255, 255, 0.04);
--border: rgba(255, 255, 255, 0.1);
--nav-bg: rgba(0, 0, 0, 0.75);
}

/* FIX: Ensure overscroll on Mac/iOS stays black */
html {
background-color: #000;
scroll-behavior: smooth;
}

* {
box-sizing: border-box;
-webkit-font-smoothing: antialiased;
}

body {
margin: 0;
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
color: var(--text);
background: radial-gradient(circle at 50% -20%, var(--bg-top) 0%, var(--bg-bottom) 80%);
background-attachment: fixed;
min-height: 100vh;
line-height: 1.47;
}

/* Grainy noise texture */
body::before {
content: "";
position: fixed;
top: 0; left: 0; width: 100%; height: 100%;
background-image: url("https://www.transparenttextures.com/patterns/noise.png");
opacity: 0.05;
pointer-events: none;
z-index: 1000;
}

/* Full-width Navigation */
.navbar {
position: sticky;
top: 0;
width: 100%;
height: 52px;
background: var(--nav-bg);
backdrop-filter: saturate(180%) blur(20px);
-webkit-backdrop-filter: saturate(180%) blur(20px);
border-bottom: 1px solid var(--border);
z-index: 100;
display: flex;
align-items: center;
}

.nav-content {
width: 100%;
padding: 0 4%;
display: flex;
justify-content: space-between;
align-items: center;
}

.logo { font-weight: 600; font-size: 19px; }

.links a {
color: var(--text);
opacity: 0.7;
text-decoration: none;
font-size: 13px;
margin-left: 30px;
transition: opacity 0.2s ease;
}

.links a:hover { opacity: 1; }

/* Hero */
.hero {
padding: 120px 22px 80px;
text-align: center;
}

h1 {
font-size: clamp(44px, 8vw, 80px);
font-weight: 700;
letter-spacing: -0.03em;
margin: 0;
background: linear-gradient(180deg, #ffffff 30%, #86868b 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

.subtitle {
font-size: clamp(18px, 3vw, 24px);
color: var(--subtext);
max-width: 600px;
margin: 20px auto 0;
}

/* Main Sections */
.section {
max-width: 1100px;
margin: 0 auto;
padding: 60px 22px;
}

.section-title {
font-size: 28px;
font-weight: 600;
margin-bottom: 30px;
}

/* Commit Cards */
.commit {
background: var(--card);
border: 1px solid var(--border);
padding: 20px;
border-radius: 14px;
margin-bottom: 16px;
backdrop-filter: blur(10px);
}

.commit strong {
font-size: 11px;
color: var(--accent);
text-transform: uppercase;
letter-spacing: 0.08em;
}

/* Projects Grid */
.projects-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 24px;
}

.project-card {
position: relative;
background: var(--card);
border: 1px solid var(--border);
padding: 40px 30px;
border-radius: 22px;
text-decoration: none;
color: var(--text);
backdrop-filter: blur(10px);
transition: all 0.4s cubic-bezier(0.15, 0, 0.15, 1);
}

.project-card:hover {
background: rgba(255,255,255,0.08);
transform: translateY(-8px);
border-color: rgba(255,255,255,0.3);
}

.project-card h3 { font-size: 24px; margin: 0 0 10px 0; }
.project-card p { color: var(--subtext); font-size: 16px; margin: 0; }

.card-arrow {
position: absolute;
bottom: 30px;
right: 30px;
opacity: 0;
transform: translateX(-10px);
transition: 0.3s;
}

.project-card:hover .card-arrow { opacity: 1; transform: translateX(0); }

/* Footer */
.footer {
margin-top: 100px;
padding: 40px 4%;
border-top: 1px solid var(--border);
background: #000;
}

.footer-content {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1100px;
margin: 0 auto;
}

.footer-left p { font-size: 12px; color: var(--subtext); margin: 0; }
.footer-right { display: flex; gap: 24px; }
.footer-right a { font-size: 12px; color: var(--subtext); text-decoration: none; transition: 0.2s; }
.footer-right a:hover { color: var(--text); }

/* Mobile Adjustments */
@media (max-width: 768px) {
.nav-content { padding: 0 24px; }
.hero { padding: 80px 20px; }
.projects-grid { grid-template-columns: 1fr; }
.footer-content { flex-direction: column; gap: 20px; text-align: center; }
}
Loading