Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
garethbilaney committed Sep 26, 2023
1 parent 51a4559 commit d2a8d9c
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 5 deletions.
23 changes: 23 additions & 0 deletions src/assets/images/logo.svg
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 src/assets/images/thumbnail_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/navbar/navbar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { getLanguageFromURL } from '../../utils';
import { languages } from "../../i18n/languages";
import LanguageSelector from "../language-select"
import { Image } from 'astro:assets';
import Logo from '@assets/images/logo.jpg'
import Logo from '@assets/images/logo.svg'
const lang = getLanguageFromURL(Astro.url.toString());
const menuitems = [
Expand Down
8 changes: 4 additions & 4 deletions src/pages/open-graph/[...route].ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ export const { getStaticPaths, GET } = OGImageRoute({
param: 'route',
pages: await import.meta.glob('/src/content/**/*.md', { eager: true }),
getImageOptions: (_path, page) => ({
title: "DATANAUTES.com",
title: "DATANAUTES",
description: page.frontmatter.title,
//logo: { path: './src/datanautes.png', size: [350] },
bgGradient:[[186, 73, 185]],
color: [255,255,255],
logo: { path: './src/assets/images/thumbnail_logo.png', size: [350] },
bgGradient:[[9,16,23]],
color: [0,0,0],
border: { width: 10, color: [122,116,211] },
padding: 40,
}),
Expand Down

0 comments on commit d2a8d9c

Please sign in to comment.