Compare commits
10 Commits
version_12
...
version_13
| Author | SHA1 | Date | |
|---|---|---|---|
| e548dee610 | |||
| 5beb7133f6 | |||
| 0e78549726 | |||
| c2981e0577 | |||
| b185d7fadc | |||
| c2dfa95670 | |||
| 38640265f8 | |||
| 74149546e8 | |||
| 91e0c7aec3 | |||
| bdb090dd26 |
@@ -3,7 +3,6 @@
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import NavbarStyleApple from "@/components/navbar/NavbarStyleApple/NavbarStyleApple";
|
||||
import ContactCTA from "@/components/sections/contact/ContactCTA";
|
||||
import TestimonialCardSixteen from "@/components/sections/testimonial/TestimonialCardSixteen";
|
||||
import FooterLogoReveal from "@/components/sections/footer/FooterLogoReveal";
|
||||
|
||||
export default function HotelContactPage() {
|
||||
@@ -27,40 +26,22 @@ export default function HotelContactPage() {
|
||||
{ name: "Meklēt", id: "/" },
|
||||
{ name: "Galamērķi", id: "/#destinations" },
|
||||
{ name: "Atsauksmes", id: "/#features" },
|
||||
{ name: "Kontakti", id: "/hotel-contact" },
|
||||
{ name: "Rezervācijas & Kontakti", id: "/hotel-contact" }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="reviews" data-section="reviews">
|
||||
<TestimonialCardSixteen
|
||||
title="Viesnīcu atsauksmes"
|
||||
description="Pārskati citu ceļotāju vērtējumus un dalies savā pieredzē."
|
||||
tag="⭐ Atsauksmes"
|
||||
textboxLayout="split"
|
||||
useInvertedBackground={false}
|
||||
animationType="slide-up"
|
||||
kpiItems={[
|
||||
{ value: "4.8", label: "Vidējais reitings" },
|
||||
{ value: "15K+", label: "Atsauksmes" },
|
||||
{ value: "98%", label: "Ieteikumi" }
|
||||
]}
|
||||
testimonials={[
|
||||
{ id: "1", name: "Anna B.", role: "Ceļotāja", company: "Viesnīca Rīga", rating: 5 },
|
||||
{ id: "2", name: "Jānis K.", role: "Biznesa ceļotājs", company: "Grand City", rating: 4 }
|
||||
{ name: "Kontakti", id: "/hotel-contact" }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="contact" data-section="contact">
|
||||
<ContactCTA
|
||||
title="Sazinieties ar mums"
|
||||
description="Vai jums ir jautājumi par viesnīcu rezervāciju? Mūsu komanda ir gatava palīdzēt 24/7."
|
||||
tag="📞 Atbalsts"
|
||||
title="Kontakti"
|
||||
description="Ja jums ir jautājumi, nepieciešama palīdzība ar rezervācijām vai vēlaties uzzināt vairāk par ceļojumiem, sazinieties ar mums! Mūsu komanda ar prieku palīdzēs."
|
||||
tag="📞 Sazinies ar mums"
|
||||
background={{ variant: "plain" }}
|
||||
useInvertedBackground={false}
|
||||
buttons={[{ text: "Nosūtīt pieprasījumu", href: "#" }]}
|
||||
buttons={[
|
||||
{ text: "Zvanīt: +371 20 121 744", href: "tel:+37120121744" },
|
||||
{ text: "Rakstīt: TravelBook@gmail.com", href: "mailto:TravelBook@gmail.com" }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -73,4 +54,4 @@ export default function HotelContactPage() {
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -6,6 +6,8 @@ import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
||||
import { Mulish } from "next/font/google";
|
||||
import { DM_Sans } from "next/font/google";
|
||||
import { Inter_Tight } from "next/font/google";
|
||||
|
||||
|
||||
|
||||
@@ -14,8 +16,12 @@ export const metadata: Metadata = {
|
||||
description: 'Atrodi un rezervē viesnīcas visā pasaulē uz labākajām cenām. Salīdzini, apskatīies atsauksmes un sazinies ar mūsu komandu.',
|
||||
};
|
||||
|
||||
const mulish = Mulish({
|
||||
variable: "--font-mulish", subsets: ["latin"],
|
||||
|
||||
|
||||
const interTight = Inter_Tight({
|
||||
variable: "--font-inter-tight",
|
||||
subsets: ["latin"],
|
||||
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
|
||||
});
|
||||
|
||||
export default function RootLayout({
|
||||
@@ -26,7 +32,7 @@ export default function RootLayout({
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body className={`${mulish.variable} antialiased`}>
|
||||
<body className={`${interTight.variable} antialiased`}>
|
||||
<Tag />
|
||||
{children}
|
||||
<script
|
||||
|
||||
@@ -7,26 +7,11 @@ import ProductCardOne from "@/components/sections/product/ProductCardOne";
|
||||
import FeatureCardTen from "@/components/sections/feature/FeatureCardTen";
|
||||
import FooterLogoReveal from "@/components/sections/footer/FooterLogoReveal";
|
||||
import { CheckCircle, Filter, MapPin, Search, Star, Search as SearchIcon } from "lucide-react";
|
||||
import { useState, useMemo } from "react";
|
||||
import { useState } from "react";
|
||||
|
||||
export default function LandingPage() {
|
||||
const [selectedCity, setSelectedCity] = useState<string | null>(null);
|
||||
const [searchQuery, setSearchQuery] = useState("");
|
||||
const [priceRange, setPriceRange] = useState(200);
|
||||
const [minRating, setMinRating] = useState(0);
|
||||
|
||||
const allHotels = [
|
||||
{ id: "grand-city", name: "Grand City", price: 120, rating: 5, top: "33%", left: "25%" },
|
||||
{ id: "sunset-view", name: "Sunset View", price: 85, rating: 4, top: "75%", left: "66%" }
|
||||
];
|
||||
|
||||
const filteredHotels = useMemo(() => {
|
||||
return allHotels.filter(h =>
|
||||
h.name.toLowerCase().includes(searchQuery.toLowerCase()) &&
|
||||
h.price <= priceRange &&
|
||||
h.rating >= minRating
|
||||
);
|
||||
}, [searchQuery, priceRange, minRating]);
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
@@ -48,8 +33,7 @@ export default function LandingPage() {
|
||||
{ name: "Meklēt", id: "search" },
|
||||
{ name: "Galamērķi", id: "destinations" },
|
||||
{ name: "Atsauksmes", id: "features" },
|
||||
{ name: "Kontakti", id: "footer" },
|
||||
{ name: "Rezervācijas & Kontakti", id: "/hotel-contact" }
|
||||
{ name: "Kontakti", id: "/hotel-contact" }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -90,14 +74,6 @@ export default function LandingPage() {
|
||||
<label className="text-sm block mb-1">Budžets: €{priceRange}</label>
|
||||
<input type="range" min="50" max="300" value={priceRange} onChange={(e) => setPriceRange(Number(e.target.value))} className="w-full"/>
|
||||
</div>
|
||||
<div>
|
||||
<label className="text-sm block mb-1">Min. vērtējums</label>
|
||||
<select className="w-full p-2 border rounded" onChange={(e) => setMinRating(Number(e.target.value))}>
|
||||
<option value="0">Visi</option>
|
||||
<option value="4">4+</option>
|
||||
<option value="5">5</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -138,9 +114,9 @@ export default function LandingPage() {
|
||||
animationType="slide-up"
|
||||
useInvertedBackground={true}
|
||||
features={[
|
||||
{ id: "step1", title: "1. Izmanto karti", description: "Izpēti galamērķus uz kartes.", media: { imageSrc: "http://img.b2bpic.net/free-photo/shipping-logistic-delivery-freight-cargo-concept_53876-124951.jpg?_wi=2" }, items: [{ icon: Search, text: "Interaktīvā karte" }], reverse: false },
|
||||
{ id: "step2", title: "2. Salīdzini", description: "Apskatīies cenas un vērtējumus.", media: { imageSrc: "http://img.b2bpic.net/free-photo/gothic-church-with-spire-brick-architecture-historic-temple_169016-68118.jpg?_wi=2" }, items: [{ icon: Star, text: "Reitingi" }], reverse: true },
|
||||
{ id: "step3", title: "3. Rezervē", description: "Izvēlies savu ideālo viesnīcu.", media: { imageSrc: "http://img.b2bpic.net/free-photo/panoramic-view-big-ben-from-bridge-london_268835-1399.jpg?_wi=2" }, items: [{ icon: CheckCircle, text: "Tiešsaistes rezervēšana" }], reverse: false }
|
||||
{ id: "f1", title: "1. Izmanto karti", description: "Izpēti galamērķus uz kartes.", media: { imageSrc: "http://img.b2bpic.net/free-photo/shipping-logistic-delivery-freight-cargo-concept_53876-124951.jpg?_wi=2" }, items: [{ icon: Search, text: "Interaktīvā karte" }], reverse: false },
|
||||
{ id: "f2", title: "2. Salīdzini", description: "Apskatīies cenas un vērtējumus.", media: { imageSrc: "http://img.b2bpic.net/free-photo/gothic-church-with-spire-brick-architecture-historic-temple_169016-68118.jpg?_wi=2" }, items: [{ icon: Star, text: "Reitingi" }], reverse: true },
|
||||
{ id: "f3", title: "3. Rezervē", description: "Izvēlies savu ideālo viesnīcu.", media: { imageSrc: "http://img.b2bpic.net/free-photo/panoramic-view-big-ben-from-bridge-london_268835-1399.jpg?_wi=2" }, items: [{ icon: CheckCircle, text: "Tiešsaistes rezervēšana" }], reverse: false }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -154,4 +130,4 @@ export default function LandingPage() {
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -5,7 +5,6 @@ import NavbarStyleApple from "@/components/navbar/NavbarStyleApple/NavbarStyleAp
|
||||
import TestimonialCardTwo from "@/components/sections/testimonial/TestimonialCardTwo";
|
||||
import FaqSplitText from "@/components/sections/faq/FaqSplitText";
|
||||
import FooterLogoReveal from "@/components/sections/footer/FooterLogoReveal";
|
||||
import { Star } from "lucide-react";
|
||||
|
||||
export default function QuizAndReviewsPage() {
|
||||
return (
|
||||
@@ -25,10 +24,10 @@ export default function QuizAndReviewsPage() {
|
||||
<NavbarStyleApple
|
||||
brandName="TravelBook"
|
||||
navItems={[
|
||||
{ name: "Meklēt", id: "search" },
|
||||
{ name: "Galamērķi", id: "destinations" },
|
||||
{ name: "Atsauksmes", id: "reviews" },
|
||||
{ name: "Kontakti", id: "contact" }
|
||||
{ name: "Meklēt", id: "/#search" },
|
||||
{ name: "Galamērķi", id: "/#destinations" },
|
||||
{ name: "Atsauksmes", id: "/#features" },
|
||||
{ name: "Kontakti", id: "/hotel-contact" }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -42,25 +41,13 @@ export default function QuizAndReviewsPage() {
|
||||
useInvertedBackground={false}
|
||||
showCard={true}
|
||||
faqs={[
|
||||
{
|
||||
id: "1", title: "Kāds ir tavs ideālais ceļojuma mērķis?", content: "Pilsētas ar vēsturi un kultūru, pludmales paradīzes, kalnu avantiūras vai klusos ciematus?"
|
||||
},
|
||||
{
|
||||
id: "2", title: "Cik ilgu laiku vēlies ceļot?", content: "Īss brīvdienu skaits, nedēļa, divas nedēļas vai ilgāks ceļojums."
|
||||
},
|
||||
{
|
||||
id: "3", title: "Kāds ir tavs budžets per naktī?", content: "Ekonomisks (līdz €50), vidējais (€50-€150) vai luksuozs (virs €150)."
|
||||
},
|
||||
{
|
||||
id: "4", title: "Kāds ir tavs vēlamais izmitināšanas veids?", content: "Viesnīca, hostels, airbnb apartamenti vai luksusa kurorts."
|
||||
},
|
||||
{
|
||||
id: "5", title: "Ar ko tu vēlies nodarbināties brīvdienās?", content: "Aktīvie sporta veidi, relaksācija spa, ēdiena degustācija vai kultūras iepazīšana."
|
||||
}
|
||||
]}
|
||||
buttons={[
|
||||
{ text: "Nākt uz ceļojumu", href: "/" }
|
||||
{ id: "1", title: "Kāds ir tavs ideālais ceļojuma mērķis?", content: "Pilsētas ar vēsturi un kultūru, pludmales paradīzes, kalnu avantiūras vai klusos ciematus?" },
|
||||
{ id: "2", title: "Cik ilgu laiku vēlies ceļot?", content: "Īss brīvdienu skaits, nedēļa, divas nedēļas vai ilgāks ceļojums." },
|
||||
{ id: "3", title: "Kāds ir tavs budžets per naktī?", content: "Ekonomisks (līdz €50), vidējais (€50-€150) vai luksuozs (virs €150)." },
|
||||
{ id: "4", title: "Kāds ir tavs vēlamais izmitināšanas veids?", content: "Viesnīca, hostels, airbnb apartamenti vai luksusa kurorts." },
|
||||
{ id: "5", title: "Ar ko tu vēlies nodarbināties brīvdienās?", content: "Aktīvie sporta veidi, relaksācija spa, ēdiena degustācija vai kultūras iepazīšana." }
|
||||
]}
|
||||
buttons={[{ text: "Nākt uz ceļojumu", href: "/" }]}
|
||||
buttonAnimation="slide-up"
|
||||
/>
|
||||
</div>
|
||||
@@ -75,28 +62,11 @@ export default function QuizAndReviewsPage() {
|
||||
animationType="scale-rotate"
|
||||
useInvertedBackground={true}
|
||||
testimonials={[
|
||||
{
|
||||
id: "1", name: "Māra Liepiņa", role: "Ceļotāja", testimonial: "Vienkāršs un ātrs meklēšanas process. Atradu perfektu viesnīcu Parīzē dažos minūtēs. Brīnišķigs serviss!", imageSrc: "http://img.b2bpic.net/free-photo/casual-man-portrait-with-moustache-hat_1122-571.jpg?_wi=2", imageAlt: "uzņēmēja profesionāla portretu attēls"
|
||||
},
|
||||
{
|
||||
id: "2", name: "Jānis Ozols", role: "Ceļotājs", testimonial: "Lielisks atbalsts. Zvanīju uz viņiem jautājumiem par viesnīcu un viņi nekavējoties palīdzēja.", imageSrc: "http://img.b2bpic.net/free-photo/three-beautiful-smiling-women-happily-looking-camera-holding_574295-3816.jpg?_wi=2", imageAlt: "cilvēka portrets profesionāla foto"
|
||||
},
|
||||
{
|
||||
id: "3", name: "Inese Bērziņa", role: "Ceļotāja", testimonial: "Labas cenas, labs meklēšanas rīks. Ieteiktu visiem, kas plāno ceļojumu.", imageSrc: "http://img.b2bpic.net/free-photo/handsome-young-man-with-flowers_23-2147744597.jpg?_wi=2", imageAlt: "sievietes portrets smaidīga profesionāla"
|
||||
},
|
||||
{
|
||||
id: "4", name: "Andris Kalniņš", role: "Ceļotājs", testimonial: "Ērti un draudzīgi. Labākais ceļojuma portāls, ko esmu pazinis.", imageSrc: "http://img.b2bpic.net/free-photo/close-up-woman-posing_23-2148877801.jpg?_wi=2", imageAlt: "cilvēka portrets profesionāls"
|
||||
},
|
||||
{
|
||||
id: "5", name: "Kristīne Vītoliņa", role: "Ceļotāja", testimonial: "Pēc šīs platformas atradu ideālo patvāļīgo viesnīcu Rīgā. Iespējams, labākais ceļojuma vidējais!", imageSrc: "http://img.b2bpic.net/free-photo/casual-man-portrait-with-moustache-hat_1122-571.jpg?_wi=3", imageAlt: "portrets sievietei profesionāls"
|
||||
},
|
||||
{
|
||||
id: "6", name: "Roberts Liepa", role: "Ceļotājs", testimonial: "Iespējams, vislabāk dārgā viesnīca, ko esmu apmeklējis caur šo vietni. Paldies!", imageSrc: "http://img.b2bpic.net/free-photo/handsome-young-man-with-flowers_23-2147744597.jpg?_wi=3", imageAlt: "vīrieša portrets profesionāls"
|
||||
}
|
||||
]}
|
||||
buttons={[
|
||||
{ text: "Pievienoties tūkstošiem apmierinātiem ceļotājiem", href: "/" }
|
||||
{ id: "1", name: "Māra Liepiņa", role: "Ceļotāja", testimonial: "Vienkāršs un ātrs meklēšanas process. Atradu perfektu viesnīcu Parīzē dažos minūtēs. Brīnišķigs serviss!", imageSrc: "http://img.b2bpic.net/free-photo/casual-man-portrait-with-moustache-hat_1122-571.jpg?_wi=2" },
|
||||
{ id: "2", name: "Jānis Ozols", role: "Ceļotājs", testimonial: "Lielisks atbalsts. Zvanīju uz viņiem jautājumiem par viesnīcu un viņi nekavējoties palīdzēja.", imageSrc: "http://img.b2bpic.net/free-photo/three-beautiful-smiling-women-happily-looking-camera-holding_574295-3816.jpg?_wi=2" },
|
||||
{ id: "3", name: "Inese Bērziņa", role: "Ceļotāja", testimonial: "Labas cenas, labs meklēšanas rīks. Ieteiktu visiem, kas plāno ceļojumu.", imageSrc: "http://img.b2bpic.net/free-photo/handsome-young-man-with-flowers_23-2147744597.jpg?_wi=2" }
|
||||
]}
|
||||
buttons={[{ text: "Pievienoties tūkstošiem apmierinātiem ceļotājiem", href: "/" }]}
|
||||
buttonAnimation="slide-up"
|
||||
/>
|
||||
</div>
|
||||
@@ -110,4 +80,4 @@ export default function QuizAndReviewsPage() {
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -11,7 +11,7 @@ html {
|
||||
body {
|
||||
background-color: var(--background);
|
||||
color: var(--foreground);
|
||||
font-family: var(--font-mulish), sans-serif;
|
||||
font-family: var(--font-inter-tight), sans-serif;
|
||||
position: relative;
|
||||
min-height: 100vh;
|
||||
overscroll-behavior: none;
|
||||
@@ -24,5 +24,5 @@ h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
font-family: var(--font-mulish), sans-serif;
|
||||
font-family: var(--font-inter-tight), sans-serif;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user