Website for the Lede browser extension.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Remove unused hero/usage images; point OG fallback to logo

+4 -20
-14
public/images/hero-illustration.svg
··· 1 - <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 750" fill="none" aria-hidden="true"> 2 - <rect width="1200" height="750" fill="#f5f0e8"/> 3 - <rect x="72" y="88" width="1056" height="574" rx="10" fill="#ede8de" stroke="#e0d8cc" stroke-width="1"/> 4 - <rect x="96" y="112" width="720" height="28" rx="6" fill="#e0d8cc"/> 5 - <rect x="96" y="156" width="1008" height="12" rx="4" fill="#e0d8cc" opacity="0.85"/> 6 - <rect x="96" y="184" width="880" height="12" rx="4" fill="#e0d8cc" opacity="0.7"/> 7 - <rect x="96" y="212" width="920" height="12" rx="4" fill="#e0d8cc" opacity="0.55"/> 8 - <rect x="620" y="320" width="460" height="300" rx="10" fill="#faf8f4" stroke="#F15B2F" stroke-width="1.5"/> 9 - <rect x="648" y="352" width="120" height="10" rx="3" fill="#F15B2F" opacity="0.35"/> 10 - <rect x="648" y="378" width="360" height="8" rx="3" fill="#c8c0b4"/> 11 - <rect x="648" y="396" width="320" height="8" rx="3" fill="#c8c0b4" opacity="0.85"/> 12 - <rect x="648" y="430" width="140" height="36" rx="8" fill="#F15B2F" opacity="0.18" stroke="#F15B2F" stroke-width="1"/> 13 - <rect x="668" y="444" width="72" height="8" rx="2" fill="#D94E27" opacity="0.9"/> 14 - </svg>
public/images/hero.jpeg

This is a binary file and will not be displayed.

public/images/lede-usage-1.jpeg

This is a binary file and will not be displayed.

public/images/lede-usage-2.jpeg

This is a binary file and will not be displayed.

public/images/lede-usage-3.jpeg

This is a binary file and will not be displayed.

+1 -1
src/layouts/BaseLayout.astro
··· 17 17 ogImage, 18 18 } = Astro.props; 19 19 20 - const resolvedOgImage = ogImage ?? `${String(ogUrl).replace(/\/$/, "")}/images/hero-illustration.svg`; 20 + const resolvedOgImage = ogImage ?? `${String(ogUrl).replace(/\/$/, "")}/images/summarizer-logo.svg`; 21 21 --- 22 22 23 23 <!doctype html>
+3 -5
src/pages/index.astro
··· 19 19 ? `${base}/images/hero.webp` 20 20 : existsSync(path.join(imagesDir, "hero.avif")) 21 21 ? `${base}/images/hero.avif` 22 - : existsSync(path.join(imagesDir, "hero.jpeg")) 23 - ? `${base}/images/hero.jpeg` 24 - : existsSync(path.join(imagesDir, "hero.jpg")) 25 - ? `${base}/images/hero.jpg` 26 - : `${base}/images/hero-illustration.svg`; 22 + : existsSync(path.join(imagesDir, "hero.jpg")) 23 + ? `${base}/images/hero.jpg` 24 + : `${base}/images/summarizer-logo.svg`; 27 25 --- 28 26 29 27 <BaseLayout ogUrl={ogUrl} ogImage={ogImage}>