From 6e5338a3ac451954d30de5fa5035914502e3f685 Mon Sep 17 00:00:00 2001 From: MuslemRahimi Date: Wed, 29 Jan 2025 13:43:50 +0100 Subject: [PATCH] seo optimized --- src/lib/components/SEO.svelte | 5 ++- src/routes/economic-indicator/+page.svelte | 36 +++------------ src/routes/etf/+page.svelte | 42 +++--------------- src/routes/imprint/+page.svelte | 33 +------------- src/routes/industry/+layout.svelte | 28 ------------ src/routes/industry/+page.svelte | 6 +++ src/routes/industry/all/+page.svelte | 6 +++ src/routes/industry/sectors/+page.svelte | 6 +++ src/routes/insider-tracker/+page.svelte | 35 +++------------ src/routes/price-alert/+page.svelte | 35 +++------------ src/routes/pricing/+page.svelte | 36 +++------------ src/routes/privacy-policy/+page.svelte | 21 +-------- src/routes/stock-screener/+page.svelte | 38 +++------------- src/routes/stocks/+page.svelte | 51 +++------------------- src/routes/terms-of-use/+page.svelte | 22 +--------- src/routes/watchlist/options/+page.svelte | 36 +++------------ src/routes/watchlist/stocks/+page.svelte | 35 +++------------ 17 files changed, 74 insertions(+), 397 deletions(-) diff --git a/src/lib/components/SEO.svelte b/src/lib/components/SEO.svelte index 973eaa8c..a9f3e8ee 100644 --- a/src/lib/components/SEO.svelte +++ b/src/lib/components/SEO.svelte @@ -7,7 +7,10 @@ - + {$numberOfUnreadNotification > 0 ? `(${$numberOfUnreadNotification})` : ""} {title} - Stocknear diff --git a/src/routes/economic-indicator/+page.svelte b/src/routes/economic-indicator/+page.svelte index 5ccacde8..ded1c8bd 100644 --- a/src/routes/economic-indicator/+page.svelte +++ b/src/routes/economic-indicator/+page.svelte @@ -4,7 +4,7 @@ import { Chart } from "svelte-echarts"; import Lazy from "$lib/components/Lazy.svelte"; import Infobox from "$lib/components/Infobox.svelte"; - + import SEO from "$lib/components/SEO.svelte"; import { init, use } from "echarts/core"; import { LineChart, BarChart } from "echarts/charts"; import { GridComponent, TooltipComponent } from "echarts/components"; @@ -618,36 +618,10 @@ }); </script> -<svelte:head> - <meta charset="utf-8" /> - <meta name="viewport" content="width=device-width" /> - <title> - {$numberOfUnreadNotification > 0 ? `(${$numberOfUnreadNotification})` : ""} US - Economic Indicator · Stocknear - - - - - - - - - - - - - - - +
- import { numberOfUnreadNotification } from "$lib/store"; + import SEO from "$lib/components/SEO.svelte"; import ArrowLogo from "lucide-svelte/icons/move-up-right"; import Table from "$lib/components/Table/Table.svelte"; @@ -9,42 +9,10 @@ let rawData = data?.getStockList; - - - - - {$numberOfUnreadNotification > 0 ? `(${$numberOfUnreadNotification})` : ""} List - of All Stock ETF Symbols · Stocknear - - - - - - - - - - - - - - - +
- import { numberOfUnreadNotification } from "$lib/store"; + import SEO from "$lib/components/SEO.svelte"; import ArrowLogo from "lucide-svelte/icons/move-up-right"; const emailAddress = "support@stocknear.com"; - - - {$numberOfUnreadNotification > 0 ? `(${$numberOfUnreadNotification})` : ""} Imprint - · Stocknear - - - - - - - - - - - - - - - - +
- - - {$numberOfUnreadNotification > 0 ? `(${$numberOfUnreadNotification})` : ""} Industry - · Stocknear - - - - - - - - - - - - - - - - -
diff --git a/src/routes/industry/+page.svelte b/src/routes/industry/+page.svelte index 532d20ca..e28b3609 100644 --- a/src/routes/industry/+page.svelte +++ b/src/routes/industry/+page.svelte @@ -2,6 +2,7 @@ import { screenWidth } from "$lib/store"; import IndustryTable from "$lib/components/IndustryTable.svelte"; import { industryList, sectorList, sectorNavigation } from "$lib/utils"; + import SEO from "$lib/components/SEO.svelte"; export let data; let rawData = data?.getSectorIndustryOverview; @@ -9,6 +10,11 @@ $: charNumber = $screenWidth < 640 ? 20 : 30; + +
+ +
diff --git a/src/routes/industry/sectors/+page.svelte b/src/routes/industry/sectors/+page.svelte index cfcb975d..856ae12d 100644 --- a/src/routes/industry/sectors/+page.svelte +++ b/src/routes/industry/sectors/+page.svelte @@ -2,6 +2,7 @@ import { screenWidth } from "$lib/store"; import { abbreviateNumber, sectorNavigation } from "$lib/utils"; import TableHeader from "$lib/components/Table/TableHeader.svelte"; + import SEO from "$lib/components/SEO.svelte"; export let data; let rawData = data?.getSectorOverview; @@ -90,6 +91,11 @@ }; + +
diff --git a/src/routes/insider-tracker/+page.svelte b/src/routes/insider-tracker/+page.svelte index 65dba73c..4956de6f 100644 --- a/src/routes/insider-tracker/+page.svelte +++ b/src/routes/insider-tracker/+page.svelte @@ -6,6 +6,7 @@ import TableHeader from "$lib/components/Table/TableHeader.svelte"; import HoverStockChart from "$lib/components/HoverStockChart.svelte"; import RatingsChart from "$lib/components/RatingsChart.svelte"; + import SEO from "$lib/components/SEO.svelte"; export let data; @@ -158,36 +159,10 @@ } - - - - - {$numberOfUnreadNotification > 0 ? `(${$numberOfUnreadNotification})` : ""} Insider - Tracker · Stocknear - - - - - - - - - - - - - - - +
- - - {$numberOfUnreadNotification > 0 ? `(${$numberOfUnreadNotification})` : ""} Price - Alert · Stocknear - - - - - - - - - - - - - - - - +
- - - - - {$numberOfUnreadNotification > 0 ? `(${$numberOfUnreadNotification})` : ""} Pricing - · Stocknear - - - - - - - - - - - - - - - + +
diff --git a/src/routes/privacy-policy/+page.svelte b/src/routes/privacy-policy/+page.svelte index e71db866..5f324433 100644 --- a/src/routes/privacy-policy/+page.svelte +++ b/src/routes/privacy-policy/+page.svelte @@ -1,27 +1,10 @@ - - - {$numberOfUnreadNotification > 0 ? `(${$numberOfUnreadNotification})` : ""} Privacy - Policy · Stocknear - - - - - - - - - - - - - +
{ */ - - - - - {$numberOfUnreadNotification > 0 ? `(${$numberOfUnreadNotification})` : ""} Stock - Screener · Stocknear - - - - - - - - - - - - - - - + diff --git a/src/routes/stocks/+page.svelte b/src/routes/stocks/+page.svelte index e9aaf2e5..19d65962 100644 --- a/src/routes/stocks/+page.svelte +++ b/src/routes/stocks/+page.svelte @@ -1,58 +1,17 @@ - - - - - {$numberOfUnreadNotification > 0 ? `(${$numberOfUnreadNotification})` : ""} List - of All Stock Ticker Symbols · Stocknear - - - - - - - - - - - - - - - - - +
- import { numberOfUnreadNotification } from "$lib/store"; - import ArrowLogo from "lucide-svelte/icons/move-up-right"; + import SEO from "$lib/components/SEO.svelte"; - - - {$numberOfUnreadNotification > 0 ? `(${$numberOfUnreadNotification})` : ""} Terms - of Use · Stocknear - - - - - - - - - - - - - +
- - - {$numberOfUnreadNotification > 0 ? `(${$numberOfUnreadNotification})` : ""} Options - Watchlist · Stocknear - - - - - - - - - - - - - - - - +
- - - {$numberOfUnreadNotification > 0 ? `(${$numberOfUnreadNotification})` : ""} Stock - Watchlist · Stocknear - - - - - - - - - - - - - - - - +