Update src/App.jsx
Browse files- src/App.jsx +42 -612
src/App.jsx
CHANGED
|
@@ -27,7 +27,7 @@ const QRGeneratorTab = ({
|
|
| 27 |
suggestIdeas, downloadQrCode, qrCanvasRef,
|
| 28 |
isInputFocused, setIsInputFocused, currentThemeClasses,
|
| 29 |
qrStyles, selectedStyleIndex, setSelectedStyleIndex, styleCanvasRefs, drawQrCode,
|
| 30 |
-
suggestedIdea, showSuggestedIdea, setShowSuggestedIdea,
|
| 31 |
downloadResolution, setDownloadResolution
|
| 32 |
}) => {
|
| 33 |
// Effect to generate QR code on the main canvas (Generator Tab)
|
|
@@ -83,7 +83,7 @@ const QRGeneratorTab = ({
|
|
| 83 |
</div>
|
| 84 |
|
| 85 |
{/* Suggested Ideas Panel */}
|
| 86 |
-
{showSuggestedIdea && suggestedIdea && (
|
| 87 |
<div className={`mt-4 p-4 rounded-xl border ${currentThemeClasses.glassBorder} ${currentThemeClasses.glassBg} shadow-inner transition-all duration-300 overflow-hidden`}>
|
| 88 |
<div className="flex justify-between items-center cursor-pointer" onClick={() => setShowSuggestedIdea(!showSuggestedIdea)}>
|
| 89 |
<label className={`font-semibold ${currentThemeClasses.labelColor} font-inter`}>Suggested QR Idea:</label>
|
|
@@ -250,607 +250,6 @@ const SettingsTab = ({ currentTheme, setCurrentTheme, currentThemeClasses, theme
|
|
| 250 |
);
|
| 251 |
};
|
| 252 |
|
| 253 |
-
// Define the suggested ideas as a constant array
|
| 254 |
-
const INITIAL_SUGGESTED_IDEAS = [
|
| 255 |
-
"โค๏ธ๐ My Girlfriend's Mobile Number",
|
| 256 |
-
"โค๏ธ๐ฉ My Girlfriend's Name",
|
| 257 |
-
"โค๏ธ๐ My Girlfriend's Address",
|
| 258 |
-
"๐ ๐ My Home Address",
|
| 259 |
-
"๐๐ฑ My Mobile Number",
|
| 260 |
-
"๐งโ๏ธ My Email Address",
|
| 261 |
-
"๐๐ My Website URL",
|
| 262 |
-
"๐๐ My LinkedIn Profile",
|
| 263 |
-
"๐ญโจ My Favorite Quote",
|
| 264 |
-
"๐ก๐ Wi-Fi Network: MyHomeWiFi; Pass: MySecretPass",
|
| 265 |
-
"๐ฐ๐ณ UPI ID: myname@bank",
|
| 266 |
-
"๐๐๏ธ Event: Birthday Party, Date: 2025-12-25, Location: My House",
|
| 267 |
-
"๐๏ธ๐ Product Link: https://www.google.com/search?q=example.com/product/xyz",
|
| 268 |
-
"๐บ๏ธโก๏ธ Directions: geo:34.0522,-118.2437?q=Los Angeles",
|
| 269 |
-
"๐คซโจ Secret Message: You are awesome!",
|
| 270 |
-
"๐๐ผ My Business Card Info",
|
| 271 |
-
"๐จ๐ป Link to my Portfolio",
|
| 272 |
-
"๐จโ๐ป๐ My GitHub Repository",
|
| 273 |
-
"๐ถ๐ง My Favorite Song on Spotify",
|
| 274 |
-
"๐คฒ๐ A Donation Link",
|
| 275 |
-
"๐จ๐ Emergency Contact: John Doe, 9876543210",
|
| 276 |
-
"๐ฅ๐ฉธ Medical Info: Blood Type O+, Allergies: Penicillin",
|
| 277 |
-
"๐พ๐ Pet's Microchip ID: 1234567890",
|
| 278 |
-
"๐๐ Favorite Recipe: Pasta Carbonara Ingredients",
|
| 279 |
-
"๐๐ก Book Recommendation: 'Dune' by Frank Herbert",
|
| 280 |
-
"๐ฌ๐ฟ Movie to Watch: 'Inception'",
|
| 281 |
-
"๐ฎ๐ Game ID: PlayerOne#1234",
|
| 282 |
-
"โฟ๐ Crypto Wallet Address (ETH): 0x...",
|
| 283 |
-
"๐ผ๏ธ๐ NFT Collection Link",
|
| 284 |
-
"๐๐ Smart Contract Address",
|
| 285 |
-
"๐ณ๏ธ๐ก DAO Proposal Link",
|
| 286 |
-
"๐โจ Web3 DApp URL",
|
| 287 |
-
"๐๐ Decentralized Identity (DID)",
|
| 288 |
-
"๐๐ My Public Key",
|
| 289 |
-
"๐๏ธ๐ IPFS Hash of a Document",
|
| 290 |
-
"โ๏ธโ
Blockchain Transaction ID",
|
| 291 |
-
"๐๐ Metaverse Coordinates: X:100, Y:200, Z:50",
|
| 292 |
-
"๐๐ VR Experience Link",
|
| 293 |
-
"๐ธโจ AR Filter Link",
|
| 294 |
-
"๐จ๐ Digital Art Gallery URL",
|
| 295 |
-
"โ
๐๏ธ Event RSVP Link",
|
| 296 |
-
"๐๐ก Feedback Form Link",
|
| 297 |
-
"๐โ Survey Link",
|
| 298 |
-
"๐ฌ๐ค Customer Support Chat Link",
|
| 299 |
-
"๐โฌ๏ธ Download App Link (iOS)",
|
| 300 |
-
"๐คโฌ๏ธ Download App Link (Android)",
|
| 301 |
-
"๐๐ง Product Manual Link",
|
| 302 |
-
"๐๐ก๏ธ Warranty Information",
|
| 303 |
-
"โฉ๏ธ๐ Return Policy URL",
|
| 304 |
-
"๐ข๐ Company Contact Info",
|
| 305 |
-
"๐ผโ๏ธ Job Application Link",
|
| 306 |
-
"๐โฌ๏ธ Resume Download Link",
|
| 307 |
-
"๐๏ธ๐ค Interview Schedule",
|
| 308 |
-
"๐
๐ค Conference Agenda",
|
| 309 |
-
"๐ฃ๏ธ๐ Speaker Bio Link",
|
| 310 |
-
"โ๏ธ๐ก Workshop Registration",
|
| 311 |
-
"๐ฝ๏ธ๐ Restaurant Menu",
|
| 312 |
-
"๐ฝ๏ธ๐๏ธ Table Reservation Link",
|
| 313 |
-
"๐ฆ๐ Delivery Order Tracking",
|
| 314 |
-
"๐ฅ๐ณ Recipe Video Link",
|
| 315 |
-
"๐ช๐๏ธ Workout Plan",
|
| 316 |
-
"๐ฅ๐๏ธ Diet Plan",
|
| 317 |
-
"โค๏ธโ๐ฉน๐ Health Tracker Link",
|
| 318 |
-
"๐จ๐ Emergency Services Number",
|
| 319 |
-
"๐พ๐ Lost Pet Poster Link",
|
| 320 |
-
"๐๐ Found Item Contact",
|
| 321 |
-
"๐๐ณ Public Library Card Number",
|
| 322 |
-
"๐๏ธ๐ผ๏ธ Museum Exhibit Info",
|
| 323 |
-
"๐ฝ๐บ๏ธ Tourist Attraction Details",
|
| 324 |
-
"๐๏ธ๐ Local Event Calendar",
|
| 325 |
-
"๐โฐ Public Transport Schedule",
|
| 326 |
-
"๐
ฟ๏ธ๐ Parking Spot Locator",
|
| 327 |
-
"๐๐ค Car Share Booking Link",
|
| 328 |
-
"๐ฒ rent Bike Rental Info",
|
| 329 |
-
"๐ด๐ Scooter Share Unlock Code",
|
| 330 |
-
"โก๐ Charging Station Locator",
|
| 331 |
-
"๐๐ Electric Vehicle Info",
|
| 332 |
-
"โป๏ธ๐ Recycling Center Address",
|
| 333 |
-
"๐ฑ๐๏ธ Compost Drop-off Location",
|
| 334 |
-
"๐ง๐ก Water Conservation Tips",
|
| 335 |
-
"๐ก๐ฐ Energy Saving Advice",
|
| 336 |
-
"๐ค๐ Volunteer Opportunity",
|
| 337 |
-
"๐โค๏ธ Charity Donation Link",
|
| 338 |
-
"๐งโ๐พ๐ฅ Community Garden Info",
|
| 339 |
-
"๐ฅ๐๏ธ Local Farmers Market Schedule",
|
| 340 |
-
"๐จโ๏ธ Art Class Registration",
|
| 341 |
-
"๐ถ๐๏ธ Music Lesson Booking",
|
| 342 |
-
"๐๐๏ธ Dance Studio Schedule",
|
| 343 |
-
"๐งโโ๏ธ๐๏ธ Yoga Class Info",
|
| 344 |
-
"๐๏ธโโ๏ธ๐๏ธ Fitness Class Booking",
|
| 345 |
-
"โฝโ๏ธ Sports League Sign-up",
|
| 346 |
-
"๐ณ๐บ๏ธ Outdoor Activity Guide",
|
| 347 |
-
"โฐ๏ธ๐บ๏ธ Hiking Trail Map",
|
| 348 |
-
"๐๏ธ๐๏ธ Camping Site Reservation",
|
| 349 |
-
"๐ฃ๐ Fishing License Info",
|
| 350 |
-
"๐น๐ Hunting License Info",
|
| 351 |
-
"๐ค๐ Boating Regulations",
|
| 352 |
-
"โท๏ธโ๏ธ Ski Resort Conditions",
|
| 353 |
-
"๐โ๏ธ Snowboarding Park Info",
|
| 354 |
-
"๐โโ๏ธ๐ Surf Report",
|
| 355 |
-
"๐คฟ๐ Scuba Diving Spot",
|
| 356 |
-
"๐ช๐๏ธ Paragliding Booking",
|
| 357 |
-
"๐๐๏ธ Hot Air Balloon Ride",
|
| 358 |
-
"๐ชโจ Skydiving Experience",
|
| 359 |
-
"๐ฒ๐ข Zipline Adventure",
|
| 360 |
-
"๐ชข๐คธ Bungee Jumping Spot",
|
| 361 |
-
"๐งโโ๏ธ๐ Rock Climbing Gym",
|
| 362 |
-
"๐๐๏ธ Escape Room Booking",
|
| 363 |
-
"๐ฒโ Board Game Cafe",
|
| 364 |
-
"๐๐๏ธ Book Club Meeting Details",
|
| 365 |
-
"๐ค๐ Poetry Slam Event",
|
| 366 |
-
"๐๏ธ๐๏ธ Open Mic Night",
|
| 367 |
-
"๐๐๏ธ Comedy Show Tickets",
|
| 368 |
-
"๐ญ๐๏ธ Theater Play Schedule",
|
| 369 |
-
"๐ถ๐๏ธ Concert Tickets",
|
| 370 |
-
"๐จ๐๏ธ Art Exhibition Info",
|
| 371 |
-
"๐ธ๐ก Photography Workshop",
|
| 372 |
-
"๐ณโ๏ธ Cooking Class Registration",
|
| 373 |
-
"๐ฐ๐ Baking Recipe",
|
| 374 |
-
"๐น๐ Cocktail Recipe",
|
| 375 |
-
"๐ท๐๏ธ Wine Tasting Event",
|
| 376 |
-
"๐บ๐ญ Beer Brewery Tour",
|
| 377 |
-
"โ๐ณ Coffee Shop Loyalty Program",
|
| 378 |
-
"๐๏ธ๐จ Local Craft Market",
|
| 379 |
-
"๐๏ธ๐ฐ๏ธ Vintage Store Address",
|
| 380 |
-
"๐โป๏ธ Thrift Shop Location",
|
| 381 |
-
"๐บ๐ฐ๏ธ Antique Shop Info",
|
| 382 |
-
"๐ฟ๐ Record Store Address",
|
| 383 |
-
"๐๐ฆธ Comic Book Store",
|
| 384 |
-
"๐ฒ๐๏ธ Board Game Store",
|
| 385 |
-
"๐ ๏ธ๐๏ธ Hobby Shop Inventory",
|
| 386 |
-
"๐จ๐ก DIY Project Instructions",
|
| 387 |
-
"๐งโ๐พ๐ก Gardening Tips",
|
| 388 |
-
"๐ชด๐ Plant Care Guide",
|
| 389 |
-
"๐๐ Flower Shop Delivery",
|
| 390 |
-
"๐พโ๏ธ Pet Grooming Appointment",
|
| 391 |
-
"๐ถ๐ Veterinarian Contact",
|
| 392 |
-
"๐พโค๏ธ Animal Shelter Donation",
|
| 393 |
-
"๐๐ณ Dog Park Location",
|
| 394 |
-
"๐โ Cat Cafe Details",
|
| 395 |
-
"๐ฆ๐ณ Bird Watching Spot",
|
| 396 |
-
"๐ฆ๐ณ Wildlife Sanctuary Info",
|
| 397 |
-
"๐ ๐๏ธ Aquarium Tickets",
|
| 398 |
-
"๐ฆ๐๏ธ Zoo Visit Booking",
|
| 399 |
-
"๐๐๏ธ Farm Tour Schedule",
|
| 400 |
-
"๐๐๏ธ Orchard Picking Season",
|
| 401 |
-
"๐๐ท Vineyard Tour & Tasting",
|
| 402 |
-
"๐๐ท๏ธ Local Market Deals",
|
| 403 |
-
"๐ป๐ฐ Online Store Discount Code",
|
| 404 |
-
"๐๐บ Subscription Service Login",
|
| 405 |
-
"๐ป๐ Software License Key",
|
| 406 |
-
"๐ฎโฌ๏ธ Game Download Code",
|
| 407 |
-
"๐โฌ๏ธ E-book Download Link",
|
| 408 |
-
"๐ง๐ Audiobook Chapter List",
|
| 409 |
-
"๐๏ธ๐ Podcast Episode Link",
|
| 410 |
-
"โถ๏ธ๐ YouTube Channel Link",
|
| 411 |
-
"๐ฎ๐ด Twitch Stream Link",
|
| 412 |
-
"๐ฌ๐ฎ Discord Server Invite",
|
| 413 |
-
"โ๏ธ๐ฌ Telegram Group Link",
|
| 414 |
-
"๐ข๐ฌ WhatsApp Group Invite",
|
| 415 |
-
"๐๐ฌ Signal Group Link",
|
| 416 |
-
"๐๐ฅ Facebook Group Link",
|
| 417 |
-
"๐ธ๐ค Instagram Profile",
|
| 418 |
-
"๐ฆโ๏ธ Twitter Handle",
|
| 419 |
-
"๐ต๐ TikTok Profile",
|
| 420 |
-
"๐ป๐ธ Snapchat Username",
|
| 421 |
-
"๐๐ผ๏ธ Pinterest Board Link",
|
| 422 |
-
"๐ฝ๐ฌ Reddit Community",
|
| 423 |
-
"โ๐ก Quora Profile",
|
| 424 |
-
"๐ปโ Stack Overflow Profile",
|
| 425 |
-
"โ๏ธ๐ป Dev.to Article Link",
|
| 426 |
-
"โ๏ธ๐ Medium Article Link",
|
| 427 |
-
"โ๏ธ๐ฐ Substack Newsletter",
|
| 428 |
-
"๐๐ค Patreon Page",
|
| 429 |
-
"โ๐ Ko-fi Link",
|
| 430 |
-
"โ๐ Buy Me a Coffee Link",
|
| 431 |
-
"๐๐๏ธ Merchandise Store Link",
|
| 432 |
-
"๐๏ธ๐๏ธ Eventbrite Ticket Link",
|
| 433 |
-
"๐ป๐ค Zoom Meeting ID",
|
| 434 |
-
"๐ป๐ฌ Google Meet Link",
|
| 435 |
-
"๐ป๐ Microsoft Teams Meeting",
|
| 436 |
-
"๐ปโ๏ธ Webinar Registration",
|
| 437 |
-
"๐๐ป Online Course Link",
|
| 438 |
-
"๐ฅ๐ก Tutorial Video Link",
|
| 439 |
-
"๐๐ Documentation Link",
|
| 440 |
-
"๐๐ป API Endpoint URL",
|
| 441 |
-
"โฌ๏ธ๐ป Software Update Link",
|
| 442 |
-
"๐๐ Bug Report Form",
|
| 443 |
-
"โจ๐ Feature Request Form",
|
| 444 |
-
"๐ซ๐ค Support Ticket System",
|
| 445 |
-
"๐๐ก Knowledge Base Article",
|
| 446 |
-
"โ๐ FAQ Page",
|
| 447 |
-
"๐ ๏ธ๐ Troubleshooting Guide",
|
| 448 |
-
"๐๐ง User Manual",
|
| 449 |
-
"๐๐ Quick Start Guide",
|
| 450 |
-
"โฌ๏ธ๐ ๏ธ Installation Instructions",
|
| 451 |
-
"๐ปโ
System Requirements",
|
| 452 |
-
"โ
๐ Compatibility List",
|
| 453 |
-
"๐โจ Release Notes",
|
| 454 |
-
"๐๐ Changelog",
|
| 455 |
-
"๐ณ๐ป Version Control Repository",
|
| 456 |
-
"โ
๐ Build Status Page",
|
| 457 |
-
"๐๐ Deployment Pipeline Status",
|
| 458 |
-
"๐ฅ๏ธโ
Server Status Page",
|
| 459 |
-
"๐๐บ๏ธ Network Diagram",
|
| 460 |
-
"๐๐ Security Policy",
|
| 461 |
-
"๐ต๏ธโโ๏ธ๐ Privacy Policy",
|
| 462 |
-
"๐๐ค Terms of Service",
|
| 463 |
-
"๐ช๐ Cookie Policy",
|
| 464 |
-
"๐ช๐บโ
GDPR Compliance Info",
|
| 465 |
-
"โฟ๐ Accessibility Statement",
|
| 466 |
-
"๐บ๏ธ๐ Sitemap",
|
| 467 |
-
"๐ค๐ Robots.txt Content",
|
| 468 |
-
"๐ก๐ป Open Source Project Page",
|
| 469 |
-
"๐ค๐ Contributor Guidelines",
|
| 470 |
-
"๐ค๐ Code of Conduct",
|
| 471 |
-
"๐โ
License Information",
|
| 472 |
-
"๐ฐ๐ Bug Bounty Program",
|
| 473 |
-
"๐จ๐ Security Vulnerability Report",
|
| 474 |
-
"๐ก๏ธ๐ Penetration Test Report",
|
| 475 |
-
"โ
๐ Compliance Audit Report",
|
| 476 |
-
"๐๐ Certification Details",
|
| 477 |
-
"๐โจ Awards and Recognition",
|
| 478 |
-
"๐ฐโฌ๏ธ Press Kit Download",
|
| 479 |
-
"๐๐ฐ Media Contact Info",
|
| 480 |
-
"๐๐ค Investor Relations Page",
|
| 481 |
-
"๐๐๏ธ Annual Report",
|
| 482 |
-
"๐๐ Quarterly Earnings Call",
|
| 483 |
-
"๐๐ฐ Stock Information",
|
| 484 |
-
"๐งโ๐ผ๐ฉโ๐ผ Board of Directors",
|
| 485 |
-
"๐๐ฐ๏ธ Company History",
|
| 486 |
-
"๐ฏโจ Mission Statement",
|
| 487 |
-
"๐ญโจ Vision Statement",
|
| 488 |
-
"๐๐ Values Statement",
|
| 489 |
-
"๐ผโจ Career Opportunities",
|
| 490 |
-
"๐๐งโ๐ผ Employee Handbook",
|
| 491 |
-
"๐๐ฉโ๐ผ HR Contact Info",
|
| 492 |
-
"๐ฐ๐ฅ Benefits Information",
|
| 493 |
-
"๐๐ก Training Resources",
|
| 494 |
-
"๐๐ Internal Wiki Link",
|
| 495 |
-
"๐๐ ๏ธ Project Management Tool",
|
| 496 |
-
"๐ฌ๐ค Team Communication Channel",
|
| 497 |
-
"๐๐๏ธ Meeting Notes Link",
|
| 498 |
-
"๐๐ค Shared Document Folder",
|
| 499 |
-
"๐๏ธโ๏ธ Time Off Request Form",
|
| 500 |
-
"๐ฐ๐ Expense Report System",
|
| 501 |
-
"๐ฅ๏ธ๐ค IT Support Portal",
|
| 502 |
-
"๐ข๐บ๏ธ Office Location Map",
|
| 503 |
-
"๐
ฟ๏ธ๐ Parking Instructions",
|
| 504 |
-
"๐ก๐ Visitor Wi-Fi Password",
|
| 505 |
-
"๐จ๐บ๏ธ Emergency Evacuation Plan",
|
| 506 |
-
"๐ฉน๐ First Aid Kit Location",
|
| 507 |
-
"defibrillator AED Location",
|
| 508 |
-
"๐ฅ๐ Fire Extinguisher Location",
|
| 509 |
-
"โ ๏ธ๐ Safety Guidelines",
|
| 510 |
-
"๐ช๐ Building Access Code",
|
| 511 |
-
"๐ฎ๐ Security Guard Contact",
|
| 512 |
-
"๐งน๐๏ธ Cleaning Schedule",
|
| 513 |
-
"๐ง๐ Maintenance Request Form",
|
| 514 |
-
"๐ฆ๐ Supply Order Form",
|
| 515 |
-
"โ๐ Coffee Machine Instructions",
|
| 516 |
-
"๐จ๏ธ๐ Printer Setup Guide",
|
| 517 |
-
"๐๐ ๏ธ Network Troubleshooting Steps",
|
| 518 |
-
"๐ปโฌ๏ธ Software Installation Guide",
|
| 519 |
-
"๐๐ VPN Connection Details",
|
| 520 |
-
"๐ฅ๏ธ๐ Remote Desktop Access",
|
| 521 |
-
"๐๐ค Help Desk Contact",
|
| 522 |
-
"๐๐ Feedback Survey for Employees",
|
| 523 |
-
"๐ก๐ณ๏ธ Suggestion Box Link",
|
| 524 |
-
"๐๏ธ๐ Company Event Calendar",
|
| 525 |
-
"๐ค๐ Team Building Activity Info",
|
| 526 |
-
"๐๐๏ธ Holiday Schedule",
|
| 527 |
-
"๐๐ Dress Code Policy",
|
| 528 |
-
"โ๏ธ๐ Travel Policy",
|
| 529 |
-
"๐ฐ๐ Expense Reimbursement Policy",
|
| 530 |
-
"๐ป๐ IT Asset Management System",
|
| 531 |
-
"๐ป๐ฆ Software Inventory",
|
| 532 |
-
"๐ฅ๏ธ๐ฆ Hardware Inventory",
|
| 533 |
-
"๐ท๏ธ๐ Asset Tagging Guidelines",
|
| 534 |
-
"โป๏ธ๐ป Disposal Procedures for Electronics",
|
| 535 |
-
"๐พ๐๏ธ Data Backup Schedule",
|
| 536 |
-
"๐จ๐พ Disaster Recovery Plan",
|
| 537 |
-
"๐จ๐ Incident Report Form",
|
| 538 |
-
"๐๐ Change Management Process",
|
| 539 |
-
"๐๐ Project Plan Document",
|
| 540 |
-
"โ
๐ Task List for Project",
|
| 541 |
-
"๐โโ๏ธ๐ Sprint Backlog",
|
| 542 |
-
"๐๐ Burndown Chart Link",
|
| 543 |
-
"๐๐ก Retrospective Notes",
|
| 544 |
-
"๐ฅ๐ Team Roster",
|
| 545 |
-
"โ
๐งโ๐ป Onboarding Checklist",
|
| 546 |
-
"โ
๐ Offboarding Checklist",
|
| 547 |
-
"๐๐ Training Module Link",
|
| 548 |
-
"๐๐ Certification Tracking",
|
| 549 |
-
"๐๐ Performance Review Form",
|
| 550 |
-
"๐ฏ๐ Goal Setting Worksheet",
|
| 551 |
-
"๐ค๐ก Mentorship Program Info",
|
| 552 |
-
"๐๐ Career Development Resources",
|
| 553 |
-
"๐๐ Employee Recognition Program",
|
| 554 |
-
"๐งโโ๏ธ๐ Wellness Program Details",
|
| 555 |
-
"๐ง ๐ Mental Health Resources",
|
| 556 |
-
"๐ชโ๏ธ Fitness Challenge Sign-up",
|
| 557 |
-
"๐ฅ๐ Nutrition Guide",
|
| 558 |
-
"๐ชโ
Ergonomics Checklist",
|
| 559 |
-
"๐ ๐ป Work From Home Policy",
|
| 560 |
-
"๐๏ธโ๏ธ Flexible Work Arrangement Request",
|
| 561 |
-
"๐๐ฐ Commuter Benefits Info",
|
| 562 |
-
"๐ฐโ๏ธ Company Newsletter Sign-up",
|
| 563 |
-
"๐ผ๐ข Internal Job Postings",
|
| 564 |
-
"๐ค๐ฐ Referral Program Details",
|
| 565 |
-
"๐๐ค Diversity & Inclusion Initiatives",
|
| 566 |
-
"โป๏ธ๐ Sustainability Report",
|
| 567 |
-
"๐ค๐ Corporate Social Responsibility",
|
| 568 |
-
"๐๐ Investor Deck",
|
| 569 |
-
"๐ฐ๐๏ธ Press Release Archive",
|
| 570 |
-
"๐จ๐ Brand Guidelines",
|
| 571 |
-
"๐ผ๏ธโฌ๏ธ Logo Download Page",
|
| 572 |
-
"๐๐ Marketing Collateral Library",
|
| 573 |
-
"๐๐ Sales Playbook",
|
| 574 |
-
"๐ค๐ป Customer Relationship Management (CRM) Login",
|
| 575 |
-
"๐๐ Sales Forecasting Dashboard",
|
| 576 |
-
"โ๏ธ๐ก Lead Generation Form",
|
| 577 |
-
"๐ค๐ Partnership Program Details",
|
| 578 |
-
"๐๐ฐ Affiliate Program Info",
|
| 579 |
-
"๐คโ๏ธ Reseller Application",
|
| 580 |
-
"๐ค๐ป Vendor Portal Login",
|
| 581 |
-
"๐๐ Procurement Policy",
|
| 582 |
-
"๐งพ๐ป Invoice Submission Portal",
|
| 583 |
-
"๐ฐโ
Payment Status Checker",
|
| 584 |
-
"๐๐ฐ Budget Tracking Spreadsheet",
|
| 585 |
-
"๐๐ Financial Report Access",
|
| 586 |
-
"๐๐ Legal Document Library",
|
| 587 |
-
"๐๐ค Contract Review Request",
|
| 588 |
-
"ยฎ๏ธ๐ Trademark Registration Info",
|
| 589 |
-
"๐ก๐ Patent Application Status",
|
| 590 |
-
"โ
๐ Compliance Training Module",
|
| 591 |
-
"โ ๏ธ๐ Risk Assessment Report",
|
| 592 |
-
"๐๏ธ๐ Audit Schedule",
|
| 593 |
-
"๐๐ Internal Audit Findings",
|
| 594 |
-
"๐๐ External Audit Report",
|
| 595 |
-
"๐๐ Regulatory Updates",
|
| 596 |
-
"๐๐ Industry Standards Guide",
|
| 597 |
-
"โจ๐ Best Practices Document",
|
| 598 |
-
"๐ฌ๐ Research Paper Link",
|
| 599 |
-
"๐โฌ๏ธ Case Study Download",
|
| 600 |
-
"๐๐ก Whitepaper Access",
|
| 601 |
-
"๐ฅ๐ป Webinar Recording",
|
| 602 |
-
"๐ง๐ Podcast Series Link",
|
| 603 |
-
"โ๏ธ๐ Blog Post Archive",
|
| 604 |
-
"๐ฐโจ News Article About Us",
|
| 605 |
-
"๐ฃ๏ธ๐ Customer Testimonials",
|
| 606 |
-
"โญ๐ Product Reviews",
|
| 607 |
-
"๐ฌ๐ User Forum Link",
|
| 608 |
-
"๐ค๐ Community Guidelines",
|
| 609 |
-
"๐ก๏ธ๐ Moderation Policy",
|
| 610 |
-
"๐จ๐ Report Abuse Form",
|
| 611 |
-
"โ๏ธ๐ค Account Settings Page",
|
| 612 |
-
"๐๐ Password Reset Link",
|
| 613 |
-
"๐๐ฑ Two-Factor Authentication Setup",
|
| 614 |
-
"๐โ๏ธ Notification Preferences",
|
| 615 |
-
"๐ณโ๏ธ Payment Methods Management",
|
| 616 |
-
"๐ฆ๐ Order History",
|
| 617 |
-
"๐๐ Shipping Tracking",
|
| 618 |
-
"โฉ๏ธ๐ฐ Returns & Refunds Policy",
|
| 619 |
-
"๐๐๏ธ Wishlist Link",
|
| 620 |
-
"๐๐๏ธ Shopping Cart Link",
|
| 621 |
-
"๐๐๏ธ Product Catalog",
|
| 622 |
-
"๐๏ธ๐ค Service Booking Page",
|
| 623 |
-
"๐๏ธโ๏ธ Appointment Scheduling",
|
| 624 |
-
"๐๏ธ๐ Class Schedule",
|
| 625 |
-
"๐๏ธ๐ Event Calendar",
|
| 626 |
-
"๐๏ธ๐๏ธ Ticket Purchase Link",
|
| 627 |
-
"๐บ๏ธ๐ Venue Map",
|
| 628 |
-
"๐บ๐บ๏ธ Seating Chart",
|
| 629 |
-
"โก๏ธ๐ Directions to Venue",
|
| 630 |
-
"๐
ฟ๏ธ๐ Parking Information",
|
| 631 |
-
"๐๐ Public Transport Options",
|
| 632 |
-
"๐จ๐๏ธ Hotel Booking Link",
|
| 633 |
-
"โ๏ธ๐๏ธ Flight Information",
|
| 634 |
-
"๐๐๏ธ Car Rental Booking",
|
| 635 |
-
"โ๏ธ๐ก๏ธ Travel Insurance Info",
|
| 636 |
-
"๐๐ Passport Renewal Guide",
|
| 637 |
-
"๐๐ Visa Application Requirements",
|
| 638 |
-
"๐ฑ๐ Currency Exchange Rates",
|
| 639 |
-
"๐๐ค Local Customs Guide",
|
| 640 |
-
"โ ๏ธโ๏ธ Travel Advisory Updates",
|
| 641 |
-
"๐จ๐ Emergency Travel Contacts",
|
| 642 |
-
"๐งณ๐ Lost Luggage Report",
|
| 643 |
-
"๐บ๏ธ๐๏ธ Travel Itinerary",
|
| 644 |
-
"โ
๐งณ Packing Checklist",
|
| 645 |
-
"๐ฅโ๏ธ Travel Health Information",
|
| 646 |
-
"๐โ
Vaccination Requirements",
|
| 647 |
-
"๐ก๏ธโ๏ธ Travel Safety Tips",
|
| 648 |
-
"๐ฝ๏ธ๐บ๏ธ Local Cuisine Guide",
|
| 649 |
-
"๐ฝ๏ธโญ Restaurant Recommendations",
|
| 650 |
-
"โ๐บ๏ธ Cafe Directory",
|
| 651 |
-
"๐ป๐บ๏ธ Bar & Pub Guide",
|
| 652 |
-
"๐๐ Nightlife Events",
|
| 653 |
-
"๐๏ธ๐บ๏ธ Shopping Districts",
|
| 654 |
-
"๐๐บ๏ธ Local Markets",
|
| 655 |
-
"๐๐บ๏ธ Souvenir Shop Locations",
|
| 656 |
-
"๐๏ธ๐ผ๏ธ Museums & Galleries",
|
| 657 |
-
"๐๐๏ธ Historical Sites",
|
| 658 |
-
"๐ณ๐ท Parks & Gardens",
|
| 659 |
-
"๐๏ธ๐ Beaches & Lakes",
|
| 660 |
-
"โฐ๏ธ๐ฒ Hiking & Biking Trails",
|
| 661 |
-
"๐๏ธโฝ Sports Facilities",
|
| 662 |
-
"๐ค๐๏ธ Concert Venues",
|
| 663 |
-
"๐ญ๐ Theater & Performance Spaces",
|
| 664 |
-
"๐ฌโฐ Cinema Showtimes",
|
| 665 |
-
"๐๐ Library Branches",
|
| 666 |
-
"โ๏ธ๐ Post Office Locations",
|
| 667 |
-
"๐ฆ๐ง Bank & ATM Locations",
|
| 668 |
-
"๐๐บ๏ธ Pharmacy Directory",
|
| 669 |
-
"๐ฅ๐บ๏ธ Hospital & Clinic Finder",
|
| 670 |
-
"๐๐ Police Station Contact",
|
| 671 |
-
"๐๐ Fire Station Contact",
|
| 672 |
-
"๐ข๐ Embassy/Consulate Info",
|
| 673 |
-
"๐๏ธ๐ค Local Government Services",
|
| 674 |
-
"๐๏ธ๐ Public Holidays Calendar",
|
| 675 |
-
"๐ซ๐ School Directory",
|
| 676 |
-
"๐๐ University Course Catalog",
|
| 677 |
-
"๐ถ๐ Childcare Services",
|
| 678 |
-
"๐ต๐ Elderly Care Resources",
|
| 679 |
-
"โฟ๐ค Disability Support Services",
|
| 680 |
-
"โ๏ธ๐ค Legal Aid Services",
|
| 681 |
-
"๐ฐ๐ค Financial Advisor Contact",
|
| 682 |
-
"๐ก๏ธ๐ Insurance Agent Info",
|
| 683 |
-
"๐ ๐ Real Estate Agent Contact",
|
| 684 |
-
"๐ฆโ
Moving Checklist",
|
| 685 |
-
"๐ก๐ Utility Provider Contacts",
|
| 686 |
-
"๐๐ Internet Service Provider Info",
|
| 687 |
-
"๐บ๐ Cable TV Provider Info",
|
| 688 |
-
"๐๏ธ๐๏ธ Waste Collection Schedule",
|
| 689 |
-
"โป๏ธ๐ Recycling Guidelines",
|
| 690 |
-
"๐๏ธ๐ Bulk Item Pickup Request",
|
| 691 |
-
"๐งน๐๏ธ Street Cleaning Schedule",
|
| 692 |
-
"๐คซ๐ Noise Complaint Form",
|
| 693 |
-
"๐๐ Lost & Found Reporting",
|
| 694 |
-
"๐๐ Neighborhood Watch Info",
|
| 695 |
-
"๐๏ธ๐ Community Events Calendar",
|
| 696 |
-
"๐ฐ๐ Local News Feed",
|
| 697 |
-
"โ๏ธโ๏ธ Weather Forecast Link",
|
| 698 |
-
"๐ฆ๐ Traffic Updates",
|
| 699 |
-
"๐จ๐ข Public Safety Alerts",
|
| 700 |
-
"๐ก๏ธ๐ก Crime Prevention Tips",
|
| 701 |
-
"๐จ๐ Emergency Preparedness Guide",
|
| 702 |
-
"๐๐ค Disaster Relief Resources",
|
| 703 |
-
"๐ค๐ Volunteer Opportunities",
|
| 704 |
-
"๐๐ข Charitable Organizations",
|
| 705 |
-
"๐๐ฅซ Food Bank Locations",
|
| 706 |
-
"๐ ๐ค Homeless Shelter Info",
|
| 707 |
-
"๐พโค๏ธ Animal Rescue Groups",
|
| 708 |
-
"๐ณ๐ก๏ธ Environmental Protection Agencies",
|
| 709 |
-
"๐ฑ๐ค Conservation Programs",
|
| 710 |
-
"โ๏ธโก Renewable Energy Initiatives",
|
| 711 |
-
"โป๏ธ๐ Sustainable Living Tips",
|
| 712 |
-
"๐ฑ๐ข Green Building Certifications",
|
| 713 |
-
"โป๏ธ๐๏ธ Eco-Friendly Product List",
|
| 714 |
-
"๐ค๐๏ธ Fair Trade Product Info",
|
| 715 |
-
"๐๐ค Ethical Sourcing Policy",
|
| 716 |
-
"Rights๐ค Human Rights Organizations",
|
| 717 |
-
"โ๏ธ๐ค Social Justice Initiatives",
|
| 718 |
-
"๐ง ๐ Mental Health Support Hotlines",
|
| 719 |
-
"๐จ๐ค Crisis Intervention Services",
|
| 720 |
-
"๐ญ๐ค Addiction Recovery Resources",
|
| 721 |
-
"๐ค๐ฌ Support Groups Directory",
|
| 722 |
-
"๐๏ธ๐ Therapist/Counselor Finder",
|
| 723 |
-
"๐งโโ๏ธ๐ก Stress Management Techniques",
|
| 724 |
-
"๐งโโ๏ธโจ Mindfulness Exercises",
|
| 725 |
-
"๐งโโ๏ธ๐ฑ Meditation Apps",
|
| 726 |
-
"๐ด๐ก Sleep Hygiene Tips",
|
| 727 |
-
"๐๐ Healthy Eating Guide",
|
| 728 |
-
"๐ช๐๏ธ Exercise Routines",
|
| 729 |
-
"๐๏ธโโ๏ธ๐ Personal Trainer Contact",
|
| 730 |
-
"๐๏ธโโ๏ธ๐ณ Gym Membership Info",
|
| 731 |
-
"โฝ๐๏ธ Sports Team Schedule",
|
| 732 |
-
"๐๏ธ๐๏ธ Game Tickets Purchase",
|
| 733 |
-
"fanatic Fan Club Registration",
|
| 734 |
-
"๐๐๏ธ Team Merchandise Store",
|
| 735 |
-
"๐โน๏ธ Player Statistics",
|
| 736 |
-
"๐๐ League Standings",
|
| 737 |
-
"๐ฅโฝ Match Highlights Video",
|
| 738 |
-
"๐ฐโฝ Sports News Feed",
|
| 739 |
-
"๐ฎ๐ Fantasy Sports League",
|
| 740 |
-
"๐ฒ๐ฐ Betting Odds",
|
| 741 |
-
"๐ป๐ Sports Bar Locator",
|
| 742 |
-
"๐๏ธ๐๏ธ Stadium Tour Booking",
|
| 743 |
-
"๐
๐ค Athlete Bio",
|
| 744 |
-
"๐งโ๐ซ๐ฅ Coaching Staff Directory",
|
| 745 |
-
"๐๐ Team History",
|
| 746 |
-
"๐โจ Hall of Fame Inductees",
|
| 747 |
-
"๐ผ๏ธ๐ฐ Memorabilia Auction",
|
| 748 |
-
"โ๏ธ๐๏ธ Autograph Session Details",
|
| 749 |
-
"๐ค๐ Fan Meetup Info",
|
| 750 |
-
"๐๏ธ๐ Season Ticket Holder Benefits",
|
| 751 |
-
"โจ๐๏ธ VIP Experience Packages",
|
| 752 |
-
"๐ค๐ฐ Sponsorship Opportunities",
|
| 753 |
-
"๐ฐโ๏ธ Media Accreditation Form",
|
| 754 |
-
"๐ค๐๏ธ Press Conference Schedule",
|
| 755 |
-
"๐๏ธ๐ค Post-Game Interview Access",
|
| 756 |
-
"๐๐ฅ Team Roster Changes",
|
| 757 |
-
"๐ฉน๐ Injury Report",
|
| 758 |
-
"๐๐ฌ Trade Rumors",
|
| 759 |
-
"๐๐ก Draft Pick Analysis",
|
| 760 |
-
"๐๐ Scouting Reports",
|
| 761 |
-
"๐ถโฝ Youth Sports Programs",
|
| 762 |
-
"๐งโ๐ซ๐ Coaching Certification Courses",
|
| 763 |
-
"โ๏ธ๐ Referee Training Programs",
|
| 764 |
-
"๐๏ธโฝ Sports Equipment Store",
|
| 765 |
-
"๐๐๏ธ Sports Apparel Shop",
|
| 766 |
-
"๐๐ช Nutritional Supplements Info",
|
| 767 |
-
"๐ฅ๐ฉน Sports Injury Clinic",
|
| 768 |
-
"๐ถโโ๏ธ๐ฉน Physical Therapy Services",
|
| 769 |
-
"๐ง ๐ช Sports Psychology Resources",
|
| 770 |
-
"๐๐งโ๐ซ Performance Coaching",
|
| 771 |
-
"๐
โ๏ธ Athlete Sponsorship Application",
|
| 772 |
-
"๐๐ฐ Sports Scholarship Info",
|
| 773 |
-
"๐ฌ๐ช Sports Science Research",
|
| 774 |
-
"๐ฌ๐ถ Biomechanics Lab Access",
|
| 775 |
-
"๐๐ป Sports Analytics Tools",
|
| 776 |
-
"โ๐ช Wearable Tech for Athletes",
|
| 777 |
-
"๐ด๐ฉน Recovery Techniques",
|
| 778 |
-
"๐ง๐ก Hydration Guidelines",
|
| 779 |
-
"๐ดโจ Sleep Optimization Tips",
|
| 780 |
-
"๐ชโฐ Pre-Workout Routine",
|
| 781 |
-
"๐ฝ๏ธ๐ช Post-Workout Meal Ideas",
|
| 782 |
-
"๐ก๏ธ๐ช Injury Prevention Exercises",
|
| 783 |
-
"๐ฅ๐ช Warm-up Drills",
|
| 784 |
-
"๐ฌ๏ธ๐ง Cool-down Stretches",
|
| 785 |
-
"๐๐ช Cross-Training Ideas",
|
| 786 |
-
"๐๏ธโโ๏ธ๐๏ธ Strength Training Program",
|
| 787 |
-
"๐โโ๏ธ๐๏ธ Cardio Workout Plan",
|
| 788 |
-
"๐คธโโ๏ธ๐ง Flexibility Exercises",
|
| 789 |
-
"โ๏ธ๐คธ Balance Training Drills",
|
| 790 |
-
"โก๐ Agility Training Drills",
|
| 791 |
-
"๐จ๐ Speed Training Workouts",
|
| 792 |
-
"wytrwaลoลฤ Endurance Training Tips",
|
| 793 |
-
"๐ฅ๐ช Plyometric Exercises",
|
| 794 |
-
"๐ช๐ง Core Strength Workouts",
|
| 795 |
-
"๐ชโฌ๏ธ Upper Body Workout",
|
| 796 |
-
"๐ชโฌ๏ธ Lower Body Workout",
|
| 797 |
-
"๐ช๐ Full Body Workout",
|
| 798 |
-
"๐ด๐ณ Rest Day Activities",
|
| 799 |
-
"๐ถโโ๏ธ๐ฉน Active Recovery Ideas",
|
| 800 |
-
"๐งโโ๏ธ๐คธ Stretching Routine",
|
| 801 |
-
"roll Foam Rolling Techniques",
|
| 802 |
-
"๐โโ๏ธ๐๏ธ Massage Therapy Booking",
|
| 803 |
-
"โ๏ธ๐ฉน Cryotherapy Benefits",
|
| 804 |
-
"๐งโโ๏ธ๐ฅ Sauna Session Info",
|
| 805 |
-
"๐ง๐ฉน Hydrotherapy Benefits",
|
| 806 |
-
"๐๐ฉน Acupuncture Clinic",
|
| 807 |
-
"๐ฆด๐ Chiropractor Contact",
|
| 808 |
-
"๐ถโโ๏ธ๐ Physical Therapist Contact",
|
| 809 |
-
"๐ฅ๐ Sports Doctor Contact",
|
| 810 |
-
"๐ฅ๐ Dietitian Consultation",
|
| 811 |
-
"๐๐ Sports Nutritionist",
|
| 812 |
-
"๐ง ๐งโ๐ซ Mental Performance Coach",
|
| 813 |
-
"๐ง ๐ Sports Psychologist",
|
| 814 |
-
"๐งโโ๏ธ๐ช Yoga for Athletes",
|
| 815 |
-
"๐คธโโ๏ธ๐ช Pilates for Core Strength",
|
| 816 |
-
"๐๏ธโโ๏ธ๐๏ธ CrossFit WODs",
|
| 817 |
-
"โฑ๏ธ๐ช HIIT Workout Examples",
|
| 818 |
-
"โฑ๏ธ๐๏ธโโ๏ธ Tabata Training Guide",
|
| 819 |
-
"๐๐ช Circuit Training Ideas",
|
| 820 |
-
"๐คธโโ๏ธ๐ช Bodyweight Exercises",
|
| 821 |
-
"elastic Resistance Band Workouts",
|
| 822 |
-
"kettlebell Kettlebell Training",
|
| 823 |
-
"dumbbell Dumbbell Exercises",
|
| 824 |
-
"barbell Barbell Workouts",
|
| 825 |
-
"โ๏ธ๐ช Gym Machine Guide",
|
| 826 |
-
"๐ณ๐ช Outdoor Workout Spots",
|
| 827 |
-
"๐โโ๏ธ๐บ๏ธ Running Routes",
|
| 828 |
-
"๐ฒ๐บ๏ธ Cycling Trails",
|
| 829 |
-
"๐โโ๏ธ๐๏ธ Swimming Pool Schedule",
|
| 830 |
-
"๐๐ Basketball Court Locator",
|
| 831 |
-
"๐พ๐๏ธ Tennis Court Booking",
|
| 832 |
-
"๐๐ Volleyball Court Info",
|
| 833 |
-
"๐ธ๐๏ธ Badminton Court Booking",
|
| 834 |
-
"squash Squash Court Booking",
|
| 835 |
-
"๐๐ Table Tennis Club",
|
| 836 |
-
"๐ณ๐ Bowling Alley Info",
|
| 837 |
-
"โธ๏ธ๐ Ice Skating Rink",
|
| 838 |
-
"๐ผ๐ Roller Skating Rink",
|
| 839 |
-
"๐น๐ Skate Park Location",
|
| 840 |
-
"๐งโโ๏ธ๐ Climbing Wall Gym",
|
| 841 |
-
"๐งโโ๏ธ๐ Bouldering Gym",
|
| 842 |
-
"๐ฅ๐ Martial Arts Dojo",
|
| 843 |
-
"๐ฅ๐ Boxing Gym",
|
| 844 |
-
"๐คบ๐ Fencing Club",
|
| 845 |
-
"๐น๐ Archery Range",
|
| 846 |
-
"๐ซ๐ Shooting Range",
|
| 847 |
-
"โณ๐๏ธ Golf Course Booking",
|
| 848 |
-
"โณ๐ Mini Golf Course",
|
| 849 |
-
"๐๏ธโโ๏ธ๐ Driving Range",
|
| 850 |
-
"๐๐๏ธ Horse Riding Lessons",
|
| 851 |
-
"๐๐ Equestrian Center",
|
| 852 |
-
];
|
| 853 |
-
|
| 854 |
// --- Main App component ---
|
| 855 |
const App = () => {
|
| 856 |
const [activeTab, setActiveTab] = useState('generator');
|
|
@@ -861,12 +260,16 @@ const App = () => {
|
|
| 861 |
const [selectedStyleIndex, setSelectedStyleIndex] = useState(0);
|
| 862 |
const [currentTheme, setCurrentTheme] = useState('dark');
|
| 863 |
const [isSummarizing, setIsSummarizing] = useState(false);
|
| 864 |
-
const [suggestedIdea, setSuggestedIdea] = useState('');
|
| 865 |
-
const [showSuggestedIdea, setShowSuggestedIdea] = useState(false);
|
| 866 |
const [alertMessage, setAlertMessage] = useState(null);
|
| 867 |
const [isInputFocused, setIsInputFocused] = useState(false);
|
| 868 |
const [downloadResolution, setDownloadResolution] = useState(512);
|
| 869 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 870 |
const qrCanvasRef = useRef(null);
|
| 871 |
const styleCanvasRefs = useRef(Array(12).fill(null));
|
| 872 |
|
|
@@ -1203,16 +606,43 @@ const App = () => {
|
|
| 1203 |
}
|
| 1204 |
};
|
| 1205 |
|
| 1206 |
-
//
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1207 |
const suggestIdeas = () => {
|
| 1208 |
-
if (
|
| 1209 |
-
const randomIndex = Math.floor(Math.random() *
|
| 1210 |
-
const randomIdea =
|
| 1211 |
setSuggestedIdea(randomIdea); // Display the randomly selected idea
|
| 1212 |
setContent(randomIdea); // Set the QR content to the suggested idea
|
| 1213 |
setShowSuggestedIdea(true); // Ensure the ideas panel is shown
|
| 1214 |
} else {
|
| 1215 |
-
setSuggestedIdea("No ideas
|
| 1216 |
setShowSuggestedIdea(true);
|
| 1217 |
}
|
| 1218 |
};
|
|
@@ -1256,14 +686,14 @@ const App = () => {
|
|
| 1256 |
content={content} setContent={setContent}
|
| 1257 |
errorLevel={errorLevel} setErrorLevel={setErrorLevel}
|
| 1258 |
qrColor={qrColor} setQrColor={setQrColor}
|
| 1259 |
-
suggestIdeas={suggestIdeas}
|
| 1260 |
downloadQrCode={downloadQrCode} qrCanvasRef={qrCanvasRef}
|
| 1261 |
isInputFocused={isInputFocused} setIsInputFocused={setIsInputFocused}
|
| 1262 |
currentThemeClasses={currentThemeClasses}
|
| 1263 |
qrStyles={qrStyles} selectedStyleIndex={selectedStyleIndex}
|
| 1264 |
setSelectedStyleIndex={setSelectedStyleIndex} styleCanvasRefs={styleCanvasRefs}
|
| 1265 |
drawQrCode={drawQrCode}
|
| 1266 |
-
suggestedIdea={suggestedIdea} showSuggestedIdea={showSuggestedIdea} setShowSuggestedIdea={setShowSuggestedIdea}
|
| 1267 |
downloadResolution={downloadResolution} setDownloadResolution={setDownloadResolution}
|
| 1268 |
/>
|
| 1269 |
)}
|
|
|
|
| 27 |
suggestIdeas, downloadQrCode, qrCanvasRef,
|
| 28 |
isInputFocused, setIsInputFocused, currentThemeClasses,
|
| 29 |
qrStyles, selectedStyleIndex, setSelectedStyleIndex, styleCanvasRefs, drawQrCode,
|
| 30 |
+
suggestedIdea, showSuggestedIdea, setShowSuggestedIdea,
|
| 31 |
downloadResolution, setDownloadResolution
|
| 32 |
}) => {
|
| 33 |
// Effect to generate QR code on the main canvas (Generator Tab)
|
|
|
|
| 83 |
</div>
|
| 84 |
|
| 85 |
{/* Suggested Ideas Panel */}
|
| 86 |
+
{showSuggestedIdea && suggestedIdea && (
|
| 87 |
<div className={`mt-4 p-4 rounded-xl border ${currentThemeClasses.glassBorder} ${currentThemeClasses.glassBg} shadow-inner transition-all duration-300 overflow-hidden`}>
|
| 88 |
<div className="flex justify-between items-center cursor-pointer" onClick={() => setShowSuggestedIdea(!showSuggestedIdea)}>
|
| 89 |
<label className={`font-semibold ${currentThemeClasses.labelColor} font-inter`}>Suggested QR Idea:</label>
|
|
|
|
| 250 |
);
|
| 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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 253 |
// --- Main App component ---
|
| 254 |
const App = () => {
|
| 255 |
const [activeTab, setActiveTab] = useState('generator');
|
|
|
|
| 260 |
const [selectedStyleIndex, setSelectedStyleIndex] = useState(0);
|
| 261 |
const [currentTheme, setCurrentTheme] = useState('dark');
|
| 262 |
const [isSummarizing, setIsSummarizing] = useState(false);
|
| 263 |
+
const [suggestedIdea, setSuggestedIdea] = useState('');
|
| 264 |
+
const [showSuggestedIdea, setShowSuggestedIdea] = useState(false);
|
| 265 |
const [alertMessage, setAlertMessage] = useState(null);
|
| 266 |
const [isInputFocused, setIsInputFocused] = useState(false);
|
| 267 |
const [downloadResolution, setDownloadResolution] = useState(512);
|
| 268 |
|
| 269 |
+
// State to hold the fetched ideas
|
| 270 |
+
const [allSuggestedIdeas, setAllSuggestedIdeas] = useState([]);
|
| 271 |
+
const [isFetchingIdeas, setIsFetchingIdeas] = useState(false); // New loading state for fetching ideas
|
| 272 |
+
|
| 273 |
const qrCanvasRef = useRef(null);
|
| 274 |
const styleCanvasRefs = useRef(Array(12).fill(null));
|
| 275 |
|
|
|
|
| 606 |
}
|
| 607 |
};
|
| 608 |
|
| 609 |
+
// Effect to fetch ideas from JSON file on component mount
|
| 610 |
+
useEffect(() => {
|
| 611 |
+
const fetchIdeas = async () => {
|
| 612 |
+
setIsFetchingIdeas(true);
|
| 613 |
+
try {
|
| 614 |
+
const response = await fetch('suggestedIdeas.json');
|
| 615 |
+
if (!response.ok) {
|
| 616 |
+
throw new Error(`HTTP error! status: ${response.status}`);
|
| 617 |
+
}
|
| 618 |
+
const data = await response.json();
|
| 619 |
+
if (Array.isArray(data)) {
|
| 620 |
+
setAllSuggestedIdeas(data);
|
| 621 |
+
} else {
|
| 622 |
+
console.error("suggestedIdeas.json is not an array:", data);
|
| 623 |
+
showAlert("Error: Ideas file is not correctly formatted. Expected a JSON array.");
|
| 624 |
+
}
|
| 625 |
+
} catch (error) {
|
| 626 |
+
console.error("Error fetching suggested ideas from JSON:", error);
|
| 627 |
+
showAlert(`Error loading ideas: ${error.message}. Please ensure 'suggestedIdeas.json' exists and is valid JSON.`);
|
| 628 |
+
} finally {
|
| 629 |
+
setIsFetchingIdeas(false);
|
| 630 |
+
}
|
| 631 |
+
};
|
| 632 |
+
|
| 633 |
+
fetchIdeas();
|
| 634 |
+
}, []); // Empty dependency array means this runs once on mount
|
| 635 |
+
|
| 636 |
+
// Function to suggest ideas for QR code generation from the fetched JSON array
|
| 637 |
const suggestIdeas = () => {
|
| 638 |
+
if (allSuggestedIdeas.length > 0) {
|
| 639 |
+
const randomIndex = Math.floor(Math.random() * allSuggestedIdeas.length);
|
| 640 |
+
const randomIdea = allSuggestedIdeas[randomIndex];
|
| 641 |
setSuggestedIdea(randomIdea); // Display the randomly selected idea
|
| 642 |
setContent(randomIdea); // Set the QR content to the suggested idea
|
| 643 |
setShowSuggestedIdea(true); // Ensure the ideas panel is shown
|
| 644 |
} else {
|
| 645 |
+
setSuggestedIdea(isFetchingIdeas ? "Loading ideas..." : "No ideas loaded. Check console for errors or add ideas to suggestedIdeas.json.");
|
| 646 |
setShowSuggestedIdea(true);
|
| 647 |
}
|
| 648 |
};
|
|
|
|
| 686 |
content={content} setContent={setContent}
|
| 687 |
errorLevel={errorLevel} setErrorLevel={setErrorLevel}
|
| 688 |
qrColor={qrColor} setQrColor={setQrColor}
|
| 689 |
+
suggestIdeas={suggestIdeas}
|
| 690 |
downloadQrCode={downloadQrCode} qrCanvasRef={qrCanvasRef}
|
| 691 |
isInputFocused={isInputFocused} setIsInputFocused={setIsInputFocused}
|
| 692 |
currentThemeClasses={currentThemeClasses}
|
| 693 |
qrStyles={qrStyles} selectedStyleIndex={selectedStyleIndex}
|
| 694 |
setSelectedStyleIndex={setSelectedStyleIndex} styleCanvasRefs={styleCanvasRefs}
|
| 695 |
drawQrCode={drawQrCode}
|
| 696 |
+
suggestedIdea={suggestedIdea} showSuggestedIdea={showSuggestedIdea} setShowSuggestedIdea={setShowSuggestedIdea}
|
| 697 |
downloadResolution={downloadResolution} setDownloadResolution={setDownloadResolution}
|
| 698 |
/>
|
| 699 |
)}
|