-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
262 lines (226 loc) · 12.5 KB
/
Copy pathindex.html
File metadata and controls
262 lines (226 loc) · 12.5 KB
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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
<title>Zwanski Tech – IT Services, Web Development & Unlocking Solutions</title>
<meta name="description" content="Zwanski Tech offers expert IT support, website design, computer repair, and iPhone/Android unlocking services. Trusted by individuals and businesses in Tunisia." />
<meta name="author" content="Zwanski Tech" />
<meta name="keywords" content="IT services Tunisia, web development, computer repair Tunis, unlocking solutions, cybersecurity, device repair, IMEI unlock, website design, tech support" />
<meta name='dmca-site-verification' content='R0hIYmlVMWFMSWQ3U2FsaWd5OHRrdz090' />
<meta name="theme-color" content="#2563eb" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<!-- Open Graph Meta Tags -->
<meta property="og:type" content="website" />
<meta property="og:title" content="Zwanski Tech – IT Services, Web Development & Unlocking Solutions" />
<meta property="og:description" content="Zwanski Tech offers expert IT support, website design, computer repair, and iPhone/Android unlocking services. Trusted by individuals and businesses in Tunisia." />
<meta property="og:image" content="https://zwanski.org/og-image.png" />
<meta property="og:url" content="https://zwanski.org/" />
<meta property="og:site_name" content="Zwanski Tech" />
<!-- Twitter Card Meta Tags -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Zwanski Tech – IT Services, Web Development & Unlocking Solutions" />
<meta name="twitter:description" content="Zwanski Tech offers expert IT support, website design, computer repair, and iPhone/Android unlocking services. Trusted by individuals and businesses in Tunisia." />
<meta name="twitter:image" content="https://zwanski.org/og-image.png" />
<link rel="icon" href="/favicon-professional.svg" type="image/svg+xml">
<link rel="icon" href="/favicon.png" type="image/png">
<link rel="apple-touch-icon" href="/favicon-professional.svg">
<!-- Security Headers -->
<meta http-equiv="Strict-Transport-Security" content="max-age=31536000; includeSubDomains; preload">
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://www.googletagmanager.com https://static.axept.io https://cdn.gpteng.co https://js.hcaptcha.com; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; img-src 'self' data: https:; connect-src 'self' https: wss: https://hcaptcha.com; frame-src 'self' https: https://hcaptcha.com;">
<meta http-equiv="X-Content-Type-Options" content="nosniff">
<meta http-equiv="X-Frame-Options" content="DENY">
<meta http-equiv="X-XSS-Protection" content="1; mode=block">
<meta http-equiv="Referrer-Policy" content="strict-origin-when-cross-origin">
<link rel="alternate" type="application/atom+xml" title="Zwanski Tech Website Feed" href="https://zwanski2019.github.io/ZWANSKI-TECH/atom.xml" />
<!-- Optimized critical font preload -->
<link rel="preload" href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" as="style" onload="this.onload=null;this.rel='stylesheet'">
<noscript><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap"></noscript>
<!-- Critical CSS inline -->
<style>
/* Critical above-the-fold CSS for hero section */
.hero-container{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:1rem;position:relative;overflow:hidden}.hero-content{max-width:1200px;width:100%;display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center}.hero-text{z-index:10}.hero-title{font-size:3.75rem;font-weight:700;line-height:1.1;margin-bottom:1.5rem}.hero-subtitle{font-size:1.25rem;line-height:1.6;margin-bottom:2rem;opacity:0.9}.hero-image-container{position:relative;height:500px;width:600px;border-radius:1rem;overflow:hidden}.hero-buttons{display:flex;gap:1rem;flex-wrap:wrap}.hero-button{padding:0.75rem 2rem;border-radius:0.5rem;font-weight:500;text-decoration:none;display:inline-flex;align-items:center;gap:0.5rem;transition:all 0.2s ease-in-out}:root{--background:0 0% 100%;--foreground:222.2 84% 4.9%;--primary:221 83% 53%;--primary-foreground:210 40% 98%;--muted:210 40% 96%;--muted-foreground:215.4 16.3% 46.9%;--border:214.3 31.8% 91.4%}[data-theme="dark"]{--background:222.2 84% 4.9%;--foreground:210 40% 98%;--primary:221 83% 53%;--primary-foreground:222.2 84% 4.9%;--muted:217.2 32.6% 17.5%;--muted-foreground:215 20.2% 65.1%;--border:217.2 32.6% 17.5%}@media (max-width:768px){.hero-content{grid-template-columns:1fr;gap:2rem;text-align:center}.hero-title{font-size:2.5rem}.hero-image-container{height:300px;width:100%;max-width:400px;margin:0 auto}}
</style>
<!-- Axeptio Cookie Consent -->
<script>
window.axeptioSettings = {
clientId: "68684ef160ad76edb8a238e9",
cookiesVersion: "zwanski-en-EU",
googleConsentMode: {
default: {
analytics_storage: "denied",
ad_storage: "denied",
ad_user_data: "denied",
ad_personalization: "denied",
wait_for_update: 500
}
}
};
(function(d, s) {
var t = d.getElementsByTagName(s)[0], e = d.createElement(s);
e.async = true; e.src = "//static.axept.io/sdk.js";
t.parentNode.insertBefore(e, t);
})(document, "script");
</script>
<!-- End Axeptio Cookie Consent -->
<meta name="google-adsense-account" content="ca-pub-8775206393701040">
<!-- Preconnect hints for performance -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<!-- Performance and DNS prefetch hints -->
<link rel="dns-prefetch" href="//www.googletagmanager.com">
<link rel="dns-prefetch" href="//www.google-analytics.com">
<link rel="dns-prefetch" href="//j2ppv6ytda-dsn.algolia.net">
<link rel="dns-prefetch" href="//cdn.jsdelivr.net">
<!-- Schema.org Structured Data -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "Zwanski Tech",
"url": "https://zwanski.org",
"logo": "https://zwanski.org/logo.png",
"description": "Zwanski Tech provides IT services, cybersecurity consulting, device unlocking, and web development.",
"sameAs": [
"https://www.facebook.com/zwanski",
"https://www.linkedin.com/company/zwanski-tech"
],
"subOrganization": {
"@type": "Organization",
"name": "Tomasoft Informatique",
"description": "Tomasoft Informatique is a retail store based in Tamanrasset, offering electronics, computers, and repair services.",
"telephone": "+213664681820",
"address": {
"@type": "PostalAddress",
"addressLocality": "Tamanrasset",
"addressCountry": "DZ"
}
}
}
</script>
<!-- End Schema.org -->
<!-- hCaptcha -->
<script src="https://js.hcaptcha.com/1/api.js" async defer></script>
<style>
/* Ensure cookie banners always stay above other widgets */
.axeptio_widget,
[id*="axeptio"],
[class*="axeptio"] {
z-index: 9999 !important;
}
/* Add space at bottom when cookie banner is active */
body:has(.axeptio_widget:not([style*="display: none"])) footer {
margin-bottom: 80px;
transition: margin-bottom 0.3s ease;
}
</style>
<!-- Axeptio Cookie Banner Enhancements -->
<script>
document.addEventListener('DOMContentLoaded', function() {
let scrollTimer;
let isScrolling = false;
let autoAcceptTimer;
let bannerProcessed = false;
// Enhanced Axeptio banner behavior
function enhanceAxeptioBanner() {
const banner = document.querySelector('.axeptio_widget') ||
document.querySelector('[id*="axeptio"]') ||
document.querySelector('[class*="axeptio"]');
if (!banner || bannerProcessed) return;
bannerProcessed = true;
// Add CSS for smooth transitions
banner.style.transition = 'opacity 0.3s ease-in-out, transform 0.3s ease-in-out';
banner.style.zIndex = '9999';
// Removed auto-accept timer to preserve default Axeptio behavior
// Scroll-based transparency
let lastScrollY = window.scrollY;
function handleScroll() {
if (!banner || banner.offsetParent === null) return;
const currentScrollY = window.scrollY;
const isScrollingDown = currentScrollY > lastScrollY;
if (Math.abs(currentScrollY - lastScrollY) > 10) {
isScrolling = true;
banner.style.opacity = '0.7';
banner.style.pointerEvents = 'none';
clearTimeout(scrollTimer);
scrollTimer = setTimeout(() => {
isScrolling = false;
banner.style.opacity = '1';
banner.style.pointerEvents = 'auto';
}, 1500);
}
lastScrollY = currentScrollY;
}
window.addEventListener('scroll', handleScroll, { passive: true });
}
// Try to enhance immediately or wait for Axeptio to load
enhanceAxeptioBanner();
// Also try after a short delay in case Axeptio loads later
setTimeout(enhanceAxeptioBanner, 1000);
setTimeout(enhanceAxeptioBanner, 3000);
// Listen for dynamic content changes
const observer = new MutationObserver((mutations) => {
mutations.forEach((mutation) => {
mutation.addedNodes.forEach((node) => {
if (node.nodeType === 1 &&
(node.classList?.contains('axeptio_widget') ||
node.id?.includes('axeptio') ||
(node.className && node.className.toString().includes('axeptio')))) {
setTimeout(enhanceAxeptioBanner, 100);
}
});
});
});
observer.observe(document.body, {
childList: true,
subtree: true
});
});
</script>
<!-- End Axeptio Enhancements -->
</head>
<body class="pt-[4.5rem]">
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-PM37NL7K"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
<!-- Load analytics after main app with reduced priority -->
<script>
// Defer analytics loading until after critical resources
if ('requestIdleCallback' in window) {
requestIdleCallback(function() {
loadAnalytics();
});
} else {
setTimeout(loadAnalytics, 2000);
}
function loadAnalytics() {
// Google Analytics - deferred
var gtag = document.createElement('script');
gtag.async = true;
gtag.src = 'https://www.googletagmanager.com/gtag/js?id=G-JCY70KNM0Y';
gtag.onload = function() {
window.dataLayer = window.dataLayer || [];
function gtagFn(){dataLayer.push(arguments);}
window.gtag = gtagFn;
gtagFn('js', new Date());
gtagFn('config', 'G-JCY70KNM0Y');
};
document.head.appendChild(gtag);
// Google Tag Manager - deferred
setTimeout(function() {
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-PM37NL7K');
}, 1000);
}
</script>
<!-- IMPORTANT: DO NOT REMOVE THIS SCRIPT TAG OR THIS VERY COMMENT! -->
<script src="https://cdn.gpteng.co/gptengineer.js" type="module"></script>
</body>
</html>