Skip to content

Commit a07d555

Browse files
committed
wip
1 parent 185e823 commit a07d555

122 files changed

Lines changed: 4708 additions & 19941 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
node_modules
2-
3-
src/.vuepress/dist
2+
src/.vitepress/cache
3+
src/.vitepress/dist

package-lock.json

Lines changed: 3745 additions & 19860 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,24 @@
22
"name": "documentation",
33
"version": "1.0.0",
44
"description": "BIMData documentation",
5+
"type": "module",
56
"main": "index.js",
67
"authors": {
78
"name": "BIMData",
89
"email": "support@bimdata.io"
910
},
1011
"repository": "https://github.com/bimdata/documentation",
1112
"scripts": {
12-
"dev": "NODE_OPTIONS=--openssl-legacy-provider vuepress dev src",
13-
"build": "vuepress build src"
13+
"dev": "vitepress dev src",
14+
"build": "vitpress build src"
1415
},
1516
"license": "MIT",
1617
"devDependencies": {
17-
"@bimdata/design-system": "0.3.20",
18-
"sass": "^1.79.3",
19-
"sass-loader": "^10.5.2",
18+
"@bimdata/design-system": "2.3.0",
19+
"sass": "^1.97.3",
2020
"swagger-ui": "^5.31.0",
2121
"swagger-ui-dist": "4.1.3",
22-
"vuepress": "^1.9.10"
22+
"vitepress": "^1.6.4",
23+
"vue": "^3.5.28"
2324
}
2425
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/.vuepress/components/BIMDataIconFilePointCloud.vue renamed to src/.vitepress/components/BIMDataIconFilePointCloud.vue

File renamed without changes.
File renamed without changes.
Lines changed: 60 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,27 @@
11
<template>
2-
<div class="bimdata-documentation__home">
3-
<Navbar />
2+
<div class="bimdata-design-system bimdata-documentation__home">
3+
<!-- <Navbar /> -->
44
<section class="bimdata-documentation__home__header m-b-48">
55
<h1 class="bimdata-h1">Documentation</h1>
66
<div class="home_illustration flex items-center justify-center m-b-18">
7-
<img :src="$withBase('/assets/img/home_illu.svg')" alt="" />
7+
<img src="/images/home/home_illu.svg" alt="" />
88
</div>
99
<div class="home_links flex justify-center">
1010
<BIMDataCard>
1111
<template #content>
12-
<img :src="$withBase('/assets/img/bimdata_icon-viewer.svg')" alt="" />
12+
<img src="/images/home/bimdata_icon-viewer.svg" alt="" />
1313
<h3 class="color-primary">Viewer</h3>
14-
<p>BIMData provides you a customizable 3D Viewer, to see and manipulate your models.</p>
14+
<p>
15+
BIMData provides you a customizable 3D Viewer, to see and manipulate your models.
16+
</p>
1517
<RouterLink to="/viewer/">
1618
<BIMDataButton width="165px" color="primary" fill radius>Viewer</BIMDataButton>
1719
</RouterLink>
1820
</template>
1921
</BIMDataCard>
2022
<BIMDataCard>
2123
<template #content>
22-
<img :src="$withBase('/assets/img/bimdata_icon-api.svg')" alt="" />
24+
<img src="/images/home/bimdata_icon-api.svg" alt="" />
2325
<h3 class="color-primary">API</h3>
2426
<p>
2527
BIMData's API provides you tools to upload IFCs, manage your files and retreive your
@@ -32,7 +34,7 @@
3234
</BIMDataCard>
3335
<BIMDataCard>
3436
<template #content>
35-
<img :src="$withBase('/assets/img/bimdata_icon-on_premises.svg')" alt="" />
37+
<img src="/images/home/bimdata_icon-on_premises.svg" alt="" />
3638
<h3 class="color-primary">On-Premises</h3>
3739
<p>
3840
BIMData's On-Premises provides you the possibility to host our solutions on your
@@ -55,7 +57,7 @@
5557
<BIMDataCard class="m-r-12" borderRadius="6px">
5658
<template #content>
5759
<div class="flex items-center justify-center m-b-24">
58-
<img :src="$withBase('/assets/img/bimdata_icon-ifc.svg')" alt="" />
60+
<img src="/images/home/bimdata_icon-ifc.svg" alt="" />
5961
</div>
6062
<h4 class="color-primary">IFC</h4>
6163
<p>
@@ -73,7 +75,7 @@
7375
<BIMDataCard class="m-r-12" borderRadius="6px">
7476
<template #content>
7577
<div class="flex items-center justify-center m-b-24">
76-
<img :src="$withBase('/assets/img/bimdata_icon-bcf.svg')" alt="" />
78+
<img src="/images/home/bimdata_icon-bcf.svg" alt="" />
7779
</div>
7880
<h4 class="color-primary">BCF</h4>
7981
<p>Access, create, share, export your BCFs with our BCF API.</p>
@@ -88,7 +90,7 @@
8890
<BIMDataCard class="m-r-12" borderRadius="6px">
8991
<template #content>
9092
<div class="flex items-center justify-center m-b-24">
91-
<img :src="$withBase('/assets/img/bimdata_icon-open_source.svg')" alt="" />
93+
<img src="/images/home/bimdata_icon-open_source.svg" alt="" />
9294
</div>
9395
<h4 class="color-primary">Open source</h4>
9496
<p>You can install our platform on your own server.</p>
@@ -100,7 +102,7 @@
100102
<BIMDataCard class="m-r-12" borderRadius="6px">
101103
<template #content>
102104
<div class="flex items-center justify-center m-b-24">
103-
<img :src="$withBase('/assets/img/bimdata_icon-plugin.svg')" alt="" />
105+
<img src="/images/home/bimdata_icon-plugin.svg" alt="" />
104106
</div>
105107
<h4 class="color-primary">Plugin</h4>
106108
<p>Develop your own plugins to increase the efficiency of your tools.</p>
@@ -115,7 +117,7 @@
115117
<BIMDataCard borderRadius="6px">
116118
<template #content>
117119
<div class="flex items-center justify-center m-b-24">
118-
<img :src="$withBase('/assets/img/bimdata_icon-viewer_sdk.svg')" alt="" />
120+
<img src="/images/home/bimdata_icon-viewer_sdk.svg" alt="" />
119121
</div>
120122
<h4 class="color-primary">Viewer SDK</h4>
121123
<p>You can develop, test, build, package and share your plugin easily.</p>
@@ -129,11 +131,11 @@
129131
<section class="bimdata-documentation__home__ds p-y-24">
130132
<div class="flex items-center">
131133
<div class="bimdata-documentation__home__ds__img">
132-
<img :src="$withBase('/assets/img/bimdata_img-ds.png')" alt="" />
134+
<img src="/images/home/bimdata_img-ds.png" alt="" />
133135
</div>
134136
<div class="bimdata-documentation__home__ds__right">
135137
<div class="bimdata-documentation__home__ds__right--icon">
136-
<img :src="$withBase('/assets/img/design-system_logo.png')" alt="" />
138+
<img src="/images/home/design-system_logo.png" alt="" />
137139
</div>
138140
<h2 class="bimdata-h2 m-b-12">Design System</h2>
139141
<p class="color-granite m-y-12">
@@ -156,23 +158,24 @@
156158
</p>
157159
<p class="bimdata-text color-granite">
158160
Your data will be treated in accordance with our
159-
<a href="https://bimdata.io/en/terms-of-services/" class="color-primary" target="_blank"
160-
>Privacy Policy</a
161-
>, which sets out the rights you have in respect of your data.
161+
<a href="https://bimdata.io/en/terms-of-services/" class="color-primary" target="_blank">
162+
Privacy Policy
163+
</a>
164+
, which sets out the rights you have in respect of your data.
162165
</p>
163166
</section>
164167
<section class="bimdata-documentation__home__footer p-y-42">
165168
<h2 class="bimdata-h2 m-b-12">Ready to build ?</h2>
166169
<div class="flex justify-center items-center">
167170
<a href="https://connect.bimdata.io/" target="_blank">
168-
<BIMDataButton width="125px" color="secondary" fill radius class="m-r-18"
169-
>Sign up</BIMDataButton
170-
>
171+
<BIMDataButton width="125px" color="secondary" fill radius class="m-r-18">
172+
Sign up
173+
</BIMDataButton>
171174
</a>
172175
<a href="https://form.typeform.com/to/cQIOr6zI" target="_blank">
173-
<BIMDataButton width="125px" color="default" fill radius class="m-l-18"
174-
>Contact us</BIMDataButton
175-
>
176+
<BIMDataButton width="125px" color="default" fill radius class="m-l-18">
177+
Contact us
178+
</BIMDataButton>
176179
</a>
177180
</div>
178181
</section>
@@ -181,43 +184,46 @@
181184

182185
<script>
183186
import { BIMDataButton, BIMDataCard } from "@bimdata/design-system";
184-
//import BIMDataCard from "@bimdata/design-system/dist/js/BIMDataComponents/BIMDataCard.js";
185-
186-
import Navbar from "@vuepress/theme-default/components/Navbar.vue";
187+
// import { VPNavBar } from "vitepress/theme";
187188
188189
export default {
189190
components: {
190191
BIMDataCard,
191192
BIMDataButton,
192-
Navbar,
193+
// Navbar,
193194
},
194195
};
195196
</script>
196197

197198
<style lang="scss" scoped>
198-
@import "../../../node_modules/@bimdata/design-system/dist/css/design-system.css";
199-
@import "../../../node_modules/@bimdata/design-system/dist/scss/_BIMDataVariables.scss";
199+
@import "../../../node_modules/@bimdata/design-system/src/assets/css/design-system.css";
200+
200201
.bimdata-documentation__home {
201202
/* custom HEADER HOME */
202203
&__header {
203204
margin-top: calc(60px + 34px);
205+
204206
h1 {
205207
text-align: center;
206208
}
209+
207210
.home_links {
208211
width: 100%;
212+
209213
.bimdata-card {
210214
margin-right: 53px;
211215
padding: 16px;
212216
max-width: 330px;
213217
text-align: center;
218+
214219
img {
215220
margin: auto;
216221
height: 220px;
217222
display: flex;
218223
align-items: center;
219224
justify-content: center;
220225
}
226+
221227
h3 {
222228
position: relative;
223229
&::after {
@@ -227,24 +233,28 @@ export default {
227233
height: 2px;
228234
bottom: -7px;
229235
left: calc(50% - (16px / 2));
230-
background-color: $color-secondary;
236+
background-color: var(--color-secondary);
231237
}
232238
}
239+
233240
p {
234241
margin: 18px 0;
235242
min-height: 60px;
236243
display: flex;
237244
align-items: center;
238245
}
246+
239247
.bimdata-btn {
240248
margin: auto;
241249
}
250+
242251
&:last-child {
243252
margin-right: 0;
244253
}
245254
}
246255
}
247256
}
257+
248258
/* custom CONTENT & QUESTIONS & FOOTER HOME */
249259
&__content,
250260
&__questions,
@@ -260,12 +270,13 @@ export default {
260270
line-height: 1.5;
261271
}
262272
}
273+
263274
/* custom CONTENT HOME */
264275
&__content {
265276
.bimdata-card {
266277
padding: 16px;
267278
width: 204px;
268-
border: 1px solid $color-tertiary-lightest;
279+
border: 1px solid var(--color-tertiary-lightest);
269280
box-shadow: none;
270281
transition: all ease 0.2s;
271282
.flex {
@@ -285,30 +296,36 @@ export default {
285296
margin: auto;
286297
}
287298
&:hover {
288-
box-shadow: 0px 2px 10px rgba($color-black, 0.1);
299+
box-shadow: var(--box-shadow);
289300
transition: all ease 0.2s;
290301
}
291302
}
292303
}
304+
293305
/* custom DESIGN SYSTEM SECTION */
294306
&__ds {
295307
background-color: #f0f5ff;
308+
296309
.flex {
297310
margin: auto;
298311
width: 1200px;
299312
}
313+
300314
&__img {
301315
img {
302316
width: 436px;
303317
}
304318
}
319+
305320
&__right {
306321
margin-left: 62px;
322+
307323
h2 {
308324
padding: 0;
309325
border: none;
310326
position: relative;
311327
}
328+
312329
&--icon {
313330
background: white;
314331
border-radius: 50%;
@@ -323,27 +340,30 @@ export default {
323340
}
324341
}
325342
}
343+
326344
&__questions {
327345
margin: 0;
328346
background: #dce7ff;
329347
}
348+
330349
/* custom FOOTER HOME */
331350
&__footer {
332-
background-color: $color-primary;
333-
color: $color-white;
351+
background-color: var(--color-primary);
352+
color: var(--color-white);
334353
}
335354
}
336355
</style>
337356

338357
<style lang="scss">
339-
@import "../../../node_modules/@bimdata/design-system/dist/scss/BIMDataVariables.scss";
358+
@import "../../../node_modules/@bimdata/design-system/src/assets/css/variables.css";
359+
340360
.navbar {
341361
padding: 0 24px;
342362
height: 60px;
343363
display: flex;
344364
align-items: center;
345365
justify-content: space-between;
346-
box-shadow: 0px 2px 10px rgba($color-black, 0.1);
366+
box-shadow: var(--box-shadow);
347367
.home-link {
348368
width: 130px;
349369
.can-hide {
@@ -363,9 +383,9 @@ export default {
363383
input {
364384
width: 217px;
365385
border: none;
366-
color: $color-primary;
386+
color: var(--color-primary);
367387
border-radius: 3px;
368-
background-color: $color-tertiary-lightest;
388+
background-color: var(--color-tertiary-lightest);
369389
}
370390
}
371391
.nav-links {
@@ -380,12 +400,12 @@ export default {
380400
height: 100%;
381401
display: flex;
382402
align-items: center;
383-
color: $color-primary;
403+
color: var(--color-primary);
384404
&:hover {
385405
border-bottom: 2px solid #fdf3d4;
386406
}
387407
&.router-link-active {
388-
border-bottom: 2px solid $color-secondary;
408+
border-bottom: 2px solid var(--color-secondary);
389409
}
390410
span {
391411
display: none;

0 commit comments

Comments
 (0)