git commit -m "style: fix formatting issues in README, saas template and image utils
Fix the failing CI "check" action by applying Prettier formatting to: - README.md - src/pages/homes/saas.astro - src/utils/images.ts This resolves the "prettier --check" errors without changing functionality."
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>
|
||||
|
||||
|
||||
## TL;DR
|
||||
|
||||
```shell
|
||||
|
||||
@@ -51,9 +51,8 @@ const metadata = {
|
||||
}}
|
||||
>
|
||||
<Fragment slot="title">
|
||||
Simplify web design with Astrowind: <br /> your ultimate <span class="text-accent dark:text-white"
|
||||
>SaaS</span
|
||||
> companion<br />
|
||||
Simplify web design with Astrowind: <br /> your ultimate <span class="text-accent dark:text-white">SaaS</span> companion<br
|
||||
/>
|
||||
</Fragment>
|
||||
|
||||
<Fragment slot="subtitle">
|
||||
|
||||
@@ -84,9 +84,7 @@ export const adaptOpenGraphImages = async (
|
||||
typeof resolvedImage !== 'string' && resolvedImage?.width <= defaultWidth
|
||||
? [resolvedImage?.width, resolvedImage?.height]
|
||||
: [defaultWidth, defaultHeight];
|
||||
_image = (
|
||||
await astroAssetsOptimizer(resolvedImage, [dimensions[0]], dimensions[0], dimensions[1], 'jpg')
|
||||
)[0];
|
||||
_image = (await astroAssetsOptimizer(resolvedImage, [dimensions[0]], dimensions[0], dimensions[1], 'jpg'))[0];
|
||||
}
|
||||
|
||||
if (typeof _image === 'object') {
|
||||
|
||||
Reference in New Issue
Block a user