Let's use AI to Earn!
TypeScript auto-publishdouyindouyin-apielectron-appelectron-reactkuaishoukwaipublishedshipinhaotoolxiaohongshu
Initial commit from Create Next App
gaoSiraa8eb73a874d
diff --git a/.gitignore b/.gitignorenew file mode 100644index 00000000..fd3dbb57--- /dev/null+++ b/.gitignore@@ -0,0 +1,36 @@+# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.++# dependencies+/node_modules+/.pnp+.pnp.js+.yarn/install-state.gz++# testing+/coverage++# next.js+/.next/+/out/++# production+/build++# misc+.DS_Store+*.pem++# debug+npm-debug.log*+yarn-debug.log*+yarn-error.log*++# local env files+.env*.local++# vercel+.vercel++# typescript+*.tsbuildinfo+next-env.d.tsdiff --git a/README.md b/README.mdnew file mode 100644index 00000000..e215bc4c--- /dev/null+++ b/README.md@@ -0,0 +1,36 @@+This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).++## Getting Started++First, run the development server:++```bash+npm run dev+# or+yarn dev+# or+pnpm dev+# or+bun dev+```++Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.++You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.++This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.++## Learn More++To learn more about Next.js, take a look at the following resources:++- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.+- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.++You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!++## Deploy on Vercel++The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.++Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.diff --git a/next.config.mjs b/next.config.mjsnew file mode 100644index 00000000..4678774e--- /dev/null+++ b/next.config.mjs@@ -0,0 +1,4 @@+/** @type {import('next').NextConfig} */+const nextConfig = {};++export default nextConfig;diff --git a/package-lock.json b/package-lock.jsonnew file mode 100644index 00000000..2df1d312--- /dev/null+++ b/package-lock.json@@ -0,0 +1,498 @@+{+ "name": "aitoearn-web",+ "version": "0.1.0",+ "lockfileVersion": 3,+ "requires": true,+ "packages": {+ "": {+ "name": "aitoearn-web",+ "version": "0.1.0",+ "dependencies": {+ "next": "14.2.29",+ "react": "^18",+ "react-dom": "^18"+ },+ "devDependencies": {+ "@types/node": "^20",+ "@types/react": "^18",+ "@types/react-dom": "^18",+ "typescript": "^5"+ }+ },+ "node_modules/@next/env": {+ "version": "14.2.29",+ "resolved": "https://registry.npmmirror.com/@next/env/-/env-14.2.29.tgz",+ "integrity": "sha512-UzgLR2eBfhKIQt0aJ7PWH7XRPYw7SXz0Fpzdl5THjUnvxy4kfBk9OU4RNPNiETewEEtaBcExNFNn1QWH8wQTjg==",+ "license": "MIT"+ },+ "node_modules/@next/swc-darwin-arm64": {+ "version": "14.2.29",+ "resolved": "https://registry.npmmirror.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.2.29.tgz",+ "integrity": "sha512-wWtrAaxCVMejxPHFb1SK/PVV1WDIrXGs9ki0C/kUM8ubKHQm+3hU9MouUywCw8Wbhj3pewfHT2wjunLEr/TaLA==",+ "cpu": [+ "arm64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "darwin"+ ],+ "engines": {+ "node": ">= 10"+ }+ },+ "node_modules/@next/swc-darwin-x64": {+ "version": "14.2.29",+ "resolved": "https://registry.npmmirror.com/@next/swc-darwin-x64/-/swc-darwin-x64-14.2.29.tgz",+ "integrity": "sha512-7Z/jk+6EVBj4pNLw/JQrvZVrAh9Bv8q81zCFSfvTMZ51WySyEHWVpwCEaJY910LyBftv2F37kuDPQm0w9CEXyg==",+ "cpu": [+ "x64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "darwin"+ ],+ "engines": {+ "node": ">= 10"+ }+ },+ "node_modules/@next/swc-linux-arm64-gnu": {+ "version": "14.2.29",+ "resolved": "https://registry.npmmirror.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.2.29.tgz",+ "integrity": "sha512-o6hrz5xRBwi+G7JFTHc+RUsXo2lVXEfwh4/qsuWBMQq6aut+0w98WEnoNwAwt7hkEqegzvazf81dNiwo7KjITw==",+ "cpu": [+ "arm64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">= 10"+ }+ },+ "node_modules/@next/swc-linux-arm64-musl": {+ "version": "14.2.29",+ "resolved": "https://registry.npmmirror.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.2.29.tgz",+ "integrity": "sha512-9i+JEHBOVgqxQ92HHRFlSW1EQXqa/89IVjtHgOqsShCcB/ZBjTtkWGi+SGCJaYyWkr/lzu51NTMCfKuBf7ULNw==",+ "cpu": [+ "arm64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">= 10"+ }+ },+ "node_modules/@next/swc-linux-x64-gnu": {+ "version": "14.2.29",+ "resolved": "https://registry.npmmirror.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.2.29.tgz",+ "integrity": "sha512-B7JtMbkUwHijrGBOhgSQu2ncbCYq9E7PZ7MX58kxheiEOwdkM+jGx0cBb+rN5AeqF96JypEppK6i/bEL9T13lA==",+ "cpu": [+ "x64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">= 10"+ }+ },+ "node_modules/@next/swc-linux-x64-musl": {+ "version": "14.2.29",+ "resolved": "https://registry.npmmirror.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.2.29.tgz",+ "integrity": "sha512-yCcZo1OrO3aQ38B5zctqKU1Z3klOohIxug6qdiKO3Q3qNye/1n6XIs01YJ+Uf+TdpZQ0fNrOQI2HrTLF3Zprnw==",+ "cpu": [+ "x64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">= 10"+ }+ },+ "node_modules/@next/swc-win32-arm64-msvc": {+ "version": "14.2.29",+ "resolved": "https://registry.npmmirror.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.2.29.tgz",+ "integrity": "sha512-WnrfeOEtTVidI9Z6jDLy+gxrpDcEJtZva54LYC0bSKQqmyuHzl0ego+v0F/v2aXq0am67BRqo/ybmmt45Tzo4A==",+ "cpu": [+ "arm64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "win32"+ ],+ "engines": {+ "node": ">= 10"+ }+ },+ "node_modules/@next/swc-win32-ia32-msvc": {+ "version": "14.2.29",+ "resolved": "https://registry.npmmirror.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.2.29.tgz",+ "integrity": "sha512-vkcriFROT4wsTdSeIzbxaZjTNTFKjSYmLd8q/GVH3Dn8JmYjUKOuKXHK8n+lovW/kdcpIvydO5GtN+It2CvKWA==",+ "cpu": [+ "ia32"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "win32"+ ],+ "engines": {+ "node": ">= 10"+ }+ },+ "node_modules/@next/swc-win32-x64-msvc": {+ "version": "14.2.29",+ "resolved": "https://registry.npmmirror.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.2.29.tgz",+ "integrity": "sha512-iPPwUEKnVs7pwR0EBLJlwxLD7TTHWS/AoVZx1l9ZQzfQciqaFEr5AlYzA2uB6Fyby1IF18t4PL0nTpB+k4Tzlw==",+ "cpu": [+ "x64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "win32"+ ],+ "engines": {+ "node": ">= 10"+ }+ },+ "node_modules/@swc/counter": {+ "version": "0.1.3",+ "resolved": "https://registry.npmmirror.com/@swc/counter/-/counter-0.1.3.tgz",+ "integrity": "sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==",+ "license": "Apache-2.0"+ },+ "node_modules/@swc/helpers": {+ "version": "0.5.5",+ "resolved": "https://registry.npmmirror.com/@swc/helpers/-/helpers-0.5.5.tgz",+ "integrity": "sha512-KGYxvIOXcceOAbEk4bi/dVLEK9z8sZ0uBB3Il5b1rhfClSpcX0yfRO0KmTkqR2cnQDymwLB+25ZyMzICg/cm/A==",+ "license": "Apache-2.0",+ "dependencies": {+ "@swc/counter": "^0.1.3",+ "tslib": "^2.4.0"+ }+ },+ "node_modules/@types/node": {+ "version": "20.17.50",+ "resolved": "https://registry.npmmirror.com/@types/node/-/node-20.17.50.tgz",+ "integrity": "sha512-Mxiq0ULv/zo1OzOhwPqOA13I81CV/W3nvd3ChtQZRT5Cwz3cr0FKo/wMSsbTqL3EXpaBAEQhva2B8ByRkOIh9A==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "undici-types": "~6.19.2"+ }+ },+ "node_modules/@types/prop-types": {+ "version": "15.7.14",+ "resolved": "https://registry.npmmirror.com/@types/prop-types/-/prop-types-15.7.14.tgz",+ "integrity": "sha512-gNMvNH49DJ7OJYv+KAKn0Xp45p8PLl6zo2YnvDIbTd4J6MER2BmWN49TG7n9LvkyihINxeKW8+3bfS2yDC9dzQ==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/@types/react": {+ "version": "18.3.22",+ "resolved": "https://registry.npmmirror.com/@types/react/-/react-18.3.22.tgz",+ "integrity": "sha512-vUhG0YmQZ7kL/tmKLrD3g5zXbXXreZXB3pmROW8bg3CnLnpjkRVwUlLne7Ufa2r9yJ8+/6B73RzhAek5TBKh2Q==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@types/prop-types": "*",+ "csstype": "^3.0.2"+ }+ },+ "node_modules/@types/react-dom": {+ "version": "18.3.7",+ "resolved": "https://registry.npmmirror.com/@types/react-dom/-/react-dom-18.3.7.tgz",+ "integrity": "sha512-MEe3UeoENYVFXzoXEWsvcpg6ZvlrFNlOQ7EOsvhI3CfAXwzPfO8Qwuxd40nepsYKqyyVQnTdEfv68q91yLcKrQ==",+ "dev": true,+ "license": "MIT",+ "peerDependencies": {+ "@types/react": "^18.0.0"+ }+ },+ "node_modules/busboy": {+ "version": "1.6.0",+ "resolved": "https://registry.npmmirror.com/busboy/-/busboy-1.6.0.tgz",+ "integrity": "sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==",+ "dependencies": {+ "streamsearch": "^1.1.0"+ },+ "engines": {+ "node": ">=10.16.0"+ }+ },+ "node_modules/caniuse-lite": {+ "version": "1.0.30001718",+ "resolved": "https://registry.npmmirror.com/caniuse-lite/-/caniuse-lite-1.0.30001718.tgz",+ "integrity": "sha512-AflseV1ahcSunK53NfEs9gFWgOEmzr0f+kaMFA4xiLZlr9Hzt7HxcSpIFcnNCUkz6R6dWKa54rUz3HUmI3nVcw==",+ "funding": [+ {+ "type": "opencollective",+ "url": "https://opencollective.com/browserslist"+ },+ {+ "type": "tidelift",+ "url": "https://tidelift.com/funding/github/npm/caniuse-lite"+ },+ {+ "type": "github",+ "url": "https://github.com/sponsors/ai"+ }+ ],+ "license": "CC-BY-4.0"+ },+ "node_modules/client-only": {+ "version": "0.0.1",+ "resolved": "https://registry.npmmirror.com/client-only/-/client-only-0.0.1.tgz",+ "integrity": "sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==",+ "license": "MIT"+ },+ "node_modules/csstype": {+ "version": "3.1.3",+ "resolved": "https://registry.npmmirror.com/csstype/-/csstype-3.1.3.tgz",+ "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/graceful-fs": {+ "version": "4.2.11",+ "resolved": "https://registry.npmmirror.com/graceful-fs/-/graceful-fs-4.2.11.tgz",+ "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==",+ "license": "ISC"+ },+ "node_modules/js-tokens": {+ "version": "4.0.0",+ "resolved": "https://registry.npmmirror.com/js-tokens/-/js-tokens-4.0.0.tgz",+ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",+ "license": "MIT"+ },+ "node_modules/loose-envify": {+ "version": "1.4.0",+ "resolved": "https://registry.npmmirror.com/loose-envify/-/loose-envify-1.4.0.tgz",+ "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",+ "license": "MIT",+ "dependencies": {+ "js-tokens": "^3.0.0 || ^4.0.0"+ },+ "bin": {+ "loose-envify": "cli.js"+ }+ },+ "node_modules/nanoid": {+ "version": "3.3.11",+ "resolved": "https://registry.npmmirror.com/nanoid/-/nanoid-3.3.11.tgz",+ "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==",+ "funding": [+ {+ "type": "github",+ "url": "https://github.com/sponsors/ai"+ }+ ],+ "license": "MIT",+ "bin": {+ "nanoid": "bin/nanoid.cjs"+ },+ "engines": {+ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"+ }+ },+ "node_modules/next": {+ "version": "14.2.29",+ "resolved": "https://registry.npmmirror.com/next/-/next-14.2.29.tgz",+ "integrity": "sha512-s98mCOMOWLGGpGOfgKSnleXLuegvvH415qtRZXpSp00HeEgdmrxmwL9cgKU+h4XrhB16zEI5d/7BnkS3ATInsA==",+ "license": "MIT",+ "dependencies": {+ "@next/env": "14.2.29",+ "@swc/helpers": "0.5.5",+ "busboy": "1.6.0",+ "caniuse-lite": "^1.0.30001579",+ "graceful-fs": "^4.2.11",+ "postcss": "8.4.31",+ "styled-jsx": "5.1.1"+ },+ "bin": {+ "next": "dist/bin/next"+ },+ "engines": {+ "node": ">=18.17.0"+ },+ "optionalDependencies": {+ "@next/swc-darwin-arm64": "14.2.29",+ "@next/swc-darwin-x64": "14.2.29",+ "@next/swc-linux-arm64-gnu": "14.2.29",+ "@next/swc-linux-arm64-musl": "14.2.29",+ "@next/swc-linux-x64-gnu": "14.2.29",+ "@next/swc-linux-x64-musl": "14.2.29",+ "@next/swc-win32-arm64-msvc": "14.2.29",+ "@next/swc-win32-ia32-msvc": "14.2.29",+ "@next/swc-win32-x64-msvc": "14.2.29"+ },+ "peerDependencies": {+ "@opentelemetry/api": "^1.1.0",+ "@playwright/test": "^1.41.2",+ "react": "^18.2.0",+ "react-dom": "^18.2.0",+ "sass": "^1.3.0"+ },+ "peerDependenciesMeta": {+ "@opentelemetry/api": {+ "optional": true+ },+ "@playwright/test": {+ "optional": true+ },+ "sass": {+ "optional": true+ }+ }+ },+ "node_modules/picocolors": {+ "version": "1.1.1",+ "resolved": "https://registry.npmmirror.com/picocolors/-/picocolors-1.1.1.tgz",+ "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",+ "license": "ISC"+ },+ "node_modules/postcss": {+ "version": "8.4.31",+ "resolved": "https://registry.npmmirror.com/postcss/-/postcss-8.4.31.tgz",+ "integrity": "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==",+ "funding": [+ {+ "type": "opencollective",+ "url": "https://opencollective.com/postcss/"+ },+ {+ "type": "tidelift",+ "url": "https://tidelift.com/funding/github/npm/postcss"+ },+ {+ "type": "github",+ "url": "https://github.com/sponsors/ai"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "nanoid": "^3.3.6",+ "picocolors": "^1.0.0",+ "source-map-js": "^1.0.2"+ },+ "engines": {+ "node": "^10 || ^12 || >=14"+ }+ },+ "node_modules/react": {+ "version": "18.3.1",+ "resolved": "https://registry.npmmirror.com/react/-/react-18.3.1.tgz",+ "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==",+ "license": "MIT",+ "dependencies": {+ "loose-envify": "^1.1.0"+ },+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/react-dom": {+ "version": "18.3.1",+ "resolved": "https://registry.npmmirror.com/react-dom/-/react-dom-18.3.1.tgz",+ "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==",+ "license": "MIT",+ "dependencies": {+ "loose-envify": "^1.1.0",+ "scheduler": "^0.23.2"+ },+ "peerDependencies": {+ "react": "^18.3.1"+ }+ },+ "node_modules/scheduler": {+ "version": "0.23.2",+ "resolved": "https://registry.npmmirror.com/scheduler/-/scheduler-0.23.2.tgz",+ "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==",+ "license": "MIT",+ "dependencies": {+ "loose-envify": "^1.1.0"+ }+ },+ "node_modules/source-map-js": {+ "version": "1.2.1",+ "resolved": "https://registry.npmmirror.com/source-map-js/-/source-map-js-1.2.1.tgz",+ "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",+ "license": "BSD-3-Clause",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/streamsearch": {+ "version": "1.1.0",+ "resolved": "https://registry.npmmirror.com/streamsearch/-/streamsearch-1.1.0.tgz",+ "integrity": "sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==",+ "engines": {+ "node": ">=10.0.0"+ }+ },+ "node_modules/styled-jsx": {+ "version": "5.1.1",+ "resolved": "https://registry.npmmirror.com/styled-jsx/-/styled-jsx-5.1.1.tgz",+ "integrity": "sha512-pW7uC1l4mBZ8ugbiZrcIsiIvVx1UmTfw7UkC3Um2tmfUq9Bhk8IiyEIPl6F8agHgjzku6j0xQEZbfA5uSgSaCw==",+ "license": "MIT",+ "dependencies": {+ "client-only": "0.0.1"+ },+ "engines": {+ "node": ">= 12.0.0"+ },+ "peerDependencies": {+ "react": ">= 16.8.0 || 17.x.x || ^18.0.0-0"+ },+ "peerDependenciesMeta": {+ "@babel/core": {+ "optional": true+ },+ "babel-plugin-macros": {+ "optional": true+ }+ }+ },+ "node_modules/tslib": {+ "version": "2.8.1",+ "resolved": "https://registry.npmmirror.com/tslib/-/tslib-2.8.1.tgz",+ "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",+ "license": "0BSD"+ },+ "node_modules/typescript": {+ "version": "5.8.3",+ "resolved": "https://registry.npmmirror.com/typescript/-/typescript-5.8.3.tgz",+ "integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==",+ "dev": true,+ "license": "Apache-2.0",+ "bin": {+ "tsc": "bin/tsc",+ "tsserver": "bin/tsserver"+ },+ "engines": {+ "node": ">=14.17"+ }+ },+ "node_modules/undici-types": {+ "version": "6.19.8",+ "resolved": "https://registry.npmmirror.com/undici-types/-/undici-types-6.19.8.tgz",+ "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==",+ "dev": true,+ "license": "MIT"+ }+ }+}diff --git a/package.json b/package.jsonnew file mode 100644index 00000000..2659d09a--- /dev/null+++ b/package.json@@ -0,0 +1,22 @@+{+ "name": "aitoearn-web",+ "version": "0.1.0",+ "private": true,+ "scripts": {+ "dev": "next dev",+ "build": "next build",+ "start": "next start",+ "lint": "next lint"+ },+ "dependencies": {+ "react": "^18",+ "react-dom": "^18",+ "next": "14.2.29"+ },+ "devDependencies": {+ "typescript": "^5",+ "@types/node": "^20",+ "@types/react": "^18",+ "@types/react-dom": "^18"+ }+}diff --git a/src/app/favicon.ico b/src/app/favicon.iconew file mode 100644index 00000000..718d6feaBinary files /dev/null and b/src/app/favicon.ico differdiff --git a/src/app/fonts/GeistMonoVF.woff b/src/app/fonts/GeistMonoVF.woffnew file mode 100644index 00000000..f2ae185cBinary files /dev/null and b/src/app/fonts/GeistMonoVF.woff differdiff --git a/src/app/fonts/GeistVF.woff b/src/app/fonts/GeistVF.woffnew file mode 100644index 00000000..1b62daacBinary files /dev/null and b/src/app/fonts/GeistVF.woff differdiff --git a/src/app/globals.css b/src/app/globals.cssnew file mode 100644index 00000000..e3734be1--- /dev/null+++ b/src/app/globals.css@@ -0,0 +1,42 @@+:root {+ --background: #ffffff;+ --foreground: #171717;+}++@media (prefers-color-scheme: dark) {+ :root {+ --background: #0a0a0a;+ --foreground: #ededed;+ }+}++html,+body {+ max-width: 100vw;+ overflow-x: hidden;+}++body {+ color: var(--foreground);+ background: var(--background);+ font-family: Arial, Helvetica, sans-serif;+ -webkit-font-smoothing: antialiased;+ -moz-osx-font-smoothing: grayscale;+}++* {+ box-sizing: border-box;+ padding: 0;+ margin: 0;+}++a {+ color: inherit;+ text-decoration: none;+}++@media (prefers-color-scheme: dark) {+ html {+ color-scheme: dark;+ }+}diff --git a/src/app/layout.tsx b/src/app/layout.tsxnew file mode 100644index 00000000..dca06aee--- /dev/null+++ b/src/app/layout.tsx@@ -0,0 +1,33 @@+import type { Metadata } from "next";+import localFont from "next/font/local";+import "./globals.css";++const geistSans = localFont({+ src: "./fonts/GeistVF.woff",+ variable: "--font-geist-sans",+ weight: "100 900",+});+const geistMono = localFont({+ src: "./fonts/GeistMonoVF.woff",+ variable: "--font-geist-mono",+ weight: "100 900",+});++export const metadata: Metadata = {+ title: "Create Next App",+ description: "Generated by create next app",+};++export default function RootLayout({+ children,+}: Readonly<{+ children: React.ReactNode;+}>) {+ return (+ <html lang="en">+ <body className={`${geistSans.variable} ${geistMono.variable}`}>+ {children}+ </body>+ </html>+ );+}diff --git a/src/app/page.module.css b/src/app/page.module.cssnew file mode 100644index 00000000..8a460419--- /dev/null+++ b/src/app/page.module.css@@ -0,0 +1,165 @@+.page {+ --gray-rgb: 0, 0, 0;+ --gray-alpha-200: rgba(var(--gray-rgb), 0.08);+ --gray-alpha-100: rgba(var(--gray-rgb), 0.05);++ --button-primary-hover: #383838;+ --button-secondary-hover: #f2f2f2;++ display: grid;+ grid-template-rows: 20px 1fr 20px;+ align-items: center;+ justify-items: center;+ min-height: 100svh;+ padding: 80px;+ gap: 64px;+ font-family: var(--font-geist-sans);+}++@media (prefers-color-scheme: dark) {+ .page {+ --gray-rgb: 255, 255, 255;+ --gray-alpha-200: rgba(var(--gray-rgb), 0.145);+ --gray-alpha-100: rgba(var(--gray-rgb), 0.06);++ --button-primary-hover: #ccc;+ --button-secondary-hover: #1a1a1a;+ }+}++.main {+ display: flex;+ flex-direction: column;+ gap: 32px;+ grid-row-start: 2;+}++.main ol {+ font-family: var(--font-geist-mono);+ padding-left: 0;+ margin: 0;+ font-size: 14px;+ line-height: 24px;+ letter-spacing: -0.01em;+ list-style-position: inside;+}++.main li:not(:last-of-type) {+ margin-bottom: 8px;+}++.main code {+ font-family: inherit;+ background: var(--gray-alpha-100);+ padding: 2px 4px;+ border-radius: 4px;+ font-weight: 600;+}++.ctas {+ display: flex;+ gap: 16px;+}++.ctas a {+ appearance: none;+ border-radius: 128px;+ height: 48px;+ padding: 0 20px;+ border: none;+ border: 1px solid transparent;+ transition: background 0.2s, color 0.2s, border-color 0.2s;+ cursor: pointer;+ display: flex;+ align-items: center;+ justify-content: center;+ font-size: 16px;+ line-height: 20px;+ font-weight: 500;+}++a.primary {+ background: var(--foreground);+ color: var(--background);+ gap: 8px;+}++a.secondary {+ border-color: var(--gray-alpha-200);+ min-width: 180px;+}++.footer {+ grid-row-start: 3;+ display: flex;+ gap: 24px;+}++.footer a {+ display: flex;+ align-items: center;+ gap: 8px;+}++.footer img {+ flex-shrink: 0;+}++/* Enable hover only on non-touch devices */+@media (hover: hover) and (pointer: fine) {+ a.primary:hover {+ background: var(--button-primary-hover);+ border-color: transparent;+ }++ a.secondary:hover {+ background: var(--button-secondary-hover);+ border-color: transparent;+ }++ .footer a:hover {+ text-decoration: underline;+ text-underline-offset: 4px;+ }+}++@media (max-width: 600px) {+ .page {+ padding: 32px;+ padding-bottom: 80px;+ }++ .main {+ align-items: center;+ }++ .main ol {+ text-align: center;+ }++ .ctas {+ flex-direction: column;+ }++ .ctas a {+ font-size: 14px;+ height: 40px;+ padding: 0 16px;+ }++ a.secondary {+ min-width: auto;+ }++ .footer {+ flex-wrap: wrap;+ align-items: center;+ justify-content: center;+ }+}++@media (prefers-color-scheme: dark) {+ .logo {+ filter: invert();+ }+}diff --git a/src/app/page.tsx b/src/app/page.tsxnew file mode 100644index 00000000..1c2ca6b5--- /dev/null+++ b/src/app/page.tsx@@ -0,0 +1,95 @@+import Image from "next/image";+import styles from "./page.module.css";++export default function Home() {+ return (+ <div className={styles.page}>+ <main className={styles.main}>+ <Image+ className={styles.logo}+ src="https://nextjs.org/icons/next.svg"+ alt="Next.js logo"+ width={180}+ height={38}+ priority+ />+ <ol>+ <li>+ Get started by editing <code>src/app/page.tsx</code>.+ </li>+ <li>Save and see your changes instantly.</li>+ </ol>++ <div className={styles.ctas}>+ <a+ className={styles.primary}+ href="https://vercel.com/new?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"+ target="_blank"+ rel="noopener noreferrer"+ >+ <Image+ className={styles.logo}+ src="https://nextjs.org/icons/vercel.svg"+ alt="Vercel logomark"+ width={20}+ height={20}+ />+ Deploy now+ </a>+ <a+ href="https://nextjs.org/docs?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"+ target="_blank"+ rel="noopener noreferrer"+ className={styles.secondary}+ >+ Read our docs+ </a>+ </div>+ </main>+ <footer className={styles.footer}>+ <a+ href="https://nextjs.org/learn?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"+ target="_blank"+ rel="noopener noreferrer"+ >+ <Image+ aria-hidden+ src="https://nextjs.org/icons/file.svg"+ alt="File icon"+ width={16}+ height={16}+ />+ Learn+ </a>+ <a+ href="https://vercel.com/templates?framework=next.js&utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"+ target="_blank"+ rel="noopener noreferrer"+ >+ <Image+ aria-hidden+ src="https://nextjs.org/icons/window.svg"+ alt="Window icon"+ width={16}+ height={16}+ />+ Examples+ </a>+ <a+ href="https://nextjs.org?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"+ target="_blank"+ rel="noopener noreferrer"+ >+ <Image+ aria-hidden+ src="https://nextjs.org/icons/globe.svg"+ alt="Globe icon"+ width={16}+ height={16}+ />+ Go to nextjs.org →+ </a>+ </footer>+ </div>+ );+}diff --git a/tsconfig.json b/tsconfig.jsonnew file mode 100644index 00000000..7b285893--- /dev/null+++ b/tsconfig.json@@ -0,0 +1,26 @@+{+ "compilerOptions": {+ "lib": ["dom", "dom.iterable", "esnext"],+ "allowJs": true,+ "skipLibCheck": true,+ "strict": true,+ "noEmit": true,+ "esModuleInterop": true,+ "module": "esnext",+ "moduleResolution": "bundler",+ "resolveJsonModule": true,+ "isolatedModules": true,+ "jsx": "preserve",+ "incremental": true,+ "plugins": [+ {+ "name": "next"+ }+ ],+ "paths": {+ "@/*": ["./src/*"]+ }+ },+ "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],+ "exclude": ["node_modules"]+}