Landing Page

This commit is contained in:
David Haz
2025-07-08 12:39:14 +03:00
parent fa9392fa47
commit 9ddb731258
41 changed files with 4584 additions and 8 deletions

View File

@@ -0,0 +1,11 @@
<template>
<div>
<h1>Category Page</h1>
<p>Category: {{ $route.params.category }}</p>
<p>Subcategory: {{ $route.params.subcategory }}</p>
</div>
</template>
<script setup lang="ts">
</script>

38
src/pages/LandingPage.vue Normal file
View File

@@ -0,0 +1,38 @@
<template>
<section class="landing-wrapper">
<div v-if="isMobile" class="mobile-hero-background-container">
<!-- Hero image will be added when available -->
</div>
<PlasmaWave :y-offset="-300" :x-offset="100" :rotation-deg="-30" />
<Hero />
<FeatureCards />
<StartBuilding />
<Footer />
</section>
</template>
<script setup lang="ts">
import { ref, onMounted, onUnmounted } from 'vue'
import Hero from '../components/landing/Hero/Hero.vue'
import PlasmaWave from '@/components/landing/PlasmaWave/PlasmaWave.vue'
import Footer from '@/components/landing/Footer/Footer.vue'
import FeatureCards from '@/components/landing/FeatureCards/FeatureCards.vue'
import StartBuilding from '@/components/landing/StartBuilding/StartBuilding.vue'
const isMobile = ref(false)
const checkIsMobile = () => {
isMobile.value = window.innerWidth <= 768
}
onMounted(() => {
document.title = 'Vue Bits - Animated UI Components For Vue'
window.scrollTo(0, 0)
checkIsMobile()
window.addEventListener('resize', checkIsMobile)
})
onUnmounted(() => {
window.removeEventListener('resize', checkIsMobile)
})
</script>