-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·71 lines (68 loc) · 2.58 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./index.css">
<title>Callum MacLeod</title>
<script>
fetch('aboutme.txt')
.then(response => response.text())
.then(text => document.getElementById('about-text').innerHTML = text)
</script>
</head>
<body>
<div id="navbar" class="home-nav">
<a href="#about-me">Home</a>
<a href="#contact-me">Contact</a>
<a href="#project">Project</a>
<a href="#experience">Experience</a>
</div>
<main>
<!-- About Me -->
<div id="about-me" class="about-section main-content">
<h2>About me</h2>
<div class = "divider"></div>
<div class="box ">
<div class="personal-image" id="img">
<img src="images/me.jpg">
</div>
<div class="about-me" id="txt">
<p id="about-text">
</p>
</div>
</div>
</div>
<div id="contact-me" class="contact-section main-content">
<h2>Socials</h2>
<div class = "divider" ></div>
<div class="box">
<a target="_blank" href="https://github.com/calmacleod/" class="shrink-border">
<span class="social-link">
<div class="image">
<img src="images/github_png.png">
</div>
<div class="text">
<p>
Github
</p>
</div>
</span>
</a>
<a target="_blank" href="https://www.linkedin.com/in/callum-macleod/">
<span class="social-link">
<div class="image">
<img src="images/linkedin.png">
</div>
<div class="text">
<p>
LinkedIn
</p>
</div>
</span>
</a>
</div>
</div>
</main>
</body>
</html>