seo prop tweaks

This commit is contained in:
MinamiFunakoshiTR 2025-03-12 09:20:38 -07:00
parent 6c2dc4d31e
commit b1aa5326e8
Failed to extract signature
2 changed files with 7 additions and 6 deletions

View file

@ -1,8 +1,5 @@
<!-- @component `ReutersGraphicsLogo` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-logos-reutersgraphicslogo--docs) -->
<script lang="ts">
interface Props {
/** "Kinesis" colour */
logoColour?: string;
@ -12,7 +9,11 @@
width?: string;
}
let { logoColour = '#D64000', textColour = '#212223', width = '100%' }: Props = $props();
let {
logoColour = '#D64000',
textColour = '#212223',
width = '100%',
}: Props = $props();
</script>
<svg

View file

@ -13,7 +13,7 @@
/**
* [URL](https://developer.mozilla.org/en-US/docs/Web/API/URL) object for the page.
*/
pageUrl: URL | null;
pageUrl: URL;
/**
* SEO title
*/
@ -54,7 +54,7 @@
let {
baseUrl,
pageUrl = null,
pageUrl,
seoTitle,
seoDescription,
shareTitle,