diff --git a/src/routes/reddit-tracker/+page.svelte b/src/routes/reddit-tracker/+page.svelte index 1911be0e..5c4e8f5e 100644 --- a/src/routes/reddit-tracker/+page.svelte +++ b/src/routes/reddit-tracker/+page.svelte @@ -2,10 +2,14 @@ import { numberOfUnreadNotification, screenWidth } from '$lib/store'; import { onMount } from 'svelte'; import * as Card from "$lib/components/shadcn/card/index.ts"; +import * as Table from "$lib/components/shadcn/table/index.ts"; + //import UpgradeToPro from '$lib/components/UpgradeToPro.svelte'; import { abbreviateNumber } from '$lib/utils'; import { Chart } from 'svelte-echarts' import Link from "lucide-svelte/icons/external-link"; +import ThumbsUp from "lucide-svelte/icons/thumbs-up"; +import MessageCircle from "lucide-svelte/icons/message-circle"; export let data; let cloudFrontUrl = import.meta.env.VITE_IMAGE_URL; @@ -19,6 +23,7 @@ import Link from "lucide-svelte/icons/external-link"; let numCompanyList = []; + function formatUtcTimestamp(timestamp) { // Create a Date object from the UTC timestamp (in seconds) let date = new Date(timestamp * 1000); @@ -203,7 +208,7 @@ const optionCompanySpread = { left: '3%', right: '4%', bottom: '0%', - top: '5%', + top: '10%', containLabel: true }, xAxis: [ @@ -239,7 +244,7 @@ const optionCompanySpread = { showSymbol: false, data: numCompanyList, itemStyle: { - color: '#4D9526' + color: '#E2E2E2' } }, ] @@ -306,7 +311,7 @@ const optionCompanySpread = {
stock logo
-

+

r/Wallstreetbets Tracker

@@ -332,12 +337,16 @@ const optionCompanySpread = { Number of Posts in the last 24 hours: +{postList?.at(-1)} - posts today + posts today + + + {((postList?.at(-1)/postList?.at(-2) -1)*100)?.toFixed(0)}% from yesterday + -
+
@@ -350,11 +359,15 @@ const optionCompanySpread = { Number of Comments in the last 24 hours: +{abbreviateNumber(commentList?.at(-1))} - comments today + comments today + + + {((commentList?.at(-1)/commentList?.at(-2) -1)*100)?.toFixed(0)}% from yesterday + -
+
@@ -366,11 +379,16 @@ const optionCompanySpread = { Number of Tickers discussed in the last 24 hours: +{numCompanyList?.at(-1)} - discussed today + discussed today + + + + {((numCompanyList?.at(-1)/numCompanyList?.at(-2) -1)*100)?.toFixed(0)}% from yesterday + -
+
@@ -400,6 +418,20 @@ const optionCompanySpread = {
{/if} +
+ + +
+ + + + @@ -454,7 +507,7 @@ const optionCompanySpread = {