Skip to content

Commit

Permalink
feat(pwa): Add purpose any to icon. Add shortcut link to syllabus
Browse files Browse the repository at this point in the history
  • Loading branch information
pham committed Oct 9, 2022
1 parent 92db800 commit 51a229f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
4 changes: 4 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ acc:
alt_image: "logo.svg"
alt_size: 200
sizes: [ 48, 96, 144, 192, 300, 512 ]
shortcut:
name: Syllabus
url: https://acc.askclass.com/session/session-01
desc: Class syllabus and contact information
meta:
apple_icon: "logo-300.png"
og_image: "logo-square-512.png"
Expand Down
10 changes: 9 additions & 1 deletion assets/site.webmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,20 @@
{
"src": "logo-icon.svg",
"type": "image/svg+xml",
"sizes": "any"
"sizes": "any",
"purpose": "any"
}
],
"lang": "en",
"display_override": [
"standalone",
"fullscreen"
],
"shortcuts": [
{
"name": "{{ site.acc.shortcut.name }}",
"url": "{{ site.acc.shortcut.url }}",
"description": "{{ site.acc.shortcut.desc }}"
}
]
}

0 comments on commit 51a229f

Please sign in to comment.