diff --git a/src/routes/about/+page.svelte b/src/routes/about/+page.svelte index 1c3caa44..a13916ab 100644 --- a/src/routes/about/+page.svelte +++ b/src/routes/about/+page.svelte @@ -1,55 +1,15 @@ - - - {$numberOfUnreadNotification > 0 ? `(${$numberOfUnreadNotification})` : ""} About - · Stocknear - - - - - - - - - - - - - - - - +
diff --git a/src/routes/advertise/+page.svelte b/src/routes/advertise/+page.svelte index d51c85fe..577bf672 100644 --- a/src/routes/advertise/+page.svelte +++ b/src/routes/advertise/+page.svelte @@ -1,27 +1,13 @@ - - - {$numberOfUnreadNotification > 0 ? `(${$numberOfUnreadNotification})` : ""} Advertise - With Us · Stocknear - - - - - - - - - - - - - +
- - - - - {$numberOfUnreadNotification > 0 ? `(${$numberOfUnreadNotification})` : ""} Top - Wall Street Stock Analysts · Stocknear - - - - - - - - - - - - - - - - - import { numberOfUnreadNotification } from "$lib/store"; + import SEO from "$lib/components/SEO.svelte"; import { getLastTradingDay } from "$lib/utils"; import { page } from "$app/stores"; @@ -33,42 +33,12 @@ } - - - - - {$numberOfUnreadNotification > 0 ? `(${$numberOfUnreadNotification})` : ""} Today's - Top Stock {title} · Stocknear - - - - - - - - - - - - - - - +
diff --git a/src/routes/market-mover/afterhours/+layout.svelte b/src/routes/market-mover/afterhours/+layout.svelte index 258a5df7..b9cc7f46 100644 --- a/src/routes/market-mover/afterhours/+layout.svelte +++ b/src/routes/market-mover/afterhours/+layout.svelte @@ -1,5 +1,5 @@ - - - - - {$numberOfUnreadNotification > 0 ? `(${$numberOfUnreadNotification})` : ""} - Afterhours Top Stocks · Stocknear - - - - - - - - - - - - - - - +
diff --git a/src/routes/market-mover/gainers/+layout.svelte b/src/routes/market-mover/gainers/+layout.svelte index c32214fc..8c2ec451 100644 --- a/src/routes/market-mover/gainers/+layout.svelte +++ b/src/routes/market-mover/gainers/+layout.svelte @@ -1,5 +1,5 @@ - - - - - {$numberOfUnreadNotification > 0 ? `(${$numberOfUnreadNotification})` : ""} Today's - Top Stock {title} · Stocknear - - - - - - - - - - - - - - - +
diff --git a/src/routes/market-mover/losers/+layout.svelte b/src/routes/market-mover/losers/+layout.svelte index ebae6314..3796a51c 100644 --- a/src/routes/market-mover/losers/+layout.svelte +++ b/src/routes/market-mover/losers/+layout.svelte @@ -1,5 +1,5 @@ - - - - - {$numberOfUnreadNotification > 0 ? `(${$numberOfUnreadNotification})` : ""} Today's - Top Stock {title} · Stocknear - - - - - - - - - - - - - - - +
diff --git a/src/routes/market-mover/premarket/+layout.svelte b/src/routes/market-mover/premarket/+layout.svelte index edd79846..84f349e6 100644 --- a/src/routes/market-mover/premarket/+layout.svelte +++ b/src/routes/market-mover/premarket/+layout.svelte @@ -1,8 +1,8 @@ - - - - - {$numberOfUnreadNotification > 0 ? `(${$numberOfUnreadNotification})` : ""} - Premarket Top Stocks · Stocknear - - - - - - - - - - - - - - - +
diff --git a/src/routes/politicians/+page.svelte b/src/routes/politicians/+page.svelte index bf728e64..4dee590e 100644 --- a/src/routes/politicians/+page.svelte +++ b/src/routes/politicians/+page.svelte @@ -3,8 +3,8 @@ import democraticBackground from "$lib/images/bg-democratic.png"; import otherBackground from "$lib/images/bg-other.png"; - import { numberOfUnreadNotification } from "$lib/store"; - import { abbreviateNumber } from "$lib/utils"; + import SEO from "$lib/components/SEO.svelte"; + import { onMount } from "svelte"; import { page } from "$app/stores"; @@ -141,43 +141,11 @@ } - - - - {$numberOfUnreadNotification > 0 ? `(${$numberOfUnreadNotification})` : ""} US - Politician Stock Trade Tracker · Stocknear - - - - - - - - - - - - - - - - +
- import { numberOfUnreadNotification } from "$lib/store"; import { formatString, sectorNavigation } from "$lib/utils"; import HoverStockChart from "$lib/components/HoverStockChart.svelte"; import RatingsChart from "$lib/components/RatingsChart.svelte"; + import SEO from "$lib/components/SEO.svelte"; export let data; let cloudFrontUrl = import.meta.env.VITE_IMAGE_URL; @@ -103,42 +103,10 @@ } - - - - - {$numberOfUnreadNotification > 0 ? `(${$numberOfUnreadNotification})` : ""} Which - stocks is {name} trading? · Stocknear - - - - - - - - - - - - - - - +
- - - - {$numberOfUnreadNotification > 0 ? `(${$numberOfUnreadNotification})` : ""} Latest - Congressional Trading · Stocknear - - - - - - - - - - - - - - - - +