-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwork.html
More file actions
140 lines (108 loc) · 5.42 KB
/
Copy pathwork.html
File metadata and controls
140 lines (108 loc) · 5.42 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
<!DOCTYPE html>
<html>
<head>
<title>My Work | Charles Dobson</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="styles/css/global.css" />
<link rel="stylesheet" href="styles/css/work.css" />
<link rel="stylesheet" href="https://unpkg.com/lenis@1.1.14/dist/lenis.css">
<!-- Favicons -->
<link rel="icon" type="image/png" sizes="32x32" href="styles/img/favicon32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="styles/img/favicon16.png" />
<link rel="apple-touch-icon" sizes="180x180" href="styles/img/favicon180.png" />
<script>
window.addEventListener('DOMContentLoaded', () => {
document.body.style.visibility = 'visible';
});
</script>
</head>
<body>
<div id="loading-screen">
<svg version="1.2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1255 1254" width="1255" height="100%">
<title>svg outline</title>
<g>
<path class="s0 svg-elem-1" d="m612.2 291.7c-2.2 3.7-7.2 12.6-11.2 19.8-4.1 7.1-9.7 16.9-12.7 21.7-2.9 4.7-5.3 9-5.3 9.6 0 0.5 2.7 5.1 5.9 10 9.1 13.9 24.8 40.3 53.6 90.2 14.4 25 55.1 95.7 90.5 157 35.4 61.3 68.4 118.7 73.5 127.5 5.1 8.8 16.1 27.9 24.5 42.5 8.4 14.6 22.2 38.4 30.5 53 8.4 14.6 23.6 40.9 33.7 58.5l18.5 32-60.1 0.8c-33.1 0.4-101.3 0.4-151.6 0l-91.4-0.8-19.2-33.5c-10.5-18.4-24.5-42.7-31.1-54l-12.1-20.5 9.6-0.6c5.4-0.4 47.4-0.7 93.5-0.8 46 0 83.7-0.4 83.7-0.8 0-1.4-11.7-22.6-21.2-38.6l-10.1-16.7-95 0.2-95 0.3-7.6 13.5c-4.2 7.4-11.3 19.7-15.9 27.2l-8.2 13.7 20.1 34.8c11.1 19.1 31.8 55.3 46.1 80.3 14.3 25 27.1 47.2 28.4 49.2l2.4 3.8h216c118.7 0 216.1-0.3 216.3-0.8 0.2-0.4-20.6-36.9-46.3-81.2-66.6-114.9-332-575.1-340.2-590-3.8-6.9-7.3-12.9-7.8-13.3-0.4-0.5-2.6 2.2-4.8 6z"></path>
<path class="s0 svg-elem-2" d="m499.5 487.7c-14.8 25.8-49 85.3-76 132.3-27 47-59 102.6-71 123.5-12 20.9-29.4 51-38.5 67-44.4 77.2-75 130.4-82.6 143.6-4.6 8-8.4 15.1-8.4 15.7 0 0.9 31 1.2 128.3 1.2 70.6 0 128.6-0.3 128.9-0.6 0.3-0.3-3-7.1-7.4-15.2-10.3-19-14-25.2-20.1-33.5l-4.9-6.7-52.6-0.1c-29-0.1-57.7-0.4-63.9-0.8l-11.2-0.6 65.2-113.5c35.9-62.5 82.3-143.3 103.2-179.7 20.9-36.4 38.3-66.2 38.6-66.3 0.6 0 13.6 22.4 46 79l14.5 25.5 31.9 0.3c17.5 0.1 32.2-0.1 32.7-0.6 0.4-0.4-6.7-13.6-15.9-29.2-9.2-15.7-37.2-64.2-62.3-107.9-25-43.7-46-79.6-46.6-79.8-0.5-0.2-13.1 20.7-27.9 46.4z"></path>
</g>
</svg>
</div>
<header>
<div id="navbar-load"></div>
</header>
<div class="page-heading">
<div class="selector">
<div class="segmented" role="group" aria-label="Work filters">
<span class="seg-indicator" aria-hidden="true"></span>
<button type="button" data-filter="all" aria-pressed="true">All</button>
<button type="button" data-filter="personal" aria-pressed="false">Personal</button>
<button type="button" data-filter="client" aria-pressed="false">Client</button>
<button type="button" data-filter="concept" aria-pressed="false">Concept</button>
</div>
</div>
<div class="page-title">
<h1 class="page-title-text">Work</h1>
<div class="page-title-line"></div>
</div>
</div>
<div class="card-grid" id="grid">
</div>
<section class="cta">
<div class="hero-marquee">
<div class="hero-marquee-inner">
<p class="hero-marquee-text">Get In Touch ·</p>
<p class="hero-marquee-text">Get In Touch ·</p>
<p class="hero-marquee-text">Get In Touch ·</p>
<p class="hero-marquee-text">Get In Touch ·</p>
<p class="hero-marquee-text">Get In Touch ·</p>
<p class="hero-marquee-text">Get In Touch ·</p>
<p class="hero-marquee-text">Get In Touch ·</p>
<p class="hero-marquee-text">Get In Touch ·</p>
<p class="hero-marquee-text">Get In Touch ·</p>
<p class="hero-marquee-text">Get In Touch ·</p>
<p class="hero-marquee-text">Get In Touch ·</p>
<p class="hero-marquee-text">Get In Touch ·</p>
<p class="hero-marquee-text">Get In Touch ·</p>
<p class="hero-marquee-text">Get In Touch ·</p>
<p class="hero-marquee-text">Get In Touch ·</p>
</div>
</div>
<div class="cta-text">
<div class="cta-logo"></div>
<p class="cta-head">more to be added<br>soon</p>
<a href="/contact">
<div class="navBar-button">
<div class="navBar-button-inner">
<div class="navBar-button-inner-line-left"></div>
Get in Touch
<div class="navBar-button-inner-line-right"></div>
</div>
</div>
</a>
</div>
</section>
<div id="footer-load"></div>
</body>
<script src="js/loader.js" defer></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.5/gsap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.5/ScrollTrigger.min.js"></script>
<script src="https://unpkg.com/lenis@1.1.14/dist/lenis.min.js"></script>
<script src="https://kit.fontawesome.com/a3a3e0a7ef.js" crossorigin="anonymous"></script>
<script src="js/work.js"></script>
<script src="js/gsap.js"></script>
<script>
// smooth scroll
// Initialize Lenis
const lenis = new Lenis();
// Listen for the scroll event and log the event data
lenis.on('scroll', (e) => {
console.log(e);
});
// Use requestAnimationFrame to continuously update the scroll
function raf(time) {
lenis.raf(time);
requestAnimationFrame(raf);
}
requestAnimationFrame(raf);
</script>
</html>