victor HF Staff commited on
Commit
58df0c8
·
1 Parent(s): 2ef93ef

Update favicon assets and layout icon links

Browse files

Added a new dark mode favicon (favicon-dark.svg), updated the default favicon (favicon.svg) with a new design, and adjusted the Svelte layout to ensure correct favicon usage for different color schemes.

src/routes/+layout.svelte CHANGED
@@ -193,6 +193,7 @@
193
  <meta property="og:image" content="{publicConfig.assetPath}/thumbnail.png" />
194
  <meta property="og:description" content={publicConfig.PUBLIC_APP_DESCRIPTION} />
195
  {/if}
 
196
  <link
197
  rel="icon"
198
  href="{publicConfig.assetPath}/favicon.svg"
@@ -205,7 +206,6 @@
205
  type="image/svg+xml"
206
  media="(prefers-color-scheme: dark)"
207
  />
208
- <link rel="icon" href="{publicConfig.assetPath}/icon.svg" type="image/svg+xml" />
209
  <link rel="apple-touch-icon" href="{publicConfig.assetPath}/apple-touch-icon.png" />
210
  <link rel="manifest" href="{publicConfig.assetPath}/manifest.json" />
211
 
 
193
  <meta property="og:image" content="{publicConfig.assetPath}/thumbnail.png" />
194
  <meta property="og:description" content={publicConfig.PUBLIC_APP_DESCRIPTION} />
195
  {/if}
196
+ <link rel="icon" href="{publicConfig.assetPath}/icon.svg" type="image/svg+xml" />
197
  <link
198
  rel="icon"
199
  href="{publicConfig.assetPath}/favicon.svg"
 
206
  type="image/svg+xml"
207
  media="(prefers-color-scheme: dark)"
208
  />
 
209
  <link rel="apple-touch-icon" href="{publicConfig.assetPath}/apple-touch-icon.png" />
210
  <link rel="manifest" href="{publicConfig.assetPath}/manifest.json" />
211
 
static/huggingchat/favicon-dark.svg ADDED

Git LFS Details

  • SHA256: 61fa1f5da314f81d516272edc7a9d54038067d836508a3d825359c774644b013
  • Pointer size: 129 Bytes
  • Size of remote file: 1.51 kB
static/huggingchat/favicon.svg CHANGED

Git LFS Details

  • SHA256: a45e994c3a37fe43eda46faa553b2d23c824b8fa50de534e249c02d4ed29a29c
  • Pointer size: 129 Bytes
  • Size of remote file: 1.51 kB

Git LFS Details

  • SHA256: a0f1eb12b013e4b186591951959843e14265902a17b1ccc93436288f6b2fd1e1
  • Pointer size: 129 Bytes
  • Size of remote file: 1.51 kB