diff --git a/README.md b/README.md index 4c51a74..da748a5 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,8 @@ # devoptimus.com ## Dev -* `npm install` -* `npm run dev --host` - * `--host` is required to expose the ports of the dev server to your dev machine - * This command also watches for changes and deploys to the dev server real time + +- `npm install` +- `npm run dev --host` + - `--host` is required to expose the ports of the dev server to your dev machine + - This command also watches for changes and deploys to the dev server real time diff --git a/README_vendor.md b/README_vendor.md index 32ed8ff..d25b127 100644 --- a/README_vendor.md +++ b/README_vendor.md @@ -64,7 +64,6 @@ We're embarking on an exciting journey with **AstroWind 2.0**, and we want you t
- ## TL;DR ```shell diff --git a/package-lock.json b/package-lock.json index 71c1580..8ed57c0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,6 @@ "astro-icon": "^1.1.5", "limax": "4.1.0", "lodash.merge": "^4.6.2", - "three": "^0.178.0", "unpic": "^4.1.2" }, "devDependencies": { @@ -42,7 +41,7 @@ "globals": "^16.0.0", "js-yaml": "^4.1.0", "mdast-util-to-string": "^4.0.0", - "prettier": "^3.5.3", + "prettier": "3.6.2", "prettier-plugin-astro": "^0.14.1", "reading-time": "^1.5.0", "sharp": "0.34.1", @@ -254,6 +253,7 @@ "version": "0.6.1", "resolved": "https://registry.npmjs.org/@astrojs/internal-helpers/-/internal-helpers-0.6.1.tgz", "integrity": "sha512-l5Pqf6uZu31aG+3Lv8nl/3s4DbUzdlxTWDof4pEpto6GUJNhhCbelVi9dEyurOVyqaelwmS9oSyOWOENSfgo9A==", + "dev": true, "license": "MIT" }, "node_modules/@astrojs/language-server": { @@ -301,6 +301,7 @@ "version": "6.3.2", "resolved": "https://registry.npmjs.org/@astrojs/markdown-remark/-/markdown-remark-6.3.2.tgz", "integrity": "sha512-bO35JbWpVvyKRl7cmSJD822e8YA8ThR/YbUsciWNA7yTcqpIAL2hJDToWP5KcZBWxGT6IOdOkHSXARSNZc4l/Q==", + "dev": true, "license": "MIT", "dependencies": { "@astrojs/internal-helpers": "0.6.1", @@ -515,27 +516,30 @@ } }, "node_modules/@babel/helper-string-parser": { - "version": "7.25.7", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.25.7.tgz", - "integrity": "sha512-CbkjYdsJNHFk8uqpEkpCvRs3YRp9tY6FmFY7wLMSYuGYkrdUi7r2lc4/wqsvlHoMznX3WJ9IP8giGPq68T/Y6g==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz", + "integrity": "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==", + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.25.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.7.tgz", - "integrity": "sha512-AM6TzwYqGChO45oiuPqwL2t20/HdMC1rTPAesnBCgPCSF1x3oN9MVUwQV2iyz4xqWrctwK5RNC8LV22kaQCNYg==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.27.1.tgz", + "integrity": "sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==", + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/parser": { - "version": "7.25.4", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.25.4.tgz", - "integrity": "sha512-nq+eWrOgdtu3jG5Os4TQP3x3cLA8hR8TvJNjD8vnPa20WGycimcparWnLK4jJhElTK6SDyuJo1weMKO/5LpmLA==", + "version": "7.28.0", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.28.0.tgz", + "integrity": "sha512-jVZGvOxOuNSsuQuLRTh13nU0AogFlw32w/MT+LV6D3sP5WdbW61E77RnkbaO2dUvmPAYrBDJXGn5gGS6tH4j8g==", + "license": "MIT", "dependencies": { - "@babel/types": "^7.25.4" + "@babel/types": "^7.28.0" }, "bin": { "parser": "bin/babel-parser.js" @@ -545,13 +549,13 @@ } }, "node_modules/@babel/types": { - "version": "7.25.7", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.25.7.tgz", - "integrity": "sha512-vwIVdXG+j+FOpkwqHRcBgHLYNL7XMkufrlaFvL9o6Ai9sJn9+PdyIL5qa0XzTZw084c+u9LOls53eoZWP/W5WQ==", + "version": "7.28.2", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.28.2.tgz", + "integrity": "sha512-ruv7Ae4J5dUYULmeXw1gmb7rYRz57OWCPM57pHojnLq/3Z1CK2lNSLTCVjxVk1F/TZHwOZZrOWi0ur95BbLxNQ==", + "license": "MIT", "dependencies": { - "@babel/helper-string-parser": "^7.25.7", - "@babel/helper-validator-identifier": "^7.25.7", - "to-fast-properties": "^2.0.0" + "@babel/helper-string-parser": "^7.27.1", + "@babel/helper-validator-identifier": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -1775,16 +1779,14 @@ } }, "node_modules/@jridgewell/gen-mapping": { - "version": "0.3.5", + "version": "0.3.12", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.12.tgz", + "integrity": "sha512-OuLGC46TjB5BbN1dH8JULVVZY4WTdkF7tV9Ys6wLL1rubZnCMstOhNHueU5bLCrnRuDhKPDM4g6sw4Bel5Gzqg==", "devOptional": true, "license": "MIT", "dependencies": { - "@jridgewell/set-array": "^1.2.1", - "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/sourcemap-codec": "^1.5.0", "@jridgewell/trace-mapping": "^0.3.24" - }, - "engines": { - "node": ">=6.0.0" } }, "node_modules/@jridgewell/resolve-uri": { @@ -1795,14 +1797,6 @@ "node": ">=6.0.0" } }, - "node_modules/@jridgewell/set-array": { - "version": "1.2.1", - "devOptional": true, - "license": "MIT", - "engines": { - "node": ">=6.0.0" - } - }, "node_modules/@jridgewell/source-map": { "version": "0.3.6", "devOptional": true, @@ -1818,7 +1812,9 @@ "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==" }, "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.25", + "version": "0.3.29", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.29.tgz", + "integrity": "sha512-uw6guiW/gcAGPDhLmd77/6lW8QLeiV5RUTsAX46Db6oLhGaVj4lhnPwb184s1bkc8kdVg/+h988dro8GRDpmYQ==", "devOptional": true, "license": "MIT", "dependencies": { @@ -2952,14 +2948,14 @@ } }, "node_modules/astro": { - "version": "5.11.0", - "resolved": "https://registry.npmjs.org/astro/-/astro-5.11.0.tgz", - "integrity": "sha512-MEICntERthUxJPSSDsDiZuwiCMrsaYy3fnDhp4c6ScUfldCB8RBnB/myYdpTFXpwYBy6SgVsHQ1H4MuuA7ro/Q==", + "version": "5.12.8", + "resolved": "https://registry.npmjs.org/astro/-/astro-5.12.8.tgz", + "integrity": "sha512-KkJ7FR+c2SyZYlpakm48XBiuQcRsrVtdjG5LN5an0givI/tLik+ePJ4/g3qrAVhYMjJOxBA2YgFQxANPiWB+Mw==", "license": "MIT", "dependencies": { "@astrojs/compiler": "^2.12.2", - "@astrojs/internal-helpers": "0.6.1", - "@astrojs/markdown-remark": "6.3.2", + "@astrojs/internal-helpers": "0.7.1", + "@astrojs/markdown-remark": "6.3.5", "@astrojs/telemetry": "3.3.0", "@capsizecss/unpack": "^2.4.0", "@oslojs/encoding": "^1.1.0", @@ -3002,6 +2998,7 @@ "rehype": "^13.0.2", "semver": "^7.7.1", "shiki": "^3.2.1", + "smol-toml": "^1.3.4", "tinyexec": "^0.3.2", "tinyglobby": "^0.2.12", "tsconfck": "^3.1.5", @@ -3015,7 +3012,7 @@ "xxhash-wasm": "^1.1.0", "yargs-parser": "^21.1.1", "yocto-spinner": "^0.2.1", - "zod": "^3.24.2", + "zod": "^3.24.4", "zod-to-json-schema": "^3.24.5", "zod-to-ts": "^1.2.0" }, @@ -3593,6 +3590,41 @@ "@iconify/utils": "^2.1.30" } }, + "node_modules/astro/node_modules/@astrojs/internal-helpers": { + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/@astrojs/internal-helpers/-/internal-helpers-0.7.1.tgz", + "integrity": "sha512-7dwEVigz9vUWDw3nRwLQ/yH/xYovlUA0ZD86xoeKEBmkz9O6iELG1yri67PgAPW6VLL/xInA4t7H0CK6VmtkKQ==", + "license": "MIT" + }, + "node_modules/astro/node_modules/@astrojs/markdown-remark": { + "version": "6.3.5", + "resolved": "https://registry.npmjs.org/@astrojs/markdown-remark/-/markdown-remark-6.3.5.tgz", + "integrity": "sha512-MiR92CkE2BcyWf3b86cBBw/1dKiOH0qhLgXH2OXA6cScrrmmks1Rr4Tl0p/lFpvmgQQrP54Pd1uidJfmxGrpWQ==", + "license": "MIT", + "dependencies": { + "@astrojs/internal-helpers": "0.7.1", + "@astrojs/prism": "3.3.0", + "github-slugger": "^2.0.0", + "hast-util-from-html": "^2.0.3", + "hast-util-to-text": "^4.0.2", + "import-meta-resolve": "^4.1.0", + "js-yaml": "^4.1.0", + "mdast-util-definitions": "^6.0.0", + "rehype-raw": "^7.0.0", + "rehype-stringify": "^10.0.1", + "remark-gfm": "^4.0.1", + "remark-parse": "^11.0.0", + "remark-rehype": "^11.1.2", + "remark-smartypants": "^3.0.2", + "shiki": "^3.2.1", + "smol-toml": "^1.3.4", + "unified": "^11.0.5", + "unist-util-remove-position": "^5.0.0", + "unist-util-visit": "^5.0.0", + "unist-util-visit-parents": "^6.0.1", + "vfile": "^6.0.3" + } + }, "node_modules/astro/node_modules/@img/sharp-darwin-arm64": { "version": "0.33.5", "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.33.5.tgz", @@ -9134,9 +9166,9 @@ } }, "node_modules/prettier": { - "version": "3.5.3", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.5.3.tgz", - "integrity": "sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw==", + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.6.2.tgz", + "integrity": "sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ==", "dev": true, "license": "MIT", "bin": { @@ -9877,9 +9909,9 @@ "integrity": "sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==" }, "node_modules/smol-toml": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/smol-toml/-/smol-toml-1.3.3.tgz", - "integrity": "sha512-KMVLNWu490KlNfD0lbfDBUktJIEaZRBj1eeK0SMfdpO/rfyARIzlnPVI1Ge4l0vtSJmQUAiGKxMyLGrCT38iyA==", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/smol-toml/-/smol-toml-1.4.1.tgz", + "integrity": "sha512-CxdwHXyYTONGHThDbq5XdwbFsuY4wlClRGejfE2NtwUtiHYsP1QtNsHb/hnj31jKYSchztJsaA8pSQoVzkfCFg==", "license": "BSD-3-Clause", "engines": { "node": ">= 18" @@ -10332,12 +10364,6 @@ "node": ">=0.8" } }, - "node_modules/three": { - "version": "0.178.0", - "resolved": "https://registry.npmjs.org/three/-/three-0.178.0.tgz", - "integrity": "sha512-ybFIB0+x8mz0wnZgSGy2MO/WCO6xZhQSZnmfytSPyNpM0sBafGRVhdaj+erYh5U+RhQOAg/eXqw5uVDiM2BjhQ==", - "license": "MIT" - }, "node_modules/tiny-inflate": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/tiny-inflate/-/tiny-inflate-1.0.3.tgz", @@ -10400,13 +10426,6 @@ "tlds": "bin.js" } }, - "node_modules/to-fast-properties": { - "version": "2.0.0", - "license": "MIT", - "engines": { - "node": ">=4" - } - }, "node_modules/to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", @@ -11845,9 +11864,9 @@ } }, "node_modules/zod": { - "version": "3.24.2", - "resolved": "https://registry.npmjs.org/zod/-/zod-3.24.2.tgz", - "integrity": "sha512-lY7CDW43ECgW9u1TcT3IoXHflywfVqDYze4waEz812jR/bZ8FHDsl7pFQoSZTz5N+2NqRXs8GBwnAwo3ZNxqhQ==", + "version": "3.25.76", + "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz", + "integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==", "license": "MIT", "funding": { "url": "https://github.com/sponsors/colinhacks" diff --git a/package.json b/package.json index d8b9f1a..f7a800f 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,6 @@ "astro-icon": "^1.1.5", "limax": "4.1.0", "lodash.merge": "^4.6.2", - "three": "^0.178.0", "unpic": "^4.1.2" }, "devDependencies": { @@ -56,7 +55,7 @@ "globals": "^16.0.0", "js-yaml": "^4.1.0", "mdast-util-to-string": "^4.0.0", - "prettier": "^3.5.3", + "prettier": "3.6.2", "prettier-plugin-astro": "^0.14.1", "reading-time": "^1.5.0", "sharp": "0.34.1", diff --git a/src/components/starfield.astro b/src/components/starfield.astro new file mode 100644 index 0000000..d89b0be --- /dev/null +++ b/src/components/starfield.astro @@ -0,0 +1,120 @@ +
+ +
+ + + + diff --git a/src/components/ui/SpaceBackground.astro b/src/components/ui/SpaceBackground.astro deleted file mode 100644 index ef21a62..0000000 --- a/src/components/ui/SpaceBackground.astro +++ /dev/null @@ -1,23 +0,0 @@ ---- -export interface Props { - isDark?: boolean; -} - -const { isDark = false } = Astro.props; ---- - -
- -
- - - \ No newline at end of file diff --git a/src/components/widgets/Hero2Landing.astro b/src/components/widgets/Hero2Landing.astro index b296e23..89be47a 100644 --- a/src/components/widgets/Hero2Landing.astro +++ b/src/components/widgets/Hero2Landing.astro @@ -1,7 +1,5 @@ --- -import Image from '~/components/common/Image.astro'; import Button from '~/components/ui/Button.astro'; - import type { Hero as Props } from '~/types'; const { @@ -11,7 +9,6 @@ const { content = await Astro.slots.render('content'), actions = await Astro.slots.render('actions'), - image = await Astro.slots.render('image'), id, bg = await Astro.slots.render('bg'), diff --git a/src/layouts/LandingLayout.astro b/src/layouts/LandingLayout.astro index 28614e8..4757860 100644 --- a/src/layouts/LandingLayout.astro +++ b/src/layouts/LandingLayout.astro @@ -1,11 +1,5 @@ --- import Layout from '~/layouts/Layout.astro'; -import Header from '~/components/widgets/Header.astro'; -import Footer from '~/components/widgets/Footer.astro'; -import Announcement from '~/components/widgets/Announcement.astro'; - -import { headerData, footerData } from '~/navigation'; - import type { MetaData } from '~/types'; export interface Props { diff --git a/src/layouts/PageLayout.astro b/src/layouts/PageLayout.astro index e3bc4da..442d063 100644 --- a/src/layouts/PageLayout.astro +++ b/src/layouts/PageLayout.astro @@ -1,10 +1,9 @@ --- import Layout from '~/layouts/Layout.astro'; import Header from '~/components/widgets/Header.astro'; -import Footer from '~/components/widgets/Footer.astro'; import Announcement from '~/components/widgets/Announcement.astro'; -import { headerData, footerData } from '~/navigation'; +import { headerData } from '~/navigation'; import type { MetaData } from '~/types'; @@ -25,7 +24,7 @@ const { metadata } = Astro.props;
- + diff --git a/src/navigation.ts b/src/navigation.ts index cd6b245..5df805e 100644 --- a/src/navigation.ts +++ b/src/navigation.ts @@ -1,4 +1,4 @@ -import { getPermalink, getBlogPermalink, getAsset, getHomePermalink } from './utils/permalinks'; +import { getPermalink, getBlogPermalink, getAsset } from './utils/permalinks'; export const headerData = { links: [ @@ -131,65 +131,65 @@ export const headerData = { }; export const footerData = { - // links: [ - // { - // title: 'Product', - // links: [ - // { text: 'Features', href: '#' }, - // { text: 'Security', href: '#' }, - // { text: 'Team', href: '#' }, - // { text: 'Enterprise', href: '#' }, - // { text: 'Customer stories', href: '#' }, - // { text: 'Pricing', href: '#' }, - // { text: 'Resources', href: '#' }, - // ], - // }, - // { - // title: 'Platform', - // links: [ - // { text: 'Developer API', href: '#' }, - // { text: 'Partners', href: '#' }, - // { text: 'Atom', href: '#' }, - // { text: 'Electron', href: '#' }, - // { text: 'AstroWind Desktop', href: '#' }, - // ], - // }, - // { - // title: 'Support', - // links: [ - // { text: 'Docs', href: '#' }, - // { text: 'Community Forum', href: '#' }, - // { text: 'Professional Services', href: '#' }, - // { text: 'Skills', href: '#' }, - // { text: 'Status', href: '#' }, - // ], - // }, - // { - // title: 'Company', - // links: [ - // { text: 'About', href: '#' }, - // { text: 'Blog', href: '#' }, - // { text: 'Careers', href: '#' }, - // { text: 'Press', href: '#' }, - // { text: 'Inclusion', href: '#' }, - // { text: 'Social Impact', href: '#' }, - // { text: 'Shop', href: '#' }, - // ], - // }, - // ], - // secondaryLinks: [ - // { text: 'Terms', href: getPermalink('/terms') }, - // { text: 'Privacy Policy', href: getPermalink('/privacy') }, - // ], - // socialLinks: [ - // { ariaLabel: 'X', icon: 'tabler:brand-x', href: '#' }, - // { ariaLabel: 'Instagram', icon: 'tabler:brand-instagram', href: '#' }, - // { ariaLabel: 'Facebook', icon: 'tabler:brand-facebook', href: '#' }, - // { ariaLabel: 'RSS', icon: 'tabler:rss', href: getAsset('/rss.xml') }, - // { ariaLabel: 'Github', icon: 'tabler:brand-github', href: 'https://github.com/onwidget/astrowind' }, - // ], - // footNote: ` - // onWidget logo - // Made by onWidget · All rights reserved. - // `, + links: [ + { + title: 'Product', + links: [ + { text: 'Features', href: '#' }, + { text: 'Security', href: '#' }, + { text: 'Team', href: '#' }, + { text: 'Enterprise', href: '#' }, + { text: 'Customer stories', href: '#' }, + { text: 'Pricing', href: '#' }, + { text: 'Resources', href: '#' }, + ], + }, + { + title: 'Platform', + links: [ + { text: 'Developer API', href: '#' }, + { text: 'Partners', href: '#' }, + { text: 'Atom', href: '#' }, + { text: 'Electron', href: '#' }, + { text: 'AstroWind Desktop', href: '#' }, + ], + }, + { + title: 'Support', + links: [ + { text: 'Docs', href: '#' }, + { text: 'Community Forum', href: '#' }, + { text: 'Professional Services', href: '#' }, + { text: 'Skills', href: '#' }, + { text: 'Status', href: '#' }, + ], + }, + { + title: 'Company', + links: [ + { text: 'About', href: '#' }, + { text: 'Blog', href: '#' }, + { text: 'Careers', href: '#' }, + { text: 'Press', href: '#' }, + { text: 'Inclusion', href: '#' }, + { text: 'Social Impact', href: '#' }, + { text: 'Shop', href: '#' }, + ], + }, + ], + secondaryLinks: [ + { text: 'Terms', href: getPermalink('/terms') }, + { text: 'Privacy Policy', href: getPermalink('/privacy') }, + ], + socialLinks: [ + { ariaLabel: 'X', icon: 'tabler:brand-x', href: '#' }, + { ariaLabel: 'Instagram', icon: 'tabler:brand-instagram', href: '#' }, + { ariaLabel: 'Facebook', icon: 'tabler:brand-facebook', href: '#' }, + { ariaLabel: 'RSS', icon: 'tabler:rss', href: getAsset('/rss.xml') }, + { ariaLabel: 'Github', icon: 'tabler:brand-github', href: 'https://github.com/onwidget/astrowind' }, + ], + footNote: ` + onWidget logo + Made by onWidget · All rights reserved. + `, }; diff --git a/src/pages/homes/saas.astro b/src/pages/homes/saas.astro index 14ca203..8291b46 100644 --- a/src/pages/homes/saas.astro +++ b/src/pages/homes/saas.astro @@ -51,9 +51,8 @@ const metadata = { }} > - Simplify web design with Astrowind:
your ultimate SaaS companion
+ Simplify web design with Astrowind:
your ultimate SaaS companion
diff --git a/src/pages/index.astro b/src/pages/index.astro index e74a338..ca8866f 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -2,7 +2,7 @@ import Layout from '~/layouts/LandingLayout.astro'; import Hero2L from '~/components/widgets/Hero2Landing.astro'; -import SpaceBackground from '~/components/ui/SpaceBackground.astro'; +import Starfield from '~/components/starfield.astro'; const metadata = { title: 'DevOptimus.com — Transform and roll out', @@ -10,15 +10,12 @@ const metadata = { }; --- - - - - - \ No newline at end of file + + + + diff --git a/src/utils/images.ts b/src/utils/images.ts index d6f14f0..a33584e 100644 --- a/src/utils/images.ts +++ b/src/utils/images.ts @@ -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') {