Stay web

Stay web 로고
ABOUTCONTACT
  • 0

제작문의

(1)

견적 및 결제상담

(2)

선금결제

(3)

브랜딩 작업  (선택 시)

(4)

쇼핑몰 제작

(5)

잔금 결제 및 가이드 전달

(6)

<style>

.services-fadeText-container {

text-align: center;

line-height: 1;

margin: 0;

padding: 0;

margin-bottom: -50px;

}

.services-fadeText {

font-size: 4.5vw;

display: inline-block;

line-height: 1;

margin: 0;

padding: 0;

}

@media screen and (max-width: 768px) {

.services-fadeText {

font-size: 7vw;

}

.services-fadeText-container {

margin-bottom: -40px;

}

}

@media screen and (max-width: 480px) {

.services-fadeText {

font-size: 10vw;

}

.services-fadeText-container {

margin-bottom: -30px;

}

}

.services-fadeText span {

opacity: 0;

display: inline-block;

filter: blur(10px);

}

.services-fadeText span.animate {

animation: servicesFadeInBlur 0.4s ease-out forwards;

}

@keyframes servicesFadeInBlur {

0% {

opacity: 0;

transform: translateY(5px);

filter: blur(10px);

}

100% {

opacity: 1;

transform: translateY(0);

filter: blur(0);

}

}

</style>

<div class="services-fadeText-container">

<div class="services-fadeText" id="services-animatedText"></div>

</div>

<script>

// 텍스트 초기화 함수

function initServicesText() {

const text = "Our Services";

const container = document.getElementById('services-animatedText');

if (!container) return;

container.innerHTML = '';

for(let i = 0; i < text.length; i++) {

const span = document.createElement('span');

if(text[i] === ' ') {

span.innerHTML = '&nbsp;';

} else {

span.textContent = text[i];

}

container.appendChild(span);

}

}

// 애니메이션 시작 함수

function startServicesAnimation() {

const spans = document.querySelectorAll('#services-animatedText span');

spans.forEach((span, i) => {

setTimeout(() => {

span.classList.add('animate');

}, i * 50);

});

}

// 애니메이션 리셋 함수

function resetServicesAnimation() {

const spans = document.querySelectorAll('#services-animatedText span');

spans.forEach(span => span.classList.remove('animate'));

}

// 애니메이션 초기화 및 시작 함수

function initAndAnimateServices() {

resetServicesAnimation();

setTimeout(() => {

initServicesText();

startServicesAnimation();

}, 10);

}

// 요소가 뷰포트 안에 있는지 확인하는 함수

function isServicesElementInViewport(el) {

const rect = el.getBoundingClientRect();

return (

rect.top >= 0 &&

rect.left >= 0 &&

rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) &&

rect.right <= (window.innerWidth || document.documentElement.clientWidth)

);

}

// 스크롤 이벤트 핸들러

let isServicesAnimating = false;

function handleServicesScroll() {

const container = document.querySelector('.services-fadeText-container');

if (!container || isServicesAnimating) return;

if (isServicesElementInViewport(container)) {

isServicesAnimating = true;

initAndAnimateServices();

setTimeout(() => {

isServicesAnimating = false;

}, 1000);

}

}

// 페이지 로드 시 실행

document.addEventListener('DOMContentLoaded', function() {

initAndAnimateServices(); // 초기 실행

// 스크롤 이벤트 리스너 등록

window.addEventListener('scroll', handleServicesScroll, { passive: true });

// Intersection Observer 설정

const observer = new IntersectionObserver(

(entries) => {

entries.forEach(entry => {

if (entry.isIntersecting && !isServicesAnimating) {

isServicesAnimating = true;

initAndAnimateServices();

setTimeout(() => {

isServicesAnimating = false;

}, 1000);

}

});

},

{

threshold: 0.5,

rootMargin: '0px'

}

);

// 컨테이너 관찰 시작

const container = document.querySelector('.services-fadeText-container');

if (container) {

observer.observe(container);

}

});

// 로고 클릭 이벤트 처리 (수정된 부분)

document.addEventListener('click', function(e) {

const logoLink = e.target.closest('a[href="/"]');

if (logoLink) {

e.preventDefault();

if (window.location.pathname !== '/') {

history.pushState({}, '', '/');

// DOM 업데이트를 위한 지연 추가

setTimeout(() => {

const container = document.querySelector('.services-fadeText-container');

if (container) {

isServicesAnimating = false; // 애니메이션 상태 초기화

initServicesText(); // 텍스트 초기화

requestAnimationFrame(() => {

startServicesAnimation(); // 애니메이션 시작

});

}

}, 100); // DOM 업데이트를 위한 충분한 시간 대기

}

}

});

// URL 변경 감지 (수정된 부분)

let lastUrl = location.href;

new MutationObserver(() => {

const url = location.href;

if (url !== lastUrl) {

lastUrl = url;

if (url === window.location.origin + '/' || url === '/') {

setTimeout(() => {

const container = document.querySelector('.services-fadeText-container');

if (container) {

isServicesAnimating = false;

initServicesText();

requestAnimationFrame(() => {

startServicesAnimation();

});

}

}, 100);

}

}

}).observe(document, {subtree: true, childList: true});

</script>

<span class="responsive-text">쇼핑몰의 품격을 높이는 맞춤형 디자인으로, 당신의 비즈니스에 특별한 가치를 더합니다</span>

<style>

.responsive-text {

font-size: 1.5vw; /* 데스크톱 기본 크기 */

}

/* 태블릿 크기 */

@media screen and (max-width: 768px) {

.responsive-text {

font-size: 2.5vw;

}

}

/* 모바일 크기 */

@media screen and (max-width: 480px) {

.responsive-text {

font-size: 4vw;

}

}

</style>

<style>

.text-block {

font-weight: bold;

font-size: 2.6vw;

line-height: 1 !important;

display: block !important;

}

@media screen and (max-width: 768px) {

.text-block {

font-size: 7vw;

margin-bottom: 12px !important;

}

}

</style>

<div class="text-block" style="margin:0;padding:0;line-height:1">식스샵 퀵스타터팩</div>

<br>

<style>

.description-text {

font-size: 1.3vw;

line-height: 1.7;

}

@media screen and (max-width: 768px) {

.description-text {

font-size: 4vw;

margin-bottom: 2px !important;

}

}

</style>

<div class="description-text">합리적인 가격으로 시작하는 프리미엄 쇼핑몰 복잡한 과정은 줄이고, 필수 기능만 담아 빠르게 오픈하세요</div>

View More

<style>

.text-block {

font-weight: bold;

font-size: 2.6vw;

line-height: 1 !important;

display: block !important;

}

@media screen and (max-width: 768px) {

.text-block {

font-size: 7vw;

margin-bottom: 12px !important;

}

}

</style>

<div class="text-block" style="margin:0;padding:0;line-height:1">브랜딩 프리미엄</div>

<br><style>

.description-text {

font-size: 1.3vw;

line-height: 1.7;

}

@media screen and (max-width: 768px) {

.description-text {

font-size: 4vw;

margin-bottom: 2px !important;

}

}

</style>

<div class="description-text">대기업이 선택한 BX디자이너와 함께, 트렌디한 브랜드로 레벨업하세요

전략적인 브랜드 설계부터 감각적인 쇼핑몰 구축까지, 프리미엄 원스톱 솔루션</div>

Email. stayweb@naver.com

Address. 서울특별시 강남구 개포로15길 3-4, 지101-A021호(개포동)

월-일 10:30-20:00 / 연중무휴

  • 이용약관
  • 개인정보처리방침
  • 1:1 문의
상호
대표
개인정보관리책임자
전화
이메일
주소
사업자등록번호
통신판매업신고번호
호스팅 제공자 :
주식회사 식스샵

©stayweb. 2025 ALL RIGHTS RESERVED

로고