diff --git a/.gitignore b/.gitignore index 5d06549..4d20a53 100644 --- a/.gitignore +++ b/.gitignore @@ -5,7 +5,7 @@ dist/ # dependencies node_modules/ - +public/host-api/ # logs npm-debug.log* yarn-debug.log* diff --git a/README.md b/README.md index e69de29..a088ad4 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,14 @@ +### git flow guide / protocol + + # dev - any one is free to create / push to / any experiment on this branch + # staging - it is the stage for all developer. all branchout and push over here. + *start point / fork point is staging, i.e. any fix/feature/improvement - you must start branching out from staging. + + *better to name your branch with 'z-' , i.e. z-layout-footer-improvement (z-: identifier for temporary and safe to remove from the central repo -> then the file identifier -> then short info regarding the intent) + *many developers prefer feat/feature_name, i faced issue managing those branch using cli (bsd even alpine) for the slash(/) +## staging must have a automated test and deploy mechanism, so that developers can can always be on the same page regarding build/merge conflict issue +# test - staging to test by tester +# master - test to master by tester after full test +# release - master to release with version tag + +final packaging and release \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 29ba3ea..3f13ceb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,14 +10,20 @@ "dependencies": { "@astrojs/react": "^4.2.1", "@astrojs/tailwind": "^6.0.0", + "@radix-ui/react-dialog": "^1.1.6", + "@radix-ui/react-select": "^2.1.6", "@shadcn/ui": "^0.0.4", + "@types/react": "^19.0.12", "astro": "^5.5.2", "autoprefixer": "^10.4.21", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", + "lucide-react": "^0.484.0", + "pocketbase": "^0.25.2", "postcss": "^8.5.3", "tailwind-merge": "^3.0.2", - "tailwindcss": "^3.4.17" + "tailwindcss": "^3.4.17", + "tailwindcss-animate": "^1.0.7" } }, "node_modules/@alloc/quick-lru": { @@ -842,6 +848,44 @@ "node": ">=18" } }, + "node_modules/@floating-ui/core": { + "version": "1.6.9", + "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.6.9.tgz", + "integrity": "sha512-uMXCuQ3BItDUbAMhIXw7UPXRfAlOAvZzdK9BWpE60MCn+Svt3aLn9jsPTi/WNGlRUu2uI0v5S7JiIUsbsvh3fw==", + "license": "MIT", + "dependencies": { + "@floating-ui/utils": "^0.2.9" + } + }, + "node_modules/@floating-ui/dom": { + "version": "1.6.13", + "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.6.13.tgz", + "integrity": "sha512-umqzocjDgNRGTuO7Q8CU32dkHkECqI8ZdMZ5Swb6QAM0t5rnlrN3lGo1hdpscRd3WS8T6DKYK4ephgIH9iRh3w==", + "license": "MIT", + "dependencies": { + "@floating-ui/core": "^1.6.0", + "@floating-ui/utils": "^0.2.9" + } + }, + "node_modules/@floating-ui/react-dom": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-2.1.2.tgz", + "integrity": "sha512-06okr5cgPzMNBy+Ycse2A6udMi4bqwW/zgBF/rwjcNqWkyr82Mcg8b0vjX8OJpZFy/FKjJmw6wV7t44kK6kW7A==", + "license": "MIT", + "dependencies": { + "@floating-ui/dom": "^1.0.0" + }, + "peerDependencies": { + "react": ">=16.8.0", + "react-dom": ">=16.8.0" + } + }, + "node_modules/@floating-ui/utils": { + "version": "0.2.9", + "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.9.tgz", + "integrity": "sha512-MDWhGtE+eHw5JW7lq4qhc5yRLS11ERl1c7Z6Xd0a58DozHES6EnNNwUWbMiG4J9Cgj053Bhk8zvlhFYKVhULwg==", + "license": "MIT" + }, "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", @@ -1359,6 +1403,543 @@ "node": ">=14" } }, + "node_modules/@radix-ui/number": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/number/-/number-1.1.0.tgz", + "integrity": "sha512-V3gRzhVNU1ldS5XhAPTom1fOIo4ccrjjJgmE+LI2h/WaFpHmx0MQApT+KZHnx8abG6Avtfcz4WoEciMnpFT3HQ==", + "license": "MIT" + }, + "node_modules/@radix-ui/primitive": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.1.1.tgz", + "integrity": "sha512-SJ31y+Q/zAyShtXJc8x83i9TYdbAfHZ++tUZnvjJJqFjzsdUnKsxPL6IEtBlxKkU7yzer//GQtZSV4GbldL3YA==", + "license": "MIT" + }, + "node_modules/@radix-ui/react-arrow": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-arrow/-/react-arrow-1.1.2.tgz", + "integrity": "sha512-G+KcpzXHq24iH0uGG/pF8LyzpFJYGD4RfLjCIBfGdSLXvjLHST31RUiRVrupIBMvIppMgSzQ6l66iAxl03tdlg==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-primitive": "2.0.2" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-collection": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-collection/-/react-collection-1.1.2.tgz", + "integrity": "sha512-9z54IEKRxIa9VityapoEYMuByaG42iSy1ZXlY2KcuLSEtq8x4987/N6m15ppoMffgZX72gER2uHe1D9Y6Unlcw==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.1", + "@radix-ui/react-context": "1.1.1", + "@radix-ui/react-primitive": "2.0.2", + "@radix-ui/react-slot": "1.1.2" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-compose-refs": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.1.tgz", + "integrity": "sha512-Y9VzoRDSJtgFMUCoiZBDVo084VQ5hfpXxVE+NgkdNsjiDBByiImMZKKhxMwCbdHvhlENG6a833CbFkOQvTricw==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-context": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.1.tgz", + "integrity": "sha512-UASk9zi+crv9WteK/NU4PLvOoL3OuE6BWVKNF6hPRBtYBDXQ2u5iu3O59zUlJiTVvkyuycnqrztsHVJwcK9K+Q==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-dialog": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/@radix-ui/react-dialog/-/react-dialog-1.1.6.tgz", + "integrity": "sha512-/IVhJV5AceX620DUJ4uYVMymzsipdKBzo3edo+omeskCKGm9FRHM0ebIdbPnlQVJqyuHbuBltQUOG2mOTq2IYw==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.1", + "@radix-ui/react-compose-refs": "1.1.1", + "@radix-ui/react-context": "1.1.1", + "@radix-ui/react-dismissable-layer": "1.1.5", + "@radix-ui/react-focus-guards": "1.1.1", + "@radix-ui/react-focus-scope": "1.1.2", + "@radix-ui/react-id": "1.1.0", + "@radix-ui/react-portal": "1.1.4", + "@radix-ui/react-presence": "1.1.2", + "@radix-ui/react-primitive": "2.0.2", + "@radix-ui/react-slot": "1.1.2", + "@radix-ui/react-use-controllable-state": "1.1.0", + "aria-hidden": "^1.2.4", + "react-remove-scroll": "^2.6.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-direction": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-direction/-/react-direction-1.1.0.tgz", + "integrity": "sha512-BUuBvgThEiAXh2DWu93XsT+a3aWrGqolGlqqw5VU1kG7p/ZH2cuDlM1sRLNnY3QcBS69UIz2mcKhMxDsdewhjg==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-dismissable-layer": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/@radix-ui/react-dismissable-layer/-/react-dismissable-layer-1.1.5.tgz", + "integrity": "sha512-E4TywXY6UsXNRhFrECa5HAvE5/4BFcGyfTyK36gP+pAW1ed7UTK4vKwdr53gAJYwqbfCWC6ATvJa3J3R/9+Qrg==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.1", + "@radix-ui/react-compose-refs": "1.1.1", + "@radix-ui/react-primitive": "2.0.2", + "@radix-ui/react-use-callback-ref": "1.1.0", + "@radix-ui/react-use-escape-keydown": "1.1.0" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-focus-guards": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-guards/-/react-focus-guards-1.1.1.tgz", + "integrity": "sha512-pSIwfrT1a6sIoDASCSpFwOasEwKTZWDw/iBdtnqKO7v6FeOzYJ7U53cPzYFVR3geGGXgVHaH+CdngrrAzqUGxg==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-focus-scope": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-scope/-/react-focus-scope-1.1.2.tgz", + "integrity": "sha512-zxwE80FCU7lcXUGWkdt6XpTTCKPitG1XKOwViTxHVKIJhZl9MvIl2dVHeZENCWD9+EdWv05wlaEkRXUykU27RA==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.1", + "@radix-ui/react-primitive": "2.0.2", + "@radix-ui/react-use-callback-ref": "1.1.0" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-id": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-1.1.0.tgz", + "integrity": "sha512-EJUrI8yYh7WOjNOqpoJaf1jlFIH2LvtgAl+YcFqNCa+4hj64ZXmPkAKOFs/ukjz3byN6bdb/AVUqHkI8/uWWMA==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-use-layout-effect": "1.1.0" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-popper": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-popper/-/react-popper-1.2.2.tgz", + "integrity": "sha512-Rvqc3nOpwseCyj/rgjlJDYAgyfw7OC1tTkKn2ivhaMGcYt8FSBlahHOZak2i3QwkRXUXgGgzeEe2RuqeEHuHgA==", + "license": "MIT", + "dependencies": { + "@floating-ui/react-dom": "^2.0.0", + "@radix-ui/react-arrow": "1.1.2", + "@radix-ui/react-compose-refs": "1.1.1", + "@radix-ui/react-context": "1.1.1", + "@radix-ui/react-primitive": "2.0.2", + "@radix-ui/react-use-callback-ref": "1.1.0", + "@radix-ui/react-use-layout-effect": "1.1.0", + "@radix-ui/react-use-rect": "1.1.0", + "@radix-ui/react-use-size": "1.1.0", + "@radix-ui/rect": "1.1.0" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-portal": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-1.1.4.tgz", + "integrity": "sha512-sn2O9k1rPFYVyKd5LAJfo96JlSGVFpa1fS6UuBJfrZadudiw5tAmru+n1x7aMRQ84qDM71Zh1+SzK5QwU0tJfA==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-primitive": "2.0.2", + "@radix-ui/react-use-layout-effect": "1.1.0" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-presence": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.1.2.tgz", + "integrity": "sha512-18TFr80t5EVgL9x1SwF/YGtfG+l0BS0PRAlCWBDoBEiDQjeKgnNZRVJp/oVBl24sr3Gbfwc/Qpj4OcWTQMsAEg==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.1", + "@radix-ui/react-use-layout-effect": "1.1.0" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-primitive": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.0.2.tgz", + "integrity": "sha512-Ec/0d38EIuvDF+GZjcMU/Ze6MxntVJYO/fRlCPhCaVUyPY9WTalHJw54tp9sXeJo3tlShWpy41vQRgLRGOuz+w==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-slot": "1.1.2" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-select": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@radix-ui/react-select/-/react-select-2.1.6.tgz", + "integrity": "sha512-T6ajELxRvTuAMWH0YmRJ1qez+x4/7Nq7QIx7zJ0VK3qaEWdnWpNbEDnmWldG1zBDwqrLy5aLMUWcoGirVj5kMg==", + "license": "MIT", + "dependencies": { + "@radix-ui/number": "1.1.0", + "@radix-ui/primitive": "1.1.1", + "@radix-ui/react-collection": "1.1.2", + "@radix-ui/react-compose-refs": "1.1.1", + "@radix-ui/react-context": "1.1.1", + "@radix-ui/react-direction": "1.1.0", + "@radix-ui/react-dismissable-layer": "1.1.5", + "@radix-ui/react-focus-guards": "1.1.1", + "@radix-ui/react-focus-scope": "1.1.2", + "@radix-ui/react-id": "1.1.0", + "@radix-ui/react-popper": "1.2.2", + "@radix-ui/react-portal": "1.1.4", + "@radix-ui/react-primitive": "2.0.2", + "@radix-ui/react-slot": "1.1.2", + "@radix-ui/react-use-callback-ref": "1.1.0", + "@radix-ui/react-use-controllable-state": "1.1.0", + "@radix-ui/react-use-layout-effect": "1.1.0", + "@radix-ui/react-use-previous": "1.1.0", + "@radix-ui/react-visually-hidden": "1.1.2", + "aria-hidden": "^1.2.4", + "react-remove-scroll": "^2.6.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-slot": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.1.2.tgz", + "integrity": "sha512-YAKxaiGsSQJ38VzKH86/BPRC4rh+b1Jpa+JneA5LRE7skmLPNAyeG8kPJj/oo4STLvlrs8vkf/iYyc3A5stYCQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-use-callback-ref": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.1.0.tgz", + "integrity": "sha512-CasTfvsy+frcFkbXtSJ2Zu9JHpN8TYKxkgJGWbjiZhFivxaeW7rMeZt7QELGVLaYVfFMsKHjb7Ak0nMEe+2Vfw==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-use-controllable-state": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-1.1.0.tgz", + "integrity": "sha512-MtfMVJiSr2NjzS0Aa90NPTnvTSg6C/JLCV7ma0W6+OMV78vd8OyRpID+Ng9LxzsPbLeuBnWBA1Nq30AtBIDChw==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-use-callback-ref": "1.1.0" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-use-escape-keydown": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-escape-keydown/-/react-use-escape-keydown-1.1.0.tgz", + "integrity": "sha512-L7vwWlR1kTTQ3oh7g1O0CBF3YCyyTj8NmhLR+phShpyA50HCfBFKVJTpshm9PzLiKmehsrQzTYTpX9HvmC9rhw==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-use-callback-ref": "1.1.0" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-use-layout-effect": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.1.0.tgz", + "integrity": "sha512-+FPE0rOdziWSrH9athwI1R0HDVbWlEhd+FR+aSDk4uWGmSJ9Z54sdZVDQPZAinJhJXwfT+qnj969mCsT2gfm5w==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-use-previous": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-previous/-/react-use-previous-1.1.0.tgz", + "integrity": "sha512-Z/e78qg2YFnnXcW88A4JmTtm4ADckLno6F7OXotmkQfeuCVaKuYzqAATPhVzl3delXE7CxIV8shofPn3jPc5Og==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-use-rect": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-rect/-/react-use-rect-1.1.0.tgz", + "integrity": "sha512-0Fmkebhr6PiseyZlYAOtLS+nb7jLmpqTrJyv61Pe68MKYW6OWdRE2kI70TaYY27u7H0lajqM3hSMMLFq18Z7nQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/rect": "1.1.0" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-use-size": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-size/-/react-use-size-1.1.0.tgz", + "integrity": "sha512-XW3/vWuIXHa+2Uwcc2ABSfcCledmXhhQPlGbfcRXbiUQI5Icjcg19BGCZVKKInYbvUCut/ufbbLLPFC5cbb1hw==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-use-layout-effect": "1.1.0" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-visually-hidden": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-visually-hidden/-/react-visually-hidden-1.1.2.tgz", + "integrity": "sha512-1SzA4ns2M1aRlvxErqhLHsBHoS5eI5UUcI2awAMgGUp4LoaoWOKYmvqDY2s/tltuPkh3Yk77YF/r3IRj+Amx4Q==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-primitive": "2.0.2" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/rect": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/rect/-/rect-1.1.0.tgz", + "integrity": "sha512-A9+lCBZoaMJlVKcRBz2YByCG+Cp2t6nAnMnNba+XiWxnj6r4JUFqfsgwocMBZU9LPtdxC6wB56ySYpc7LQIoJg==", + "license": "MIT" + }, "node_modules/@rollup/pluginutils": { "version": "5.1.4", "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.1.4.tgz", @@ -1830,11 +2411,10 @@ } }, "node_modules/@types/react": { - "version": "19.0.11", - "resolved": "https://registry.npmjs.org/@types/react/-/react-19.0.11.tgz", - "integrity": "sha512-vrdxRZfo9ALXth6yPfV16PYTLZwsUWhVjjC+DkfE5t1suNSbBrWC9YqSuuxJZ8Ps6z1o2ycRpIqzZJIgklq4Tw==", + "version": "19.0.12", + "resolved": "https://registry.npmjs.org/@types/react/-/react-19.0.12.tgz", + "integrity": "sha512-V6Ar115dBDrjbtXSrS+/Oruobc+qVbbUxDFC1RSbRqLt5SYvxxyIDrSC85RWml54g+jfNeEMZhEj7wW07ONQhA==", "license": "MIT", - "peer": true, "dependencies": { "csstype": "^3.0.2" } @@ -2009,6 +2589,18 @@ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", "license": "Python-2.0" }, + "node_modules/aria-hidden": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/aria-hidden/-/aria-hidden-1.2.4.tgz", + "integrity": "sha512-y+CcFFwelSXpLZk/7fMB2mUbGtX9lKycf1MWJ7CaTIERyitVlyQx6C+sxcROU2BAJ24OiZyK+8wj2i8AlBoS3A==", + "license": "MIT", + "dependencies": { + "tslib": "^2.0.0" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/aria-query": { "version": "5.3.2", "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.2.tgz", @@ -2639,8 +3231,7 @@ "version": "3.1.3", "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==", - "license": "MIT", - "peer": true + "license": "MIT" }, "node_modules/data-uri-to-buffer": { "version": "4.0.1", @@ -2724,6 +3315,12 @@ "node": ">=8" } }, + "node_modules/detect-node-es": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/detect-node-es/-/detect-node-es-1.1.0.tgz", + "integrity": "sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ==", + "license": "MIT" + }, "node_modules/deterministic-object-hash": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/deterministic-object-hash/-/deterministic-object-hash-2.0.2.tgz", @@ -3138,6 +3735,15 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/get-nonce": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/get-nonce/-/get-nonce-1.0.1.tgz", + "integrity": "sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, "node_modules/get-stream": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", @@ -3807,6 +4413,15 @@ "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", "license": "ISC" }, + "node_modules/lucide-react": { + "version": "0.484.0", + "resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.484.0.tgz", + "integrity": "sha512-oZy8coK9kZzvqhSgfbGkPtTgyjpBvs3ukLgDPv14dSOZtBtboryWF5o8i3qen7QbGg7JhiJBz5mK1p8YoMZTLQ==", + "license": "ISC", + "peerDependencies": { + "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0" + } + }, "node_modules/magic-string": { "version": "0.30.17", "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.17.tgz", @@ -5097,6 +5712,12 @@ "node": ">= 6" } }, + "node_modules/pocketbase": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/pocketbase/-/pocketbase-0.25.2.tgz", + "integrity": "sha512-ONZl1+qHJMnhR2uacBlBJ90lm7njtL/zy0606+1ROfK9hSL4LRBRc8r89rMcNRzPzRqCNyoFTh2Qg/lYXdEC1w==", + "license": "MIT" + }, "node_modules/postcss": { "version": "8.5.3", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.3.tgz", @@ -5339,6 +5960,75 @@ "node": ">=0.10.0" } }, + "node_modules/react-remove-scroll": { + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.6.3.tgz", + "integrity": "sha512-pnAi91oOk8g8ABQKGF5/M9qxmmOPxaAnopyTHYfqYEwJhyFrbbBtHuSgtKEoH0jpcxx5o3hXqH1mNd9/Oi+8iQ==", + "license": "MIT", + "dependencies": { + "react-remove-scroll-bar": "^2.3.7", + "react-style-singleton": "^2.2.3", + "tslib": "^2.1.0", + "use-callback-ref": "^1.3.3", + "use-sidecar": "^1.1.3" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/react-remove-scroll-bar": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/react-remove-scroll-bar/-/react-remove-scroll-bar-2.3.8.tgz", + "integrity": "sha512-9r+yi9+mgU33AKcj6IbT9oRCO78WriSj6t/cF8DWBZJ9aOGPOTEDvdUDz1FwKim7QXWwmHqtdHnRJfhAxEG46Q==", + "license": "MIT", + "dependencies": { + "react-style-singleton": "^2.2.2", + "tslib": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/react-style-singleton": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/react-style-singleton/-/react-style-singleton-2.2.3.tgz", + "integrity": "sha512-b6jSvxvVnyptAiLjbkWLE/lOnR4lfTtDAl+eUC7RZy+QQWc6wRzIV2CE6xBuMmDxc2qIihtDCZD5NPOFl7fRBQ==", + "license": "MIT", + "dependencies": { + "get-nonce": "^1.0.0", + "tslib": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, "node_modules/read-cache": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz", @@ -6139,6 +6829,15 @@ "node": ">=14.0.0" } }, + "node_modules/tailwindcss-animate": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/tailwindcss-animate/-/tailwindcss-animate-1.0.7.tgz", + "integrity": "sha512-bl6mpH3T7I3UFxuvDEXLxy/VuFxBk5bbzplh7tXI68mwMokNYd1t9qPBHlnyTwfa4JGC4zP516I1hYYtQ/vspA==", + "license": "MIT", + "peerDependencies": { + "tailwindcss": ">=3.0.0 || insiders" + } + }, "node_modules/tailwindcss/node_modules/chokidar": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", @@ -6304,8 +7003,7 @@ "version": "2.8.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", - "license": "0BSD", - "optional": true + "license": "0BSD" }, "node_modules/type-fest": { "version": "4.37.0", @@ -6624,6 +7322,49 @@ "browserslist": ">= 4.21.0" } }, + "node_modules/use-callback-ref": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/use-callback-ref/-/use-callback-ref-1.3.3.tgz", + "integrity": "sha512-jQL3lRnocaFtu3V00JToYz/4QkNWswxijDaCVNZRiRTO3HQDLsdu1ZtmIUvV4yPp+rvWm5j0y0TG/S61cuijTg==", + "license": "MIT", + "dependencies": { + "tslib": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/use-sidecar": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/use-sidecar/-/use-sidecar-1.1.3.tgz", + "integrity": "sha512-Fedw0aZvkhynoPYlA5WXrMCAMm+nSWdZt6lzJQ7Ok8S6Q+VsHmHpRWndVRJ8Be0ZbkfPc5LRYH+5XrzXcEeLRQ==", + "license": "MIT", + "dependencies": { + "detect-node-es": "^1.1.0", + "tslib": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, "node_modules/util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", diff --git a/package.json b/package.json index 062f446..aba8c08 100644 --- a/package.json +++ b/package.json @@ -6,19 +6,26 @@ "dev": "astro dev", "build": "astro build", "preview": "astro preview", - "astro": "astro" + "astro": "astro", + "push-s33": "rsync -rv --exclude .hta_config/conf.php dist/ dev2@siliconpin.s33.siliconpin.com:/home/dev2/domains/siliconpin.s33.siliconpin.com/public_html/" }, "dependencies": { "@astrojs/react": "^4.2.1", "@astrojs/tailwind": "^6.0.0", + "@radix-ui/react-dialog": "^1.1.6", + "@radix-ui/react-select": "^2.1.6", "@shadcn/ui": "^0.0.4", + "@types/react": "^19.0.12", "astro": "^5.5.2", "autoprefixer": "^10.4.21", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", + "lucide-react": "^0.484.0", + "pocketbase": "^0.25.2", "postcss": "^8.5.3", "tailwind-merge": "^3.0.2", - "tailwindcss": "^3.4.17" + "tailwindcss": "^3.4.17", + "tailwindcss-animate": "^1.0.7" }, "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" } diff --git a/public/.htaccess b/public/.htaccess new file mode 100644 index 0000000..d384f12 --- /dev/null +++ b/public/.htaccess @@ -0,0 +1,8 @@ +RewriteEngine On +#RewriteCond %{HTTPS} !=on +#RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE] +#RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC] +#RewriteRule ^(.*)$ https://%1/$1 [R=301,L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule ^(.*) data-not-updated-or-not-found \ No newline at end of file diff --git a/public/.well-known/csaf/provider-metadata.json b/public/.well-known/csaf/provider-metadata.json new file mode 100644 index 0000000..371979a --- /dev/null +++ b/public/.well-known/csaf/provider-metadata.json @@ -0,0 +1,39 @@ +{ + "csaf_version": "2.0", + "provider": { + "name": "DWD Consultancy Services", + "namespace": "com.siliconpin.dwd", + "contact_details": [ + { + "name": "Suvankar Sarkar", + "email": "suvankar@siliconpin.com", + "phone": "+91-700-160-1485", + "website": "https://dwd.siliconpin.com/#about" + } + ], + "publisher": { + "type": "vendor", + "name": "SiliconPin", + "namespace": "com.siliconpin" + }, + "distribution": { + "tlp_label": "WHITE", + "url": "https://dwd.siliconpin.com/#about", + "pgp_key": "https://siliconpin.com/pgp-key.asc" + }, + "tracking": { + "id": "EX-2025-0001", + "status": "final", + "initial_release_date": "2025-03-27T12:00:00Z", + "current_release_date": "2025-03-27T12:00:00Z", + "revision_history": [ + { + "number": "1.0", + "date": "2025-03-27T12:00:00Z", + "summary": "Initial release" + } + ] + } + } + } + \ No newline at end of file diff --git a/public/.well-known/security.txt b/public/.well-known/security.txt new file mode 100644 index 0000000..908a151 --- /dev/null +++ b/public/.well-known/security.txt @@ -0,0 +1,7 @@ +Contact: mailto:suvankar@siliconpin.com +Contact: https://siliconpin.com/contact/ +Expires: 2027-03-26T18:30:00.000Z +Encryption: https://siliconpin.com/pgp-key.txt +Acknowledgments: https://dwd.siliconpin.com +Preferred-Languages: en,bn +CSAF: https://siliconpin.com/.well-known/csaf/provider-metadata.json diff --git a/public/advisory.json b/public/advisory.json new file mode 100644 index 0000000..371979a --- /dev/null +++ b/public/advisory.json @@ -0,0 +1,39 @@ +{ + "csaf_version": "2.0", + "provider": { + "name": "DWD Consultancy Services", + "namespace": "com.siliconpin.dwd", + "contact_details": [ + { + "name": "Suvankar Sarkar", + "email": "suvankar@siliconpin.com", + "phone": "+91-700-160-1485", + "website": "https://dwd.siliconpin.com/#about" + } + ], + "publisher": { + "type": "vendor", + "name": "SiliconPin", + "namespace": "com.siliconpin" + }, + "distribution": { + "tlp_label": "WHITE", + "url": "https://dwd.siliconpin.com/#about", + "pgp_key": "https://siliconpin.com/pgp-key.asc" + }, + "tracking": { + "id": "EX-2025-0001", + "status": "final", + "initial_release_date": "2025-03-27T12:00:00Z", + "current_release_date": "2025-03-27T12:00:00Z", + "revision_history": [ + { + "number": "1.0", + "date": "2025-03-27T12:00:00Z", + "summary": "Initial release" + } + ] + } + } + } + \ No newline at end of file diff --git a/public/advisory.json.asc b/public/advisory.json.asc new file mode 100644 index 0000000..49b74eb --- /dev/null +++ b/public/advisory.json.asc @@ -0,0 +1,14 @@ +-----BEGIN PGP SIGNATURE----- + +iQGzBAABCAAdFiEEL0GUnJpZXELqjphXMaCR/T68rscFAmflVEgACgkQMaCR/T68 +rse45Av6A0YL6qJSBvqN6tty7j0G68yfgsjeJxtuCxXiDwUjUIU4VwHORNeddZD/ +Lx5nmYf4BgszoFjgaix8dyu87bDn2QaA13+2/GMDkc3GT8yW8bzaR/saV1J1v070 +wVhButTIM48c4NpuqFX5Kytcvm632lZdeKBFF2rFfdZ3ajd7IJMr7CYVzziJdVa8 +pR00udgBYE05ewV9W8FLMmTwWqoOIQYtYR3+YP1rhuYInZ/7dobO5aI4/eliHIBo +xe93UET9Zo19ywbnqhas+x4wJl8roI2qWDYsjp3+gRG4Ns5Myf2puhtVxexiY4xK +6cvra2ujOFLksykPgy5lpw2WcpFFnm9K2s9NMvLAsv+3OXZHQANL7vS5ZFXxNxyU +fm+F5uP8LiR1IXpFcJAP3MweaDdlWhL7TZp1tuA0J/i/oCFShZypzQLb9welYVbH +a/CPm1pavGxEIlFkSOAlMmcp945s41qYia2BFOlW1ZjsDkrAR2561aLI/O7klpNw +VLnngQsi +=s4sX +-----END PGP SIGNATURE----- diff --git a/public/assets/eye-close.svg b/public/assets/eye-close.svg new file mode 100644 index 0000000..3f35f8a --- /dev/null +++ b/public/assets/eye-close.svg @@ -0,0 +1 @@ + diff --git a/public/assets/eye.svg b/public/assets/eye.svg new file mode 100644 index 0000000..14c7300 --- /dev/null +++ b/public/assets/eye.svg @@ -0,0 +1 @@ + diff --git a/public/assets/facebook.svg b/public/assets/facebook.svg new file mode 100644 index 0000000..13c1cb7 --- /dev/null +++ b/public/assets/facebook.svg @@ -0,0 +1 @@ + diff --git a/public/assets/github.svg b/public/assets/github.svg new file mode 100644 index 0000000..18f7a45 --- /dev/null +++ b/public/assets/github.svg @@ -0,0 +1 @@ + diff --git a/public/assets/google.svg b/public/assets/google.svg new file mode 100644 index 0000000..6cc6fec --- /dev/null +++ b/public/assets/google.svg @@ -0,0 +1 @@ + diff --git a/public/assets/images/legal-agreement.jpeg b/public/assets/images/legal-agreement.jpeg new file mode 100644 index 0000000..d1f098b Binary files /dev/null and b/public/assets/images/legal-agreement.jpeg differ diff --git a/public/data-not-updated-or-not-found/index.php b/public/data-not-updated-or-not-found/index.php new file mode 100644 index 0000000..eb6ce51 --- /dev/null +++ b/public/data-not-updated-or-not-found/index.php @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/public/humans.txt b/public/humans.txt new file mode 100644 index 0000000..997123f --- /dev/null +++ b/public/humans.txt @@ -0,0 +1 @@ +SiliconPin is a Decentralized NonProfit Organization / Group, Creating some digital freedom, if you want to join -welcome. \ No newline at end of file diff --git a/public/license.txt b/public/license.txt new file mode 100644 index 0000000..ebd16f0 --- /dev/null +++ b/public/license.txt @@ -0,0 +1,48 @@ +TLDR; +===================================================== +Nirvana License, i.e. Beings needs no license +===================================================== + +Preamble +------------ +GNU, MIT, APACHE, Opensource, Source available - +So many options, why a new one? + To add / remove confusion may be, or +Just to remind Humans, you have evolved to as +being, you don't need one. Having license is like +having limitation, boundation not freedom, You +can have a Driving license and drive irresponsibly, +license provider / authority can impose some +nonsense rules. No matter how hard we try, Beings +don't like to be bound, limited... +They want freedom... little more - Nirvana. +----------------------------------------------------- + +Experience +------------ +Best of the best GPL(copyleft) and it's derivatives +are confusing which one to choose & its protected +by copyright laws, but i get the idea of 4 freedoms. +Developers don't want to deal with lawyers (seems +wasting years), we want to build something. +I have seen license violation a lot, as they have +a fleet of lawyers. +I have seen Open Source is being used a suppressor +to GNU,GPL -Freedom centric ones. Going against the +ideology of creator of the open source definition +Bruce Perens, Eric S. Raymond, +----------------------------------------------------- + + +Quote +-------- +Every rule / law has an exception except this. +Beings do not need a license, enough to have sense. +- Suvankar Sarkar (AKA Kar) +----------------------------------------------------- + +===================================================== +Mentioned some licenses above good to bad, there may be +some reason to use any existing license. +you are free to choose this one, defined below. +..................................................... \ No newline at end of file diff --git a/public/pgp-key.txt b/public/pgp-key.txt new file mode 100644 index 0000000..26ac7d6 --- /dev/null +++ b/public/pgp-key.txt @@ -0,0 +1,41 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +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 +=NDqk +-----END PGP PUBLIC KEY BLOCK----- diff --git a/public/public-key.asc b/public/public-key.asc new file mode 100644 index 0000000..26ac7d6 --- /dev/null +++ b/public/public-key.asc @@ -0,0 +1,41 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQGNBGflUDcBDADbKdXMyHvxChQ2TVdNx0vemulONqiPeun2kL2PKCQ/U+us/S2i +P6JMlGIdQVzhp90R8JnLV/knydT/lPKmyKqwl1TUc+Z2oE7QtafF+E1OiF264709 +9gY0d9LH9PTzsO+3456QfeT/N1HrLJcwZ79EDBa8uIwx3YFCmhzosEoNpeFFSKbr +Q74dG2WK6wXwr9xTyWjSfxSdpPTXz1DaxdzGzndmHuS87mlZM39uCdv5+x5lT66D +KmESaf1jXXTJ1SVcXO0rkwUzPeRjrFN2P0XoIhrW1zhEUIW6aV5NLBdnr0nS+WRM +LZRcfB+GLFo41eP4PNfcHAXpj7Tbn3ewqdiqS4zvpZ8EQH4pQqMU/IflEcF0zKqT +KiBqtOQL2WoI82S+pkhchMH/r+6oBzvbQK5tluQwb4+1n/tHbI3Sm+f5Rnd012vO +Iz87Hh1dj1Iaq642xaP85H4nLQseMKy8aTKyLtRXCm71jj5IffUYp+XUokF9nkwY +lGwssQ5dBq47M5EAEQEAAbQvc3V2YW5rYXIgc2Fya2FyIChLYXIpIDxzdXZhbmth +ckBzaWxpY29ucGluLmNvbT6JAdcEEwEIAEEWIQQvQZScmllcQuqOmFcxoJH9Pryu +xwUCZ+VQNwIbAwUJA8JnAAULCQgHAgIiAgYVCgkICwIEFgIDAQIeBwIXgAAKCRAx +oJH9Pryux0XlC/4xs1nfC5momwL24UhoTHPhvkNUN0vufJLPAgum71Pbe7gNYwMp +pRGzfVAlYkLB7O+JfPDcWbOSm8/fi1274eeAJOu8BhbLH4zPKZlXSXM1C2R5dKat +0ZuSO4q1a7vsrhlsDVzbgLq75la5+LjJRicRTIPEqhoX56tcwHUc0YlDLW7wViB3 +xWXGemr27anqFG5sb41rqKoMgBOIcK3M9t4qgqut3WFpiIfwF9mRaI7j2yq/IlGQ +NwR+af/AttETyIT3QWxQP+zT3JMfV8++WbniI6f/ywbHlvcx5JIvoHQSKAofYJdY +O0uECg2E158Q+zvRsmFaAjudyCcKPc/9YOCQBj/N4u++INuqHVNAY5KO2IyPhB09 +Q+J+N1UVbsZRB5JC5oMuCntDeATcjSlyVMgj5gaBjA1loUOjj0lc+gs4zY6cMwPe +747WsS6DE2L4C8mz1PlDacK/BhR7dle4aA8CCr4MJfsdz3zzSHs0afaVRQHNf9ac +jIiF5wvmCpSztAS5AY0EZ+VQNwEMANQ/lyRGDmC6vWWPckh04N+BnTWLff+iuMxp +LdU4h8843BEB7RdNcynwPEGV3CP9H/NjKp6kzybKzTOaGqONtuwYTTMfHQEHzdrL +E2afN3fAxPQ6e1/Bqdsz4F9z3UIKVTIJjc5CGoFeHINgCGtGbWvD9HDeHQuH/rO0 +4lQjUpJtl8sbaLsBIiMabwPHnabjYvZ3E8knUuqbifaIsdPuFoqQvC0Uy3z7CaU3 +qAER7sVdY9NjjiD20lG8lLivKGYTq9QXZFHJz2DLvW8aP+HY+G/kIjuw8MwGPg38 +55FkR0pT8L5lJvSUDEDzMTd9i1TUImeRqw/F9AYK9dsXLPxNZ7EcMwRs/6nUjAkh +04tfHJCPwn9HeMtLFrQrg3NfhBIV0/wp8lp8lxCsgd8Cwc/lH3bU/KHdzZQwHPNi +i5F378AlrTlWoSBq5/3rkJRWPU7DavwGJwRnmFCcx1iqyfZB80/G+N0WMbL8gZjY +JoLKoytdLNWS/wlGTx2DIb4E3sStlwARAQABiQG8BBgBCAAmFiEEL0GUnJpZXELq +jphXMaCR/T68rscFAmflUDcCGwwFCQPCZwAACgkQMaCR/T68rse+7wv8CJFMnAGH +hjedAXCODUztEtak8fZkHTiJBow3tx9XxYjnQe99zhZOswBJ8CF7cakpTXMYtWRf +yA30Qf1YNwYeb5WwIG1nsep2bQzeC/LP1pu7XDmRHyI+kakhnEul/27kPHNubSIr +9h0MXtTxRFkde27DD+QzJoqvUKCNtpyhKJY7jv6+9UfpSNIZ6FmpN9hxQRv6oFgn +uoFCKjfUxhGsN2j0DxHF+WJjQ+jBcRzpORD4TfAjqej++OdUv/3NR88UMxima26H +PMZP7chiojFzMAPLniYEFXMgh+l7Z+ssdWbCxfPQq90DoZ/Vylnfmq7E9pjE54Dr +PhIcMfEYlH+erdKrHgCaCzew6Y9kNHPVTuKqWA0/105J7+umk/5Z84eVfmWzJysQ +30KHyfM5lMe1Eb++QECfzknD9xQvAb/YoVT0yHPUhCExzVZUc6InmhwvkX+nilk4 +zCPxkkNCwSX1LKNkCt9dW09MLJ2Gyf3r+goOqpx7mcs5g7HQGwc9u2Vp +=NDqk +-----END PGP PUBLIC KEY BLOCK----- diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 0000000..4fbb134 --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,7 @@ +User-agent: * +Disallow: /secret-location/ + +User-agent: * +Allow: / + +Sitemap: https://siliconpin.com/sitemap.xml \ No newline at end of file diff --git a/public/security.txt b/public/security.txt new file mode 100644 index 0000000..908a151 --- /dev/null +++ b/public/security.txt @@ -0,0 +1,7 @@ +Contact: mailto:suvankar@siliconpin.com +Contact: https://siliconpin.com/contact/ +Expires: 2027-03-26T18:30:00.000Z +Encryption: https://siliconpin.com/pgp-key.txt +Acknowledgments: https://dwd.siliconpin.com +Preferred-Languages: en,bn +CSAF: https://siliconpin.com/.well-known/csaf/provider-metadata.json diff --git a/public/sitemap.xml b/public/sitemap.xml new file mode 100644 index 0000000..1375097 --- /dev/null +++ b/public/sitemap.xml @@ -0,0 +1,72 @@ + + + + + + + https://siliconpin.com/ + 2025-03-27T14:20:53+00:00 + 1.00 + + + https://siliconpin.com/services/ + 2025-03-27T14:20:54+00:00 + 0.80 + + + https://siliconpin.com/contact/ + 2025-03-27T14:20:55+00:00 + 0.80 + + + https://siliconpin.com/get-started/ + 2025-03-27T14:20:56+00:00 + 0.80 + + + https://siliconpin.com/about-us/ + 2025-03-27T14:20:57+00:00 + 0.80 + + + https://siliconpin.com/suggestion-or-report/ + 2025-03-27T14:20:58+00:00 + 0.80 + + + https://siliconpin.com/hire-developer/ + 2025-03-27T14:21:00+00:00 + 0.80 + + + https://siliconpin.com/hire-ai-agent/ + 2025-03-27T14:21:00+00:00 + 0.80 + + + https://siliconpin.com/privacy-policy/ + 2025-03-27T14:21:02+00:00 + 0.80 + + + https://siliconpin.com/terms-and-conditions/ + 2025-03-27T14:21:03+00:00 + 0.80 + + + https://siliconpin.com/refund-policy/ + 2025-03-27T14:21:04+00:00 + 0.80 + + + https://siliconpin.com/legal-agreement/ + 2025-03-27T14:21:05+00:00 + 0.80 + + + + \ No newline at end of file diff --git a/src/components/DomainSetupForm.jsx b/src/components/DomainSetupForm.jsx index 4632a98..4f448f1 100644 --- a/src/components/DomainSetupForm.jsx +++ b/src/components/DomainSetupForm.jsx @@ -18,7 +18,7 @@ export const DomainSetupForm = ({ defaultSubdomain }) => { const [customDomain, setCustomDomain] = useState(''); const [customSubdomain, setCustomSubdomain] = useState(''); const [domainType, setDomainType] = useState('domain'); // 'domain' or 'subdomain' - + // Domain validation states const [isValidating, setIsValidating] = useState(false); const [isValidDomain, setIsValidDomain] = useState(false); @@ -30,7 +30,8 @@ export const DomainSetupForm = ({ defaultSubdomain }) => { const [dnsVerified, setDnsVerified] = useState({ cname: false, ns: false, - a: false + a: false, + ip: false }); // Form validation @@ -42,15 +43,6 @@ export const DomainSetupForm = ({ defaultSubdomain }) => { // File upload reference const fileInputRef = React.useRef(null); - // Function to clean domain input - const cleanDomainInput = (input) => { - // Remove http://, https://, www., and trailing slashes - return input - .replace(/^(https?:\/\/)?(www\.)?/i, '') - .replace(/\/+$/, '') - .trim(); - }; - // Effect for handling domain type changes useEffect(() => { if (!useCustomDomain) { @@ -61,7 +53,7 @@ export const DomainSetupForm = ({ defaultSubdomain }) => { } validateForm(); - }, [useCustomDomain, dnsVerified.cname, dnsVerified.ns, domainType, dnsMethod]); + }, [useCustomDomain, dnsVerified.cname, dnsVerified.ns, dnsVerified.ns, domainType, dnsMethod]); // Show toast notification const showToast = (message) => { @@ -110,7 +102,8 @@ export const DomainSetupForm = ({ defaultSubdomain }) => { setDnsVerified({ cname: false, ns: false, - a: false + a: false, + ip: false }); } else { // Force SiliconPin subdomain to be checked if custom domain is checked @@ -138,12 +131,12 @@ export const DomainSetupForm = ({ defaultSubdomain }) => { // Handle domain and subdomain input changes const handleDomainChange = (e) => { - const cleanedValue = cleanDomainInput(e.target.value); + const cleanedValue = e.target.value.replace(/^(https?:\/\/)?(www\.)?/i, '').replace(/\/+$/, '').trim(); setCustomDomain(cleanedValue); }; const handleSubdomainChange = (e) => { - const cleanedValue = cleanDomainInput(e.target.value); + const cleanedValue = e.target.value.replace(/^(https?:\/\/)?/i, '').replace(/\/+$/, '').trim(); setCustomSubdomain(cleanedValue); }; @@ -190,6 +183,7 @@ export const DomainSetupForm = ({ defaultSubdomain }) => { // Simulate an API call to validate the domain setTimeout(() => { // Simulate a real domain check - in a real app this would be an API call + // call /host-api/v1/domains/validate/?domain=domain.com const checkResult = true; // Assume domain is valid for demo setIsValidating(false); @@ -203,10 +197,42 @@ export const DomainSetupForm = ({ defaultSubdomain }) => { } validateForm(); - }, 1500); + }, 500); }; // Check DNS configuration + const checkSubDomainCname = () => { + const domainToCheck = customDomain || customSubdomain; + + fetch('http://localhost:2058/host-api/v1/check-c-name/', { + method: 'POST', + headers: { + 'Content-Type': 'application/x-www-form-urlencoded', + }, + body: `domain=${encodeURIComponent(domainToCheck)}` + }) + .then(response => { + if (!response.ok) { + throw new Error(`HTTP error! status: ${response.status}`); + } + return response.json(); + }) + .then(data => { + if (data.status === 'success') { + checkDnsConfig('cname'); + showToast(`Checking ${type}... (This would verify DNS in a real app)`); + console.log('CNAME record:', data.cname); + // Handle success - update UI + } else { + console.error('Error:', data.message); + // Handle error + } + }) + .catch(error => { + console.error('Fetch error:', error); + // Show error to user + }); + }; const checkDnsConfig = (type) => { showToast(`Checking ${type}... (This would verify DNS in a real app)`); @@ -246,6 +272,10 @@ export const DomainSetupForm = ({ defaultSubdomain }) => { setFormValid(false); return; } + if (dnsMethod === 'ip' && !dnsVerified.ip) { + setFormValid(false); + return; + } } setFormValid(true); @@ -261,20 +291,7 @@ export const DomainSetupForm = ({ defaultSubdomain }) => { } // In a real app, this would submit the form data to the server - console.log({ - deploymentType, - appType, - sampleWebAppType, - sourceType, - repoUrl, - deploymentKey, - useSubdomain, - useCustomDomain, - customDomain, - customSubdomain, - domainType, - dnsMethod - }); + console.log([{ deploymentType, appType, sampleWebAppType, sourceType, repoUrl, deploymentKey, useSubdomain, useCustomDomain, customDomain, customSubdomain, domainType, dnsMethod}]); showToast('Form submitted successfully!'); }; @@ -550,9 +567,10 @@ export const DomainSetupForm = ({ defaultSubdomain }) => { {/* Domain Validation */} @@ -582,7 +600,7 @@ export const DomainSetupForm = ({ defaultSubdomain }) => { {/* CNAME Record Option */}
-
+
-
+ {/* Nameserver Option (only for full domains, not subdomains) */} {domainType === 'domain' && ( -
-
- -
- -

Update your domain's nameservers to use ours

+ <> +
+
)} @@ -692,7 +757,6 @@ export const DomainSetupForm = ({ defaultSubdomain }) => {
- {/* Form Submit Button */} - ); diff --git a/src/components/HireAIAgent.tsx b/src/components/HireAIAgent.tsx new file mode 100644 index 0000000..5126279 --- /dev/null +++ b/src/components/HireAIAgent.tsx @@ -0,0 +1,333 @@ +"use client"; + +import { useState } from "react"; +import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "./ui/card"; +import { Button } from "./ui/button"; +import { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle } from "./ui/dialog"; +import { Input } from "./ui/input"; + +// Define the AI Agent type +interface AIAgent { + id: number; + title: string; + description: string; + capabilities: string[]; + responseTime: string; + pricing: string; + useCases: string[]; +} + +// AI Agent types data +const aiAgentTypes: AIAgent[] = [ + { + id: 1, + title: "Code Assistant", + description: "AI-powered coding assistant that helps write, debug, and optimize code across multiple languages", + capabilities: ["Code Generation", "Code Review", "Bug Detection", "Code Explanation", "Documentation"], + responseTime: "Instant", + pricing: "$29/month", + useCases: ["Software Development", "Web Development", "Mobile Apps", "Enterprise Applications"] + }, + { + id: 2, + title: "Data Analyst", + description: "Specialized AI for data analytics, visualization, and insights extraction", + capabilities: ["Data Cleaning", "Statistical Analysis", "Data Visualization", "Predictive Modeling"], + responseTime: "Within minutes", + pricing: "$49/month", + useCases: ["Business Intelligence", "Market Research", "Financial Analysis", "Customer Insights"] + }, + { + id: 3, + title: "Content Creator", + description: "AI agent for generating and optimizing various types of content", + capabilities: ["Blog Writing", "Social Media Content", "Email Marketing", "SEO Optimization"], + responseTime: "Instant to minutes", + pricing: "$39/month", + useCases: ["Marketing Teams", "Content Publishers", "Social Media Managers", "Small Businesses"] + }, + { + id: 4, + title: "UI/UX Design Assistant", + description: "AI that helps create design mockups, wireframes, and UI elements", + capabilities: ["Wireframing", "UI Design", "Visual Elements", "Design Feedback"], + responseTime: "Within minutes", + pricing: "$59/month", + useCases: ["Product Teams", "Web Designers", "App Developers", "Creative Agencies"] + }, + { + id: 5, + title: "Research Assistant", + description: "AI agent that helps with research, information gathering, and summarization", + capabilities: ["Literature Review", "Data Collection", "Summarization", "Citation Management"], + responseTime: "Within minutes", + pricing: "$45/month", + useCases: ["Academic Research", "Market Research", "Competitive Analysis", "Legal Research"] + } +]; + +export default function HireAIAgent() { + const [selectedAgent, setSelectedAgent] = useState(null); + const [dialogOpen, setDialogOpen] = useState(false); + const [searchTerm, setSearchTerm] = useState(""); + + // Filter AI agents based on search term + const filteredAgents = aiAgentTypes.filter(agent => + agent.title.toLowerCase().includes(searchTerm.toLowerCase()) || + agent.description.toLowerCase().includes(searchTerm.toLowerCase()) || + agent.capabilities.some(cap => cap.toLowerCase().includes(searchTerm.toLowerCase())) || + agent.useCases.some(useCase => useCase.toLowerCase().includes(searchTerm.toLowerCase())) + ); + + return ( +
+

Hire an AI Agent

+

+ Leverage our AI agents to automate tasks, generate content, analyze data, and more +

+ + {/* Hero Banner */} +
+
+
+

Why Choose AI Agents?

+

+ Our AI agents work 24/7, provide instant results, and cost a fraction of human labor. They excel at repetitive tasks, data processing, and creative content generation. +

+
+
+
+ + + +
+
+

Instant Results

+

No waiting for human availability

+
+
+
+
+ + + +
+
+

Cost Effective

+

Fraction of human labor costs

+
+
+
+
+
+
+

Start with an AI Agent Today

+

+ All plans come with a 7-day free trial +

+ +
+
+
+
+ + {/* Search */} +
+
+ setSearchTerm(e.target.value)} + className="mb-4" + /> +
+
+ + {/* AI Agent Grid */} +
+ {filteredAgents.map((agent) => ( + + + {agent.title} + {agent.description} + + +
+

Key Capabilities:

+
+ {agent.capabilities.map((capability, index) => ( + + {capability} + + ))} +
+
+
+
+ Response Time: + {agent.responseTime} +
+
+ Pricing: + {agent.pricing} +
+
+
+ + + +
+ ))} +
+ + {/* AI Agent Details Dialog */} + + + {selectedAgent && ( + <> + + {selectedAgent.title} + + {selectedAgent.description} + + + +
+
+

Capabilities:

+
+ {selectedAgent.capabilities.map((capability, index) => ( + + {capability} + + ))} +
+
+ +
+

Common Use Cases:

+
    + {selectedAgent.useCases.map((useCase, index) => ( +
  • {useCase}
  • + ))} +
+
+ +
+
+

Response Time:

+

{selectedAgent.responseTime}

+
+
+

Pricing:

+

{selectedAgent.pricing}

+
+
+ +
+

Subscription Includes:

+
    +
  • + + + + Unlimited requests +
  • +
  • + + + + 24/7 availability +
  • +
  • + + + + API access +
  • +
  • + + + + Export capabilities +
  • +
+
+
+ + + + + + + )} +
+
+ + {/* Comparison Section */} +
+

AI Agents vs. Human Developers

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FeatureAI AgentsHuman Developers
Availability24/7, instant accessLimited by working hours and availability
CostLow monthly subscriptionHigher hourly or project-based rates
Task ComplexityBest for repetitive, well-defined tasksBetter for complex, novel problems
CreativityLimited to patterns in training dataHigher level of creativity and innovation
ScalabilityHighly scalable at no extra costRequires additional hiring and onboarding
+
+
+ + {/* CTA Section */} +
+

Not sure which AI agent is right for you?

+

+ Our AI solution experts can help you determine which AI agent best fits your specific needs and use cases. +

+ +
+
+ ); +} diff --git a/src/components/HireDeveloper.tsx b/src/components/HireDeveloper.tsx new file mode 100644 index 0000000..4ba5ef2 --- /dev/null +++ b/src/components/HireDeveloper.tsx @@ -0,0 +1,263 @@ +"use client"; + +import { useState } from "react"; +import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "./ui/card"; +import { Button } from "./ui/button"; +import { Input } from "./ui/input"; +import { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle } from "./ui/dialog"; + +// Define the Developer type +interface Developer { + id: number; + title: string; + description: string; + skills: string[]; + availability: "High" | "Medium" | "Low"; + minBudget: string; + contractFee: string; +} + +// Developer types data +const developerTypes: Developer[] = [ + { + id: 1, + title: "Web Developer", + description: "Frontend, backend or full-stack developers specialized in web technologies", + skills: ["React", "Angular", "Vue", "Node.js", "Django", "Ruby on Rails", "Laravel", "Express", "Flask", "PHP", "JavaScript", "TypeScript", "HTML", "CSS", "SASS", "LESS", "Bootstrap", "Tailwind CSS", "Material-UI", "Ant Design", "REST APIs", "GraphQL", "WebSockets", "OAuth", "JWT", "WebRTC", "PWA", "SEO", "Accessibility", "Performance", "Security"], + availability: "High", + minBudget: "Budget-friendly", + contractFee: "Nominal" + }, + { + id: 2, + title: "App Developer", + description: "iOS and Android native or cross-platform mobile app developers", + skills: ["Swift", "Kotlin", "React Native", "Flutter", "Xamarin", "Ionic", "PhoneGap", "Cordova", "NativeScript", "Appcelerator", "Java", "Objective-C", "Firebase", "Realm", "Core Data", "SQLite", "Push Notifications", "In-App Purchases", "ARKit", "Core ML", "Android Jetpack", "Material Design", "Google Play Services", "App Store Connect", "Google Play Console"], + availability: "Medium", + minBudget: "Limited", + contractFee: "Modest" + }, + { + id: 3, + title: "C/C++ Developer", + description: "Systems programmers and embedded systems specialists", + skills: ["C", "C++", "Embedded Systems", "Linux Kernel", "Real-time Systems", "RTOS", "Device Drivers", "Firmware", "Microcontrollers", "ARM", "AVR", "PIC", "Raspberry Pi", "Arduino", "BeagleBone", "Zephyr", "FreeRTOS", "VxWorks", "QNX", "Bare Metal"], + availability: "Low", + minBudget: "Increased", + contractFee: "Considerable" + }, + { + id: 4, + title: "Go Developer", + description: "Backend and systems engineers specializing in Go language", + skills: ["Go", "Microservices", "Docker", "Kubernetes", "API Development", "gRPC", "Protobuf", "WebSockets", "WebAssembly", "Concurrency", "Performance Tuning", "Module Building", "Error Handling", "Testing", "Security"], + availability: "Medium", + minBudget: "Boosted", + contractFee: "Elevated" + }, + { + id: 5, + title: "Machine Learning Engineer", + description: "AI and ML specialists for implementing intelligent solutions", + skills: ["Python", "TensorFlow", "PyTorch", "Data Science", "MLOps", "NLP", "Computer Vision", "Reinforcement Learning", "Time Series Analysis", "Anomaly Detection", "Recommendation Systems", "Predictive Modeling", "Deep Learning", "Fraud Detection", "Sentiment Analysis", "Speech Recognition", "Image Processing", "Object Detection", "Generative Models", "AutoML", "Image Recognition", "Text Classification", "Chatbots", "AI Ethics"], + availability: "Low", + minBudget: "Premium", + contractFee: "Lavish" + }, + { + id: 6, + title: "DevOps Engineer", + description: "Specialists in CI/CD, cloud infrastructure, and deployment automation", + skills: ["AWS", "Azure", "GCP", "Terraform", "Ansible", "Jenkins", "Docker", "Kubernetes", "GitOps", "Monitoring", "Logging", "Security", "Compliance", "Scalability", "Reliability", "Resilience", "Performance", "Cost Optimization", "Disaster Recovery", "Incident Response", "SRE"], + availability: "Medium", + minBudget: "Pricier", + contractFee: "Substantial" + } +]; + +export default function HireHumanDeveloper() { + const [selectedType, setSelectedType] = useState(null); + const [searchTerm, setSearchTerm] = useState(""); + const [dialogOpen, setDialogOpen] = useState(false); + + // Filter developers based on search term + const filteredDevelopers = developerTypes.filter(dev => + dev.title.toLowerCase().includes(searchTerm.toLowerCase()) || + dev.description.toLowerCase().includes(searchTerm.toLowerCase()) || + dev.skills.some(skill => skill.toLowerCase().includes(searchTerm.toLowerCase())) + ); + + return ( +
+

Hire a Human Developer

+

+ Connect with skilled developers across various technologies and specialties +

+ + {/* Search and Filter */} +
+
+ setSearchTerm(e.target.value)} + className="mb-4" + /> +
+
+ + {/* Developer Types Grid */} +
+ {filteredDevelopers.map((developer) => ( + + + {developer.title} + {developer.description} + + +
+

Key Skills:

+
+ {developer.skills.map((skill, index) => ( + + {skill} + + ))} +
+
+
+
+ Availability: + + {developer.availability} + +
+
+ Starting at: + {developer.minBudget} +
+
+ Contract Fee: + {developer.contractFee} +
+
+
+ + + +
+ ))} +
+ + {/* Developer Details Dialog */} + + + {selectedType && ( + <> + + {selectedType.title} Details + + Review the details and proceed to hire + + + +
+
+

Overview:

+

{selectedType.description}

+
+ +
+

Specialized Skills:

+
+ {selectedType.skills.map((skill, index) => ( + + {skill} + + ))} +
+
+ +
+
+

Availability:

+

+ {selectedType.availability} +

+
+
+

Minimum Budget:

+

{selectedType.minBudget}

+
+
+

Contract Fee:

+

{selectedType.contractFee}

+
+
+

Usual Turnaround:

+

1-3 weeks

+
+
+
+ + + + + + + )} +
+
+ + {/* Additional Information */} +
+

Why Hire Our Human Developers?

+
+
+

Vetted Experts

+

+ All our developers go through a rigorous vetting process to ensure top-quality talent. +

+
+
+

Flexible Engagement

+

+ Hire on hourly, project-based, or long-term contracts based on your needs. +

+
+
+

Satisfaction Guarantee

+

+ Not satisfied with the talent? We'll match you with another developer at no extra cost. +

+
+
+
+
+ ); +} diff --git a/src/components/Login.tsx b/src/components/Login.tsx new file mode 100644 index 0000000..0426fb6 --- /dev/null +++ b/src/components/Login.tsx @@ -0,0 +1,280 @@ +import { useState } from 'react'; +import type { FormEvent } from 'react'; +import PocketBase from 'pocketbase'; +import { Input } from "./ui/input"; +import { Button } from "./ui/button"; +import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "./ui/card"; +import { Eye, EyeOff, Loader2 } from "lucide-react"; +import { Separator } from "./ui/separator"; +import { Label } from "./ui/label"; + +interface AuthStatus { + message: string; + isError: boolean; +} + +interface UserRecord { + id: string; + email: string; + name?: string; + avatar?: string; + [key: string]: any; +} + +interface AuthResponse { + token: string; + record: UserRecord; +} + + +const LoginPage = () => { + const [email, setEmail] = useState('suvodip@siliconpin.com'); + const [password, setPassword] = useState('Simple2pass'); + const [passwordVisible, setPasswordVisible] = useState(false); + const [status, setStatus] = useState({ message: '', isError: false }); + const [isLoading, setIsLoading] = useState(false); + + const pb = new PocketBase("https://tst-pb.s38.siliconpin.com"); + + interface AuthResponse { + token: string; + record: { + query: string; + id: string; + email: string; + name: string; + avatar: string; + }; + } + + const handleSubmit = async (e: FormEvent) => { + e.preventDefault(); + setIsLoading(true); + setStatus({ message: '', isError: false }); + + try { + const authData = await pb.collection("users").authWithPassword(email, password); + const avatarUrl = authData.record.avatar ? pb.files.getUrl(authData.record, authData.record.avatar) : ''; + + const authResponse: AuthResponse = { + token: authData.token, + record: { + query: 'new', + id: authData.record.id, + email: authData.record.email, + name: authData.record.name || '', + avatar: authData.record.avatar || '' + } + }; + + await syncSessionWithBackend(authResponse, avatarUrl); + window.location.href = '/profile'; + } catch (error) { + console.error("Login failed:", error); + setStatus({ + message: "Login failed. Please check your credentials.", + isError: true + }); + } finally { + setIsLoading(false); + } + }; + + const loginWithOAuth2 = async (provider: 'google' | 'facebook' | 'github') => { + try { + setIsLoading(true); + setStatus({ message: '', isError: false }); + + const authData = await pb.collection('users').authWithOAuth2({ provider }); + + if (!authData?.record) { + throw new Error("No user record found"); + } + + const avatarUrl = authData.record.avatar ? pb.files.getUrl(authData.record, authData.record.avatar) : ''; + const authResponse: AuthResponse = { + token: authData.token, + record: { + query: 'new', + id: authData.record.id, + email: authData.record.email || '', + name: authData.record.name || '', + avatar: authData.record.avatar || '' + } + }; + + await syncSessionWithBackend(authResponse, avatarUrl); + window.location.href = '/profile'; + } catch (error) { + console.error(`${provider} Login failed:`, error); + setStatus({ + message: `${provider} login failed. Please try again.`, + isError: true + }); + } finally { + setIsLoading(false); + } + }; + + const syncSessionWithBackend = async (authData: AuthResponse, avatarUrl: string) => { + try { + const response = await fetch('http://localhost:2058/host-api/v1/users/session/', { + method: 'POST', + credentials: 'include', // Important for cookies + headers: { 'Content-Type': 'application/json' }, + body: JSON.stringify({ + query: 'new', + accessToken: authData.token, + email: authData.record.email, + name: authData.record.name, + avatar: avatarUrl, + isAuthenticated: true, + id: authData.record.id + }) + }); + + if (!response.ok) { + throw new Error('Failed to sync session'); + } + + const data = await response.json(); + console.log('Session synced with backend:', data); + } catch (error) { + console.error('Error syncing session:', error); + throw error; // Re-throw the error if you want calling functions to handle it + } + }; + + return ( +
+ + + Welcome Back + + Sign in to access your account + + + + + {status.message && ( +
+ {status.message} +
+ )} + +
+
+ + setEmail(e.target.value)} + placeholder="you@example.com" + required + className="focus:ring-2 focus:ring-blue-500" + /> +
+ +
+
+ + +
+
+ setPassword(e.target.value)} + placeholder="••••••••" + required + className="focus:ring-2 focus:ring-blue-500 pr-10" + /> + +
+
+ + +
+ +
+
+ +
+
+ + Or continue with + +
+
+ +
+ + + +
+
+ +
+ Don't have an account?{' '} + + Sign up + +
+
+
+ ); +}; + +export default LoginPage; \ No newline at end of file diff --git a/src/components/ServiceCard.tsx b/src/components/ServiceCard.tsx index c30c0c0..2f2d60a 100644 --- a/src/components/ServiceCard.tsx +++ b/src/components/ServiceCard.tsx @@ -36,7 +36,7 @@ export function ServiceCard({ title, description, imageUrl, features, learnMoreU > - {feature} + {feature} ))} diff --git a/src/components/UpdateAvatar.tsx b/src/components/UpdateAvatar.tsx new file mode 100644 index 0000000..86d54f3 --- /dev/null +++ b/src/components/UpdateAvatar.tsx @@ -0,0 +1,52 @@ +import { useState, useRef } from 'react'; +import { Button } from "./ui/button"; +import { Input } from "./ui/input"; +import { Label } from "./ui/label"; +import { X } from "lucide-react"; // Import an icon for the remove button + +export function AvatarUpload() { + const [selectedFile, setSelectedFile] = useState(null); + const fileInputRef = useRef(null); + + const handleFileChange = (e: React.ChangeEvent) => { + if (e.target.files && e.target.files.length > 0) { + setSelectedFile(e.target.files[0]); + } + }; + const handleRemoveFile = () => { + setSelectedFile(null); + if (fileInputRef.current) { + fileInputRef.current.value = ''; // Reset file input + } + }; + return ( +
+ {!selectedFile ? ( +
+
+ + + +
+

+ JPG, GIF or PNG. 1MB max. +

+
+ ) : ( +
+
+

{selectedFile.name}

+

{(selectedFile.size / 1024).toFixed(2)} KB

+
+ + +
+ )} +
+ ); +} +export default AvatarUpload; \ No newline at end of file diff --git a/src/components/UserProfile.tsx b/src/components/UserProfile.tsx new file mode 100644 index 0000000..95ff65f --- /dev/null +++ b/src/components/UserProfile.tsx @@ -0,0 +1,273 @@ +import { Avatar, AvatarFallback, AvatarImage } from "./ui/avatar"; +import { Button } from "./ui/button"; +import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "./ui/card"; +import { Input } from "./ui/input"; +import { Label } from "./ui/label"; +import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue,} from "./ui/select"; +import { Separator } from "./ui/separator"; +import { Textarea } from "./ui/textarea"; +import React, { useState, useEffect } from 'react'; +import UpdateAvatar from './UpdateAvatar'; + +interface SessionData { + [key: string]: any; +} + +interface UserData { + success: boolean; + session_data: SessionData; + user_avatar: string; +} + + +export default function ProfilePage() { + const [userData, setUserData] = useState(null); + const [invoiceList, setInvoiceList] = useState([]); + const [error, setError] = useState(null); + + useEffect(() => { + const fetchSessionData = async () => { + try { + const response = await fetch( + 'http://localhost:2058/host-api/v1/users/get-profile-data/', + { + credentials: 'include', // Crucial for cookies + headers: { 'Accept': 'application/json' } + } + ); + + const data = await response.json(); + if (!response.ok || !data.success) { + throw new Error(data.error || 'Session fetch failed'); + } + setUserData(data); + return data.session_data; + } catch (error) { + console.error('Fetch error:', error); + throw error; + } + }; + const getInvoiceListData = async () => { + try { + const response = await fetch('http://localhost:2058/host-api/v1/invoice/invoice-info/', { + method: 'GET', + credentials: 'include', // Crucial for cookies + headers: { 'Accept': 'application/json' } + }); + + if (!response.ok) { + throw new Error(`HTTP error! Status: ${response.status}`); + } + + const data = await response.json(); + + if (!data.success) { + throw new Error(data.message || 'Session fetch failed'); + } + + setInvoiceList(data.data); // Fix: Use `data.data` instead of `data` + return data.data; // Fix: `session_data` does not exist in response + } catch (error) { + console.error('Fetch error:', error); + throw error; + } + }; + + + + fetchSessionData(); + getInvoiceListData(); + }, []); + + if (error) { + return
Error: {error}
; + } + + if (!userData) { + return
Loading profile data...
; + } + return ( +
+ {/*
+

Profile

+

Update your profile settings.

+
*/} + +
+
+ + + Personal Information + + Update your personal information and avatar. + + + +
+ + + JP + + + +
+ +
+
+ + +
+
+ + +
+
+ +
+ + +
+ + {/*
+ +