Spaces:
Running
Running
Download index.html from Mushaima/consultancy-options: direct link, hf CLI and curl.
- Browser
- Download file 22.3 kB
-
https://huggingface.co/spaces/Mushaima/consultancy-options/resolve/main/index.html
- Command line
-
hf download hf://spaces/Mushaima/consultancy-options/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Mushaima/consultancy-options/resolve/main/index.html
22.3 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Adding Activity to Swan Options</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet"> | |
| <style> | |
| body { | |
| font-family: 'Inter', sans-serif; | |
| } | |
| .nav-link.active { | |
| background-color: #e0f2fe; | |
| color: #0284c7; | |
| font-weight: 600; | |
| } | |
| .nav-link.parent-category.active { | |
| background-color: #dbeafe; | |
| color: #1d4ed8; | |
| } | |
| .tab-content { | |
| display: none; | |
| } | |
| .tab-content.active { | |
| display: block; | |
| animation: fadeIn 0.5s ease-in-out; | |
| } | |
| @keyframes fadeIn { | |
| from { opacity: 0; transform: translateY(10px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-slate-50 text-slate-800"> | |
| <div class="container mx-auto p-4 md:p-8"> | |
| <header class="text-center mb-8"> | |
| <h1 class="text-3xl md:text-4xl font-bold text-slate-900">Adding Activity to Swan Options</h1> | |
| <p class="mt-2 text-lg text-slate-600">Your Guide to Expanding Consultancy Activities in Bahrain</p> | |
| </header> | |
| <div class="md:flex md:space-x-8"> | |
| <!-- Vertical Tab Navigation --> | |
| <nav class="md:w-1/4 lg:w-1/5 mb-8 md:mb-0 flex-shrink-0"> | |
| <div class="space-y-2 sticky top-8"> | |
| <a href="#" class="nav-link parent-category active flex items-center p-3 rounded-lg font-semibold text-slate-700 hover:bg-slate-100 transition-colors" data-tab="all-options"> | |
| All Options | |
| </a> | |
| <div> | |
| <a href="#" class="nav-link parent-category flex items-center p-3 rounded-lg font-semibold text-slate-700 hover:bg-slate-100 transition-colors mt-4" data-tab="general-business">General Business & Management</a> | |
| <div class="pl-4 mt-1 space-y-1 border-l-2 border-slate-200 ml-3"> | |
| <a href="#" class="nav-link block p-2 rounded-md text-slate-600 hover:bg-slate-100" data-tab="management-consultancy">Management Consultancy</a> | |
| <a href="#" class="nav-link block p-2 rounded-md text-slate-600 hover:bg-slate-100" data-tab="public-relations">Public Relations</a> | |
| </div> | |
| </div> | |
| <div> | |
| <a href="#" class="nav-link parent-category flex items-center p-3 rounded-lg font-semibold text-slate-700 hover:bg-slate-100" data-tab="financial-advisory">Financial & Accounting Advisory</a> | |
| <div class="pl-4 mt-1 space-y-1 border-l-2 border-slate-200 ml-3"> | |
| <a href="#" class="nav-link block p-2 rounded-md text-slate-600 hover:bg-slate-100" data-tab="insurance-consultancy">Insurance Consultants</a> | |
| <a href="#" class="nav-link block p-2 rounded-md text-slate-600 hover:bg-slate-100" data-tab="insurance-managers">Insurance Managers</a> | |
| </div> | |
| </div> | |
| <div> | |
| <a href="#" class="nav-link parent-category flex items-center p-3 rounded-lg font-semibold text-slate-700 hover:bg-slate-100" data-tab="professional-technical">Professional, Scientific & Technical</a> | |
| <div class="pl-4 mt-1 space-y-1 border-l-2 border-slate-200 ml-3"> | |
| <a href="#" class="nav-link block p-2 rounded-md text-slate-600 hover:bg-slate-100" data-tab="it-consultancy">Computer (IT) Consultancy</a> | |
| </div> | |
| </div> | |
| </div> | |
| </nav> | |
| <!-- Tab Content --> | |
| <main id="tab-content-container" class="md:w-3/4 lg:w-4/5"> | |
| <!-- All Options Tab --> | |
| <div id="all-options" class="tab-content active"> | |
| <h2 class="text-2xl font-semibold mb-6 text-slate-900">Selected Consultancy Options</h2> | |
| <div class="space-y-8"> | |
| <!-- General Business & Management --> | |
| <div class="bg-white p-6 rounded-xl shadow-sm border border-slate-200"> | |
| <h3 class="text-xl font-bold text-sky-600 mb-2">General Business & Management</h3> | |
| <p class="text-slate-600 mb-4">Activities focused on strategic planning, communications, and operational advice.</p> | |
| <div class="grid sm:grid-cols-2 lg:grid-cols-3 gap-2"> | |
| <a href="#" class="block w-full text-left p-3 rounded-lg bg-slate-50 border border-slate-200 hover:bg-blue-100 hover:border-blue-300 transition-all duration-200" data-tab-link="management-consultancy">Management consultancy activities</a> | |
| <a href="#" class="block w-full text-left p-3 rounded-lg bg-slate-50 border border-slate-200 hover:bg-blue-100 hover:border-blue-300 transition-all duration-200" data-tab-link="public-relations">Public Relations</a> | |
| </div> | |
| </div> | |
| <!-- Financial & Accounting Advisory --> | |
| <div class="bg-white p-6 rounded-xl shadow-sm border border-slate-200"> | |
| <h3 class="text-xl font-bold text-red-600 mb-2">Financial & Accounting Advisory</h3> | |
| <p class="text-slate-600 mb-4">Specialized, CBB-regulated fields requiring extensive licensing for insurance-related services.</p> | |
| <div class="grid sm:grid-cols-2 lg:grid-cols-3 gap-2"> | |
| <a href="#" class="block w-full text-left p-3 rounded-lg bg-slate-50 border border-slate-200 hover:bg-blue-100 hover:border-blue-300 transition-all duration-200" data-tab-link="insurance-consultancy">Insurance Consultants</a> | |
| <a href="#" class="block w-full text-left p-3 rounded-lg bg-slate-50 border border-slate-200 hover:bg-blue-100 hover:border-blue-300 transition-all duration-200" data-tab-link="insurance-managers">Insurance Managers</a> | |
| </div> | |
| </div> | |
| <!-- Professional, Scientific & Technical --> | |
| <div class="bg-white p-6 rounded-xl shadow-sm border border-slate-200"> | |
| <h3 class="text-xl font-bold text-amber-600 mb-2">Professional, Scientific & Technical</h3> | |
| <p class="text-slate-600 mb-4">Activities focused on providing expertise in technology and systems management.</p> | |
| <div class="grid sm:grid-cols-2 lg:grid-cols-3 gap-2"> | |
| <a href="#" class="block w-full text-left p-3 rounded-lg bg-slate-50 border border-slate-200 hover:bg-blue-100 hover:border-blue-300 transition-all duration-200" data-tab-link="it-consultancy">Computer (IT) Consultancy and computer facilities management activities</a> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Other Rejected Options --> | |
| <div class="mt-12 pt-8 border-t border-slate-200"> | |
| <h3 class="text-xl font-semibold text-slate-700 mb-4">Other Options Considered</h3> | |
| <p class="text-slate-600 mb-4">The following activities were reviewed but not selected for detailed analysis:</p> | |
| <div class="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-3 text-sm"> | |
| <div class="p-3 bg-slate-100 rounded-md text-slate-500">Activities of Head Offices</div> | |
| <div class="p-3 bg-slate-100 rounded-md text-slate-500">Shari'a Advisory Services</div> | |
| <div class="p-3 bg-slate-100 rounded-md text-slate-500">Tax Advisory Services</div> | |
| <div class="p-3 bg-slate-100 rounded-md text-slate-500">Architectural & Engineering</div> | |
| <div class="p-3 bg-slate-100 rounded-md text-slate-500">Environment Consultancy</div> | |
| <div class="p-3 bg-slate-100 rounded-md text-slate-500">Foreign Legal Consultancy</div> | |
| <div class="p-3 bg-slate-100 rounded-md text-slate-500">Security Consulting</div> | |
| <div class="p-3 bg-slate-100 rounded-md text-slate-500">Tourism Consultancy</div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Template for a generic tab with back button --> | |
| <div class="hidden" id="tab-template"> | |
| <button class="back-to-main-btn mb-6 inline-flex items-center text-sm font-medium text-blue-600 hover:text-blue-800 transition-colors" data-tab-link="all-options"> | |
| <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="mr-2"><line x1="19" y1="12" x2="5" y2="12"></line><polyline points="12 19 5 12 12 5"></polyline></svg> | |
| Back to All Options | |
| </button> | |
| </div> | |
| <!-- CONTENT TABS WILL BE POPULATED HERE BY SCRIPT --> | |
| <div id="general-business" class="tab-content"></div> | |
| <div id="financial-advisory" class="tab-content"></div> | |
| <div id="professional-technical" class="tab-content"></div> | |
| <div id="management-consultancy" class="tab-content"></div> | |
| <div id="public-relations" class="tab-content"></div> | |
| <div id="insurance-consultancy" class="tab-content"></div> | |
| <div id="insurance-managers" class="tab-content"></div> | |
| <div id="it-consultancy" class="tab-content"></div> | |
| </main> | |
| </div> | |
| </div> | |
| <script> | |
| document.addEventListener('DOMContentLoaded', function () { | |
| const navLinks = document.querySelectorAll('.nav-link, [data-tab-link]'); | |
| const tabContents = document.querySelectorAll('.tab-content'); | |
| const tabTemplate = document.getElementById('tab-template').innerHTML; | |
| const activitiesData = { | |
| // Parent Categories | |
| 'general-business': { | |
| title: 'General Business & Management', | |
| subtitle: 'This category includes activities focused on providing strategic and operational advice to improve business performance and public image.', | |
| content: `<div class="bg-white p-6 rounded-lg shadow-sm border border-slate-200"> | |
| <p class="text-slate-700">These activities generally fall under the Ministry of Industry & Commerce (MOIC), but some, like Public Relations, require additional approvals from other government bodies. They are foundational services for businesses looking to grow, streamline operations, or manage their reputation.</p> | |
| </div>` | |
| }, | |
| 'financial-advisory': { | |
| title: 'Financial & Accounting Advisory', | |
| subtitle: 'This category covers highly specialized and regulated services within the insurance sector, overseen by the Central Bank of Bahrain (CBB).', | |
| content: `<div class="bg-white p-6 rounded-lg shadow-sm border border-slate-200"> | |
| <p class="text-slate-700">Operating in this space requires a rigorous licensing process, significant capital, and adherence to strict regulatory frameworks set by the CBB. These activities are critical for the integrity and stability of the financial market.</p> | |
| </div>` | |
| }, | |
| 'professional-technical': { | |
| title: 'Professional, Scientific & Technical', | |
| subtitle: 'This category is for activities that provide specialized knowledge and technical expertise, particularly in the field of information technology.', | |
| content: `<div class="bg-white p-6 rounded-lg shadow-sm border border-slate-200"> | |
| <p class="text-slate-700">These services are typically regulated by the MOIC and are essential for businesses navigating the complexities of the digital landscape, from infrastructure planning to systems management.</p> | |
| </div>` | |
| }, | |
| // Child Activities | |
| 'management-consultancy': { | |
| title: 'Activity: Management Consultancy', | |
| subtitle: 'ISIC4 Code: 7020 | A broad activity requiring MOIC approval.', | |
| description: 'Provides advisory services to businesses on a wide range of management issues, such as strategic planning, financial management, marketing, human resources, and operational efficiency.', | |
| limitations: [ | |
| 'Cannot provide regulated financial advice that requires a CBB license (e.g., investment advice).', | |
| 'Cannot provide insurance brokerage or consultancy services.', | |
| 'Cannot offer legal or tax advisory services unless separately licensed.' | |
| ], | |
| timeline: '1-3 Business Days', | |
| cost: 'BHD 120', | |
| timelineColor: 'text-blue-600', | |
| costColor: 'text-blue-600' | |
| }, | |
| 'public-relations': { | |
| title: 'Activity: Public Relations', | |
| subtitle: 'ISIC4 Code: 70209 | Requires external approval from the Ministry of Information Affairs (MIA).', | |
| description: 'Managing the public image and communications for clients. This includes writing press releases, managing media relations, organizing events, and developing communication strategies to build a positive reputation.', | |
| limitations: [ | |
| 'Cannot engage in advertising activities, which falls under a different license.', | |
| 'Cannot publish newspapers or magazines without a specific publishing license.', | |
| 'All content must comply with the regulations set by the Ministry of Information Affairs.' | |
| ], | |
| timeline: 'Variable (Depends on MIA)', | |
| cost: 'BHD 120 (MOIC)', | |
| timelineColor: 'text-amber-600', | |
| costColor: 'text-blue-600' | |
| }, | |
| 'insurance-consultancy': { | |
| title: 'Activity: Insurance Consultants', | |
| subtitle: 'ISIC4 Code: 6629-2 | A highly regulated activity under the Central Bank of Bahrain (CBB).', | |
| description: 'Providing objective advice on insurance matters. This includes assessing clients\' insurance needs, explaining policy terms, and recommending suitable insurance products from various providers without acting as a direct sales agent for any single insurer.', | |
| limitations: [ | |
| 'Cannot sell or bind insurance policies; this requires an Insurance Broker license.', | |
| 'Cannot handle client money or premiums.', | |
| 'Must not have exclusive ties to any insurance company to ensure impartiality.' | |
| ], | |
| timeline: '3 - 6 Months', | |
| cost: 'BHD 2,720 - 13,720+', | |
| timelineColor: 'text-red-600', | |
| costColor: 'text-red-600' | |
| }, | |
| 'insurance-managers': { | |
| title: 'Activity: Insurance Managers', | |
| subtitle: 'ISIC4 Code: 6621 | A highly regulated activity under the Central Bank of Bahrain (CBB).', | |
| description: 'Manages the underwriting, administration, and claims processing functions of insurance companies, syndicates, or large corporate insurance programs, often on an outsourced basis. This includes managing capital, solvency, and reinsurance arrangements.', | |
| limitations: [ | |
| 'Cannot sell insurance directly to the public; they manage the business of insurers, not the sales process.', | |
| 'Cannot provide services to non-insurance entities.', | |
| 'Requires substantial capital and must adhere to CBB directives on solvency and risk management.' | |
| ], | |
| timeline: '6 - 9 Months', | |
| cost: 'Very High (Substantial Capital Required)', | |
| timelineColor: 'text-red-600', | |
| costColor: 'text-red-600' | |
| }, | |
| 'it-consultancy': { | |
| title: 'Activity: Computer (IT) Consultancy and Facilities Management', | |
| subtitle: 'ISIC4 Code: 6202 / 6203 | A generally unrestricted activity under the MOIC.', | |
| description: 'Involves providing expert advice on IT strategy, infrastructure, and cybersecurity. It also includes the on-site management and operation of clients\' computer systems and/or data processing facilities.', | |
| limitations: [ | |
| 'Does not typically cover the selling of hardware/software unless a trading activity is also added.', | |
| 'Cannot engage in telecommunications services that require a TRA license.', | |
| 'Does not cover developing custom software for sale (this falls under a different activity).' | |
| ], | |
| timeline: '1-3 Business Days', | |
| cost: 'BHD 120', | |
| timelineColor: 'text-blue-600', | |
| costColor: 'text-blue-600' | |
| }, | |
| }; | |
| function generateActivityContent(data) { | |
| let limitationsList = data.limitations ? ` | |
| <h4 class="font-semibold text-slate-800 mb-2">Key Limitations</h4> | |
| <ul class="list-disc list-inside space-y-1 text-slate-600"> | |
| ${data.limitations.map(item => `<li>${item}</li>`).join('')} | |
| </ul>` : ''; | |
| return ` | |
| <div class="bg-white p-6 rounded-lg shadow-sm border border-slate-200"> | |
| <div class="grid md:grid-cols-3 gap-8"> | |
| <div class="md:col-span-2"> | |
| <h3 class="text-lg font-semibold mb-3 text-slate-800">Activity Description</h3> | |
| <p class="text-slate-600 mb-6">${data.description}</p> | |
| ${limitationsList} | |
| </div> | |
| <div class="space-y-4 bg-slate-50 p-4 rounded-lg self-start"> | |
| <div> | |
| <h4 class="font-semibold text-slate-800">Timeline</h4> | |
| <p class="${data.timelineColor} font-bold text-xl">${data.timeline}</p> | |
| </div> | |
| <div> | |
| <h4 class="font-semibold text-slate-800">Cost</h4> | |
| <p class="${data.costColor} font-bold text-xl">${data.cost}</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| `; | |
| } | |
| function renderTabContent(tabId) { | |
| const targetDiv = document.getElementById(tabId); | |
| if (!targetDiv || tabId === 'all-options') return; // Do not re-render the static main page | |
| const data = activitiesData[tabId]; | |
| if (!data) { | |
| targetDiv.innerHTML = '<p>Content not available.</p>'; | |
| return; | |
| } | |
| let contentHtml; | |
| if(data.limitations) { // It's a child activity | |
| contentHtml = generateActivityContent(data); | |
| } else { // It's a parent category | |
| contentHtml = data.content; | |
| } | |
| targetDiv.innerHTML = ` | |
| ${tabTemplate} | |
| <h2 class="text-2xl font-semibold mb-2 text-slate-900">${data.title}</h2> | |
| <p class="mb-6 text-slate-600">${data.subtitle || ''}</p> | |
| ${contentHtml} | |
| `; | |
| targetDiv.querySelectorAll('[data-tab-link]').forEach(link => { | |
| link.addEventListener('click', handleLinkClick); | |
| }); | |
| } | |
| function switchTab(tabId) { | |
| navLinks.forEach(link => { | |
| const linkTab = link.dataset.tab || link.dataset.tabLink; | |
| link.classList.toggle('active', linkTab === tabId); | |
| }); | |
| tabContents.forEach(content => { | |
| if (content.id === tabId) { | |
| renderTabContent(tabId); | |
| content.classList.add('active'); | |
| } else { | |
| content.classList.remove('active'); | |
| } | |
| }); | |
| } | |
| function handleLinkClick(e) { | |
| e.preventDefault(); | |
| const tabId = this.dataset.tab || this.dataset.tabLink; | |
| switchTab(tabId); | |
| window.scrollTo({ top: 0, behavior: 'smooth' }); | |
| } | |
| navLinks.forEach(link => { | |
| link.addEventListener('click', handleLinkClick); | |
| }); | |
| }); | |
| </script> | |
| </body> | |
| </html> | |