Skip to content

Commit

Permalink
Merge pull request #532 from powerhouse-inc/524-add-social-media-prev…
Browse files Browse the repository at this point in the history
…iew-to-all-connect-links-sky

feat: added favicon and opengraph metadata for sky
  • Loading branch information
gpuente authored Sep 16, 2024
2 parents d4c5cf4 + e807301 commit edc8f73
Show file tree
Hide file tree
Showing 11 changed files with 100 additions and 8 deletions.
14 changes: 7 additions & 7 deletions client.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
tag: 'meta',
attrs: {
property: 'og:title',
content: 'Connect',
content: 'Sky Connect',
},
},
{
Expand All @@ -18,23 +18,23 @@ export default {
tag: 'meta',
attrs: {
property: 'og:url',
content: 'https://apps.powerhouse.io/powerhouse/connect/',
content: 'https://connect.sky.money/',
},
},
{
tag: 'meta',
attrs: {
property: 'og:description',
content:
'Navigate your organisation’s toughest operational challenges and steer your contributors to success with Connect. A navigation, collaboration and reporting tool for decentralised and open organisation.',
'A navigation, collaboration and reporting tool for decentralised and open organisations.',
},
},
{
tag: 'meta',
attrs: {
property: 'og:image',
content:
'https://cf-ipfs.com/ipfs/bafkreigrmclndf2jpbolaq22535q2sw5t44uad3az3dpvkzrnt4lpjt63e',
'https://bafkreib6cocweu5crtdtcxeoed4n24nvs5qmct6ksm326zm2r7ndcwchim.ipfs.flk-ipfs.xyz/',
},
},
{
Expand All @@ -49,22 +49,22 @@ export default {
attrs: {
name: 'twitter:image',
content:
'https://cf-ipfs.com/ipfs/bafkreigrmclndf2jpbolaq22535q2sw5t44uad3az3dpvkzrnt4lpjt63e',
'https://bafkreib6cocweu5crtdtcxeoed4n24nvs5qmct6ksm326zm2r7ndcwchim.ipfs.flk-ipfs.xyz/',
},
},
{
tag: 'meta',
attrs: {
name: 'twitter:title',
content: 'Connect',
content: 'Sky Connect',
},
},
{
tag: 'meta',
attrs: {
name: 'twitter:description',
content:
'Navigate your organisation’s toughest operational challenges and steer your contributors to success with Connect. A navigation, collaboration and reporting tool for decentralised and open organisation.',
'A navigation, collaboration and reporting tool for decentralised and open organisations.',
},
},
],
Expand Down
15 changes: 14 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,21 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Powerhouse Connect</title>
<title>Sky Connect</title>
<base href="/">
<link rel="apple-touch-icon" sizes="180x180" href="/manifest/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/manifest/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/manifest/favicon-16x16.png">
<link rel="manifest" href="/manifest/site.webmanifest">
<meta og:title="Sky Connect">
<meta og:type="website">
<meta og:url="https://connect.sky.money/">
<meta og:description="A navigation, collaboration and reporting tool for decentralised and open organisations.">
<meta og:image="https://bafkreib6cocweu5crtdtcxeoed4n24nvs5qmct6ksm326zm2r7ndcwchim.ipfs.flk-ipfs.xyz/">
<meta twitter:card="summary_large_image">
<meta twitter:image="https://bafkreib6cocweu5crtdtcxeoed4n24nvs5qmct6ksm326zm2r7ndcwchim.ipfs.flk-ipfs.xyz/">
<meta twitter:title="Sky Connect">
<meta twitter:description="A navigation, collaboration and reporting tool for decentralised and open organisations.">
</head>
<body>
<div id="app"></div>
Expand Down
7 changes: 7 additions & 0 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ server {
add_header Cache-Control "public";
}

location ${BASE_PATH}/manifest {
alias /usr/share/nginx/html/manifest;
expires 1y;
access_log off;
add_header Cache-Control "public";
}

location ${BASE_PATH}/service-worker.js {
alias /usr/share/nginx/html/service-worker.js;
expires -1;
Expand Down
Binary file added public/manifest/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/manifest/android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/manifest/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/manifest/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/manifest/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/manifest/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions public/manifest/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name":"","short_name":"","icons":[{"src":"/manifest/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/manifest/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}
71 changes: 71 additions & 0 deletions sky.client.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
export default {
meta: [
{
tag: 'meta',
attrs: {
property: 'og:title',
content: 'Sky Connect',
},
},
{
tag: 'meta',
attrs: {
property: 'og:type',
content: 'website',
},
},
{
tag: 'meta',
attrs: {
property: 'og:url',
content: 'https://connect.sky.money/',
},
},
{
tag: 'meta',
attrs: {
property: 'og:description',
content:
'A navigation, collaboration and reporting tool for decentralised and open organisations.',
},
},
{
tag: 'meta',
attrs: {
property: 'og:image',
content:
'https://bafkreib6cocweu5crtdtcxeoed4n24nvs5qmct6ksm326zm2r7ndcwchim.ipfs.flk-ipfs.xyz/',
},
},
{
tag: 'meta',
attrs: {
name: 'twitter:card',
content: 'summary_large_image',
},
},
{
tag: 'meta',
attrs: {
name: 'twitter:image',
content:
'https://bafkreib6cocweu5crtdtcxeoed4n24nvs5qmct6ksm326zm2r7ndcwchim.ipfs.flk-ipfs.xyz/',
},
},
{
tag: 'meta',
attrs: {
name: 'twitter:title',
content: 'Sky Connect',
},
},
{
tag: 'meta',
attrs: {
name: 'twitter:description',
content:
'A navigation, collaboration and reporting tool for decentralised and open organisations.',
},
},
],
};

0 comments on commit edc8f73

Please sign in to comment.