Skip to content

Commit 97a15c4

Browse files
atergaCopilotgraphite-app[bot]
authored
chore: Prepare id.ai for SEO (#3392)
* first * second * Apply suggestion from @Copilot Co-authored-by: Copilot <[email protected]> * Apply suggestion from @graphite-app[bot] Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com> * Apply suggestion from @Copilot Co-authored-by: Copilot <[email protected]> * third * fourth * Add social image * Remove legacy icons * Remove more unused logos * Optimize social-image.png * Replace social-image.png * Optimize the biggest PNG logos * Add more keywords to the title * fmt --------- Co-authored-by: Copilot <[email protected]> Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
1 parent 4c7946d commit 97a15c4

File tree

150 files changed

+62
-100
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

150 files changed

+62
-100
lines changed

src/asset_util/src/lib.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,8 @@ pub enum ContentType {
360360
PNG,
361361
SVG,
362362
WOFF2,
363+
TXT,
364+
XML,
363365
}
364366

365367
impl ContentType {
@@ -375,6 +377,8 @@ impl ContentType {
375377
ContentType::PNG => "image/png".to_string(),
376378
ContentType::SVG => "image/svg+xml".to_string(),
377379
ContentType::WOFF2 => "application/font-woff2".to_string(),
380+
ContentType::TXT => "text/plain".to_string(),
381+
ContentType::XML => "application/xml".to_string(),
378382
}
379383
}
380384
}
@@ -505,6 +509,8 @@ fn content_type_and_encoding(asset_path: &Path) -> (ContentType, ContentEncoding
505509
"svg" => ContentType::SVG,
506510
"webp" => ContentType::WEBP,
507511
"woff2" => ContentType::WOFF2,
512+
"txt" => ContentType::TXT,
513+
"xml" => ContentType::XML,
508514
ext => panic!(
509515
"Unknown asset type '{}' for asset '{}'",
510516
ext,

src/frontend/src/app.html

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,45 @@
33
<head>
44
<meta charset="utf-8" />
55
<link rel="shortcut icon" href="%sveltekit.assets%/favicon.ico" />
6-
<title>Internet Identity</title>
6+
<title>
7+
Internet Identity is the login service for the Internet Computer, a fully
8+
decentralized, privacy-preserving, secure, passwordless, biometric
9+
authentication service for ICP applications, powered by blockchain
10+
cryptography.
11+
</title>
712
<meta
813
name="viewport"
914
content="width=device-width, initial-scale=1, viewport-fit=cover"
1015
/>
11-
<link rel="canonical" href="https://identity.internetcomputer.org/" />
16+
<meta
17+
name="description"
18+
content="Internet Identity is the authentication service on ICP enabling real privacy, with quick, safe and hassle-free sign-in"
19+
/>
20+
<meta name="robots" content="index, follow" />
21+
<meta
22+
name="keywords"
23+
content="Internet Identity, Internet Computer, ICP, DFINITY, authentication, digital identity, blockchain identity, decentralized identity, Web3 authentication, passwordless login, biometric authentication, secure login, privacy-focused identity, decentralized authentication, blockchain security, Web3 identity, cryptographic identity"
24+
/>
25+
<meta property="og:title" content="Internet Identity" />
26+
<meta
27+
property="og:description"
28+
content="Internet Identity is the authentication service on ICP enabling real privacy, with quick, safe and hassle-free sign-in"
29+
/>
30+
<meta property="og:type" content="website" />
31+
<meta property="og:url" content="https://id.ai/" />
32+
<meta property="og:image" content="https://id.ai/social-image.png" />
33+
<meta name="twitter:card" content="summary_large_image" />
34+
<meta name="twitter:image" content="https://id.ai/social-image.png" />
35+
<meta name="twitter:title" content="Internet Identity" />
36+
<meta
37+
name="twitter:description"
38+
content="Internet Identity is the authentication service on ICP enabling real privacy, with quick, safe and hassle-free sign-in"
39+
/>
40+
<meta name="twitter:creator" content="@dfinity" />
41+
<link rel="canonical" href="https://id.ai/" />
1242
%sveltekit.head%
1343
</head>
44+
1445
<body data-sveltekit-preload-data="hover">
1546
<div style="display: contents">%sveltekit.body%</div>
1647
</body>
-453 Bytes
Loading
-3.15 KB
Binary file not shown.
-2.34 KB
Loading
-952 Bytes
Loading
-3.99 KB
Binary file not shown.
-233 Bytes
Loading
-1.9 KB
Loading
-4.47 KB
Binary file not shown.

0 commit comments

Comments
 (0)