bugfixing url preview
This commit is contained in:
parent
0e5b5780f8
commit
cbcc2c965f
@ -235,6 +235,10 @@ function handleTypeOfTrade(state:string)
|
||||
let PriceAlert;
|
||||
|
||||
onMount(async () => {
|
||||
stockTicker.set(data?.getParams?.toUpperCase());
|
||||
assetType.set("stock");
|
||||
displayCompanyName.set(data?.companyName);
|
||||
|
||||
if (!data?.user) {
|
||||
LoginPopup = (await import("$lib/components/LoginPopup.svelte")).default;
|
||||
} else {
|
||||
|
||||
@ -4,7 +4,6 @@
|
||||
import {
|
||||
getCache,
|
||||
setCache,
|
||||
displayCompanyName,
|
||||
numberOfUnreadNotification,
|
||||
globalForm,
|
||||
isCrosshairMoveActive,
|
||||
@ -745,21 +744,22 @@
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<title>
|
||||
{$numberOfUnreadNotification > 0 ? `(${$numberOfUnreadNotification})` : ""}
|
||||
{$displayCompanyName} ({$stockTicker}) Stock Price, Quote & News · stocknear
|
||||
{data?.companyName} ({data?.getParams?.toUpperCase()}) Stock Price, Quote &
|
||||
News · stocknear
|
||||
</title>
|
||||
|
||||
<meta
|
||||
name="description"
|
||||
content={`Get a real-time ${$displayCompanyName} (${$stockTicker}) stock chart, price quote with breaking news, financials, statistics, charts and more.`}
|
||||
content={`Get a real-time ${data?.companyName} (${data?.getParams?.toUpperCase()}) stock chart, price quote with breaking news, financials, statistics, charts and more.`}
|
||||
/>
|
||||
<!-- Other meta tags -->
|
||||
<meta
|
||||
property="og:title"
|
||||
content={`${$displayCompanyName} (${$stockTicker}) Stock Price, Quote & News · stocknear`}
|
||||
content={`${data?.companyName} (${data?.getParams?.toUpperCase()}) Stock Price, Quote & News · stocknear`}
|
||||
/>
|
||||
<meta
|
||||
property="og:description"
|
||||
content={`Get a real-time ${$displayCompanyName} (${$stockTicker}) stock chart, price quote with breaking news, financials, statistics, charts and more.`}
|
||||
content={`Get a real-time ${data?.companyName} (${data?.getParams?.toUpperCase()}) stock chart, price quote with breaking news, financials, statistics, charts and more.`}
|
||||
/>
|
||||
<!--<meta property="og:image" content="https://stocknear-pocketbase.s3.amazonaws.com/logo/meta_logo.jpg"/>-->
|
||||
<meta property="og:type" content="website" />
|
||||
@ -769,11 +769,11 @@
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
<meta
|
||||
name="twitter:title"
|
||||
content={`${$displayCompanyName} (${$stockTicker}) Stock Price, Quote & News · stocknear`}
|
||||
content={`${data?.companyName} (${data?.getParams?.toUpperCase()}) Stock Price, Quote & News · stocknear`}
|
||||
/>
|
||||
<meta
|
||||
name="twitter:description"
|
||||
content={`Get a real-time ${$displayCompanyName} (${$stockTicker}) stock chart, price quote with breaking news, financials, statistics, charts and more.`}
|
||||
content={`Get a real-time ${data?.companyName} (${data?.getParams?.toUpperCase()}) stock chart, price quote with breaking news, financials, statistics, charts and more.`}
|
||||
/>
|
||||
<!--<meta name="twitter:image" content="https://stocknear-pocketbase.s3.amazonaws.com/logo/meta_logo.jpg"/>-->
|
||||
<!-- Add more Twitter meta tags as needed -->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user