create-bdpa-react-scaffold 1.7.3 → 1.7.4
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 +22 -1
- package/package.json +3 -2
package/BDPA_edited.avif
ADDED
|
Binary file
|
package/create-ui-lib.js
CHANGED
|
@@ -481,6 +481,17 @@ function Dashboard() {
|
|
|
481
481
|
{/* Page content */}
|
|
482
482
|
<div className="p-6 space-y-6 overflow-auto">
|
|
483
483
|
|
|
484
|
+
{/* BDPA Logo Section */}
|
|
485
|
+
<Card className="text-center">
|
|
486
|
+
<img
|
|
487
|
+
src="/src/assets/images/BDPA_edited.avif"
|
|
488
|
+
alt="BDPA Logo"
|
|
489
|
+
className="h-32 mx-auto mb-4"
|
|
490
|
+
/>
|
|
491
|
+
<h1 className="text-3xl font-bold text-blue-600">Welcome to BDPA</h1>
|
|
492
|
+
<p className="text-gray-600 mt-2">Black Data Professionals Association</p>
|
|
493
|
+
</Card>
|
|
494
|
+
|
|
484
495
|
<Tabs tabs={tabs} />
|
|
485
496
|
|
|
486
497
|
<div className="grid md:grid-cols-2 gap-6">
|
|
@@ -1142,7 +1153,17 @@ console.log(" 3. Open http://localhost:3000 in your browser\n");
|
|
|
1142
1153
|
|
|
1143
1154
|
// Create assets folder structure
|
|
1144
1155
|
fs.mkdirSync(path.join(BASE_DIR, "src/assets/images"), { recursive: true });
|
|
1145
|
-
console.log("✔ Created: src/assets/images
|
|
1156
|
+
console.log("✔ Created: src/assets/images");
|
|
1157
|
+
|
|
1158
|
+
// Copy BDPA logo image
|
|
1159
|
+
const bdpaImagePath = path.join(__dirname, "BDPA_edited.avif");
|
|
1160
|
+
const bdpaDestPath = path.join(BASE_DIR, "src/assets/images/BDPA_edited.avif");
|
|
1161
|
+
if (fs.existsSync(bdpaImagePath)) {
|
|
1162
|
+
fs.copyFileSync(bdpaImagePath, bdpaDestPath);
|
|
1163
|
+
console.log("✔ Copied: src/assets/images/BDPA_edited.avif\n");
|
|
1164
|
+
} else {
|
|
1165
|
+
console.log("⚠ Warning: BDPA_edited.avif not found in package\n");
|
|
1166
|
+
}
|
|
1146
1167
|
|
|
1147
1168
|
if (doInstall) {
|
|
1148
1169
|
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.4",
|
|
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",
|