160 lines
4.7 KiB
Vue
160 lines
4.7 KiB
Vue
<template>
|
|
<section class="about" id="about">
|
|
<div class="about-decorations">
|
|
<div class="about-decoration about-decoration-1"></div>
|
|
<div class="about-decoration about-decoration-2"></div>
|
|
<div class="about-decoration about-decoration-3"></div>
|
|
</div>
|
|
|
|
<SectionContainer>
|
|
<div
|
|
v-show-on-intersect="'fade-up'"
|
|
class="about-content"
|
|
>
|
|
<div>
|
|
<SectionTitle title="Beyond" gradient="Borders" />
|
|
|
|
<div class="about-grid">
|
|
<div class="about-text" v-show-on-intersect="{type: 'slide-right'}">
|
|
<p>
|
|
We've been travelling the world our whole lives. From North Korea to Afghanistan, Comoros to Venezuela, Suriname to Uruguay. We know the world, and we want to show it to you.
|
|
</p>
|
|
<p>
|
|
Dr Edgy offers immersive, authentic small group and private adventures, leveraging an extensive global network forged through decades of adventure travel.
|
|
</p>
|
|
<p>
|
|
Our main focus for now is China, where we offer deep-dive adventures of individual provinces and subjects-of-interest and going to places that most other tours completely bypass.
|
|
We can arrange private adventures in many other countries on request.
|
|
</p>
|
|
</div>
|
|
|
|
<div class="about-cta" v-show-on-intersect="{type:'slide-left'}">
|
|
<h3>Who Are We?</h3>
|
|
<p>Dr Edgy was founded by two close friends who met travelling in North Korea. Both of us love adventure travel with a bit of luxury. One of us is even an actual doctor.</p>
|
|
<p>You are in safe hands.</p>
|
|
<EdgyButton classes="btn-primary">
|
|
<Link href="/about">
|
|
GET TO KNOW US
|
|
</Link>
|
|
</EdgyButton>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</SectionContainer>
|
|
</section>
|
|
</template>
|
|
|
|
<style scoped>
|
|
/* About Section */
|
|
.about {
|
|
position: relative;
|
|
padding: 5rem 0;
|
|
background: var(--background);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.about-decorations {
|
|
position: absolute;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.about-decoration {
|
|
position: absolute;
|
|
opacity: 0.05;
|
|
clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
|
|
}
|
|
|
|
.about-decoration-1 {
|
|
top: 2rem;
|
|
right: 2rem;
|
|
width: 100px;
|
|
height: 100px;
|
|
background: var(--gradient-adventure);
|
|
}
|
|
|
|
.about-decoration-2 {
|
|
bottom: 3rem;
|
|
left: 3rem;
|
|
width: 80px;
|
|
height: 80px;
|
|
background: var(--gradient-accent);
|
|
}
|
|
|
|
.about-decoration-3 {
|
|
top: 50%;
|
|
right: 5rem;
|
|
width: 6px;
|
|
height: 100px;
|
|
background: var(--gradient-adventure);
|
|
}
|
|
|
|
.about-grid {
|
|
display: grid;
|
|
gap: 3rem;
|
|
margin-top: 3rem;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.about-grid {
|
|
grid-template-columns: 1fr 1fr;
|
|
align-items: center;
|
|
}
|
|
}
|
|
|
|
.about-text p {
|
|
margin-bottom: 1.5rem;
|
|
color: var(--muted-foreground);
|
|
font-size: 1.125rem;
|
|
}
|
|
|
|
.about-cta {
|
|
text-align: center;
|
|
padding: 2rem;
|
|
background: var(--card);
|
|
border-radius: 0;
|
|
clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
|
|
}
|
|
|
|
.about-cta h3 {
|
|
font-size: 1.5rem;
|
|
margin-bottom: 1rem;
|
|
background: var(--gradient-adventure);
|
|
-webkit-background-clip: text;
|
|
background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
}
|
|
|
|
.about-cta p {
|
|
color: var(--muted-foreground);
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.stats-grid {
|
|
grid-template-columns: 1fr;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.about-grid {
|
|
grid-template-columns: 1fr;
|
|
gap: 2rem;
|
|
}
|
|
}
|
|
</style>
|
|
|
|
<script setup lang="ts">
|
|
import { ref } from 'vue'
|
|
import EdgyButton from "@/components/dredgy/EdgyButton.vue";
|
|
import SectionContainer from "@/components/dredgy/SectionContainer.vue";
|
|
import SectionTitle from "@/components/dredgy/SectionTitle.vue";
|
|
import {Link} from "@inertiajs/vue3";
|
|
|
|
const isVisible = ref(false)
|
|
|
|
const onIntersect = (isIntersecting: boolean, entries: IntersectionObserverEntry[]) => {
|
|
isVisible.value = isIntersecting
|
|
}
|
|
</script>
|