diff --git a/src/lib/components/SectorSegmentation.svelte b/src/lib/components/SectorSegmentation.svelte index 6259be56..1299a12e 100644 --- a/src/lib/components/SectorSegmentation.svelte +++ b/src/lib/components/SectorSegmentation.svelte @@ -11,51 +11,51 @@ const sectorNavigation = [ { title: "Financial Services", - link: "/list/financial-sector", + link: "/list/sector/financial", }, { title: "Finance", - link: "/list/financial-sector", + link: "/list/sector/financial", }, { title: "Healthcare", - link: "/list/healthcare-sector", + link: "/list/sector/healthcare", }, { title: "Technology", - link: "/list/technology-sector", + link: "/list/sector/technology", }, { title: "Industrials", - link: "/list/industrials-sector", + link: "/list/sector/industrials", }, { title: "Energy", - link: "/list/energy-sector", + link: "/list/sector/energy", }, { title: "Utilities", - link: "/list/utilities-sector", + link: "/list/sector/utilities", }, { title: "Consumer Cyclical", - link: "/list/consumer-cyclical-sector", + link: "/list/sector/consumer-cyclical", }, { title: "Real Estate", - link: "/list/real-estate-sector", + link: "/list/sector/real-estate", }, { title: "Basic Materials", - link: "/list/basic-materials-sector", + link: "/list/sector/basic-materials", }, { title: "Communication Services", - link: "/list/communication-services-sector", + link: "/list/sector/communication-services", }, { title: "Consumer Defensive", - link: "/list/consumer-defensive-sector", + link: "/list/sector/consumer-defensive", }, ]; diff --git a/src/lib/components/Sidecard.svelte b/src/lib/components/Sidecard.svelte index c7850a68..5c6a6293 100644 --- a/src/lib/components/Sidecard.svelte +++ b/src/lib/components/Sidecard.svelte @@ -27,51 +27,51 @@ const sectorNavigation = [ { title: "Financial Services", - link: "/list/financial-sector", + link: "/list/sector/financial", }, { title: "Finance", - link: "/list/financial-sector", + link: "/list/sector/financial", }, { title: "Healthcare", - link: "/list/healthcare-sector", + link: "/list/sector/healthcare", }, { title: "Technology", - link: "/list/technology-sector", + link: "/list/sector/technology", }, { title: "Industrials", - link: "/list/industrials-sector", + link: "/list/sector/industrials", }, { title: "Energy", - link: "/list/energy-sector", + link: "/list/sector/energy", }, { title: "Utilities", - link: "/list/utilities-sector", + link: "/list/sector/utilities", }, { title: "Consumer Cyclical", - link: "/list/consumer-cyclical-sector", + link: "/list/sector/consumer-cyclical", }, { title: "Real Estate", - link: "/list/real-estate-sector", + link: "/list/sector/real-estate", }, { title: "Basic Materials", - link: "/list/basic-materials-sector", + link: "/list/sector/basic-materials", }, { title: "Communication Services", - link: "/list/communication-services-sector", + link: "/list/sector/communication-services", }, { title: "Consumer Defensive", - link: "/list/consumer-defensive-sector", + link: "/list/sector/consumer-defensive", }, ]; diff --git a/src/routes/industry/+page.svelte b/src/routes/industry/+page.svelte index a2d678b2..5612c28b 100644 --- a/src/routes/industry/+page.svelte +++ b/src/routes/industry/+page.svelte @@ -10,51 +10,51 @@ const sectorNavigation = [ { title: "Financial Services", - link: "/list/financial-sector", + link: "/list/sector/financial", }, { title: "Finance", - link: "/list/financial-sector", + link: "/list/sector/financial", }, { title: "Healthcare", - link: "/list/healthcare-sector", + link: "/list/sector/healthcare", }, { title: "Technology", - link: "/list/technology-sector", + link: "/list/sector/technology", }, { title: "Industrials", - link: "/list/industrials-sector", + link: "/list/sector/industrials", }, { title: "Energy", - link: "/list/energy-sector", + link: "/list/sector/energy", }, { title: "Utilities", - link: "/list/utilities-sector", + link: "/list/sector/utilities", }, { title: "Consumer Cyclical", - link: "/list/consumer-cyclical-sector", + link: "/list/sector/consumer-cyclical", }, { title: "Real Estate", - link: "/list/real-estate-sector", + link: "/list/sector/real-estate", }, { title: "Basic Materials", - link: "/list/basic-materials-sector", + link: "/list/sector/basic-materials", }, { title: "Communication Services", - link: "/list/communication-services-sector", + link: "/list/sector/communication-services", }, { title: "Consumer Defensive", - link: "/list/consumer-defensive-sector", + link: "/list/sector/consumer-defensive", }, ]; diff --git a/src/routes/industry/sectors/+page.svelte b/src/routes/industry/sectors/+page.svelte index 8dcda460..f3ffbe40 100644 --- a/src/routes/industry/sectors/+page.svelte +++ b/src/routes/industry/sectors/+page.svelte @@ -9,51 +9,51 @@ const sectorNavigation = [ { title: "Financial Services", - link: "/list/financial-sector", + link: "/list/sector/financial", }, { title: "Finance", - link: "/list/financial-sector", + link: "/list/sector/financial", }, { title: "Healthcare", - link: "/list/healthcare-sector", + link: "/list/sector/healthcare", }, { title: "Technology", - link: "/list/technology-sector", + link: "/list/sector/technology", }, { title: "Industrials", - link: "/list/industrials-sector", + link: "/list/sector/industrials", }, { title: "Energy", - link: "/list/energy-sector", + link: "/list/sector/energy", }, { title: "Utilities", - link: "/list/utilities-sector", + link: "/list/sector/utilities", }, { title: "Consumer Cyclical", - link: "/list/consumer-cyclical-sector", + link: "/list/sector/consumer-cyclical", }, { title: "Real Estate", - link: "/list/real-estate-sector", + link: "/list/sector/real-estate", }, { title: "Basic Materials", - link: "/list/basic-materials-sector", + link: "/list/sector/basic-materials", }, { title: "Communication Services", - link: "/list/communication-services-sector", + link: "/list/sector/communication-services", }, { title: "Consumer Defensive", - link: "/list/consumer-defensive-sector", + link: "/list/sector/consumer-defensive", }, ]; diff --git a/src/routes/list/+layout.svelte b/src/routes/list/+layout.svelte index e5b10403..5a1515dd 100644 --- a/src/routes/list/+layout.svelte +++ b/src/routes/list/+layout.svelte @@ -107,47 +107,47 @@ }, { title: "Financials Sector Stocks", - link: "/list/financial-sector", + link: "/list/sector/financial", }, { title: "Healthcare Sector Stocks", - link: "/list/healthcare-sector", + link: "/list/sector/healthcare", }, { title: "Technology Sector Stocks", - link: "/list/technology-sector", + link: "/list/sector/technology", }, { title: "Industrials Sector Stocks", - link: "/list/industrials-sector", + link: "/list/sector/industrials", }, { title: "Energy Sector Stocks", - link: "/list/energy-sector", + link: "/list/sector/energy", }, { title: "Utilities Sector Stocks", - link: "/list/utilities-sector", + link: "/list/sector/utilities", }, { title: "Consumer Cyclical Sector Stocks", - link: "/list/consumer-cyclical-sector", + link: "/list/sector/consumer-cyclical", }, { title: "Real Estate Sector Stocks", - link: "/list/real-estate-sector", + link: "/list/sector/real-estate", }, { title: "Basic Materials Sector Stocks", - link: "/list/basic-materials-sector", + link: "/list/sector/basic-materials", }, { title: "Communication Services Sector Stocks", - link: "/list/communication-services-sector", + link: "/list/sector/communication-services", }, { title: "Consumer Defensive Sector Stocks", - link: "/list/consumer-defensive-sector", + link: "/list/sector/consumer-defensive", }, { title: "Delisted Companies", diff --git a/src/routes/list/+page.svelte b/src/routes/list/+page.svelte index a481f633..7872c08c 100644 --- a/src/routes/list/+page.svelte +++ b/src/routes/list/+page.svelte @@ -309,7 +309,7 @@
| Symbol | -Company | -Market Cap | -Revenue | -Profits | -Price | -
|---|---|---|---|---|---|
| - {item?.symbol} - | - -- {item?.name?.length > charNumber - ? item?.name?.slice(0, charNumber) + "..." - : item?.name} - | - -- {abbreviateNumber(item?.marketCap, true)} - | - -- {item?.revenue !== null - ? abbreviateNumber(item?.revenue, true) - : "-"} - | - -- {item?.netIncome !== null - ? abbreviateNumber(item?.netIncome, true) - : "-"} - | - -
-
-
-
- ${item.price?.toFixed(2)}
-
-
- {#if item.changesPercentage >= 0}
- +{item.changesPercentage?.toFixed(2)}%
- {:else}
- {item.changesPercentage?.toFixed(2)}%
-
- {/if}
-
- |
-
| Symbol | -Company | -Market Cap | -Revenue | -Profits | -Price | -
|---|---|---|---|---|---|
| - {item?.symbol} - | - -- {item?.name?.length > charNumber - ? item?.name?.slice(0, charNumber) + "..." - : item?.name} - | - -- {abbreviateNumber(item?.marketCap, true)} - | - -- {item?.revenue !== null - ? abbreviateNumber(item?.revenue, true) - : "-"} - | - -- {item?.netIncome !== null - ? abbreviateNumber(item?.netIncome, true) - : "-"} - | - -
-
-
-
- ${item.price?.toFixed(2)}
-
-
- {#if item.changesPercentage >= 0}
- +{item.changesPercentage?.toFixed(2)}%
- {:else}
- {item.changesPercentage?.toFixed(2)}%
-
- {/if}
-
- |
-
| Symbol | -Company | -Market Cap | -Revenue | -Profits | -Price | -
|---|---|---|---|---|---|
| - {item?.symbol} - | - -- {item?.name?.length > charNumber - ? item?.name?.slice(0, charNumber) + "..." - : item?.name} - | - -- {abbreviateNumber(item?.marketCap, true)} - | - -- {item?.revenue !== null - ? abbreviateNumber(item?.revenue, true) - : "-"} - | - -- {item?.netIncome !== null - ? abbreviateNumber(item?.netIncome, true) - : "-"} - | - -
-
-
-
- ${item.price?.toFixed(2)}
-
-
- {#if item.changesPercentage >= 0}
- +{item.changesPercentage?.toFixed(2)}%
- {:else}
- {item.changesPercentage?.toFixed(2)}%
-
- {/if}
-
- |
-
| Symbol | -Company | -Market Cap | -Revenue | -Profits | -Price | -
|---|---|---|---|---|---|
| - {item?.symbol} - | - -- {item?.name?.length > charNumber - ? item?.name?.slice(0, charNumber) + "..." - : item?.name} - | - -- {abbreviateNumber(item?.marketCap, true)} - | - -- {item?.revenue !== null - ? abbreviateNumber(item?.revenue, true) - : "-"} - | - -- {item?.netIncome !== null - ? abbreviateNumber(item?.netIncome, true) - : "-"} - | - -
-
-
-
- ${item.price?.toFixed(2)}
-
-
- {#if item.changesPercentage >= 0}
- +{item.changesPercentage?.toFixed(2)}%
- {:else}
- {item.changesPercentage?.toFixed(2)}%
-
- {/if}
-
- |
-
| Symbol | -Company | -Market Cap | -Revenue | -Profits | -Price | -
|---|---|---|---|---|---|
| - {item?.symbol} - | - -- {item?.name?.length > charNumber - ? item?.name?.slice(0, charNumber) + "..." - : item?.name} - | - -- {abbreviateNumber(item?.marketCap, true)} - | - -- {item?.revenue !== null - ? abbreviateNumber(item?.revenue, true) - : "-"} - | - -- {item?.netIncome !== null - ? abbreviateNumber(item?.netIncome, true) - : "-"} - | - -
-
-
-
- ${item.price?.toFixed(2)}
-
-
- {#if item.changesPercentage >= 0}
- +{item.changesPercentage?.toFixed(2)}%
- {:else}
- {item.changesPercentage?.toFixed(2)}%
-
- {/if}
-
- |
-
| Symbol | -Company | -Market Cap | -Revenue | -Profits | -Price | -
|---|---|---|---|---|---|
| - {item?.symbol} - | - -- {item?.name?.length > charNumber - ? item?.name?.slice(0, charNumber) + "..." - : item?.name} - | - -- {abbreviateNumber(item?.marketCap, true)} - | - -- {item?.revenue !== null - ? abbreviateNumber(item?.revenue, true) - : "-"} - | - -- {item?.netIncome !== null - ? abbreviateNumber(item?.netIncome, true) - : "-"} - | - -
-
-
-
- ${item.price?.toFixed(2)}
-
-
- {#if item.changesPercentage >= 0}
- +{item.changesPercentage?.toFixed(2)}%
- {:else}
- {item.changesPercentage?.toFixed(2)}%
-
- {/if}
-
- |
-
| Symbol | -Company | -Market Cap | -Revenue | -Profits | -Price | -
|---|---|---|---|---|---|
| - {item?.symbol} - | - -- {item?.name?.length > charNumber - ? item?.name?.slice(0, charNumber) + "..." - : item?.name} - | - -- {abbreviateNumber(item?.marketCap, true)} - | - -- {item?.revenue !== null - ? abbreviateNumber(item?.revenue, true) - : "-"} - | - -- {item?.netIncome !== null - ? abbreviateNumber(item?.netIncome, true) - : "-"} - | - -
-
-
-
- ${item.price?.toFixed(2)}
-
-
- {#if item.changesPercentage >= 0}
- +{item.changesPercentage?.toFixed(2)}%
- {:else}
- {item.changesPercentage?.toFixed(2)}%
-
- {/if}
-
- |
-
| Symbol | -Company | -Market Cap | -Revenue | -Profits | -Price | -
|---|---|---|---|---|---|
| - {item?.symbol} - | - -- {item?.name?.length > charNumber - ? item?.name?.slice(0, charNumber) + "..." - : item?.name} - | - -- {abbreviateNumber(item?.marketCap, true)} - | - -- {item?.revenue !== null - ? abbreviateNumber(item?.revenue, true) - : "-"} - | - -- {item?.netIncome !== null - ? abbreviateNumber(item?.netIncome, true) - : "-"} - | - -
-
-
-
- ${item.price?.toFixed(2)}
-
-
- {#if item.changesPercentage >= 0}
- +{item.changesPercentage?.toFixed(2)}%
- {:else}
- {item.changesPercentage?.toFixed(2)}%
-
- {/if}
-
- |
-
| + {item?.rank} + | + ++ + {item?.symbol} + + | + ++ {item?.name?.length > charNumber + ? item?.name?.slice(0, charNumber) + "..." + : item?.name} + | + ++ {abbreviateNumber(item?.marketCap)} + | + ++ {item.price?.toFixed(2)} + | + ++ {#if item?.changesPercentage >= 0} + +{item?.changesPercentage?.toFixed(2)}% + {:else} + {item?.changesPercentage?.toFixed(2)}% + {/if} + | + ++ {item?.revenue !== null + ? abbreviateNumber(item?.revenue) + : "-"} + | +
| Symbol | -Company | -Market Cap | -Revenue | -Profits | -Price | -
|---|---|---|---|---|---|
| - {item?.symbol} - | - -- {item?.name?.length > charNumber - ? item?.name?.slice(0, charNumber) + "..." - : item?.name} - | - -- {abbreviateNumber(item?.marketCap, true)} - | - -- {item?.revenue !== null - ? abbreviateNumber(item?.revenue, true) - : "-"} - | - -- {item?.netIncome !== null - ? abbreviateNumber(item?.netIncome, true) - : "-"} - | - -
-
-
-
- ${item.price?.toFixed(2)}
-
-
- {#if item.changesPercentage >= 0}
- +{item.changesPercentage?.toFixed(2)}%
- {:else}
- {item.changesPercentage?.toFixed(2)}%
-
- {/if}
-
- |
-
| Symbol | -Company | -Market Cap | -Revenue | -Profits | -Price | -
|---|---|---|---|---|---|
| - {item?.symbol} - | - -- {item?.name?.length > charNumber - ? item?.name?.slice(0, charNumber) + "..." - : item?.name} - | - -- {abbreviateNumber(item?.marketCap, true)} - | - -- {item?.revenue !== null - ? abbreviateNumber(item?.revenue, true) - : "-"} - | - -- {item?.netIncome !== null - ? abbreviateNumber(item?.netIncome, true) - : "-"} - | - -
-
-
-
- ${item.price?.toFixed(2)}
-
-
- {#if item.changesPercentage >= 0}
- +{item.changesPercentage?.toFixed(2)}%
- {:else}
- {item.changesPercentage?.toFixed(2)}%
-
- {/if}
-
- |
-