create-bdpa-react-scaffold 1.7.3 → 1.7.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BDPA_edited.avif +0 -0
- package/create-ui-lib.js +31 -1
- package/package.json +3 -2
package/BDPA_edited.avif
ADDED
|
Binary file
|
package/create-ui-lib.js
CHANGED
|
@@ -340,6 +340,15 @@ const response = await adminApi.getAll("/users");
|
|
|
340
340
|
\`\`\`
|
|
341
341
|
`);
|
|
342
342
|
|
|
343
|
+
write(".vscode/extensions.json", `
|
|
344
|
+
{
|
|
345
|
+
"recommendations": [
|
|
346
|
+
"dsznajder.es7-react-js-snippets",
|
|
347
|
+
"vscode-icons-team.vscode-icons"
|
|
348
|
+
]
|
|
349
|
+
}
|
|
350
|
+
`);
|
|
351
|
+
|
|
343
352
|
// -------------------------------
|
|
344
353
|
// src root
|
|
345
354
|
// -------------------------------
|
|
@@ -481,6 +490,17 @@ function Dashboard() {
|
|
|
481
490
|
{/* Page content */}
|
|
482
491
|
<div className="p-6 space-y-6 overflow-auto">
|
|
483
492
|
|
|
493
|
+
{/* BDPA Logo Section */}
|
|
494
|
+
<Card className="text-center">
|
|
495
|
+
<img
|
|
496
|
+
src="/src/assets/images/BDPA_edited.avif"
|
|
497
|
+
alt="BDPA Logo"
|
|
498
|
+
className="h-32 mx-auto mb-4"
|
|
499
|
+
/>
|
|
500
|
+
<h1 className="text-3xl font-bold text-blue-600">Welcome to BDPA</h1>
|
|
501
|
+
<p className="text-gray-600 mt-2">Black Data Professionals Association</p>
|
|
502
|
+
</Card>
|
|
503
|
+
|
|
484
504
|
<Tabs tabs={tabs} />
|
|
485
505
|
|
|
486
506
|
<div className="grid md:grid-cols-2 gap-6">
|
|
@@ -1142,7 +1162,17 @@ console.log(" 3. Open http://localhost:3000 in your browser\n");
|
|
|
1142
1162
|
|
|
1143
1163
|
// Create assets folder structure
|
|
1144
1164
|
fs.mkdirSync(path.join(BASE_DIR, "src/assets/images"), { recursive: true });
|
|
1145
|
-
console.log("✔ Created: src/assets/images
|
|
1165
|
+
console.log("✔ Created: src/assets/images");
|
|
1166
|
+
|
|
1167
|
+
// Copy BDPA logo image
|
|
1168
|
+
const bdpaImagePath = path.join(__dirname, "BDPA_edited.avif");
|
|
1169
|
+
const bdpaDestPath = path.join(BASE_DIR, "src/assets/images/BDPA_edited.avif");
|
|
1170
|
+
if (fs.existsSync(bdpaImagePath)) {
|
|
1171
|
+
fs.copyFileSync(bdpaImagePath, bdpaDestPath);
|
|
1172
|
+
console.log("✔ Copied: src/assets/images/BDPA_edited.avif\n");
|
|
1173
|
+
} else {
|
|
1174
|
+
console.log("⚠ Warning: BDPA_edited.avif not found in package\n");
|
|
1175
|
+
}
|
|
1146
1176
|
|
|
1147
1177
|
if (doInstall) {
|
|
1148
1178
|
installDependencies(packageManager, BASE_DIR);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-bdpa-react-scaffold",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.5",
|
|
4
4
|
|
|
5
5
|
"description": "Scaffold a React + Tailwind UI library demo via Vite.",
|
|
6
6
|
"bin": {
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
},
|
|
9
9
|
"files": [
|
|
10
10
|
"create-ui-lib.js",
|
|
11
|
-
"README.md"
|
|
11
|
+
"README.md",
|
|
12
|
+
"BDPA_edited.avif"
|
|
12
13
|
],
|
|
13
14
|
"keywords": [
|
|
14
15
|
"create",
|