-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
215 lines (205 loc) · 8.76 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>DWC Infra</title>
<link rel="shortcut icon" href="./icons/Logo.svg" type="image/x-icon">
<link href="https://fonts.googleapis.com/css2?family=Geologica:[email protected]&display=swap" rel="stylesheet" />
<link href="https://fonts.googleapis.com/icon?family=Material+Symbols+Outlined" rel="stylesheet" />
<script type="importmap">
{
"imports": {
"@material/web/": "https://esm.run/@material/web/"
}
}
</script>
<script type="module">
import "@material/web/all.js";
import { styles as typescaleStyles } from "@material/web/typography/md-typescale-styles.js";
document.adoptedStyleSheets.push(typescaleStyles.styleSheet);
</script>
<script>
const preloaderSlideUp = [
{ translate: "0 0" },
{ translate: "0 -100dvh" },
];
const preloaderTiming = {
duration: 2000,
iterations: 1,
};
document.addEventListener("DOMContentLoaded", () => {
const preloader = document.querySelector("#preloader");
console.log(preloader)
preloader.animate(preloaderSlideUp, preloaderTiming)
setTimeout(() => {
preloader.remove()
}, preloaderTiming.duration)
})
</script>
<script src="https://aframe.io/releases/1.4.0/aframe.min.js"></script>
</script>
<style>
:root,
:host {
--md-sys-color-background: #fff;
--md-sys-color-on-background: #1c1b1b;
--md-sys-color-surface: #fdf8f8;
--md-sys-color-surface-dim: #ddd9d9;
--md-sys-color-surface-bright: #fdf8f8;
--md-sys-color-surface-container-lowest: #ffffff;
--md-sys-color-surface-container-low: #f7f3f2;
--md-sys-color-surface-container: #f1edec;
--md-sys-color-surface-container-high: #ebe7e7;
--md-sys-color-surface-container-highest: #e5e2e1;
--md-sys-color-on-surface: #1c1b1b;
--md-sys-color-surface-variant: #e2e2e6;
--md-sys-color-on-surface-variant: #45474a;
--md-sys-color-inverse-surface: #313030;
--md-sys-color-inverse-on-surface: #f4f0ef;
--md-sys-color-outline: #76777a;
--md-sys-color-outline-variant: #c6c6ca;
--md-sys-color-shadow: #000000;
--md-sys-color-scrim: #000000;
--md-sys-color-surface-tint: #5f5e5f;
--md-sys-color-primary: #1a1a1b;
--md-sys-color-on-primary: #ffffff;
--md-sys-color-primary-container: #3a3a3b;
--md-sys-color-on-primary-container: #cecccd;
--md-sys-color-inverse-primary: #c8c6c7;
--md-sys-color-secondary: #5f5e5e;
--md-sys-color-on-secondary: #ffffff;
--md-sys-color-secondary-container: #e9e6e6;
--md-sys-color-on-secondary-container: #4b4a4a;
--md-sys-color-tertiary: #1c191a;
--md-sys-color-on-tertiary: #ffffff;
--md-sys-color-tertiary-container: #3c393a;
--md-sys-color-on-tertiary-container: #d1cacb;
--md-sys-color-error: #ba1a1a;
--md-sys-color-on-error: #ffffff;
--md-sys-color-error-container: #ffdad6;
--md-sys-color-on-error-container: #410002;
}
</style>
<link rel="stylesheet" href="./css/style.css" />
<link rel="stylesheet" href="./css/landing.css">
</head>
<body>
<navbar-component></navbar-component>
<div id="preloader" style="position: fixed; z-index: 4;">
<preloader-component></preloader-component>
</div>
<main>
<section id="landing" data-label="landing">
<div class="container">
<h1>
<heading-component text="Pioneering Futuristic Construction" size="72" sizeMobile="36"
data-animate="auto"></heading-component>
</h1>
<br><br><br>
<p>From visionary designs to on-time delivery, DWC Infra brings innovation and quality to every project.</p>
<br><br>
<div class="buttons">
<md-outlined-button class="md-sys-outline-button" onclick="openModal()"><md-icon
slot="icon">play_circle</md-icon> Watch a
Video</md-outlined-button>
<md-filled-button class="md-sys-filled-button" href="./contact.html">Contact DWC</md-filled-button>
</div>
</div>
<video-modal-component></video-modal-component>
<div class="model-container">
<a-scene vr-mode-ui="enabled: false" device-orientation-permission-ui="enabled: false" embedded>
<a-assets>
<a-asset-item id="tower" src="./tower/scene.gltf"></a-asset-item>
</a-assets>
<a-entity id="camera" camera="fov: 80; zoom: 1;" position="0 2 5" orbit-controls="
autoRotate: false;
target: #target;
enableDamping: true;
dampingFactor: 0.125;
rotateSpeed:0.25;
minDistance:3;
maxDistance:100;
" mouse-cursor="">
<a-entity geometry="primitive:cone; radius-bottom:1; radius-top:0" scale=".33 1 .33" position="0 0 0"
rotation="90 0 0" material="color: #0099ff; transparent: true; opacity:0.5"></a-entity>
</a-entity>
<a-entity position="0 0.1 0" id="target">
<a-entity id="model" gltf-model="#tower" animation-mixer scale="0.07 0.07 0.07" position="0 -1 0.2"
rotation="0 170 0"></a-entity>
</a-entity>
</a-scene>
</div>
</section>
<section id="model-text" data-label="model">
<p>❝DWC Infra specializes in shaping commercial, residential, and large-scale infrastructure with expertise and
precision. We are committed to exceeding client expectations by delivering reliable, sustainable, and
high-quality construction solutions.❞</p>
</section>
<section class="commercial" data-label="commercial" id="commercial">
<h2><heading-component text="Commercial" size="64" sizeMobile="36" data-animate="auto"></heading-component></h2>
<br><br>
<animated-card reverse
text="DWC Infra redefines commercial construction by merging modern design with functionality. Each project reflects our commitment to quality and creativity, setting new industry standards."
image-src="./images/commercial.png" data-animate="auto"></animated-card>
</section>
<br><br><br>
<section class="residential" data-label="residential" id="residential">
<h2><heading-component text="Residential" size="64" sizeMobile="36" data-animate="auto"></heading-component></h2>
<br><br>
<animated-card
text="Our residential projects, whether single-family homes or multi-unit developments, prioritize comfort, aesthetics, and energy efficiency, helping you find the perfect place to call home."
image-src="./images/residential.png" data-animate="auto"></animated-card>
</section>
<section class="infrastructure" data-label="infrastructure" id="infrastructure">
<h2><heading-component text="Infrastructure" size="64" sizeMobile="36" data-animate="auto"></heading-component></h2>
<br><br><br>
<infrastructure-component></infrastructure-component>
</section>
<section id="projects" data-label="projects">
<div class="heading">
<img src="./icons/cone.svg" alt="" height="75px">
<h2><heading-component text="Ongoing Projects" size="64" sizeMobile="36" data-animate="auto"></heading-component></h2>
</div>
<br><br><br>
<div class="cards">
<div class="card">
<a href="./mohali-citi-centre.html" aria-labelledby="mohali-citi-center"
style="text-decoration: none; color: #2c2c2d">
<dwc-project-card img1-src="./images/Bars.svg" img2-src="./images/project-dwc.png" img2-height="300"
img3-src="./images/Arrow.svg">
</dwc-project-card>
<p id="mohali-citi-center">Mohali Citi Centre</p>
</a>
</div>
<div class="card">
<a href="./sps-helios.html" aria-labelledby="sps-helios" style="text-decoration: none; color: #2c2c2d">
<dwc-project-card img1-src="./images/Bars.svg" img2-src="./images/project-sps-helios.png" img2-height="300"
img3-src="./images/Arrow.svg">
</dwc-project-card>
<p id="sps-helios">SPS Helios</p>
</a>
</div>
</div>
<br><br><br>
<div class="contact-link">
<p>Discuss an upcoming <span>project!</span></p>
<br><br>
<md-filled-button class="md-sys-filled-button" href="./contact.html">Contact DWC</md-filled-button>
</div>
</section>
<br><br>
<footer-component></footer-component>
</main>
<script src="./js/script.js" type="module"></script>
<script>
const openModal = () => {
const videoModal = document.querySelector("video-modal-component")
videoModal.showModal()
}
</script>
<script src="./js/tower.js"></script>
<script src="./js/animate.js"></script>
</body>
</html>