-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds bio and show hide functionality
- Loading branch information
Showing
1 changed file
with
33 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,15 @@ | |
color: orchid; | ||
} | ||
|
||
a.bio-link { | ||
cursor: pointer; | ||
} | ||
|
||
|
||
.bio { | ||
display: none; | ||
} | ||
|
||
|
||
body { | ||
margin: 0; | ||
|
@@ -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%" /> | ||
|
@@ -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 & enquiries.</p> | ||
<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> | ||
</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> |