icons
|
@ -0,0 +1,4 @@
|
|||
<svg width="37" height="23" viewBox="0 0 37 23" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M7.85872 22.2998C6.77872 22.2998 5.65872 22.1598 4.49872 21.8798C3.33872 21.5998 2.32872 21.1798 1.46872 20.6198C1.06872 20.3598 0.798719 20.0598 0.658719 19.7198C0.518719 19.3798 0.478719 19.0598 0.538719 18.7598C0.618719 18.4398 0.768719 18.1698 0.988719 17.9498C1.22872 17.7298 1.51872 17.5998 1.85872 17.5598C2.21872 17.5198 2.60872 17.6098 3.02872 17.8298C3.84872 18.2698 4.63872 18.5898 5.39872 18.7898C6.15872 18.9698 6.93872 19.0598 7.73872 19.0598C8.61872 19.0598 9.35872 18.9398 9.95872 18.6998C10.5587 18.4598 11.0087 18.0998 11.3087 17.6198C11.6287 17.1398 11.7887 16.5598 11.7887 15.8798C11.7887 14.8798 11.4487 14.1398 10.7687 13.6598C10.1087 13.1598 9.13872 12.9098 7.85872 12.9098H5.93872C5.37872 12.9098 4.94872 12.7698 4.64872 12.4898C4.36872 12.2098 4.22872 11.8198 4.22872 11.3198C4.22872 10.8198 4.36872 10.4298 4.64872 10.1498C4.94872 9.86981 5.37872 9.7298 5.93872 9.7298H7.49872C8.25872 9.7298 8.90872 9.6098 9.44872 9.3698C9.98872 9.1098 10.4087 8.74981 10.7087 8.28981C11.0087 7.82981 11.1587 7.2698 11.1587 6.60981C11.1587 5.68981 10.8487 4.98981 10.2287 4.50981C9.62872 4.0298 8.74872 3.7898 7.58872 3.7898C6.84872 3.7898 6.14872 3.8798 5.48872 4.0598C4.84872 4.2198 4.13872 4.5298 3.35872 4.9898C2.99872 5.2098 2.64872 5.2998 2.30872 5.2598C1.98872 5.21981 1.71872 5.08981 1.49872 4.8698C1.27872 4.6498 1.12872 4.38981 1.04872 4.08981C0.968719 3.7698 0.988719 3.44981 1.10872 3.12981C1.22872 2.78981 1.47872 2.4998 1.85872 2.2598C2.71872 1.6998 3.66872 1.2798 4.70872 0.999804C5.74872 0.699805 6.81872 0.549805 7.91872 0.549805C9.37872 0.549805 10.6287 0.779805 11.6687 1.2398C12.7087 1.67981 13.4987 2.31981 14.0387 3.15981C14.5987 3.97981 14.8787 4.97981 14.8787 6.15981C14.8787 6.99981 14.7187 7.7698 14.3987 8.4698C14.0787 9.1498 13.6287 9.72981 13.0487 10.2098C12.4687 10.6898 11.7687 11.0298 10.9487 11.2298V10.8698C12.3887 11.1098 13.5087 11.7098 14.3087 12.6698C15.1087 13.6098 15.5087 14.7898 15.5087 16.2098C15.5087 17.4498 15.1987 18.5298 14.5787 19.4498C13.9587 20.3698 13.0787 21.0798 11.9387 21.5798C10.7987 22.0598 9.43872 22.2998 7.85872 22.2998Z" fill="#438CB6"/>
|
||||
<path d="M19.217 21.9998C18.557 21.9998 18.047 21.8298 17.687 21.4898C17.347 21.1298 17.177 20.6198 17.177 19.9598V2.8898C17.177 2.2298 17.347 1.7298 17.687 1.3898C18.047 1.0298 18.557 0.849804 19.217 0.849804H25.037C28.577 0.849804 31.307 1.7598 33.227 3.5798C35.167 5.39981 36.137 8.00981 36.137 11.4098C36.137 13.1098 35.887 14.6198 35.387 15.9398C34.907 17.2398 34.187 18.3398 33.227 19.2398C32.287 20.1398 31.127 20.8298 29.747 21.3098C28.387 21.7698 26.817 21.9998 25.037 21.9998H19.217ZM21.017 18.8198H24.797C26.037 18.8198 27.107 18.6698 28.007 18.3698C28.927 18.0498 29.687 17.5898 30.287 16.9898C30.907 16.3698 31.367 15.5998 31.667 14.6798C31.967 13.7398 32.117 12.6498 32.117 11.4098C32.117 8.92981 31.507 7.0798 30.287 5.8598C29.067 4.6398 27.237 4.0298 24.797 4.0298H21.017V18.8198Z" fill="#438CB6"/>
|
||||
</svg>
|
After Width: | Height: | Size: 3.0 KiB |
|
@ -0,0 +1,4 @@
|
|||
<svg width="24" height="15" viewBox="0 0 24 15" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M4.898 14.5C4.178 14.5 3.43133 14.4067 2.658 14.22C1.88467 14.0333 1.21133 13.7533 0.638 13.38C0.371333 13.2067 0.191333 13.0067 0.098 12.78C0.00466666 12.5533 -0.022 12.34 0.018 12.14C0.0713334 11.9267 0.171333 11.7467 0.318 11.6C0.478 11.4533 0.671333 11.3667 0.898 11.34C1.138 11.3133 1.398 11.3733 1.678 11.52C2.22467 11.8133 2.75133 12.0267 3.258 12.16C3.76467 12.28 4.28467 12.34 4.818 12.34C5.40467 12.34 5.898 12.26 6.298 12.1C6.698 11.94 6.998 11.7 7.198 11.38C7.41133 11.06 7.518 10.6733 7.518 10.22C7.518 9.55333 7.29133 9.06 6.838 8.74C6.398 8.40667 5.75133 8.24 4.898 8.24H3.618C3.24467 8.24 2.958 8.14667 2.758 7.96C2.57133 7.77333 2.478 7.51333 2.478 7.18C2.478 6.84667 2.57133 6.58667 2.758 6.4C2.958 6.21333 3.24467 6.12 3.618 6.12H4.658C5.16467 6.12 5.598 6.04 5.958 5.88C6.318 5.70667 6.598 5.46667 6.798 5.16C6.998 4.85333 7.098 4.48 7.098 4.04C7.098 3.42667 6.89133 2.96 6.478 2.64C6.078 2.32 5.49133 2.16 4.718 2.16C4.22467 2.16 3.758 2.22 3.318 2.34C2.89133 2.44667 2.418 2.65333 1.898 2.96C1.658 3.10667 1.42467 3.16667 1.198 3.14C0.984667 3.11333 0.804667 3.02667 0.658 2.88C0.511333 2.73333 0.411333 2.56 0.358 2.36C0.304667 2.14667 0.318 1.93333 0.398 1.72C0.478 1.49333 0.644667 1.3 0.898 1.14C1.47133 0.766666 2.10467 0.486666 2.798 0.3C3.49133 0.0999999 4.20467 0 4.938 0C5.91133 0 6.74467 0.153333 7.438 0.46C8.13133 0.753334 8.658 1.18 9.018 1.74C9.39133 2.28667 9.578 2.95333 9.578 3.74C9.578 4.3 9.47133 4.81333 9.258 5.28C9.04467 5.73333 8.74467 6.12 8.358 6.44C7.97133 6.76 7.50467 6.98667 6.958 7.12V6.88C7.918 7.04 8.66467 7.44 9.198 8.08C9.73133 8.70667 9.998 9.49333 9.998 10.44C9.998 11.2667 9.79133 11.9867 9.378 12.6C8.96467 13.2133 8.378 13.6867 7.618 14.02C6.858 14.34 5.95133 14.5 4.898 14.5Z" fill="white"/>
|
||||
<path d="M12.4702 14.3C12.0302 14.3 11.6902 14.1867 11.4502 13.96C11.2235 13.72 11.1102 13.38 11.1102 12.94V1.56C11.1102 1.12 11.2235 0.786667 11.4502 0.56C11.6902 0.32 12.0302 0.2 12.4702 0.2H16.3502C18.7102 0.2 20.5302 0.806667 21.8102 2.02C23.1035 3.23333 23.7502 4.97333 23.7502 7.24C23.7502 8.37333 23.5835 9.38 23.2502 10.26C22.9302 11.1267 22.4502 11.86 21.8102 12.46C21.1835 13.06 20.4102 13.52 19.4902 13.84C18.5835 14.1467 17.5369 14.3 16.3502 14.3H12.4702ZM13.6702 12.18H16.1902C17.0169 12.18 17.7302 12.08 18.3302 11.88C18.9435 11.6667 19.4502 11.36 19.8502 10.96C20.2635 10.5467 20.5702 10.0333 20.7702 9.42C20.9702 8.79333 21.0702 8.06667 21.0702 7.24C21.0702 5.58667 20.6635 4.35333 19.8502 3.54C19.0369 2.72667 17.8169 2.32 16.1902 2.32H13.6702V12.18Z" fill="white"/>
|
||||
</svg>
|
After Width: | Height: | Size: 2.6 KiB |
|
@ -0,0 +1,7 @@
|
|||
<svg width="100%" height="100%" viewBox="0 0 35 35" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M15.9984 1.5C15.9984 0.671573 16.67 3.62114e-08 17.4984 0C18.3268 -3.62114e-08 18.9984 0.671573 18.9984 1.5L18.9984 6.87868L19.6197 6.25736C20.2055 5.67157 21.1552 5.67157 21.741 6.25736C22.3268 6.84315 22.3268 7.79289 21.741 8.37868L18.559 11.5607C17.9733 12.1464 17.0235 12.1464 16.4377 11.5607L13.2557 8.37868C12.67 7.79289 12.67 6.84315 13.2557 6.25736C13.8415 5.67157 14.7913 5.67157 15.3771 6.25736L15.9984 6.87868V1.5Z" fill="#438CB6"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M15.9984 33.5C15.9984 34.3284 16.67 35 17.4984 35C18.3268 35 18.9984 34.3284 18.9984 33.5L18.9984 28.1213L19.6197 28.7426C20.2055 29.3284 21.1552 29.3284 21.741 28.7426C22.3268 28.1569 22.3268 27.2071 21.741 26.6213L18.559 23.4393C17.9733 22.8536 17.0235 22.8536 16.4377 23.4393L13.2557 26.6213C12.67 27.2071 12.67 28.1569 13.2557 28.7426C13.8415 29.3284 14.7913 29.3284 15.3771 28.7426L15.9984 28.1213V33.5Z" fill="#438CB6"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M33.5 15.9999C34.3284 15.9999 35 16.6714 35 17.4999C35 18.3283 34.3284 18.9999 33.5 18.9999H28.1213L28.7426 19.6212C29.3284 20.207 29.3284 21.1567 28.7426 21.7425C28.1569 22.3283 27.2071 22.3283 26.6213 21.7425L23.4393 18.5605C22.8536 17.9747 22.8536 17.025 23.4393 16.4392L26.6213 13.2572C27.2071 12.6714 28.1569 12.6714 28.7426 13.2572C29.3284 13.843 29.3284 14.7927 28.7426 15.3785L28.1213 15.9999H33.5Z" fill="#438CB6"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M1.5 15.9999C0.671573 15.9999 7.24231e-08 16.6714 0 17.4999C-7.24231e-08 18.3283 0.671573 18.9999 1.5 18.9999L6.87868 18.9999L6.25736 19.6212C5.67157 20.207 5.67157 21.1567 6.25736 21.7425C6.84314 22.3283 7.79289 22.3283 8.37868 21.7425L11.5607 18.5605C12.1464 17.9747 12.1464 17.025 11.5607 16.4392L8.37868 13.2572C7.79289 12.6714 6.84315 12.6714 6.25736 13.2572C5.67157 13.843 5.67157 14.7927 6.25736 15.3785L6.87868 15.9999H1.5Z" fill="#438CB6"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M15.5 17.5C15.5 16.3954 16.3954 15.5 17.5 15.5C18.6046 15.5 19.5 16.3954 19.5 17.5C19.5 18.6046 18.6046 19.5 17.5 19.5C16.3954 19.5 15.5 18.6046 15.5 17.5Z" fill="#438CB6"/>
|
||||
</svg>
|
After Width: | Height: | Size: 2.2 KiB |
|
@ -0,0 +1,4 @@
|
|||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M13.1136 1.8783H6.74375C6.30995 1.8783 5.94485 2.17242 5.83697 2.57212H3.93683C4.06114 1.13096 5.27037 0 6.74375 0H13.1136C14.6697 0 15.9311 1.26142 15.9311 2.81746V9.18736C15.9311 10.66 14.8013 11.8687 13.3612 11.9941V10.0935C13.7598 9.98491 14.0528 9.62036 14.0528 9.18736V2.81746C14.0528 2.29878 13.6323 1.8783 13.1136 1.8783Z" fill="white"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M0.5 6.42965C0.5 4.77279 1.84315 3.42965 3.5 3.42965H9.50482C11.1617 3.42965 12.5048 4.77279 12.5048 6.42965V12.4345C12.5048 14.0913 11.1617 15.4345 9.50482 15.4345H3.5C1.84314 15.4345 0.5 14.0913 0.5 12.4345V6.42965ZM3.5 5.42965H9.50482C10.0571 5.42965 10.5048 5.87736 10.5048 6.42965V12.4345C10.5048 12.9867 10.0571 13.4345 9.50482 13.4345H3.5C2.94772 13.4345 2.5 12.9867 2.5 12.4345V6.42965C2.5 5.87736 2.94771 5.42965 3.5 5.42965Z" fill="white"/>
|
||||
</svg>
|
After Width: | Height: | Size: 958 B |
|
@ -0,0 +1,3 @@
|
|||
<svg width="16" height="15" viewBox="0 0 16 15" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M15.6571 7.3769L8.38743 0.164061C8.17017 -0.0520829 7.80695 -0.052083 7.58969 0.164061L0.320031 7.3769C-0.369307 8.06134 0.127731 9.29226 1.11777 9.29226H1.88374V14.439C1.88374 14.7492 2.13612 14.9998 2.44851 14.9998H6.85902V11.0744H8.83572V14.9998H13.5286C13.841 14.9998 14.0934 14.7492 14.0934 14.439V9.29226H14.8593C15.8251 9.29226 16.3637 8.07853 15.6571 7.3769Z" fill="white"/>
|
||||
</svg>
|
After Width: | Height: | Size: 495 B |
|
@ -0,0 +1,3 @@
|
|||
<svg height="100%" viewBox="0 0 15 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M13.9923 0.585786C13.2113 -0.195262 11.945 -0.195262 11.1639 0.585786L-0.000302315 11.75L11.1639 22.9142C11.945 23.6953 13.2113 23.6953 13.9923 22.9142C14.7734 22.1332 14.7734 20.8668 13.9923 20.0858L5.65655 11.75L13.9923 3.41421C14.7734 2.63317 14.7734 1.36683 13.9923 0.585786Z" fill="#438CB6"/>
|
||||
</svg>
|
After Width: | Height: | Size: 441 B |
|
@ -0,0 +1,3 @@
|
|||
<svg height="100%" viewBox="0 0 10 15" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M9.18175 0.43934C8.59597 -0.146447 7.64622 -0.146447 7.06043 0.43934L-0.000226974 7.5L7.06043 14.5607C7.64622 15.1464 8.59597 15.1464 9.18175 14.5607C9.76754 13.9749 9.76754 13.0251 9.18175 12.4393L4.24241 7.5L9.18175 2.56066C9.76754 1.97487 9.76754 1.02513 9.18175 0.43934Z" fill="#438CB6"/>
|
||||
</svg>
|
After Width: | Height: | Size: 436 B |
|
@ -0,0 +1,3 @@
|
|||
<svg width="10" height="2" viewBox="0 0 10 2" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M-8.74228e-08 1C-3.91405e-08 0.447715 0.447715 3.91405e-08 1 8.74228e-08L9 7.86805e-07C9.55229 8.35087e-07 10 0.447716 10 1C10 1.55229 9.55229 2 9 2L1 2C0.447715 2 -1.35705e-07 1.55228 -8.74228e-08 1Z" fill="white"/>
|
||||
</svg>
|
After Width: | Height: | Size: 367 B |
|
@ -0,0 +1,3 @@
|
|||
<svg width="100%" height="100%" viewBox="0 0 13 13" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M2.56066 0.43934C1.97487 -0.146447 1.02513 -0.146447 0.43934 0.43934C-0.146447 1.02513 -0.146447 1.97487 0.43934 2.56066L4.37868 6.5L0.43934 10.4393C-0.146446 11.0251 -0.146446 11.9749 0.43934 12.5607C1.02513 13.1464 1.97487 13.1464 2.56066 12.5607L6.5 8.62132L10.4393 12.5607C11.0251 13.1464 11.9749 13.1464 12.5607 12.5607C13.1464 11.9749 13.1464 11.0251 12.5607 10.4393L8.62132 6.5L12.5607 2.56066C13.1464 1.97487 13.1464 1.02513 12.5607 0.43934C11.9749 -0.146447 11.0251 -0.146447 10.4393 0.43934L6.5 4.37868L2.56066 0.43934Z" fill="#438CB6"/>
|
||||
</svg>
|
After Width: | Height: | Size: 664 B |
|
@ -0,0 +1,3 @@
|
|||
<svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M6 1C6 0.447715 5.55228 0 5 0C4.44772 0 4 0.447715 4 1L4 4L1 4C0.447715 4 0 4.44772 0 5C0 5.55228 0.447715 6 1 6L4 6L4 9C4 9.55229 4.44771 10 5 10C5.55228 10 6 9.55229 6 9V6L9 6C9.55229 6 10 5.55229 10 5C10 4.44772 9.55229 4 9 4L6 4V1Z" fill="white"/>
|
||||
</svg>
|
After Width: | Height: | Size: 364 B |
|
@ -0,0 +1,3 @@
|
|||
<svg width="15" height="24" viewBox="0 0 15 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M0.585786 0.585786C1.36683 -0.195262 2.63317 -0.195262 3.41421 0.585786L14.5784 11.75L3.41421 22.9142C2.63317 23.6953 1.36683 23.6953 0.585786 22.9142C-0.195262 22.1332 -0.195262 20.8668 0.585786 20.0858L8.92157 11.75L0.585786 3.41421C-0.195262 2.63317 -0.195262 1.36683 0.585786 0.585786Z" fill="#438CB6"/>
|
||||
</svg>
|
After Width: | Height: | Size: 460 B |
|
@ -0,0 +1,3 @@
|
|||
<svg height="100%" viewBox="0 0 10 15" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M0.43934 0.43934C1.02513 -0.146447 1.97487 -0.146447 2.56066 0.43934L9.62132 7.5L2.56066 14.5607C1.97487 15.1464 1.02513 15.1464 0.43934 14.5607C-0.146447 13.9749 -0.146447 13.0251 0.43934 12.4393L5.37868 7.5L0.43934 2.56066C-0.146447 1.97487 -0.146447 1.02513 0.43934 0.43934Z" fill="#438CB6"/>
|
||||
</svg>
|
After Width: | Height: | Size: 439 B |
|
@ -65,9 +65,19 @@ $boxShadow: 0px 0px 8px rgba(0, 0, 0, .25);
|
|||
pointer-events: none;
|
||||
}
|
||||
|
||||
> a {
|
||||
>a {
|
||||
line-height: 1;
|
||||
color: inherit;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
svg {
|
||||
width: 50%;
|
||||
height: 50%;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -80,6 +90,11 @@ $boxShadow: 0px 0px 8px rgba(0, 0, 0, .25);
|
|||
&-deep {
|
||||
width: 4rem;
|
||||
height: 4rem;
|
||||
|
||||
svg {
|
||||
width: 80%;
|
||||
height: 80%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -14,11 +14,13 @@ import { PROMOBG } from '../../constants';
|
|||
import { usePromoSidebar } from '../../stores/promo_sidebar';
|
||||
import { useLoading } from '../../stores/loading';
|
||||
import { useRawData } from '../../stores/raw_data';
|
||||
|
||||
import { Pixelation, EffectComposer } from '@tresjs/post-processing'
|
||||
import { useClickable } from '../../stores/clickable';
|
||||
import { usePromoScene } from '../../stores/promo_scene';
|
||||
|
||||
import icon_enter from '../../assets/btn/enter.svg';
|
||||
import icon_right from '../../assets/btn/right_sm.svg';
|
||||
import icon_left from '../../assets/btn/left_sm.svg';
|
||||
import icon_plus from '../../assets/btn/plus_lg.svg';
|
||||
|
||||
const minPan = ref(new Vector3(-2, -2, -2))
|
||||
const maxPan = ref(new Vector3(2, 2, 2))
|
||||
const _v = new Vector3();
|
||||
|
@ -94,22 +96,22 @@ const nextClickableId = () => {
|
|||
<div class="itemnav" v-if="sidebar.is_open">
|
||||
<div class="itemnav-close">
|
||||
<a href="#" @click.prevent="sidebar.close()">
|
||||
<i-uil-times />
|
||||
<icon_plus />
|
||||
</a>
|
||||
</div>
|
||||
<div class="itemnav-back">
|
||||
<a href="#" @click.prevent="sidebar.open(prevClickableId())">
|
||||
<i-uil-angle-left-b />
|
||||
<icon_left />
|
||||
</a>
|
||||
</div>
|
||||
<div class="itemnav-deep">
|
||||
<RouterLink :to="`/${route.params.item}/${sidebar.target}`">
|
||||
<i-uil-compress-arrows />
|
||||
<icon_enter />
|
||||
</RouterLink>
|
||||
</div>
|
||||
<div class="itemnav-forward">
|
||||
<a href="#" @click.prevent="sidebar.open(nextClickableId())">
|
||||
<i-uil-angle-right-b />
|
||||
<icon_right />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -303,6 +303,7 @@ onAfterRender(() => {
|
|||
camera.value?.position.lerp(camera_moveto.value, koef);
|
||||
camera_moveto_count.value -= 1
|
||||
if (camera_moveto_count.value == 0) {
|
||||
// camera.value?.lookAt(camera_moveto.value)
|
||||
camera_moveto.value = undefined;
|
||||
camera_moveto_count.value = COUNT;
|
||||
|
||||
|
@ -310,10 +311,10 @@ onAfterRender(() => {
|
|||
// (controls.value as any).minDistance = targetDistance.min;
|
||||
}
|
||||
}
|
||||
if (camera_rotatetoto.value) {
|
||||
if (!controls_targetto.value && !camera_moveto.value && camera_rotatetoto.value) {
|
||||
timer.stopTimer();
|
||||
camera.value?.quaternion.slerp(camera_rotatetoto.value, 0.5);
|
||||
camera.value?.quaternion.normalize()
|
||||
// camera.value?.quaternion.slerp(camera_rotatetoto.value, 0.5);
|
||||
// camera.value?.quaternion.normalize()
|
||||
camera_rotatetoto_count.value -= 1;
|
||||
if (camera_rotatetoto_count.value == 0) {
|
||||
camera_rotatetoto_count.value = 10;
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<script setup lang="ts">
|
||||
import icon_3d from '../assets/btn/3D_sm.svg';
|
||||
import icon_home from '../assets/btn/home.svg';
|
||||
import icon_gallery from '../assets/btn/gallery.svg';
|
||||
import { useRoute } from 'vue-router';
|
||||
import { useItem } from '../stores/item';
|
||||
|
||||
|
@ -10,24 +13,24 @@ const pageStore = useItem()
|
|||
<div class="nav-group">
|
||||
<span class="nav-icon" :class="[{ 'active': ['main', 'home_no'].includes(route.name as string) }]">
|
||||
<RouterLink :to="`/${pageStore.page.slug}`">
|
||||
<i-mdi-home-outline />
|
||||
<icon_home />
|
||||
</RouterLink>
|
||||
</span>
|
||||
<span class="nav-icon" :class="[{ 'active': route.name == 'scene' }]" style="font-size: 1.875rem;">
|
||||
<RouterLink :to="`/${pageStore.page.slug}/${pageStore.page.scene_3d}`">
|
||||
<i-mdi:video-3d />
|
||||
<icon_3d />
|
||||
</RouterLink>
|
||||
</span>
|
||||
<span class="nav-icon" :class="[{ 'active': route.name == 'gallery' }]" style="font-size: 1.375rem;">
|
||||
<RouterLink :to="`/${pageStore.page.slug}/gallery`">
|
||||
<i-mdi:vector-arrange-below />
|
||||
<icon_gallery />
|
||||
</RouterLink>
|
||||
</span>
|
||||
</div>
|
||||
<div class="nav-content">
|
||||
<template v-if="['main', 'home_no'].includes(route.name as string)">
|
||||
Нажмите на <span class="nav-icon">
|
||||
<i-mdi:video-3d />
|
||||
<icon_3d />
|
||||
</span>, чтобы узнать подробнее про объекты на глэмпинге
|
||||
</template>
|
||||
<template v-if="['scene'].includes(route.name as string)">
|
||||
|
|