-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
145 lines (128 loc) · 4.4 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<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=Host+Grotesk:ital,wght@0,300..800;1,300..800&display=swap"
rel="stylesheet">
<title>Small Victories - Photography by Terrence Gillespie</title>
</head>
<style>
* {
box-sizing: border-box;
}
a {
color: hotpink;
text-decoration: none;
}
a:visited {
color: rebeccapurple;
text-decoration: none;
}
#bio-link {
cursor: pointer;
}
.bio {
display: none;
}
.bio p{
font-weight: 200;
}
body {
margin: 0;
font-family: "Host Grotesk", -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
font-optical-sizing: auto;
font-weight: 500;
font-style: normal;
}
.header {
text-align: left;
}
.column {
/* float: left;
width: 50%; */
}
.column img {
margin-top: 24px;
border-radius: 12px;
}
.row {
max-width: 40em;
margin: 0 auto;
padding: 10px;
}
/* Clear floats after the columns */
.row:after {
content: "";
display: table;
clear: both;
}
</style>
<body onload="showBio()">
<div class="row">
<div class="header">
<h1>Small Victories</h1>
<p>Photography by Terrence Gillespie. <a id="bio-link" onclick="losDos()">View Bio</a>.</p>
</div>
<div class="bio" id="biography">
<p>Born in Lima, Peru, Terrence was introduced to the camera at a young age & his first images mimicked
those of his maternal grandfather Pedro Paz.</p>
<p>Terrence's work explores themes of solitude, belonging and non-places - a term coined by Marc Augé which
refers to anthropological spaces of transience where human beings remain anonymous.</p>
<p>He lives & works on Kabi Kabi Country / South East Queensland, Australia.</p>
</div>
<div class="column">
<img src="img/01.jpg" style="width:100%" />
<img src="img/00.jpg" style="width:100%" />
<img src="img/02.jpg" style="width:100%" />
<img src="img/17.jpg" style="width:100%" />
<img src="img/04.jpg" style="width:100%" />
<img src="img/03.jpg" style="width:100%" />
<img src="img/05.jpg" style="width:100%" />
<img src="img/06.jpg" style="width:100%" />
<img src="img/19.jpg" style="width:100%" />
<img src="img/16.jpg" style="width:100%" />
<img src="img/09.jpg" style="width:100%" />
<img src="img/07.jpg" style="width:100%" />
<img src="img/10.jpg" style="width:100%" />
<img src="img/11.jpg" style="width:100%" />
<img src="img/12.jpg" style="width:100%" />
<img src="img/15.jpg" style="width:100%" />
<img src="img/14.jpg" style="width:100%" />
<img src="img/18.jpg" style="width:100%" />
<img src="img/13.jpg" style="width:100%" />
</div>
<div class="footer">
<p><a href="mailto:[email protected]">Contact Terrence</a> for prints, zines & enquiries.</p>
<p>Small Victories | 2004 - 2024</p>
<p>© <a href="https://terrygillespie.com">Terrence Gillespie</a> | <a
href="img/Terrence_Gillespie_Artist_CV.pdf">Artist CV</a></p>
</body>
<script>
// do both functions
function losDos() {
showBio();
switchCopy();
};
// show biography text
function showBio() {
var x = document.getElementById("biography");
if (x.style.display === "none") {
x.style.display = "block";
} else {
x.style.display = "none";
}
};
// change text on show and hide
function switchCopy() {
var x = document.getElementById("bio-link");
if (x.innerHTML === "View Bio") {
x.innerHTML = "Hide Bio";
} else {
x.innerHTML = "View Bio";
}
}
</script>
</html>