Skip to content

Commit

Permalink
Merge pull request #441 from positivecrash/master
Browse files Browse the repository at this point in the history
tune model
  • Loading branch information
positivecrash authored Feb 26, 2025
2 parents 8a4c6a8 + beb6c8d commit 248fcab
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 39 deletions.
18 changes: 9 additions & 9 deletions src/components/3dmodels/altruist.vue
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
<template>
<div v-bind="$attrs" :class="classes" aria-label="3d model for outdoor sensor Altruist" ref="modelContainer" v-in-viewport.once>
<div class="img">
<img src="/hardware-2025/altruist/yellow/Altruist-Layout-1.webp" alt="Altruist Layout 1" />
<img v-if="showColor === 'pink'" src="/hardware-2025/altruist/pink/Altruist-Layout-1.webp" alt="Altruist Layout 1" />
<img src="/hardware-2025/altruist/pink/Altruist-Layout-1.webp" alt="Altruist Layout 1" />
<img v-if="showColor === 'yellow'" src="/hardware-2025/altruist/yellow/Altruist-Layout-1.webp" alt="Altruist Layout 1" />
<img v-if="showColor === 'blue'" src="/hardware-2025/altruist/blue/Altruist-Layout-1.webp" alt="Altruist Layout 1" />
</div>

<div class="img">
<img src="/hardware-2025/altruist/yellow/Altruist-Layout-2.webp" alt="Altruist Layout 2" />
<img v-if="showColor === 'pink'" src="/hardware-2025/altruist/pink/Altruist-Layout-2.webp" alt="Altruist Layout 2" />
<img src="/hardware-2025/altruist/pink/Altruist-Layout-2.webp" alt="Altruist Layout 2" />
<img v-if="showColor === 'yellow'" src="/hardware-2025/altruist/yellow/Altruist-Layout-2.webp" alt="Altruist Layout 2" />
<img v-if="showColor === 'blue'" src="/hardware-2025/altruist/blue/Altruist-Layout-2.webp" alt="Altruist Layout 2" />
</div>

<img class="img" v-if="!noanimation" src="/hardware-2025/altruist/Altruist-Layout-3.webp" alt="Altruist Layout 3" />

<div class="img">
<img src="/hardware-2025/altruist/yellow/Altruist-Layout-4.webp" alt="Altruist Layout 4" />
<img v-if="showColor === 'pink'" src="/hardware-2025/altruist/pink/Altruist-Layout-4.webp" alt="Altruist Layout 4" />
<img src="/hardware-2025/altruist/pink/Altruist-Layout-4.webp" alt="Altruist Layout 4" />
<img v-if="showColor === 'yellow'" src="/hardware-2025/altruist/yellow/Altruist-Layout-4.webp" alt="Altruist Layout 4" />
<img v-if="showColor === 'blue'" src="/hardware-2025/altruist/blue/Altruist-Layout-4.webp" alt="Altruist Layout 4" />
</div>

Expand All @@ -36,11 +36,11 @@ export default {
data() {
return {
scrollProgress: 0,
colors: ['yellow', 'pink', 'blue'],
colors: ['pink', 'yellow', 'blue'],
colorIndex: 0,
cycleCount: 0,
maxCycles: 3,
colorChangeDelay: 200, // Задержка в миллисекундах
maxCycles: 5,
colorChangeDelay: 500, // Задержка в миллисекундах
lastColorChangeTime: 0,
hasEnteredViewport: false,
imagesLoaded: false
Expand Down
8 changes: 4 additions & 4 deletions src/components/blocks/DevicesBuySection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,9 @@
@media screen and (max-width: 600px) {
.section-vivid-green {
display: flex;
flex-direction: column;
gap: var(--space);
display: flex;
flex-direction: column;
gap: var(--space);
}
}
Expand All @@ -151,7 +151,7 @@
}
.price-number {
font-variation-settings: var(--font-flex-bold);
font-variation-settings: var(--font-flex-extrabold);
font-size: 3rem;
line-height: 1;
}
Expand Down
33 changes: 7 additions & 26 deletions src/pages/devices/altruist.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@
<ModelAltruist noanimation />
</DeviceBuySection>

<article class="layout layout__content space-b-2">
<article class="text-big layout layout__content space-b-2">
<p>{{ $t('With the Altruist Outdoor Sensor, you become a force in decentralized environmental monitoring. Capture noise, dust, and temperature data—encrypted, mapped, and shared across a distributed network.') }}</p>
<p>{{$t('Experience the power of true DePIN (Decentralized Physical Infrastructure Network) — a revolutionary technological movement brought to life and thriving for years on our')}} <g-link aria-label="go to decentralized sensor map" to="https://sensors.social/">{{$t('decentralized sensor map')}}</g-link>.</p>
</article>

<h2 class="layout title-lined"><span>{{ $t('3 highlights for you') }}</span></h2>

<article class="layout space-b-2">
<div class="grid-3">
<section class="oldy">
Expand Down Expand Up @@ -59,31 +61,6 @@
<p>{{$t('Love the idea of a decentralized map but want to customize it with extra layouts and become an administrator of new sovereign sensor infrastructure? You can deploy')}} <g-link to="https://github.com/airalab/sensors.social/" aria-label="GitHub Repository for the map" class="highlight">{{$t('your own version by forking')}}</g-link> {{$t('our open-source code on GitHub (be sure to check the license type). Remember to use open-source resources responsibly.')}}</p>
</article>

<!-- <article class="layout space-b-2">
<div class="grid-3">
<section class="oldy">
<h5 class="space-b-05">{{ $t('Join the Altruist Collective') }}</h5>
<p>{{$t('Access')}} <strong>{{$t('noise, dust, and temperature data')}}</strong> {{$t('from other independent sensors on our')}} <g-link class="highlight" aria-label="go to decentralized sensor map" to="https://sensors.social/">{{$t('decentralized sensor map')}}</g-link>.</p>
<p>{{$t('Connect your device as simple as other smart devices and share your environmental outdoor data with community.')}}</p>
<g-link class="highlight" aria-label="check our firmware" to="https://github.com/airalab/altruist-firmware">{{ $t('Check open-source sensor firmware on GitHub') }}</g-link>
</section>
<section class="oldy">
<h5 class="space-b-05">{{ $t("Operate your own Data Server") }} +</h5>
<p>{{ $t("Data processing is always a sensitive issue. That's why we offer a fully open-source") }}
<g-link class="highlight" to="https://github.com/airalab/sensors-connectivity" aria-label="check open source connectivity module">{{$t('connectivity module')}}</g-link>
{{ $t('giving you the freedom to choose which servers to use for processing. No proprietary clouds, no hidden code.') }}</p>
<p>{{$t('Keep in mind, you can join the')}} <g-link class="highlight" aria-label="go to decentralized sensor map" to="https://sensors.social/">{{$t('global decentralized sensor map')}}</g-link> {{ $t('even with a sensor connected through your own server!') }}</p>
</section>
<section class="oldy">
<h5 class="space-b-05">{{ $t('Run your own Interactive Map') }} ++</h5>
<p>{{$t('Love the idea of a decentralized map but want to customize it with extra layouts and become an administrator of new sovereign sensor infrastructure? You can deploy')}} <g-link to="https://github.com/airalab/sensors.social/" aria-label="GitHub Repository for the map" class="highlight">{{$t('your own version by forking')}}</g-link> {{$t('our open-source code on GitHub (be sure to check the license type). Remember to use open-source resources responsibly.')}}</p>
</section>
</div>
</article> -->

<h2 class="layout title-lined"><span>{{ $t('Device Specifications') }}</span></h2>

<article class="layout layout__text space-b-2">
Expand Down Expand Up @@ -217,4 +194,8 @@ export default {
.model-gorizontal { display: block; }
.model-vertical { display: none; }
}
.text-big {
font-weight: 500;
}
</style>

0 comments on commit 248fcab

Please sign in to comment.