-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
97 lines (79 loc) · 3.13 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
93
94
95
96
97
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="description" content="Joe Beach's portfolio">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Joe Beach</title>
<link href="https://fonts.googleapis.com/css?family=Fira+Sans:100,300" rel="stylesheet">
<link rel="stylesheet" href="css/style.css">
<link rel="icon" type="image/x-icon" href="media/favicon.ico">
<script type="text/javascript" src="./js/lib/vue-2.6.14.js"></script>
</head>
<body>
<div id="app">
<header>
<div id="header-heading">
<h1 id="header-heading-title">Joe Beach</h1>
<p id="header-heading-subtitle">web developer</p>
<div id="icons">
<a v-for="icon in icons" :href="icon.url" target="_blank">
<img class="header-heading-icon" :src="icon.hover ? icon.dark : icon.light" :alt="icon.alt" @mouseenter="icon.hover = !icon.hover" @mouseleave="icon.hover = !icon.hover">
</a>
</div>
</div>
<div id="header-nav">
<button :class="{ current: section == 'code' }" @click="section = 'code'">Programming</button>
<button :class="{ current: section == 'music' }" @click="section = 'music'">Music</button>
<button :class="{ current: section == 'about' }" @click="section = 'about'">About</button>
</div>
</header>
<div class="content" id="code" v-if="section == 'code'" v-cloak>
<div class="content-item" v-for="entry in coding" :id="entry.id" @mouseenter="fadeBg(entry.id)" @mouseleave="unfadeBg(entry.id)">
<div class="content-item-part">
<a :href="entry.url" :target="entry.target" ><span class="content-item-part-title">{{ entry.title }}</span></a>
<p><a v-if="entry.gitHubUrl" :href="entry.gitHubUrl" target="_blank">GitHub</a></p>
<p>{{ entry.date }}</p>
</div>
<div class="content-item-part">
<span v-html="entry.description"></span>
<br><br>
{{ entry.tools }}
</div>
</div>
</div>
<div class="content" :class="{ higher: shrink }" id="music" v-if="section == 'music'" v-cloak>
<div class="content-item" v-for="entry in music" :id="entry.id" @mouseenter="fadeBg(entry.id)" @mouseleave="unfadeBg(entry.id)">
<div class="content-item-part">
<a :href="entry.url" target="_blank" ><span class="content-item-part-title">{{ entry.title }}</span></a>
</div>
<div class="content-item-part">
{{ entry.description }}
</div>
</div>
</div>
<div class="content" :class="{ higher: shrink }" id="about" v-if="section == 'about'" v-cloak>
<div class="content-item" id="about">
<div id="content-item-blurb">
<p>{{ blurb.intro }}</p>
<p>{{ blurb.main }}</p>
<br>
<div class="content-item-skill">
<span class="content-item-part-title"><u>Languages</u></span>
</div>
<div class="content-item-skill">
<p class="content-item-skill-p">{{ languages }}</p>
</div>
<div class="content-item-skill">
<span class="content-item-part-title"><u>Tools</u></span>
</div>
<div class="content-item-skill">
<p class="content-item-skill-p">{{ tools }}</p>
</div>
</div>
</div>
</div>
</div>
<script src="js/index.js"></script>
</body>
</html>