From abe4b8f606c7b3e563c2273c65469a24bb799869 Mon Sep 17 00:00:00 2001 From: masgras2 Date: Sun, 6 Apr 2025 16:24:30 -0500 Subject: [PATCH 1/8] Example opportunity --- src/example.json | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/example.json diff --git a/src/example.json b/src/example.json new file mode 100644 index 0000000..a977abc --- /dev/null +++ b/src/example.json @@ -0,0 +1,8 @@ +{ + "id": "abcdefg", + "name": "Opportunity name", + "field": "Computer Science", + "type": "scholarship", + "deadline": "2012-04-23T18:25:43.511Z", + "description": "Long description blah blah blah" +} \ No newline at end of file From 1020dc2926015b0d1e76bc148e4eb650ecfac609 Mon Sep 17 00:00:00 2001 From: masgras2 Date: Sun, 6 Apr 2025 16:27:56 -0500 Subject: [PATCH 2/8] Add short description --- src/example.json | 1 + 1 file changed, 1 insertion(+) diff --git a/src/example.json b/src/example.json index a977abc..633d56b 100644 --- a/src/example.json +++ b/src/example.json @@ -4,5 +4,6 @@ "field": "Computer Science", "type": "scholarship", "deadline": "2012-04-23T18:25:43.511Z", + "shortDescription": "Short description.", "description": "Long description blah blah blah" } \ No newline at end of file From f552f5f6b74b612395ddd09b7a93b7ce3a786fc5 Mon Sep 17 00:00:00 2001 From: masgras2 Date: Sun, 6 Apr 2025 16:34:06 -0500 Subject: [PATCH 3/8] tailwind start --- package-lock.json | 559 +++++++++++++++++++++++++++++++++++++++++----- package.json | 4 +- src/App.css | 1 + src/App.jsx | 4 +- src/index.css | 2 + vite.config.js | 3 +- 6 files changed, 517 insertions(+), 56 deletions(-) diff --git a/package-lock.json b/package-lock.json index 40fc5f0..26f44d9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,8 +8,10 @@ "name": "inclusive-tech-competition", "version": "0.0.0", "dependencies": { + "@tailwindcss/vite": "^4.1.3", "react": "^18.3.1", - "react-dom": "^18.3.1" + "react-dom": "^18.3.1", + "tailwindcss": "^4.1.3" }, "devDependencies": { "@eslint/js": "^9.15.0", @@ -327,7 +329,6 @@ "cpu": [ "ppc64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -344,7 +345,6 @@ "cpu": [ "arm" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -361,7 +361,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -378,7 +377,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -395,7 +393,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -412,7 +409,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -429,7 +425,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -446,7 +441,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -463,7 +457,6 @@ "cpu": [ "arm" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -480,7 +473,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -497,7 +489,6 @@ "cpu": [ "ia32" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -514,7 +505,6 @@ "cpu": [ "loong64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -531,7 +521,6 @@ "cpu": [ "mips64el" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -548,7 +537,6 @@ "cpu": [ "ppc64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -565,7 +553,6 @@ "cpu": [ "riscv64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -582,7 +569,6 @@ "cpu": [ "s390x" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -599,7 +585,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -616,7 +601,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -633,7 +617,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -650,7 +633,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -667,7 +649,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -684,7 +665,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -701,7 +681,6 @@ "cpu": [ "ia32" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -718,7 +697,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -991,7 +969,6 @@ "cpu": [ "arm" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1005,7 +982,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1019,7 +995,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1033,7 +1008,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1047,7 +1021,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1061,7 +1034,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1075,7 +1047,6 @@ "cpu": [ "arm" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1089,7 +1060,6 @@ "cpu": [ "arm" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1103,7 +1073,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1117,7 +1086,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1131,7 +1099,6 @@ "cpu": [ "ppc64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1145,7 +1112,6 @@ "cpu": [ "riscv64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1159,7 +1125,6 @@ "cpu": [ "s390x" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1173,7 +1138,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1187,7 +1151,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1201,7 +1164,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1215,7 +1177,6 @@ "cpu": [ "ia32" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1229,13 +1190,236 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ "win32" ] }, + "node_modules/@tailwindcss/node": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/node/-/node-4.1.3.tgz", + "integrity": "sha512-H/6r6IPFJkCfBJZ2dKZiPJ7Ueb2wbL592+9bQEl2r73qbX6yGnmQVIfiUvDRB2YI0a3PWDrzUwkvQx1XW1bNkA==", + "license": "MIT", + "dependencies": { + "enhanced-resolve": "^5.18.1", + "jiti": "^2.4.2", + "lightningcss": "1.29.2", + "tailwindcss": "4.1.3" + } + }, + "node_modules/@tailwindcss/oxide": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide/-/oxide-4.1.3.tgz", + "integrity": "sha512-t16lpHCU7LBxDe/8dCj9ntyNpXaSTAgxWm1u2XQP5NiIu4KGSyrDJJRlK9hJ4U9yJxx0UKCVI67MJWFNll5mOQ==", + "license": "MIT", + "engines": { + "node": ">= 10" + }, + "optionalDependencies": { + "@tailwindcss/oxide-android-arm64": "4.1.3", + "@tailwindcss/oxide-darwin-arm64": "4.1.3", + "@tailwindcss/oxide-darwin-x64": "4.1.3", + "@tailwindcss/oxide-freebsd-x64": "4.1.3", + "@tailwindcss/oxide-linux-arm-gnueabihf": "4.1.3", + "@tailwindcss/oxide-linux-arm64-gnu": "4.1.3", + "@tailwindcss/oxide-linux-arm64-musl": "4.1.3", + "@tailwindcss/oxide-linux-x64-gnu": "4.1.3", + "@tailwindcss/oxide-linux-x64-musl": "4.1.3", + "@tailwindcss/oxide-win32-arm64-msvc": "4.1.3", + "@tailwindcss/oxide-win32-x64-msvc": "4.1.3" + } + }, + "node_modules/@tailwindcss/oxide-android-arm64": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-android-arm64/-/oxide-android-arm64-4.1.3.tgz", + "integrity": "sha512-cxklKjtNLwFl3mDYw4XpEfBY+G8ssSg9ADL4Wm6//5woi3XGqlxFsnV5Zb6v07dxw1NvEX2uoqsxO/zWQsgR+g==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@tailwindcss/oxide-darwin-arm64": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-arm64/-/oxide-darwin-arm64-4.1.3.tgz", + "integrity": "sha512-mqkf2tLR5VCrjBvuRDwzKNShRu99gCAVMkVsaEOFvv6cCjlEKXRecPu9DEnxp6STk5z+Vlbh1M5zY3nQCXMXhw==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@tailwindcss/oxide-darwin-x64": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-x64/-/oxide-darwin-x64-4.1.3.tgz", + "integrity": "sha512-7sGraGaWzXvCLyxrc7d+CCpUN3fYnkkcso3rCzwUmo/LteAl2ZGCDlGvDD8Y/1D3ngxT8KgDj1DSwOnNewKhmg==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@tailwindcss/oxide-freebsd-x64": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-freebsd-x64/-/oxide-freebsd-x64-4.1.3.tgz", + "integrity": "sha512-E2+PbcbzIReaAYZe997wb9rId246yDkCwAakllAWSGqe6VTg9hHle67hfH6ExjpV2LSK/siRzBUs5wVff3RW9w==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@tailwindcss/oxide-linux-arm-gnueabihf": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm-gnueabihf/-/oxide-linux-arm-gnueabihf-4.1.3.tgz", + "integrity": "sha512-GvfbJ8wjSSjbLFFE3UYz4Eh8i4L6GiEYqCtA8j2Zd2oXriPuom/Ah/64pg/szWycQpzRnbDiJozoxFU2oJZyfg==", + "cpu": [ + "arm" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@tailwindcss/oxide-linux-arm64-gnu": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-gnu/-/oxide-linux-arm64-gnu-4.1.3.tgz", + "integrity": "sha512-35UkuCWQTeG9BHcBQXndDOrpsnt3Pj9NVIB4CgNiKmpG8GnCNXeMczkUpOoqcOhO6Cc/mM2W7kaQ/MTEENDDXg==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@tailwindcss/oxide-linux-arm64-musl": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-musl/-/oxide-linux-arm64-musl-4.1.3.tgz", + "integrity": "sha512-dm18aQiML5QCj9DQo7wMbt1Z2tl3Giht54uVR87a84X8qRtuXxUqnKQkRDK5B4bCOmcZ580lF9YcoMkbDYTXHQ==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@tailwindcss/oxide-linux-x64-gnu": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-gnu/-/oxide-linux-x64-gnu-4.1.3.tgz", + "integrity": "sha512-LMdTmGe/NPtGOaOfV2HuO7w07jI3cflPrVq5CXl+2O93DCewADK0uW1ORNAcfu2YxDUS035eY2W38TxrsqngxA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@tailwindcss/oxide-linux-x64-musl": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-musl/-/oxide-linux-x64-musl-4.1.3.tgz", + "integrity": "sha512-aalNWwIi54bbFEizwl1/XpmdDrOaCjRFQRgtbv9slWjmNPuJJTIKPHf5/XXDARc9CneW9FkSTqTbyvNecYAEGw==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@tailwindcss/oxide-win32-arm64-msvc": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.1.3.tgz", + "integrity": "sha512-PEj7XR4OGTGoboTIAdXicKuWl4EQIjKHKuR+bFy9oYN7CFZo0eu74+70O4XuERX4yjqVZGAkCdglBODlgqcCXg==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@tailwindcss/oxide-win32-x64-msvc": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-x64-msvc/-/oxide-win32-x64-msvc-4.1.3.tgz", + "integrity": "sha512-T8gfxECWDBENotpw3HR9SmNiHC9AOJdxs+woasRZ8Q/J4VHN0OMs7F+4yVNZ9EVN26Wv6mZbK0jv7eHYuLJLwA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@tailwindcss/vite": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/vite/-/vite-4.1.3.tgz", + "integrity": "sha512-lUI/QaDxLtlV52Lho6pu07CG9pSnRYLOPmKGIQjyHdTBagemc6HmgZxyjGAQ/5HMPrNeWBfTVIpQl0/jLXvWHQ==", + "license": "MIT", + "dependencies": { + "@tailwindcss/node": "4.1.3", + "@tailwindcss/oxide": "4.1.3", + "tailwindcss": "4.1.3" + }, + "peerDependencies": { + "vite": "^5.2.0 || ^6" + } + }, "node_modules/@types/babel__core": { "version": "7.20.5", "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz", @@ -1285,7 +1469,6 @@ "version": "1.0.6", "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz", "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==", - "dev": true, "license": "MIT" }, "node_modules/@types/json-schema": { @@ -1849,6 +2032,15 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/detect-libc": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.3.tgz", + "integrity": "sha512-bwy0MGW55bG41VqxxypOsdSdGqLwXPI/focwgTYCFMbdUiBAxLg9CFzG08sz2aqzknwiX7Hkl0bQENjg8iLByw==", + "license": "Apache-2.0", + "engines": { + "node": ">=8" + } + }, "node_modules/doctrine": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", @@ -1869,6 +2061,19 @@ "dev": true, "license": "ISC" }, + "node_modules/enhanced-resolve": { + "version": "5.18.1", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.18.1.tgz", + "integrity": "sha512-ZSW3ma5GkcQBIpwZTSRAI8N71Uuwgs93IezB7mf7R60tC8ZbJideoDNKjHn2O9KIlx6rkGTTEk1xUCK2E1Y2Yg==", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.4", + "tapable": "^2.2.0" + }, + "engines": { + "node": ">=10.13.0" + } + }, "node_modules/es-abstract": { "version": "1.23.5", "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.23.5.tgz", @@ -2040,7 +2245,6 @@ "version": "0.24.0", "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.24.0.tgz", "integrity": "sha512-FuLPevChGDshgSicjisSooU0cemp/sGXR841D5LHMB7mTVOmsEHcAxaH3irL53+8YDIeVNQEySh4DaYU/iuPqQ==", - "dev": true, "hasInstallScript": true, "license": "MIT", "bin": { @@ -2395,7 +2599,6 @@ "version": "2.3.3", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", - "dev": true, "hasInstallScript": true, "license": "MIT", "optional": true, @@ -2552,6 +2755,12 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "license": "ISC" + }, "node_modules/has-bigints": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", @@ -3086,6 +3295,15 @@ "node": ">= 0.4" } }, + "node_modules/jiti": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.4.2.tgz", + "integrity": "sha512-rg9zJN+G4n2nfJl5MW3BMygZX56zKPNVEYYqq7adpmMh4Jn2QNEwhvQlFy6jPVdcod7txZtKHWnyZiA3a0zP7A==", + "license": "MIT", + "bin": { + "jiti": "lib/jiti-cli.mjs" + } + }, "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", @@ -3192,6 +3410,234 @@ "node": ">= 0.8.0" } }, + "node_modules/lightningcss": { + "version": "1.29.2", + "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.29.2.tgz", + "integrity": "sha512-6b6gd/RUXKaw5keVdSEtqFVdzWnU5jMxTUjA2bVcMNPLwSQ08Sv/UodBVtETLCn7k4S1Ibxwh7k68IwLZPgKaA==", + "license": "MPL-2.0", + "dependencies": { + "detect-libc": "^2.0.3" + }, + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + }, + "optionalDependencies": { + "lightningcss-darwin-arm64": "1.29.2", + "lightningcss-darwin-x64": "1.29.2", + "lightningcss-freebsd-x64": "1.29.2", + "lightningcss-linux-arm-gnueabihf": "1.29.2", + "lightningcss-linux-arm64-gnu": "1.29.2", + "lightningcss-linux-arm64-musl": "1.29.2", + "lightningcss-linux-x64-gnu": "1.29.2", + "lightningcss-linux-x64-musl": "1.29.2", + "lightningcss-win32-arm64-msvc": "1.29.2", + "lightningcss-win32-x64-msvc": "1.29.2" + } + }, + "node_modules/lightningcss-darwin-arm64": { + "version": "1.29.2", + "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.29.2.tgz", + "integrity": "sha512-cK/eMabSViKn/PG8U/a7aCorpeKLMlK0bQeNHmdb7qUnBkNPnL+oV5DjJUo0kqWsJUapZsM4jCfYItbqBDvlcA==", + "cpu": [ + "arm64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-darwin-x64": { + "version": "1.29.2", + "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.29.2.tgz", + "integrity": "sha512-j5qYxamyQw4kDXX5hnnCKMf3mLlHvG44f24Qyi2965/Ycz829MYqjrVg2H8BidybHBp9kom4D7DR5VqCKDXS0w==", + "cpu": [ + "x64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-freebsd-x64": { + "version": "1.29.2", + "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.29.2.tgz", + "integrity": "sha512-wDk7M2tM78Ii8ek9YjnY8MjV5f5JN2qNVO+/0BAGZRvXKtQrBC4/cn4ssQIpKIPP44YXw6gFdpUF+Ps+RGsCwg==", + "cpu": [ + "x64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-arm-gnueabihf": { + "version": "1.29.2", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.29.2.tgz", + "integrity": "sha512-IRUrOrAF2Z+KExdExe3Rz7NSTuuJ2HvCGlMKoquK5pjvo2JY4Rybr+NrKnq0U0hZnx5AnGsuFHjGnNT14w26sg==", + "cpu": [ + "arm" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-arm64-gnu": { + "version": "1.29.2", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.29.2.tgz", + "integrity": "sha512-KKCpOlmhdjvUTX/mBuaKemp0oeDIBBLFiU5Fnqxh1/DZ4JPZi4evEH7TKoSBFOSOV3J7iEmmBaw/8dpiUvRKlQ==", + "cpu": [ + "arm64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-arm64-musl": { + "version": "1.29.2", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.29.2.tgz", + "integrity": "sha512-Q64eM1bPlOOUgxFmoPUefqzY1yV3ctFPE6d/Vt7WzLW4rKTv7MyYNky+FWxRpLkNASTnKQUaiMJ87zNODIrrKQ==", + "cpu": [ + "arm64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-x64-gnu": { + "version": "1.29.2", + "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.29.2.tgz", + "integrity": "sha512-0v6idDCPG6epLXtBH/RPkHvYx74CVziHo6TMYga8O2EiQApnUPZsbR9nFNrg2cgBzk1AYqEd95TlrsL7nYABQg==", + "cpu": [ + "x64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-x64-musl": { + "version": "1.29.2", + "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.29.2.tgz", + "integrity": "sha512-rMpz2yawkgGT8RULc5S4WiZopVMOFWjiItBT7aSfDX4NQav6M44rhn5hjtkKzB+wMTRlLLqxkeYEtQ3dd9696w==", + "cpu": [ + "x64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-win32-arm64-msvc": { + "version": "1.29.2", + "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.29.2.tgz", + "integrity": "sha512-nL7zRW6evGQqYVu/bKGK+zShyz8OVzsCotFgc7judbt6wnB2KbiKKJwBE4SGoDBQ1O94RjW4asrCjQL4i8Fhbw==", + "cpu": [ + "arm64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-win32-x64-msvc": { + "version": "1.29.2", + "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.29.2.tgz", + "integrity": "sha512-EdIUW3B2vLuHmv7urfzMI/h2fmlnOQBk1xlsDxkN1tCWKjNFjfLhGxYk8C8mzpSfr+A6jFFIi8fU6LbQGsRWjA==", + "cpu": [ + "x64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, "node_modules/locate-path": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", @@ -3261,7 +3707,6 @@ "version": "3.3.8", "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.8.tgz", "integrity": "sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==", - "dev": true, "funding": [ { "type": "github", @@ -3488,7 +3933,6 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", - "dev": true, "license": "ISC" }, "node_modules/possible-typed-array-names": { @@ -3505,7 +3949,6 @@ "version": "8.4.49", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.49.tgz", "integrity": "sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA==", - "dev": true, "funding": [ { "type": "opencollective", @@ -3677,7 +4120,6 @@ "version": "4.28.0", "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.28.0.tgz", "integrity": "sha512-G9GOrmgWHBma4YfCcX8PjH0qhXSdH8B4HDE2o4/jaxj93S4DPCIDoLcXz99eWMji4hB29UFCEd7B2gwGJDR9cQ==", - "dev": true, "license": "MIT", "dependencies": { "@types/estree": "1.0.6" @@ -3847,7 +4289,6 @@ "version": "1.2.1", "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", - "dev": true, "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" @@ -3982,6 +4423,21 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/tailwindcss": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.1.3.tgz", + "integrity": "sha512-2Q+rw9vy1WFXu5cIxlvsabCwhU2qUwodGq03ODhLJ0jW4ek5BUtoCsnLB0qG+m8AHgEsSJcJGDSDe06FXlP74g==", + "license": "MIT" + }, + "node_modules/tapable": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", + "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, "node_modules/type-check": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", @@ -4134,7 +4590,6 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/vite/-/vite-6.0.1.tgz", "integrity": "sha512-Ldn6gorLGr4mCdFnmeAOLweJxZ34HjKnDm4HGo6P66IEqTxQb36VEdFJQENKxWjupNfoIjvRUnswjn1hpYEpjQ==", - "dev": true, "license": "MIT", "dependencies": { "esbuild": "^0.24.0", diff --git a/package.json b/package.json index 2ee4d20..f13a3e2 100644 --- a/package.json +++ b/package.json @@ -10,8 +10,10 @@ "preview": "vite preview" }, "dependencies": { + "@tailwindcss/vite": "^4.1.3", "react": "^18.3.1", - "react-dom": "^18.3.1" + "react-dom": "^18.3.1", + "tailwindcss": "^4.1.3" }, "devDependencies": { "@eslint/js": "^9.15.0", diff --git a/src/App.css b/src/App.css index 2bf5f74..0bbf6a3 100644 --- a/src/App.css +++ b/src/App.css @@ -1,4 +1,5 @@ /* PUT YOUR STYLING HERE! */ +@import "tailwindcss"; body { margin: 0; } diff --git a/src/App.jsx b/src/App.jsx index 6a0d807..76f1803 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -2,13 +2,13 @@ import { useState } from 'react' import './App.css' function App() { + const [opportunities, setOpportunities] = useState(0) const [count, setCount] = useState(0) - return (

React Starter Code for Inclusive Tech Competition!

-

diff --git a/src/index.css b/src/index.css index cb2be5e..415489c 100644 --- a/src/index.css +++ b/src/index.css @@ -1,3 +1,5 @@ +@import "tailwindcss"; + :root { font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif; line-height: 1.5; diff --git a/vite.config.js b/vite.config.js index 8b0f57b..c4069b7 100644 --- a/vite.config.js +++ b/vite.config.js @@ -1,7 +1,8 @@ import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' +import tailwindcss from '@tailwindcss/vite' // https://vite.dev/config/ export default defineConfig({ - plugins: [react()], + plugins: [react(), tailwindcss()], }) From 94b2e811c1b06e7bd16bed234122d2274cfcf144 Mon Sep 17 00:00:00 2001 From: KeshavS05 Date: Sun, 6 Apr 2025 16:36:14 -0500 Subject: [PATCH 4/8] Adds Modal component --- src/App.jsx | 13 +++++++------ src/Modal.jsx | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 6 deletions(-) create mode 100644 src/Modal.jsx diff --git a/src/App.jsx b/src/App.jsx index 6a0d807..9d18f3e 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -1,19 +1,20 @@ import { useState } from 'react' import './App.css' +import Modal from './modal'; function App() { const [count, setCount] = useState(0) + const [isModalOpen, setIsModalOpen] = useState(false); return (

React Starter Code for Inclusive Tech Competition!

- -

- Edit src/App.jsx and src/App.css to get started! -

+

Modal Example

+ + {isModalOpen && ( + setIsModalOpen(false)} title="Modal Title" description={"This is a description"}/> + )}
) diff --git a/src/Modal.jsx b/src/Modal.jsx new file mode 100644 index 0000000..63f074a --- /dev/null +++ b/src/Modal.jsx @@ -0,0 +1,41 @@ +import React from 'react'; + +// A reusable Modal component +const Modal = ({ onClose, title, description }) => { + return ( +
+
+

{title}

+
+

+ {description} +

+
+ +
+
+ ); +}; + +// Inline styles for demonstration +const overlayStyle = { + position: 'fixed', + top: 0, + left: 0, + right: 0, + bottom: 0, + backgroundColor: 'rgba(0,0,0,0.5)', + display: 'flex', + justifyContent: 'center', + alignItems: 'center', +}; + +const modalStyle = { + background: '#fff', + padding: '20px', + borderRadius: '8px', + width: '300px', + textAlign: 'center', +}; + +export default Modal \ No newline at end of file From f4166c963800211e7d34d967c8bc3314fa2fd65d Mon Sep 17 00:00:00 2001 From: masgras2 Date: Sun, 6 Apr 2025 16:45:41 -0500 Subject: [PATCH 5/8] search --- src/App.jsx | 41 +++++++++++++++++++++++++++++++---------- 1 file changed, 31 insertions(+), 10 deletions(-) diff --git a/src/App.jsx b/src/App.jsx index 76f1803..20edc8d 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -1,19 +1,40 @@ -import { useState } from 'react' +import { useEffect, useState } from 'react' import './App.css' function App() { - const [opportunities, setOpportunities] = useState(0) - const [count, setCount] = useState(0) + const [opportunities, setOpportunities] = useState([{ + "id": "abcdefg", + "name": "Opportunity name", + "field": "Computer Science", + "type": "scholarship", + "deadline": "2012-04-23T18:25:43.511Z", + "shortDescription": "Short description.", + "description": "Long description blah blah blah" + }]) + const [shownOpportunities, setShownOpportunities] = useState([{ + "id": "abcdefg", + "name": "Opportunity name", + "field": "Computer Science", + "type": "scholarship", + "deadline": "2012-04-23T18:25:43.511Z", + "shortDescription": "Short description.", + "description": "Long description blah blah blah" + }]) + const [query, setQuery] = useState("") + + useEffect(() => { + const toDisplay = opportunities.filter((element) => { + return element.name.includes(query) || element.field.includes(query) || element.description.includes(query) + }); + setShownOpportunities(toDisplay) + }, [opportunities, query, shownOpportunities]); + return ( -
+

React Starter Code for Inclusive Tech Competition!

- -

- Edit src/App.jsx and src/App.css to get started! -

+ setQuery(e.currentTarget.value)}/> +
) From b8df9204db162719f3bca97ebad70c9ab61b0caa Mon Sep 17 00:00:00 2001 From: Firmiana Wang Date: Sun, 6 Apr 2025 16:47:39 -0500 Subject: [PATCH 6/8] sample json --- src/example.json | 198 ++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 189 insertions(+), 9 deletions(-) diff --git a/src/example.json b/src/example.json index 633d56b..3fff383 100644 --- a/src/example.json +++ b/src/example.json @@ -1,9 +1,189 @@ -{ - "id": "abcdefg", - "name": "Opportunity name", - "field": "Computer Science", - "type": "scholarship", - "deadline": "2012-04-23T18:25:43.511Z", - "shortDescription": "Short description.", - "description": "Long description blah blah blah" -} \ No newline at end of file +[ + { + "id": "1", + "name": "Joseph S. Murphy Scholarship for Diversity in Labor", + "field": "Labor", + "type": "scholarship", + "deadline": "2025-04-10T18:25:43.511Z", + "shortDescription": "For high school seniors from African-American, Native American, or underrepresented backgrounds entering labor-related college programs.", + "amount": "$30,000", + "tags": ["african-american", "native-american", "underrepresented"], + "description": "The Joseph S. Murphy Scholarship supports high school seniors from African-American, Latinx, and Native American backgrounds who are entering college programs focused on labor studies, labor leadership, or social justice work." + }, + { + "id": "2", + "name": "Google Lime Scholarship", + "field": "Computer Science", + "type": "scholarship", + "deadline": "2025-05-01T23:59:00.000Z", + "shortDescription": "For high school seniors with disabilities pursuing computer science degrees in college.", + "amount": "$10,000", + "tags": ["underrepresented"], + "description": "The Google Lime Scholarship supports high school seniors with visible or invisible disabilities who are enrolling in computer science, computer engineering, or closely related fields at accredited universities." + }, + { + "id": "3", + "name": "Generation Google Scholarship", + "field": "Computer Science", + "type": "scholarship", + "deadline": "2025-04-25T17:00:00.000Z", + "shortDescription": "For high school seniors from African-American, Native American, or underrepresented backgrounds pursuing tech degrees.", + "amount": "$10,000", + "tags": ["african-american", "native-american", "underrepresented"], + "description": "The Generation Google Scholarship helps high school seniors from historically underrepresented groups, such as African-American, Hispanic/Latinx, and Native American students, as they begin college studies in computer science and related fields." + }, + { + "id": "4", + "name": "Hispanic Scholarship Fund - STEM Scholarship", + "field": "STEM", + "type": "scholarship", + "deadline": "2025-03-31T23:59:00.000Z", + "shortDescription": "For high school seniors from Latinx backgrounds entering STEM fields in college.", + "amount": "$2,500 - $5,000", + "tags": ["underrepresented"], + "description": "The Hispanic Scholarship Fund (HSF) supports outstanding Latinx high school seniors who plan to major in STEM fields at accredited colleges and universities across the United States." + }, + { + "id": "5", + "name": "American Indian College Fund Full Circle Scholarship", + "field": "Any Field", + "type": "scholarship", + "deadline": "2025-05-31T23:59:00.000Z", + "shortDescription": "For Native American, American Indian, or tribal high school seniors starting college.", + "amount": "$1,000 - $10,000", + "tags": ["native-american", "american-indian", "tribal", "indian"], + "description": "The American Indian College Fund provides scholarships to Native American, American Indian, and tribal high school seniors who are enrolling at tribal colleges, universities, or accredited non-tribal schools." + }, + { + "id": "6", + "name": "UNCF STEM Scholars Program", + "field": "STEM", + "type": "scholarship", + "deadline": "2025-03-19T23:59:00.000Z", + "shortDescription": "For African-American high school seniors pursuing STEM degrees in college.", + "amount": "$2,500 per year for 5 years", + "tags": ["african-american", "black", "underrepresented"], + "description": "The UNCF STEM Scholars Program helps African-American high school seniors who are committed to earning STEM degrees by providing scholarships, mentoring, and internship opportunities through college." + }, + { + "id": "7", + "name": "Meta Summer Software Engineering Internship (Future College Students)", + "field": "Computer Science", + "type": "internship", + "deadline": "2025-09-15T23:59:00.000Z", + "shortDescription": "For underrepresented high school seniors planning to major in computer science.", + "amount": "Paid Internship", + "tags": ["african-american", "native-american", "black", "tribal", "underrepresented"], + "description": "Meta offers a summer internship program for high school seniors from underrepresented backgrounds (especially African-American, Native American, and tribal students) who plan to major in computer science, engineering, or related fields." + }, + { + "id": "8", + "name": "Jackie Robinson Foundation Scholarship", + "field": "Any Field", + "type": "scholarship", + "deadline": "2025-04-15T23:59:00.000Z", + "shortDescription": "For high school seniors of African-American descent entering college. Aimed at students with leadership potential.", + "amount": "$30,000", + "tags": ["african-american", "underrepresented", "black"], + "description": "The Jackie Robinson Foundation Scholarship provides financial support to high school seniors of African-American descent who show leadership, character, and commitment to community service while planning to attend college." + }, + { + "id": "9", + "name": "AISES Intel Scholarship", + "field": "STEM", + "type": "scholarship", + "deadline": "2025-06-01T23:59:00.000Z", + "shortDescription": "For Native American, American Indian, and Alaskan Native high school seniors pursuing STEM degrees.", + "amount": "$10,000", + "tags": ["native-american", "american-indian", "tribal", "indian"], + "description": "The AISES Intel Scholarship supports high school seniors from Native American, American Indian, and Alaskan Native backgrounds who plan to major in science, technology, engineering, or mathematics (STEM) at an accredited university." + }, + { + "id": "10", + "name": "Coca-Cola Scholars Program", + "field": "Any Field", + "type": "scholarship", + "deadline": "2025-10-31T23:59:00.000Z", + "shortDescription": "For high school seniors who have demonstrated leadership, service, and academic excellence.", + "amount": "$20,000", + "tags": ["underrepresented"], + "description": "The Coca-Cola Scholars Program provides scholarships to high school seniors who have demonstrated leadership, academic excellence, and community service. The program is open to students from all backgrounds, with a focus on diversity." + }, + { + "id": "11", + "name": "National Society of Black Engineers (NSBE) Scholarships", + "field": "Engineering/Technology", + "type": "scholarship", + "deadline": "2025-04-15T23:59:00.000Z", + "shortDescription": "For African-American high school seniors entering engineering and technology fields.", + "amount": "$5,000 - $10,000", + "tags": ["african-american", "underrepresented", "black"], + "description": "NSBE offers scholarships to African-American high school seniors pursuing degrees in engineering or technology. Students who demonstrate academic excellence and a passion for advancing the field are encouraged to apply." + }, + { + "id": "12", + "name": "Prudential Spirit of Community Awards", + "field": "Any Field", + "type": "scholarship", + "deadline": "2025-11-10T23:59:00.000Z", + "shortDescription": "For high school seniors who have shown outstanding community service.", + "amount": "$1,000 and a trip to Washington, D.C.", + "tags": ["underrepresented"], + "description": "The Prudential Spirit of Community Awards recognizes outstanding young people who have made meaningful contributions to their communities. High school seniors who have demonstrated leadership through community service are eligible for this award." + }, + { + "id": "13", + "name": "Boren Awards for International Study", + "field": "International Studies", + "type": "scholarship", + "deadline": "2025-07-05T23:59:00.000Z", + "shortDescription": "For high school seniors who wish to study abroad and work on issues of national security and diplomacy.", + "amount": "$20,000 - $25,000", + "tags": ["underrepresented"], + "description": "The Boren Awards provide scholarships for high school seniors to study abroad, focusing on areas critical to U.S. national security, including science, technology, and international affairs. This award is designed to encourage underrepresented students in international studies." + }, + { + "id": "14", + "name": "UNCF/Merck Science Initiative Scholarship Program", + "field": "STEM", + "type": "scholarship", + "deadline": "2025-06-30T23:59:00.000Z", + "shortDescription": "For African-American high school seniors pursuing careers in science, technology, and engineering fields.", + "amount": "$15,000 and internship opportunities", + "tags": ["african-american", "underrepresented", "black"], + "description": "The UNCF/Merck Science Initiative Scholarship Program offers financial support to African-American high school seniors planning to pursue careers in the sciences, particularly in research or biotechnology fields." + }, + { + "id": "15", + "name": "Leaders of Tomorrow Scholarship", + "field": "Business/Management", + "type": "scholarship", + "deadline": "2025-05-15T23:59:00.000Z", + "shortDescription": "For underrepresented high school seniors planning to major in business, management, or economics.", + "amount": "$5,000", + "tags": ["underrepresented"], + "description": "The Leaders of Tomorrow Scholarship supports high school seniors from underrepresented backgrounds pursuing degrees in business, economics, or management." + }, + { + "id": "16", + "name": "Pride Foundation LGBTQ+ Scholarship", + "field": "Any Field", + "type": "scholarship", + "deadline": "2025-06-31T23:59:00.000Z", + "shortDescription": "For LGBTQ+ high school seniors pursuing higher education.", + "amount": "$5,000", + "tags": ["underrepresented"], + "description": "The Pride Foundation LGBTQ+ Scholarship provides financial support for LGBTQ+ high school seniors planning to attend college. It aims to encourage underrepresented students to pursue their dreams in higher education." + }, + { + "id": "17", + "name": "Dell Scholars Program", + "field": "Any Field", + "type": "scholarship", + "deadline": "2025-12-01T23:59:00.000Z", + "shortDescription": "For high school seniors who demonstrate perseverance and leadership in overcoming personal obstacles.", + "amount": "$20,000", + "tags": ["underrepresented"], + "description": "The Dell Scholars Program provides scholarships to high school seniors who have overcome significant personal obstacles and demonstrated the motivation and resilience to succeed in college." + } +] \ No newline at end of file From a942ddf85ecdf1dfa8442fe023c675cde47bd54b Mon Sep 17 00:00:00 2001 From: masgras2 Date: Sun, 6 Apr 2025 16:49:51 -0500 Subject: [PATCH 7/8] style search --- src/App.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App.jsx b/src/App.jsx index c76d671..e680bfa 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -1,6 +1,6 @@ import { useEffect, useState } from 'react' import './App.css' -import Modal from './modal'; +import Modal from './Modal'; function App() { const [opportunities, setOpportunities] = useState([{ @@ -35,7 +35,7 @@ function App() {

React Starter Code for Inclusive Tech Competition!

- setQuery(e.currentTarget.value)}/> + setQuery(e.currentTarget.value)} placeholder="search"/>

Modal Example

From b4daa4f55bd13fdf5d6ed8a2db9065e800fe4dcb Mon Sep 17 00:00:00 2001 From: KeshavS05 Date: Sun, 6 Apr 2025 16:51:46 -0500 Subject: [PATCH 8/8] modal --- src/App.jsx | 2 +- src/Modal.jsx | 13 ++++++------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/App.jsx b/src/App.jsx index e680bfa..fbbf3da 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -1,6 +1,6 @@ import { useEffect, useState } from 'react' import './App.css' -import Modal from './Modal'; +import Modal from './modal'; function App() { const [opportunities, setOpportunities] = useState([{ diff --git a/src/Modal.jsx b/src/Modal.jsx index 63f074a..3fe4906 100644 --- a/src/Modal.jsx +++ b/src/Modal.jsx @@ -17,7 +17,6 @@ const Modal = ({ onClose, title, description }) => { ); }; -// Inline styles for demonstration const overlayStyle = { position: 'fixed', top: 0, @@ -31,11 +30,11 @@ const overlayStyle = { }; const modalStyle = { - background: '#fff', - padding: '20px', - borderRadius: '8px', - width: '300px', - textAlign: 'center', -}; + background: '#fff', + padding: '1.25rem', + borderRadius: '0.5rem', + width: '18.75rem', + textAlign: 'center', + }; export default Modal \ No newline at end of file