Skip to content

Commit 6453706

Browse files
authored
Merge pull request #20 from 2listic/9-post-coral-platform
fix logo svg/png in sharable cards + navbar + favicon
2 parents 2d67f4c + 0293896 commit 6453706

4 files changed

Lines changed: 18 additions & 3 deletions

File tree

public/logo.png

7.39 KB
Loading

public/logo_no_dual.svg

Lines changed: 15 additions & 0 deletions
Loading

src/components/navbar/navbar.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const menuitems = [
4848
<div class="flex w-full lg:w-auto items-center justify-between">
4949
<a href="/" class="text-lg"
5050
>
51-
<img src="/logo_no_dual.png" width="75" height="75" alt="Dualistic Logo"/>
51+
<img src="/logo_no_dual.svg" width="50" height="50" alt="Dualistic Logo" class="p-2"/>
5252
<!-- <span class="font-bold text-slate-800">Astro</span><span
5353
class="text-slate-500">ship</span
5454
> -->

src/layouts/Layout.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const { title, enableScrollSnap = false, description, image, author } = Astro.pr
2020
const makeTitle = title ? title + " | " + "Dualistic" : "Dualistic";
2121
const defaultDescription = "Digital Twins made simple. Create and manage digital twins, \
2222
using no-code interfaces and advanced visualization.";
23-
const defaultImage = new URL("/logo.svg", Astro.site).toString();
23+
const defaultImage = new URL("/logo.png", Astro.site).toString();
2424
const seoDescription = description || defaultDescription;
2525
const seoImage = image ? new URL(image, Astro.site).toString() : defaultImage;
2626
@@ -39,7 +39,7 @@ const seoImage = image ? new URL(image, Astro.site).toString() : defaultImage;
3939
<head>
4040
<meta charset="UTF-8" />
4141
<meta name="viewport" content="width=device-width" />
42-
<link rel="icon" type="image/svg+xml" href="/logo.svg" />
42+
<link rel="icon" type="image/svg+xml" href="/logo_no_dual.svg" />
4343
<meta name="generator" content={Astro.generator} />
4444

4545
<SEO

0 commit comments

Comments
 (0)