Merge branch 'bx-696-startproject' of https://git.svs-tech.pro/ksenia_mikhailova/mns-mini-zabor into bx-696-startproject

This commit is contained in:
commit 364c9599bd
6 changed files with 9 additions and 9 deletions

View File

@ -12,6 +12,7 @@ const section_count = use_section_count()
const extra_section = use_extra_section()
const total_length = use_total_length()
const min_length = use_min_length()
const max_size = use_max_size()
const controlsState = reactive({
distance: section_count.value,

View File

@ -12,7 +12,6 @@ const { scrollToAnchor, scrollToTop } = useAnchorScroll({
},
})
const route = useRoute()
console.log({ route })
</script>
<template>
<div class="header">

View File

@ -7,9 +7,8 @@ import { EXRLoader } from 'three/examples/jsm/Addons.js';
import { useGLTF, } from '@tresjs/cientos'
const section_count = useState<number>('section_count')
const extra_section = useState<number>('extra_section')
const max_size = useState<number>('max_size', () => 13)
const extra_section = use_extra_section()
const max_size = use_max_size()
const { scene, renderer, camera } = useTresContext()
renderer.value.toneMapping = ReinhardToneMapping

View File

@ -12,3 +12,4 @@ export const use_section_count = () => useState('section_count', () => 5)
export const use_extra_section = () => useState('extra_section', () => 0)
export const use_total_length = () => useState('total_length', () => (1000 * 5 - 100) * 0.001)
export const use_min_length = () => useState('min_length', () => 1000)
export const use_max_size = () => useState<number>('max_size', () => 13)

View File

@ -20,8 +20,6 @@ const props = defineProps({
error: Object as () => NuxtError
})
const handleError = () => clearError({ redirect: '/' })
</script>
<template>

View File

@ -20,7 +20,9 @@ export default defineNuxtConfig({
assetsInclude: ['**/*.glb', '**/*.gltf'],
},
robots: {
rules: {
UserAgent: '*',
Disallow: '/',
}
}
})