|
| 1 | +import { Metadata } from "next"; |
| 2 | +import React from "react"; |
| 3 | +import { Container } from "@/components/ui/container"; |
| 4 | +import Heading from "@/components/ui/heading"; |
| 5 | +import Subheading from "@/components/ui/subheading"; |
| 6 | +import Paragraph from "@/components/ui/paragraph"; |
| 7 | +import { FlightPriceChart } from "@/components/flight-price-chart"; |
| 8 | +import { FlightShareUrlAnchor } from "@/components/flight-share-url-anchor"; |
| 9 | +import TelegramLinkButton from "@/components/telegram-link-button"; |
| 10 | +import AdUnit from "@/components/ad-unit"; |
| 11 | +import { META_OPEN_GRAPH, META_TWITTER } from "@/app/shared-metadata"; |
| 12 | +import { |
| 13 | + FlightAirline, |
| 14 | + Routes, |
| 15 | + TelegramChannel, |
| 16 | + TopicTitle, |
| 17 | +} from "@/lib/enums"; |
| 18 | + |
| 19 | +const title = "Singapore Airlines Flights to Riyadh"; |
| 20 | +const description = |
| 21 | + "Analyse Singapore Airlines fare trends from Singapore to Riyadh for the past 6 months, 1 year and 2 years."; |
| 22 | +const url = Routes.SingaporeAirlinesFlightsRiyadh; |
| 23 | + |
| 24 | +export const metadata: Metadata = { |
| 25 | + title, |
| 26 | + description, |
| 27 | + alternates: { |
| 28 | + canonical: url, |
| 29 | + }, |
| 30 | + openGraph: { |
| 31 | + ...META_OPEN_GRAPH, |
| 32 | + title, |
| 33 | + description, |
| 34 | + url, |
| 35 | + }, |
| 36 | + twitter: { |
| 37 | + ...META_TWITTER, |
| 38 | + title, |
| 39 | + description, |
| 40 | + }, |
| 41 | +}; |
| 42 | + |
| 43 | +export default function SingaporeAirlinesFlightsRiyadh() { |
| 44 | + return ( |
| 45 | + <Container> |
| 46 | + <div className="space-y-2"> |
| 47 | + <Heading>{title}</Heading> |
| 48 | + <Subheading>{description}</Subheading> |
| 49 | + </div> |
| 50 | + <FlightPriceChart |
| 51 | + airline={FlightAirline.SINGAPORE_AIRLINES} |
| 52 | + destinationCityCode="RUH" |
| 53 | + chartTitle="Riyadh Price Trend" |
| 54 | + /> |
| 55 | + <Paragraph> |
| 56 | + The above chart shows the fare trends for Singapore Airlines flights |
| 57 | + from Singapore to Riyadh (RUH) for the past 6 months, 1 year and 2 |
| 58 | + years. You can use this information to decide when to{" "} |
| 59 | + <FlightShareUrlAnchor |
| 60 | + airline={FlightAirline.SINGAPORE_AIRLINES} |
| 61 | + destinationCityCode="RUH" |
| 62 | + linkText="book your flight" |
| 63 | + />{" "} |
| 64 | + for the best price. |
| 65 | + </Paragraph> |
| 66 | + <AdUnit /> |
| 67 | + <Paragraph> |
| 68 | + <span className="font-medium">SG Alerts</span> is a free notification |
| 69 | + service that monitors the Singapore Airlines flight fare deals from |
| 70 | + Singapore to Riyadh. It sends you a Telegram notification when the |
| 71 | + prices go down so that you can take advantage of the lower prices. |
| 72 | + </Paragraph> |
| 73 | + <Paragraph> |
| 74 | + To get started, simply click the button below to join the Telegram |
| 75 | + channel and start receiving notifications. |
| 76 | + </Paragraph> |
| 77 | + <div className="sticky bottom-6 z-50 mt-8 text-center"> |
| 78 | + <TelegramLinkButton |
| 79 | + channel={TelegramChannel.SingaporeAirlinesFlights} |
| 80 | + linkText="Subscribe Now" |
| 81 | + topicTitle={TopicTitle.SingaporeAirlinesFlights} |
| 82 | + /> |
| 83 | + </div> |
| 84 | + </Container> |
| 85 | + ); |
| 86 | +} |
0 commit comments