phone
This commit is contained in:
parent
8acb3e45f4
commit
361f09329a
9
app.vue
9
app.vue
|
@ -100,17 +100,12 @@ const toggleModal = () => {
|
||||||
<template v-for="item in footerData">
|
<template v-for="item in footerData">
|
||||||
<div class="footer-text" :class="[{ 'footer-text-small': item.small_text }]">{{ item.text }}</div>
|
<div class="footer-text" :class="[{ 'footer-text-small': item.small_text }]">{{ item.text }}</div>
|
||||||
</template>
|
</template>
|
||||||
</div>
|
<div class="footer-text footer-text-social">
|
||||||
<div class="social">
|
|
||||||
<div class="container prose">
|
|
||||||
<template v-for="item in social_networkData">
|
<template v-for="item in social_networkData">
|
||||||
<div class="social_network-name" :class="[{ 'social_network-name-small': item.link }]">
|
|
||||||
<Icon :name="item.icon" />
|
|
||||||
<a :href="item.link" target="_blank">
|
<a :href="item.link" target="_blank">
|
||||||
|
<Icon :name="item.icon" />
|
||||||
{{ item.name }}
|
{{ item.name }}
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -31,8 +31,12 @@ a[href^="#"] {
|
||||||
.footer {
|
.footer {
|
||||||
@apply px-2 py-4 bg-slate-200;
|
@apply px-2 py-4 bg-slate-200;
|
||||||
|
|
||||||
|
.container {
|
||||||
|
@apply gap-4
|
||||||
|
}
|
||||||
|
|
||||||
.k-logo {
|
.k-logo {
|
||||||
@apply col-span-2 row-span-2 text-9xl text-orange-400;
|
@apply col-span-2 row-span-3 text-9xl text-orange-400;
|
||||||
|
|
||||||
svg {
|
svg {
|
||||||
@apply my-0 mx-auto;
|
@apply my-0 mx-auto;
|
||||||
|
@ -45,6 +49,10 @@ a[href^="#"] {
|
||||||
&-small {
|
&-small {
|
||||||
@apply col-span-10 text-xs min-w-full prose;
|
@apply col-span-10 text-xs min-w-full prose;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&-social {
|
||||||
|
@apply col-span-10 flex gap-4
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5,9 +5,9 @@ import { OrbitControls, vLightHelper } from '@tresjs/cientos'
|
||||||
import Canvas from './model/canvas.vue';
|
import Canvas from './model/canvas.vue';
|
||||||
|
|
||||||
const controlsState = reactive({
|
const controlsState = reactive({
|
||||||
minDistance: 6,
|
minDistance: 1,
|
||||||
maxDistance: 10,
|
maxDistance: 10,
|
||||||
// enablePan: false,
|
enablePan: false,
|
||||||
enableZoom: false,
|
enableZoom: false,
|
||||||
maxPolarAngle: (Math.PI / 2) - 0.2,
|
maxPolarAngle: (Math.PI / 2) - 0.2,
|
||||||
})
|
})
|
||||||
|
@ -16,9 +16,6 @@ const controlsState = reactive({
|
||||||
// const { scene: primaryLight } = await useGLTF('/models_light/primary_light.glb')
|
// const { scene: primaryLight } = await useGLTF('/models_light/primary_light.glb')
|
||||||
// const { scene: secondaryLight } = await useGLTF('/models_light/secondary_light.glb')
|
// const { scene: secondaryLight } = await useGLTF('/models_light/secondary_light.glb')
|
||||||
// console.log({ backLight, primaryLight, secondaryLight })
|
// console.log({ backLight, primaryLight, secondaryLight })
|
||||||
watch(controlsState, ()=>{
|
|
||||||
console.log(controlsState)
|
|
||||||
})
|
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<div class="container min-w-full">
|
<div class="container min-w-full">
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
import { useScroll } from '@vueuse/core';
|
||||||
|
|
||||||
const lamelles_count = useState('lamelles_count', () => 3)
|
const lamelles_count = useState('lamelles_count', () => 3)
|
||||||
const lamelles = reactive({
|
const lamelles = reactive({
|
||||||
min: 3,
|
min: 3,
|
||||||
|
@ -11,6 +13,7 @@ const chanreParametres = () => {
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<input type="number" :max="lamelles.max" :min="lamelles.min" v-model="lamelles.value" @change="chanreParametres" />
|
<input type="number" :max="lamelles.max" :min="lamelles.min" v-model="lamelles.value"
|
||||||
|
@change="chanreParametres" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
|
@ -1,11 +1,14 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
import { useScroll } from '@vueuse/core'
|
||||||
import Item from './item.vue';
|
import Item from './item.vue';
|
||||||
const lSize = 0.1
|
const lSize = 0.1
|
||||||
const lamelles_count = useState('lamelles_count')
|
const lamelles_count = useState('lamelles_count')
|
||||||
|
const { x, y, isScrolling, arrivedState, directions } = useScroll(document)
|
||||||
|
console.log(y)
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<TresMesh :position="[0, 0, 0]" :rotate-x="Math.PI * -0.5" receive-shadow cast-shadow>
|
<TresMesh :position="[0, 0, 0]" :rotate-x="Math.PI * -0.5" receive-shadow cast-shadow>
|
||||||
<TresCircleGeometry :args="[8, 8, 0.05]" />
|
<TresCircleGeometry :args="[8, 8, 1]" />
|
||||||
<TresMeshStandardMaterial color="pink" />
|
<TresMeshStandardMaterial color="pink" />
|
||||||
</TresMesh>
|
</TresMesh>
|
||||||
<Suspense>
|
<Suspense>
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
"@tresjs/cientos": "^3.9.0",
|
"@tresjs/cientos": "^3.9.0",
|
||||||
"@tresjs/core": "^4.0.2",
|
"@tresjs/core": "^4.0.2",
|
||||||
"@tresjs/nuxt": "^2.1.2",
|
"@tresjs/nuxt": "^2.1.2",
|
||||||
|
"@vueuse/core": "^10.10.0",
|
||||||
"nuxt": "^3.11.2",
|
"nuxt": "^3.11.2",
|
||||||
"nuxt-svgo": "^4.0.1",
|
"nuxt-svgo": "^4.0.1",
|
||||||
"sass": "^1.77.4",
|
"sass": "^1.77.4",
|
||||||
|
|
Loading…
Reference in New Issue