Merge pull request #630 from EffortlessSteven/chore/fix-prettier-formatting
chore(ci): resolve Prettier check failures in README, saas, and images.ts
This commit is contained in:
@@ -64,7 +64,6 @@ We're embarking on an exciting journey with **AstroWind 2.0**, and we want you t
|
|||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
|
|
||||||
## TL;DR
|
## TL;DR
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
|
|||||||
@@ -51,9 +51,8 @@ const metadata = {
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Fragment slot="title">
|
<Fragment slot="title">
|
||||||
Simplify web design with Astrowind: <br /> your ultimate <span class="text-accent dark:text-white"
|
Simplify web design with Astrowind: <br /> your ultimate <span class="text-accent dark:text-white">SaaS</span> companion<br
|
||||||
>SaaS</span
|
/>
|
||||||
> companion<br />
|
|
||||||
</Fragment>
|
</Fragment>
|
||||||
|
|
||||||
<Fragment slot="subtitle">
|
<Fragment slot="subtitle">
|
||||||
|
|||||||
@@ -87,9 +87,7 @@ export const adaptOpenGraphImages = async (
|
|||||||
typeof resolvedImage !== 'string' && resolvedImage?.width <= defaultWidth
|
typeof resolvedImage !== 'string' && resolvedImage?.width <= defaultWidth
|
||||||
? [resolvedImage?.width, resolvedImage?.height]
|
? [resolvedImage?.width, resolvedImage?.height]
|
||||||
: [defaultWidth, defaultHeight];
|
: [defaultWidth, defaultHeight];
|
||||||
_image = (
|
_image = (await astroAssetsOptimizer(resolvedImage, [dimensions[0]], dimensions[0], dimensions[1], 'jpg'))[0];
|
||||||
await astroAssetsOptimizer(resolvedImage, [dimensions[0]], dimensions[0], dimensions[1], 'jpg')
|
|
||||||
)[0];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (typeof _image === 'object') {
|
if (typeof _image === 'object') {
|
||||||
|
|||||||
Reference in New Issue
Block a user