Skip to content

Commit daa39f0

Browse files
Remove astrojs image (#526)
* changes * remove @astrojs/image * fix * tailwind fix * add autoprefixer * update * add deps * hero to image * fix w and h * fix again * try * Picture to image * other picture to images * avatar fix * more fixes * fix try 3 * try 4 * alt text * images - not sure if it works * logo fix * fix * fix again * another image issue * fix * fix * fixes for tablet * fix * more alts * Adjusted padding --------- Co-authored-by: Ante Koceić <ante@crocoder.dev>
1 parent f220c57 commit daa39f0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+179
-104
lines changed

apps/website/astro.config.mjs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
import { defineConfig } from 'astro/config';
2-
import tailwind from '@astrojs/tailwind';
32
import react from '@astrojs/react';
4-
import vercel from '@astrojs/vercel/serverless'
3+
import vercel from '@astrojs/vercel'
54
import createRemarkPlugin from '@crocoder-dev/remark-plugin';
6-
import image from '@astrojs/image';
5+
import tailwindcss from "@tailwindcss/vite";
76

87
const classes = {
98
titleClass: 'font-bold text-[1.25rem] mt-[2.5rem]',
@@ -18,12 +17,13 @@ export default defineConfig({
1817
prefetch: true,
1918
output: 'server',
2019
adapter: vercel({
20+
imageService: true,
2121
}),
2222
redirects: {
2323
'/feed': '/rss.xml',
2424
'/sitemap': '/sitemap.xml'
2525
},
26-
integrations: [tailwind(), react(), image()],
26+
integrations: [tailwindcss(), react()],
2727
markdown: {
2828
remarkPlugins: [remarkPlugin],
2929
},

apps/website/package.json

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,26 @@
33
"module": "index.ts",
44
"type": "module",
55
"dependencies": {
6-
"@astrojs/image": "^0.18.0",
7-
"@astrojs/react": "^4.1.2",
8-
"@astrojs/rss": "^4.0.11",
9-
"@astrojs/tailwind": "^6.0.2",
10-
"@astrojs/vercel": "^8.1.5",
6+
"@astrojs/react": "^4.3.0",
7+
"@astrojs/rss": "^4.0.12",
8+
"@astrojs/vercel": "^8.2.2",
119
"@crocoder-dev/remark-plugin": "*",
12-
"@crocoder-dev/tailwind": "*",
13-
"astro": "5.7.13",
10+
"@tailwindcss/forms": "^0.5.10",
11+
"@tailwindcss/postcss": "^4.1.11",
12+
"@tailwindcss/typography": "^0.5.16",
13+
"@tailwindcss/vite": "^4.1.11",
14+
"astro": "5.12.0",
1415
"astro-font": "^1.1.0",
16+
"autoprefixer": "^10.4.21",
1517
"classnames": "^2.5.1",
1618
"date-fns": "^4.1.0",
1719
"marked": "^15.0.5",
1820
"posthog-js": "^1.222.0",
19-
"react": "^19.0.0",
20-
"react-dom": "^19.0.0",
21-
"react-icons": "^5.4.0"
21+
"react": "^19.1.0",
22+
"react-dom": "^19.1.0",
23+
"react-icons": "^5.5.0",
24+
"tailwind": "^4.0.0",
25+
"tailwind-bootstrap-grid": "^6.0.0"
2226
},
2327
"scripts": {
2428
"dev": "astro dev --port 4321",
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module.exports = {
22
plugins: {
3-
tailwindcss: {},
3+
'@tailwindcss/postcss': {},
44
autoprefixer: {},
55
},
66
};
-378 KB
Binary file not shown.
-113 KB
Binary file not shown.
18.4 KB
Loading
9.31 KB
Loading

apps/website/src/assets/email.png

8.26 KB
Loading
233 KB
Loading
470 KB
Loading

0 commit comments

Comments
 (0)