-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
168 lines (152 loc) · 7.01 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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Cache-control" content="public">
<meta name="google-site-verification" content="YQdXYIX-WbU4-zbqV8oco9J91eu3JKNy5SKotui_3xc" />
<title>Julia Robinek</title>
<link rel="icon" type="image/svg+xml" href="Logos/Circle-small.svg">
<link rel="preload" href="menustyles.css" fetchpriority="high" as="style" onload="this.rel='stylesheet'">
<link rel="preload" href="indexstyles.css" as="style" onload="this.rel='stylesheet'">
<!--Facebook SEO (markup)-->
<meta property="og:type" content="website" />
<meta property="og:url" content="http://www.juliarobinek.com"/>
<meta property="og:title" content="Julia Robinek selected artworks"/>
<meta property="og:image" content="https://juliarobinek.github.io/art/WebImages/11-2023.jpg"/>
<meta property="og:site_name" content="Julia Robinek"/>
<meta property="og:description" content="Art paintings exploring the transient nature of existence"/>
<!-- Twitter SEO (markup)-->
<meta name="twitter:card" content="summary_large_image"/>
<meta name="twitter:description" content="Julia Robinek's art explores the transient nature of existence"/>
<meta name="twitter:title" content="Julia Robinek selected artworks"/>
<meta name="twitter:domain" content="http://www.juliarobinek.com"/>
<meta name="twitter:image:src" content="https://juliarobinek.github.io/art/WebImages/11-2023.jpg"/>
<!-- Google SEO (markup)-->
<meta itemprop="name" content="Julia Robinek">
<meta itemprop="description" content="Art paintings exploring the transient nature of existence">
<meta itemprop="image" content="https://juliarobinek.github.io/art/WebImages/11-2023.jpg">
<!--SEO Schema rich snippet-->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "VisualArtwork",
"name": "Relief",
"dateCreated": "2023",
"artform": "Acrylic on Canvas",
"image": "https://juliarobinek.github.io/art/work2023.html#dog12",
"description": "Painted during her time in Denmark, while she was resident artist at TAO22",
"creator": [
{
"@type": "Person",
"name": "Julia Robinek",
"sameAs": "https://www.juliarobinek.com"
}
],
"width": [
{
"@type": "Distance",
"name": "60 cm"
}
],
"height": [
{
"@type": "Distance",
"name": "50 cm"
}
],
"artMedium": "acrylic",
"artworkSurface": "canvas"
}
</script>
</head>
<body>
<!-- Black run-up "page"-->
<div>
<div id="run-up">
<a href="index.html" class="home-icon-run-up">Julia Robinek</a>
<div class="home-icon-sign-run-up"> <img src="Logos/RJlogo-small-white.svg"></img> </div>
</div>
</div>
<!-- Header Section Start NEED TO COPY TO EVERY PAGE DUE TO SLOW SERVER-->
<header>
<div class="header-content">
<div class="home-box">
<a href="index.html" class="home-icon">Julia Robinek</a>
<div class="home-icon-sign"> <img src="Logos/RJlogo-small-white.svg" loading="lazy"></img> </div>
</div>
<div class="menu-icon" id="menu-icon">
☰ <!-- Hamburger icon -->
</div>
<ul class="menu" id="menu">
<li><a href="index.html" class="activem">Home</a></li>
<li><a href="work.html">Work</a></li>
<li><a href="about.html">About</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</div>
</header>
<!-- Header Section End -->
<!-- Hero Section -->
<section class="hero">
<img src="WebImages/11-2023.jpg" alt="Hero Image" class="hero-image">
</section>
<!-- Footer Section Start NEED TO COPY TO EVERY PAGE -->
<footer>
<div class="footer-content">
<div class="footer-left">
<p>Copyright © Julia Robinek 2015 - <span id="year"></span></p>
<div class="small">
<a href="privacy.html">Privacy Policy</a>
<p>Run by GitHub</p>
</div>
</div>
<div class="footer-right">
<a href="https://www.instagram.com/juliarobinek" target="_blank">
<img src="Logos/logoInstaGraySmall-toUse.svg" loading="lazy" alt="Instagram Icon" class="social-icon">
</a>
</div>
</div>
<!-- Get the current year and insert it into the span with id="year" -->
<script defer>
document.getElementById('year').textContent = new Date().getFullYear();
</script>
</footer>
<!-- Footer Section End -->
<script>
// Add the run-up "page" before the index page comes up
document.addEventListener("DOMContentLoaded", function() {
setTimeout(function() {
const runUpDiv = document.getElementById("run-up");
runUpDiv.style.transition = "opacity 0.3s";
runUpDiv.style.opacity = 0.4;
// When the opacity transition ends, hide the element completely
runUpDiv.addEventListener("transitionend", function() {
runUpDiv.style.display = "none";
}, { once: true }); // { once: true } ensures this runs only once
}, 800);
});
// Add the menu on top of every page of the website
document.addEventListener("DOMContentLoaded", function() {
fetch('menu.html') // Load the menu.html file
.then(response => response.text()) // Convert to text
.then(data => {
document.getElementById('wholehead').innerHTML = data; // Insert the menu HTML into the page
})
.catch(error => console.error('Error loading menu:', error));
});
// JavaScript to toggle the responsive menu and header background
document.getElementById("menu-icon").addEventListener("click", function() {
var menu = document.getElementById("menu");
var header = document.querySelector("header");
if (menu.classList.contains("show")) {
menu.classList.remove("show");
header.classList.remove("header-active"); // Remove half-transparent gray
} else {
menu.classList.add("show");
header.classList.add("header-active"); // Add half-transparent gray
}
});
</script>
</body>
</html>