refactor: Move Astro project to root directory

- Move all Astro files from dealplustech-astro/ to root
- Archive Next.js code in _nextjs-backup/
- Update .gitignore for Astro project
- Simplify project structure

This completes the migration from Next.js to Astro.
The Astro project is now at the root level.
This commit is contained in:
Kunthawat Greethong
2026-03-03 10:21:42 +07:00
parent b8e372ca96
commit 45961b8d76
525 changed files with 481 additions and 30894 deletions

View File

@@ -1,42 +0,0 @@
# Environment Configuration for Deal Plus Tech Website
# Copy this file to .env.local and fill in the values
# Site Configuration
NEXT_PUBLIC_SITE_URL=https://dealplustech.co.th
# Contact Information
NEXT_PUBLIC_PHONE=090-555-1415
NEXT_PUBLIC_EMAIL=info@dealplustech.co.th
NEXT_PUBLIC_LINE_ID=@dealplustech
NEXT_PUBLIC_FACEBOOK_URL=https://facebook.com/dealplustech
# Company Information
NEXT_PUBLIC_COMPANY_ADDRESS=บริษัท ดีล พลัส เทค จำกัด 9/70 ซอยนครลุง 17 แขวงบางไผ่ เขตบางแค กทม. 10160
# Google Analytics 4 (Required for tracking)
NEXT_PUBLIC_GA_MEASUREMENT_ID=G-XXXXXXXXXX
# Google Search Console Verification (optional)
# NEXT_PUBLIC_GOOGLE_SITE_VERIFICATION=your-verification-code
# WordPress API (optional - for blog integration)
# NEXT_PUBLIC_WORDPRESS_API_URL=https://your-wordpress-site.com/wp-json/wp/v2
# Copy this file to .env.local and fill in the values
# Site Configuration
NEXT_PUBLIC_SITE_URL=https://dealplustech.co.th
# Contact Information
NEXT_PUBLIC_PHONE=090-555-1415
NEXT_PUBLIC_EMAIL=dealplustech@gmail.com
NEXT_PUBLIC_LINE_ID=jppselection
NEXT_PUBLIC_FACEBOOK_URL=https://www.facebook.com/Dealplustech/
# Company Information
NEXT_PUBLIC_COMPANY_ADDRESS=9/70 ซอยนครลุง 17 แขวงบางไผ่ เขตบางแค กทม. 10160
# Google Analytics (optional)
# NEXT_PUBLIC_GA_MEASUREMENT_ID=G-XXXXXXXXXX
# Google Search Console Verification (optional)
# NEXT_PUBLIC_GOOGLE_SITE_VERIFICATION=your-verification-code

63
.gitignore vendored
View File

@@ -1,39 +1,48 @@
# dependencies
/node_modules
/.pnp
# Dependencies
node_modules/
.pnp
.pnp.js
.yarn/install-state.gz
# testing
/coverage
# Testing
coverage/
# next.js
/.next/
/out/
# Next.js (backup only)
_nextjs-backup/
# production
/build
# Astro
.astro/
# misc
# Build
dist/
build/
# Production
*.local
# Editor
.vscode/*
!.vscode/extensions.json
.idea/
.DS_Store
*.pem
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
# debug
# Logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
# local env files
.env*.local
# Uploads
./upload/*
# Misc
.env
# vercel
.vercel
# typescript
*.tsbuildinfo
next-env.d.ts
# IDE
.idea/
.vscode/
.env.local
.env.development.local
.env.test.local
.env.production.local

View File

@@ -0,0 +1,141 @@
{
"pages": {
"/not-found": [
"static/chunks/webpack-9a8fb33c832e81a2.js",
"static/chunks/fd9d1056-be48aeae6e94b8d1.js",
"static/chunks/23-1173f579f5a64b66.js",
"static/chunks/main-app-32dd61581794e1e4.js",
"static/chunks/231-835e4e133e174214.js",
"static/chunks/app/not-found-99801a6304a8721d.js"
],
"/_not-found/page": [
"static/chunks/webpack-9a8fb33c832e81a2.js",
"static/chunks/fd9d1056-be48aeae6e94b8d1.js",
"static/chunks/23-1173f579f5a64b66.js",
"static/chunks/main-app-32dd61581794e1e4.js",
"static/chunks/app/_not-found/page-a8311dbf26353b5f.js"
],
"/layout": [
"static/chunks/webpack-9a8fb33c832e81a2.js",
"static/chunks/fd9d1056-be48aeae6e94b8d1.js",
"static/chunks/23-1173f579f5a64b66.js",
"static/chunks/main-app-32dd61581794e1e4.js",
"static/css/ce35d6adbe83d54f.css",
"static/chunks/231-835e4e133e174214.js",
"static/chunks/173-b3d7b260672a72d0.js",
"static/chunks/484-045d7ef2f2f80ff4.js",
"static/chunks/app/layout-19c9db9710ab65f1.js"
],
"/page": [
"static/chunks/webpack-9a8fb33c832e81a2.js",
"static/chunks/fd9d1056-be48aeae6e94b8d1.js",
"static/chunks/23-1173f579f5a64b66.js",
"static/chunks/main-app-32dd61581794e1e4.js",
"static/chunks/231-835e4e133e174214.js",
"static/chunks/173-b3d7b260672a72d0.js",
"static/chunks/app/page-bdc4a3180a6ffd22.js"
],
"/all-projects/page": [
"static/chunks/webpack-9a8fb33c832e81a2.js",
"static/chunks/fd9d1056-be48aeae6e94b8d1.js",
"static/chunks/23-1173f579f5a64b66.js",
"static/chunks/main-app-32dd61581794e1e4.js",
"static/chunks/231-835e4e133e174214.js",
"static/chunks/173-b3d7b260672a72d0.js",
"static/chunks/app/all-projects/page-ec5d4becfe958bb4.js"
],
"/blog/[slug]/page": [
"static/chunks/webpack-9a8fb33c832e81a2.js",
"static/chunks/fd9d1056-be48aeae6e94b8d1.js",
"static/chunks/23-1173f579f5a64b66.js",
"static/chunks/main-app-32dd61581794e1e4.js",
"static/chunks/231-835e4e133e174214.js",
"static/chunks/173-b3d7b260672a72d0.js",
"static/chunks/app/blog/[slug]/page-b8d14781d2bd2004.js"
],
"/about-us/page": [
"static/chunks/webpack-9a8fb33c832e81a2.js",
"static/chunks/fd9d1056-be48aeae6e94b8d1.js",
"static/chunks/23-1173f579f5a64b66.js",
"static/chunks/main-app-32dd61581794e1e4.js",
"static/chunks/173-b3d7b260672a72d0.js",
"static/chunks/app/about-us/page-0bbf127c07ddfc81.js"
],
"/blog/page": [
"static/chunks/webpack-9a8fb33c832e81a2.js",
"static/chunks/fd9d1056-be48aeae6e94b8d1.js",
"static/chunks/23-1173f579f5a64b66.js",
"static/chunks/main-app-32dd61581794e1e4.js",
"static/chunks/231-835e4e133e174214.js",
"static/chunks/173-b3d7b260672a72d0.js",
"static/chunks/app/blog/page-0a12af0eabd2d3ba.js"
],
"/contact-us/page": [
"static/chunks/webpack-9a8fb33c832e81a2.js",
"static/chunks/fd9d1056-be48aeae6e94b8d1.js",
"static/chunks/23-1173f579f5a64b66.js",
"static/chunks/main-app-32dd61581794e1e4.js",
"static/chunks/app/contact-us/page-c044e62dffce82cd.js"
],
"/pipe/page": [
"static/chunks/webpack-9a8fb33c832e81a2.js",
"static/chunks/fd9d1056-be48aeae6e94b8d1.js",
"static/chunks/23-1173f579f5a64b66.js",
"static/chunks/main-app-32dd61581794e1e4.js",
"static/chunks/231-835e4e133e174214.js",
"static/chunks/173-b3d7b260672a72d0.js",
"static/chunks/app/pipe/page-e115bccb859c2d29.js"
],
"/join-us/page": [
"static/chunks/webpack-9a8fb33c832e81a2.js",
"static/chunks/fd9d1056-be48aeae6e94b8d1.js",
"static/chunks/23-1173f579f5a64b66.js",
"static/chunks/main-app-32dd61581794e1e4.js",
"static/chunks/231-835e4e133e174214.js",
"static/chunks/app/join-us/page-f0c3760520fe40a2.js"
],
"/product/page": [
"static/chunks/webpack-9a8fb33c832e81a2.js",
"static/chunks/fd9d1056-be48aeae6e94b8d1.js",
"static/chunks/23-1173f579f5a64b66.js",
"static/chunks/main-app-32dd61581794e1e4.js",
"static/chunks/231-835e4e133e174214.js",
"static/chunks/173-b3d7b260672a72d0.js",
"static/chunks/app/product/page-10dd3da3858fd705.js"
],
"/portfolio/page": [
"static/chunks/webpack-9a8fb33c832e81a2.js",
"static/chunks/fd9d1056-be48aeae6e94b8d1.js",
"static/chunks/23-1173f579f5a64b66.js",
"static/chunks/main-app-32dd61581794e1e4.js",
"static/chunks/173-b3d7b260672a72d0.js",
"static/chunks/app/portfolio/page-508e3e9f4e7706f4.js"
],
"/sales-engineer/page": [
"static/chunks/webpack-9a8fb33c832e81a2.js",
"static/chunks/fd9d1056-be48aeae6e94b8d1.js",
"static/chunks/23-1173f579f5a64b66.js",
"static/chunks/main-app-32dd61581794e1e4.js",
"static/chunks/231-835e4e133e174214.js",
"static/chunks/app/sales-engineer/page-4ed73dc5fdd7f0da.js"
],
"/[...slug]/page": [
"static/chunks/webpack-9a8fb33c832e81a2.js",
"static/chunks/fd9d1056-be48aeae6e94b8d1.js",
"static/chunks/23-1173f579f5a64b66.js",
"static/chunks/main-app-32dd61581794e1e4.js",
"static/chunks/231-835e4e133e174214.js",
"static/chunks/173-b3d7b260672a72d0.js",
"static/chunks/app/[...slug]/page-5a3dd32220dca974.js"
],
"/services/page": [
"static/chunks/webpack-9a8fb33c832e81a2.js",
"static/chunks/fd9d1056-be48aeae6e94b8d1.js",
"static/chunks/23-1173f579f5a64b66.js",
"static/chunks/main-app-32dd61581794e1e4.js",
"static/chunks/231-835e4e133e174214.js",
"static/chunks/173-b3d7b260672a72d0.js",
"static/chunks/app/services/page-5753c209017fe02c.js"
]
}
}

32
.next/build-manifest.json Normal file
View File

@@ -0,0 +1,32 @@
{
"polyfillFiles": [
"static/chunks/polyfills-78c92fac7aa8fdd8.js"
],
"devFiles": [],
"ampDevFiles": [],
"lowPriorityFiles": [
"static/_rpqMPjhAloA06YmSOFCm/_buildManifest.js",
"static/_rpqMPjhAloA06YmSOFCm/_ssgManifest.js"
],
"rootMainFiles": [
"static/chunks/webpack-9a8fb33c832e81a2.js",
"static/chunks/fd9d1056-be48aeae6e94b8d1.js",
"static/chunks/23-1173f579f5a64b66.js",
"static/chunks/main-app-32dd61581794e1e4.js"
],
"pages": {
"/_app": [
"static/chunks/webpack-9a8fb33c832e81a2.js",
"static/chunks/framework-f66176bb897dc684.js",
"static/chunks/main-fde355fa73d712a0.js",
"static/chunks/pages/_app-6a626577ffa902a4.js"
],
"/_error": [
"static/chunks/webpack-9a8fb33c832e81a2.js",
"static/chunks/framework-f66176bb897dc684.js",
"static/chunks/main-fde355fa73d712a0.js",
"static/chunks/pages/_error-1be831200e60c5c0.js"
]
},
"ampFirstPages": []
}

1
.next/cache/.tsbuildinfo vendored Normal file

File diff suppressed because one or more lines are too long

7
.next/cache/config.json vendored Normal file
View File

@@ -0,0 +1,7 @@
{
"telemetry": {
"notifiedAt": "1772339974492",
"anonymousId": "40842ad6f367c80c9d1ba4d4fdb61a47fcc5db1ee6eb341fb94525a5dc9ff332",
"salt": "fdc933f5780ef52d1b1188424192932a"
}
}

1
.next/cache/eslint/.cache_8dslzn vendored Normal file

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More