-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
92 lines (86 loc) · 3.89 KB
/
index.html
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
83
84
85
86
87
88
89
90
91
92
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Camile's Portfolio</title>
<script src="https://cdn.tailwindcss.com"></script>
<link href="styles.css" rel="stylesheet">
</head>
<body class="bg-cream min-h-screen">
<main class="container mx-auto px-4 py-12 max-w-3xl">
<div class="flex flex-col items-center gap-8">
<!-- Profile Image Section -->
<div class="w-48 h-48 md:w-64 md:h-64">
<img
src="img/glove.png"
alt="Profile picture"
class="rounded-full w-full h-full object-cover border-4 border-sage shadow-lg"
>
</div>
<!-- Bio Section -->
<div class="text-center max-w-md">
<h1 class="text-3xl font-bold mb-4 text-gray-800">Hi, I'm Camile</h1>
<p class="text-lg text-gray-600 leading-relaxed">
A first year student in Connective Media program in Cornell Tech
<br>
A software developer.
<br>
A Muay Thai practitioner.
</p>
</div>
<!-- More About Me Section -->
<div class="text-center max-w-md">
<h2 class="text-2xl font-bold mb-4 text-gray-800">More About Me</h2>
<p class="text-lg text-gray-600 leading-relaxed">
I'm interested in full stack development.
Here's my <a href="https://www.linkedin.com/in/camit/" class="text-sage hover:underline">LinkedIn page</a>.
Connect me if you like :)
</p>
</div>
<!-- Cool Techniques Section -->
<div class="text-center max-w-md w-full">
<h2 class="text-2xl font-bold mb-4 text-gray-800">Cool Techniques</h2>
<details class="text-gray-700 cursor-pointer">
<summary class="font-medium hover:text-sage transition-colors">
Click to learn some cool Muay Thai techniques
</summary>
<ul class="mt-3 ml-4 list-disc space-y-2 text-left">
<li>Teep (Thai Push Kick) - A powerful front kick used to create distance</li>
<li>Khao Kong (Flying Knee) - An explosive jumping knee strike</li>
<li>Sok Klap (Spinning Elbow) - A devastating close-range spinning elbow strike</li>
<li>Tae Kon (Axe Kick) - A downward strike with the heel of the foot</li>
</ul>
</details>
</div>
<!-- Random Fox Section -->
<div class="text-center max-w-md w-full">
<h2 class="text-2xl font-bold mb-4 text-gray-800">Random Fox!</h2>
<div id="fox-container" class="rounded-lg overflow-hidden shadow-lg">
<img id="fox-image" src="" alt="Random fox" class="w-full h-64 object-cover">
</div>
<button
onclick="loadNewFox()"
class="fox-button mt-4 px-4 py-2 bg-black text-white rounded hover:opacity-90"
>
Get New Fox
</button>
</div>
</div>
</main>
<script>
async function loadNewFox() {
try {
const response = await fetch('https://randomfox.ca/floof/');
const data = await response.json();
const foxImage = document.getElementById('fox-image');
foxImage.src = data.image;
} catch (error) {
console.error('Error loading fox:', error);
}
}
// Load initial fox image when page loads
loadNewFox();
</script>
</body>
</html>