Skip to content

Commit

Permalink
fix(material-angular-io): update site images (#30543)
Browse files Browse the repository at this point in the history
The site images, e.g. when linking the docs site on social media, were still using the M2 appearance. These changes update the images and delete some unnecessary ones.

(cherry picked from commit 459cfb9)
  • Loading branch information
crisbeto committed Feb 25, 2025
1 parent 0eadfc9 commit f89a0b3
Show file tree
Hide file tree
Showing 20 changed files with 15 additions and 46 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ app-scene-viewer {
top: 0;
height: 100%;
width: 100%;
pointer-events: none;
}
Binary file added material.angular.io/src/assets/img/favicon.ico
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
9 changes: 0 additions & 9 deletions material.angular.io/src/assets/img/favicons/browserconfig.xml

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
20 changes: 0 additions & 20 deletions material.angular.io/src/assets/img/favicons/manifest.json

This file was deleted.

Binary file not shown.

This file was deleted.

9 changes: 9 additions & 0 deletions material.angular.io/src/assets/img/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "Angular Material",
"short_name": "Angular Material",
"theme_color": "#FFFFFF",
"background_color": "#d7e3ff",
"start_url": "/",
"display": "standalone",
"icons": []
}
Binary file modified material.angular.io/src/assets/img/site-preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified material.angular.io/src/assets/screenshots/select.scene.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed material.angular.io/src/favicon.ico
Binary file not shown.
19 changes: 4 additions & 15 deletions material.angular.io/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en-US">
<head>
<meta charset="utf-8">
<title>Angular Material UI component library</title>
<title>Angular Material UI Component Library</title>
<link rel="canonical" href="https://material.angular.io">
<base href="/">

Expand Down Expand Up @@ -36,14 +36,8 @@
<meta property="og:image:width" content="1339" />
<meta property="og:image:height" content="943" />

<link rel="apple-touch-icon" sizes="180x180" href="assets/img/favicons/apple-touch-icon.png?v=8.2.3">
<link rel="icon" type="image/png" sizes="32x32" href="assets/img/favicons/favicon-32x32.png?v=8.2.3">
<link rel="icon" type="image/png" sizes="16x16" href="assets/img/favicons/favicon-16x16.png?v=8.2.3">
<link rel="manifest" href="assets/img/favicons/manifest.json?v=8.2.3">
<link rel="mask-icon" href="assets/img/favicons/safari-pinned-tab.svg?v=8.2.3" color="#d7e3ff">
<link rel="shortcut icon" href="assets/img/favicons/favicon.ico?v=8.2.3">
<meta name="msapplication-TileColor" content="#d7e3ff">
<meta name="msapplication-config" content="assets/img/favicons/browserconfig.xml?v=8.2.3">
<link rel="manifest" href="assets/img/manifest.json?v=19.1.0">
<link rel="shortcut icon" href="assets/img/favicon.ico?v=19.1.0">
<meta name="theme-color" content="#d7e3ff">

<link rel="preconnect" href="https://fonts.gstatic.com">
Expand All @@ -68,7 +62,7 @@
"@type": "Organization",
"name": "Angular",
"description": "Angular is a platform for building mobile and desktop web applications. Join the community of millions of developers who build compelling user interfaces with Angular.",
"url": "https://angular.io",
"url": "https://angular.dev",
"logo": "https://angular.io/assets/images/logos/angular/angular.svg"
}
}
Expand All @@ -93,10 +87,5 @@
m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
</script>
<script>
// This hides the address bar on mobile browsers
// https://developers.google.com/web/fundamentals/native-hardware/fullscreen/
window.addEventListener('load', function() { window.scrollTo(0, 1); });
</script>
</body>
</html>
2 changes: 1 addition & 1 deletion material.angular.io/tools/audit-docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const MIN_SCORES_PER_PAGE = [
{
url: '',
minScores: {
pwa: 75,
pwa: 0,
performance: 25, // Intentionally low because Ligthouse is flaky.
seo: 90,
'best-practices': 90,
Expand Down

0 comments on commit f89a0b3

Please sign in to comment.