File size: 1,614 Bytes
7d64a6c
 
 
 
 
d5c3317
7d64a6c
d5c3317
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7d64a6c
 
d5c3317
 
 
 
 
 
 
 
 
 
 
7d64a6c
d5c3317
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
<!doctype html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width" />
		<title>AI Portfolio on Huggingface</title>
		<link rel="stylesheet" href="style.css" />
		<script>
			document.addEventListener("DOMContentLoaded", function () {
				fetch("projects.json")
					.then((response) => response.json())
					.then((data) => {
						const projects = data;
						const projectsContainer = document.getElementById("projects");
						projects.forEach((project) => {
							const projectCard = document.createElement("section");
							projectCard.classList.add("project-card");
							const title = document.createElement("h2");
							title.textContent = project.title;
							const description = document.createElement("p");
							description.textContent = project.description;
							const link = document.createElement("a");
							link.href = project.link;
							link.target = "_blank";
							link.textContent = "View Project";
							
							projectCard.appendChild(title);
							projectCard.appendChild(description);
							projectCard.appendChild(link);

							projectsContainer.appendChild(projectCard);
						});

      				});
			});


		</script>
	</head>
	<body>
		<header>
			<h1>Welcome to My AI Portfolio</h1>
			<p>Discover my projects and experiments with Artificial Intelligence on Huggingface.</p>
		</header>
		<article id="projects">
		</article>
		<footer>
			<a href="https://www.linkedin.com/in/sebdg/" target="_blank">
				<img src="linkedin.png" width="24" alt="LinkedIn Icon" />&nbsp; My LinkedIn Profile
			</a>
		</footer>
	</body>
</html>