-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
82 lines (74 loc) · 3.12 KB
/
index.html
File metadata and controls
82 lines (74 loc) · 3.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sage Brielle</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="portfolio.css">
<link rel="stylesheet" href="modal-styles.css">
</head>
<body>
<nav class="nav">
<div class="nav-container">
<a href="index.html" class="nav-logo">Sage Brielle</a>
<div class="nav-links">
<a href="work.html">Work</a>
<a href="blog.html">Blog</a>
<a href="about.html">About</a>
<a href="#contact">Contact</a>
</div>
</div>
</nav>
<header class="hero">
<h1>Sage Brielle</h1>
<p>Creating at the intersection of art and technology</p>
</header>
<section class="portfolio" id="portfolio">
<h2>Featured Work</h2>
<div class="portfolio-grid" id="featuredProjects">
<!-- Projects will be loaded here dynamically -->
<div class="loading">Loading projects...</div>
</div>
<div class="view-all" style="text-align: center; margin-top: 1.5rem;">
<a href="work.html" class="cta-button">View All Projects</a>
</div>
</section>
<section class="about" id="about">
<p>I'm a blossoming technical artist utilizing my makeup experience to create immersive digital artwork and tools. My work combines programming, mathematics, and artistic vision to create unique visual experiences.</p>
</section>
<section class="contact" id="contact">
<h2>Get In Touch</h2>
<p>Interested in collaboration or have a project in mind? Let's talk!</p>
<a href="mailto:sage.ebert@colorado.edu" class="cta-button">Contact Me</a>
</section>
<script src="projects.js"></script>
<script>
// Load and display featured projects
async function loadFeaturedProjects() {
await projectManager.loadProjects();
const featured = projectManager.getFeaturedProjects();
const container = document.getElementById('featuredProjects');
if (featured.length === 0) {
container.innerHTML = '<p>No featured projects available.</p>';
return;
}
container.innerHTML = featured.map(project => {
return `
<a href="#" onclick="event.preventDefault(); projectManager.showProjectModal('${project.id}');">
${projectManager.renderProjectCard(project)}
</a>
`;
}).join('');
}
// Initialize when DOM is ready
if (document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded', loadFeaturedProjects);
} else {
loadFeaturedProjects();
}
</script>
</body>
</html>