Skip to content

Commit 4c35096

Browse files
authored
feat(docs): add SoftwareApplication JSON-LD to the landing page (#111)
1 parent 2b9624d commit 4c35096

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

apps/docs/src/pages/index.astro

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,29 @@ const closedTypesCode = `controller.setRegion('USA')
8888
<meta property="og:image:height" content="640" />
8989
<meta property="og:image:alt" content="Telixon. The number +1 415-555-0132 resolved to US, FIXED_LINE_OR_MOBILE, valid." />
9090
<meta name="twitter:card" content="summary_large_image" />
91+
<script
92+
type="application/ld+json"
93+
is:inline
94+
set:html={JSON.stringify({
95+
'@context': 'https://schema.org',
96+
'@type': ['SoftwareApplication', 'SoftwareSourceCode'],
97+
name: 'Telixon',
98+
description:
99+
'Phone number parsing, validation, formatting, and a headless input controller for JavaScript and TypeScript. Verified against Google libphonenumber.',
100+
url: 'https://telixon.dev/',
101+
applicationCategory: 'DeveloperApplication',
102+
operatingSystem: 'Node.js, browsers, edge runtimes',
103+
programmingLanguage: 'TypeScript',
104+
license: 'https://www.apache.org/licenses/LICENSE-2.0',
105+
codeRepository: 'https://github.com/martsinlabs/telixon',
106+
offers: { '@type': 'Offer', price: '0', priceCurrency: 'USD' },
107+
sameAs: [
108+
'https://github.com/martsinlabs/telixon',
109+
'https://www.npmjs.com/package/@telixon/core',
110+
'https://www.npmjs.com/package/@telixon/web-sdk',
111+
],
112+
})}
113+
/>
91114
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#161618" />
92115
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#f7f8f8" />
93116
<script is:inline>

0 commit comments

Comments
 (0)