Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
Adds bio and show hide functionality
  • Loading branch information
telemetry committed Jun 16, 2024
1 parent 157c4f5 commit 6c0e9b6
Showing 1 changed file with 33 additions and 3 deletions.
36 changes: 33 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@
color: orchid;
}

a.bio-link {
cursor: pointer;
}


.bio {
display: none;
}


body {
margin: 0;
Expand Down Expand Up @@ -63,12 +72,22 @@
}
</style>

<body>
<body onload="showBio()">

<div class="row">
<div class="header">
<h1>Small Victories</h1>
<p>Photography by <a href="https://terrygillespie.com">Terrence Gillespie</a></p>
<p>Photography by Terrence Gillespie. <a class="bio-link" onclick="showBio()">View Biography</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 in Souh East Queensland, Australia</p>
</div>
<div class="column">
<img src="img/00.jpg" style="width:100%" />
Expand All @@ -87,9 +106,20 @@ <h1>Small Victories</h1>
<img src="img/15.jpg" style="width:100%" />
</div>
<div class="footer">
<p><a href="mailto:" [email protected]">Contact</a> for prints, zines &amp; enquiries.</p>
<p><a href="mailto:[email protected]">Contact Terrence</a> for prints, zines &amp; enquiries.</p>
<p>Small Victories | 2004 - 2024</p>
<p>&copy; <a href="https://terrygillespie.com">Terrence Gillespie</a>
</body>

<script>
function showBio() {
var x = document.getElementById("biography");
if (x.style.display === "none") {
x.style.display = "block";
} else {
x.style.display = "none";
}
}
</script>

</html>

0 comments on commit 6c0e9b6

Please sign in to comment.