Employee Handbook Generator
Run ID: 69cbf42761b1021a29a8de682026-03-31HR
PantheraHive BOS
BOS Dashboard

Generate a comprehensive employee handbook with company policies, benefits overview, code of conduct, leave policies, and compliance sections.

Employee Handbook Generator - Step 1: Analyze Requirements

This document outlines the comprehensive requirements analysis for generating a professional and effective Employee Handbook. It covers the core content, design specifications, wireframe descriptions, color palette recommendations, and user experience (UX) considerations to ensure the handbook is informative, compliant, and user-friendly.


1. Functional Requirements: Comprehensive Handbook Content

The employee handbook will be structured to cover all essential aspects of employment, company culture, and policies.

  • Welcome & Introduction:

* Welcome message from leadership.

* Company mission, vision, and values.

* Brief company history and culture statement.

* Purpose of the handbook and disclaimers (e.g., at-will employment, not a contract).

  • Employment Basics:

* Equal Employment Opportunity (EEO) statement.

* Anti-discrimination and anti-harassment policies.

* Employment classifications (full-time, part-time, temporary).

* Onboarding and probation periods.

* Background checks and pre-employment screening.

  • Code of Conduct & Ethics:

* Professionalism and workplace behavior.

* Confidentiality and non-disclosure agreements.

* Conflict of interest.

* Data privacy and security.

* Reporting unethical behavior (whistleblower policy).

* Intellectual property.

  • Workplace Policies:

* Attendance and punctuality.

* Dress code and appearance.

* Workplace health and safety (OSHA compliance).

* Drug-free workplace policy.

* Workplace violence prevention.

* Smoking policy.

* Use of company property (equipment, vehicles).

* IT, email, internet, and social media usage policies.

* Remote work/hybrid work policies (if applicable).

* Visitors in the workplace.

  • Compensation & Benefits:

* Pay periods and methods.

* Overtime policy.

* Performance reviews and merit increases.

* Health, dental, and vision insurance overview.

* Retirement plans (e.g., 401k).

* Life and disability insurance.

* Employee assistance programs (EAP).

* Other benefits (e.g., wellness programs, tuition reimbursement).

  • Leave Policies:

* Paid Time Off (PTO) / Vacation policy.

* Sick leave policy.

* Company holidays.

* Family and Medical Leave Act (FMLA) policy.

* Parental leave (maternity/paternity).

* Bereavement leave.

* Jury duty leave.

* Military leave.

* Personal leave of absence.

  • Performance Management & Development:

* Performance review process.

* Disciplinary action and corrective procedures.

* Grievance and complaint resolution process.

* Training and development opportunities.

  • Separation of Employment:

* Voluntary resignation procedures.

* Involuntary termination procedures.

* Exit interviews.

* Return of company property.

* COBRA and benefits continuation.

  • Compliance & Legal Disclaimers:

* Disclaimer that the handbook is for guidance and not a contract.

* Acknowledgement that policies may be modified.

* Contact information for HR/relevant departments.

  • Employee Acknowledgment Form:

* Statement of understanding and agreement to abide by policies.

* Space for employee signature, printed name, date.


2. Design Specifications

The handbook's design will prioritize professionalism, readability, and brand consistency.

  • Format:

* Primary: Digital PDF (optimized for online viewing and printing).

* Secondary (Optional/Future): Interactive web-based portal for enhanced searchability and resource linking.

  • Branding:

* Integration of company logo on every page (subtly in header/footer).

* Consistent use of company primary and secondary brand colors.

* Company-specific imagery where appropriate (e.g., photos of office, team, if available and professional).

  • Typography:

* Headings (H1, H2, H3): A clean, professional sans-serif font (e.g., Open Sans, Lato, Montserrat) for hierarchy and impact.

* Body Text: A highly readable serif or sans-serif font (e.g., Georgia, Merriweather for serif; Roboto, Source Sans Pro for sans-serif) with a minimum size of 10-12pt for print, 14-16px for digital.

* Line Spacing: 1.5 lines for enhanced readability.

  • Layout & Structure:

* Clean, modern, and uncluttered design with ample white space.

* Consistent header and footer elements (logo, page numbers, document version).

* Left-aligned text for body paragraphs.

* Use of bullet points, numbered lists, and bold text for emphasis.

* Clear separation between sections with distinct heading styles.

  • Imagery & Graphics:

* Professional, high-resolution images.

* Use of icons to represent different policy areas (e.g., a shield for safety, a calendar for leave).

* Charts or infographics for complex information (e.g., benefits overview).


3. Wireframe Descriptions (Conceptual Layouts)

These descriptions outline the general structure and elements of key handbook pages.

  • Cover Page:

* Top Center: Large Company Logo.

* Mid-Center: "Employee Handbook" (Prominent H1 Title).

* Below Title: "A Guide to Our Policies, Culture, and Benefits." (H2 Subtitle).

* Bottom Right/Left: Company Name, Version Number, Effective Date.

  • Table of Contents Page:

* Top: "Table of Contents" (H1 Title).

* Main Body: List of all major sections and sub-sections with corresponding page numbers.

* Digital Version: Each entry will be a clickable link to its respective section.

  • Section Introduction Page (e.g., "Welcome & Introduction"):

* Top: Section Title (H1).

* Below Title: Brief introductory paragraph summarizing the section's content.

* Main Body: Key messages, mission/vision statements, perhaps a quote from leadership.

  • Policy Detail Page (e.g., "Attendance Policy"):

* Top: Policy Title (H2, e.g., "2.1. Attendance and Punctuality").

* Below Title: "Policy Statement" (H3) followed by a concise summary.

* Main Body:

* "Purpose" (H4): Explains why the policy exists.

* "Scope" (H4): Who the policy applies to.

* "Policy Details" (H4): Detailed rules, expectations, procedures. Use bullet points for clarity.

* "Procedures" (H4): Step-by-step instructions for adherence or reporting.

* "Consequences of Non-Compliance" (H4): Clear outline of disciplinary actions.

* Bottom: Date of last revision.

  • Benefits Overview Page:

* Top: "Benefits Overview" (H2).

* Main Body:

* Introductory paragraph about the company's commitment to employee well-being.

* Use of cards or distinct boxes for each benefit category (e.g., Health Insurance, Retirement, PTO).

* Each card/box contains a brief description and key features.

* Digital Version: "Learn More" links to external detailed plan documents or HR contacts.

  • Acknowledgement Form Page:

* Top: "Employee Handbook Acknowledgment Form" (H2).

* Main Body:

* Clear, legally compliant statement confirming receipt, understanding, and agreement to abide by the handbook's policies.

* Instructions for signing and returning the form.

* Lines for: Employee Name (Printed), Employee Signature, Date.

* Bottom: Space for HR/Company Use Only (e.g., Date Received).


4. Color Palettes

The color palette will be professional, appealing, and aligned with typical corporate branding standards. We will prioritize accessibility and readability.

  • Option 1: Classic Corporate (Professional & Trustworthy)

* Primary: #003366 (Dark Navy Blue) - Authority, Stability

* Secondary: #A0B7D7 (Light Sky Blue) - Calm, Approachable

* Accent: #CC6600 (Burnt Orange) - Energy, Innovation (used sparingly for highlights)

* Text: #333333 (Charcoal Gray)

* Background: #FFFFFF (Clean White)

  • Option 2: Modern & Fresh (Approachable & Dynamic)

* Primary: #2C3E50 (Dark Slate Gray) - Sophistication, Modernity

* Secondary: #3498DB (Vibrant Blue) - Trust, Clarity

* Accent: #2ECC71 (Emerald Green) - Growth, Wellness (used sparingly for highlights)

* Text: #333333 (Charcoal Gray)

* Background: #F8F8F8 (Off-White)

  • Recommendation: Align with the client's existing brand guidelines. If none are provided, Option 1 (Classic Corporate) is a safe and widely accepted choice for an official document like an employee handbook.

5. User Experience (UX) Recommendations

The handbook's design will ensure a positive and efficient user experience for all employees.

  • Clarity and Conciseness:

* Use plain language, avoiding jargon where possible.

* Break down complex policies into digestible sections.

* Employ short paragraphs, bullet points, and numbered lists.

  • Navigation & Accessibility (Digital Version):

* Interactive Table of Contents: Clickable links to jump to specific sections.

* Internal Hyperlinks: Cross-reference related policies within the document.

* External Links: Provide direct links to relevant forms, external resources, or company intranet pages.

* Search Functionality: (If web-based) An integrated search bar for quick policy lookup.

* Bookmarks/Outlines: PDF bookmarks for easy navigation.

* Accessibility Standards (WCAG): Ensure sufficient color contrast, logical reading order, and proper tagging for screen readers.

  • Readability:

* Generous white space to prevent visual fatigue.

* Consistent typography and heading styles for clear hierarchy.

* High contrast between text and background colors.

  • Versioning & Updates:

* Clearly display the version number and effective date on the cover and in the footer of each page.

* Include a "Revision History" section (perhaps in an appendix) to track changes over time.

* Communicate updates effectively to employees.

  • Mobile Responsiveness (If Web-Based):

* Ensure the handbook is easily viewable and navigable on various screen sizes (desktop, tablet, mobile).

  • Call to Action:

* Clearly direct employees on what to do after reading (e.g., sign the acknowledgment form, contact HR for questions).


gemini Output

Employee Handbook: Your Guide to Success at [Company Name]

Welcome to the team! We are thrilled to have you join [Company Name]. This Employee Handbook is designed to be your comprehensive guide to our company's policies, procedures, benefits, and expectations. It reflects our commitment to fostering a positive, productive, and inclusive work environment where everyone can thrive.

Please take the time to read this handbook thoroughly. It contains vital information that will help you understand our culture, your rights, and your responsibilities as an integral part of our team. Should you have any questions, please do not hesitate to reach out to your manager or the HR department.


Table of Contents

  1. Welcome & Our Vision

* A Message from Leadership

* Our Mission, Vision, and Values

* Commitment to Diversity, Equity, and Inclusion

  1. General Company Policies

* Employment at Will & Equal Employment Opportunity (EEO)

* Workplace Health & Safety

* Drug-Free Workplace

* Workplace Violence Prevention

* Data Privacy & Confidentiality

* Electronic Communications & Social Media Policy

* Use of Company Property

* Attendance & Punctuality

  1. Compensation & Benefits Overview

* Compensation Philosophy

* Pay Periods & Direct Deposit

* Health & Wellness Benefits (Medical, Dental, Vision)

* Retirement Savings Plan ([e.g., 401(k)])

* Life & Disability Insurance

* Employee Assistance Program (EAP)

* Other Employee Perks & Professional Development

  1. Code of Conduct & Ethics

* Our Ethical Standards

* Professionalism & Respect in the Workplace

* Anti-Harassment & Non-Discrimination Policy

* Conflict of Interest

* Reporting Violations & Non-Retaliation Policy

  1. Leave Policies

* Paid Time Off (PTO) / Vacation Policy

* Sick Leave Policy

* Company Holidays

* Family & Medical Leave Act (FMLA)

* Parental Leave

* Bereavement Leave

* Jury Duty Leave

* Military Leave

  1. Performance & Professional Growth

* Performance Management & Reviews

* Training & Development Opportunities

  1. Employee Separation

* Resignation Procedures

* Termination

* Exit Procedures

  1. Important Disclaimers & Acknowledgement

* Handbook is Not a Contract

* Right to Modify

* Acknowledgement Form


1. Welcome & Our Vision

A Message from Leadership

On behalf of the entire leadership team, welcome to [Company Name]! We are delighted to have you join our growing family. Your decision to bring your talent, skills, and unique perspective to our organization is deeply appreciated.

At [Company Name], we believe that our employees are our greatest asset. We are committed to fostering a dynamic, supportive, and innovative environment where you can do your best work, grow professionally, and contribute to our shared success. This handbook is a foundational tool to help you understand our culture, navigate our policies, and feel confident in your role. We encourage you to embrace our values, engage with your colleagues, and become an active participant in shaping the future of [Company Name].

Our Mission, Vision, and Values

Our Mission:

[Insert Company Mission Statement Here - e.g., "To innovate sustainable solutions that empower communities and drive technological advancement."]

Our Vision:

[Insert Company Vision Statement Here - e.g., "To be the global leader in sustainable technology, recognized for our integrity, innovation, and impact."]

Our Core Values:

  • Integrity: We uphold the highest standards of honesty and ethics in all our actions.
  • Innovation: We embrace creativity, continuous improvement, and forward-thinking solutions.
  • Collaboration: We believe in the power of teamwork, respect diverse perspectives, and foster an inclusive environment.
  • Excellence: We strive for exceptional quality and performance in everything we do.
  • Customer Focus: We are dedicated to understanding and exceeding the expectations of our customers.
  • Sustainability: We are committed to responsible practices that benefit our planet and future generations.

Commitment to Diversity, Equity, and Inclusion

[Company Name] is an organization built on the principles of diversity, equity, and inclusion. We believe that a diverse workforce, encompassing individuals from all backgrounds, experiences, and perspectives, strengthens our company, fuels innovation, and enriches our workplace culture. We are dedicated to creating an environment where every employee feels valued, respected, and empowered to contribute their unique talents.

We actively work to ensure fair and equitable opportunities in all aspects of employment, from recruitment and hiring to professional development and promotion. Discrimination, harassment, or exclusion of any kind will not be tolerated.


2. General Company Policies

Employment at Will & Equal Employment Opportunity (EEO)

Employment at Will:

Employment with [Company Name] is "at-will." This means that either you or the company may terminate the employment relationship at any time, with or without cause, and with or without notice, subject to applicable law. This "at-will" status cannot be modified by any oral or implied agreement.

Equal Employment Opportunity (EEO):

[Company Name] is an Equal Opportunity Employer. We are committed to providing a workplace free from discrimination and harassment. All employment decisions are based on business needs, job requirements, and individual qualifications, without regard to race, color, religion, sex (including pregnancy, gender identity, and sexual orientation), national origin, age, disability, genetic information, veteran status, or any other characteristic protected by federal, state, or local law. We encourage applicants and employees of all backgrounds to apply and thrive.

Workplace Health & Safety

Your safety and well-being are paramount. [Company Name] is committed to providing a safe and healthy work environment for all employees, visitors, and contractors.

  • Safety Procedures: All employees are required to adhere to established safety policies and procedures, including the proper use of equipment, personal protective equipment (PPE), and emergency protocols.
  • Reporting Hazards: Immediately report any unsafe conditions, incidents, injuries, or near-misses to your supervisor or HR department.
  • Emergency Preparedness: Familiarize yourself with emergency exits, assembly points, and evacuation plans.
  • First Aid: Know the location of first aid kits and designated first aid responders.

Drug-Free Workplace

[Company Name] is committed to maintaining a safe, healthy, and productive work environment. The unlawful manufacture, distribution, dispensation, possession, or use of controlled substances, or the abuse of alcohol, on company premises or during work hours is strictly prohibited. Employees under the influence of drugs or alcohol that impair their ability to perform their job duties safely and effectively are not permitted to work. Violations of this policy may result in disciplinary action, up to and including termination of employment.

Workplace Violence Prevention

[Company Name] has zero tolerance for workplace violence, threats, intimidation, or harassment. This includes physical assaults, verbal threats, aggressive behavior, vandalism, or any actions that create a hostile or unsafe environment. Any employee who engages in such behavior will face immediate disciplinary action, up to and including termination of employment, and may be subject to legal action. Report any concerns or incidents immediately to your supervisor or HR.

Data Privacy & Confidentiality

Protecting sensitive information is a critical responsibility for all employees. You may have access to confidential company information, trade secrets, customer data, and employee personal information.

  • Confidential Information: Do not disclose, share, or use confidential company information (e.g., financial data, marketing strategies, product designs, customer lists) outside of your job duties or with unauthorized individuals.
  • Data Security: Follow all company protocols for data security, including password protection, secure storage of documents, and appropriate handling of electronic information.
  • Employee Privacy: Respect the privacy of your colleagues and their personal information.
  • Reporting Breaches: Immediately report any suspected data breaches or unauthorized disclosure of information to IT or HR.

Electronic Communications & Social Media Policy

Electronic Communications:

Company-provided electronic systems (email, internet, computers, phones) are for business purposes. While incidental personal use is permitted, employees should have no expectation of privacy when using these systems. [Company Name] reserves the right to monitor, access, and disclose information transmitted or stored on its electronic systems as permitted by law.

Social Media:

Employees are free to use social media in their personal lives, but should exercise good judgment and discretion. When identifying yourself as an employee of [Company Name] online, remember that your actions and statements can reflect on the company.

  • Do not post confidential company information, trade secrets, or proprietary data.
  • Do not engage in harassment, bullying, or discriminatory behavior online.
  • Do not make disparaging or defamatory remarks about the company, its employees, customers, or competitors.
  • Be mindful that even personal opinions can be misconstrued as official company statements.

Use of Company Property

Company property, including equipment, vehicles, software, and supplies, is provided for business use. Employees are expected to treat company property with care and respect, ensuring its proper use and maintenance. Unauthorized removal, misuse, or damage of company property is prohibited and may result in disciplinary action.

Attendance & Punctuality

Consistent attendance and punctuality are essential for our operational efficiency and teamwork. Employees are expected to adhere to their scheduled work hours and notify their supervisor as soon as possible if they will be late or absent. Excessive absenteeism or tardiness may result in disciplinary action.


3. Compensation & Benefits Overview

Compensation Philosophy

[Company Name] is committed to providing competitive compensation that attracts, motivates, and retains high-performing employees. Our compensation structure is designed to be fair, transparent, and aligned with industry standards, employee performance, and company success. We regularly review our compensation practices to ensure they remain competitive and equitable.

Pay Periods & Direct Deposit

Employees are paid on a [e.g., bi-weekly/semi-monthly] basis. Payday is every [e.g., Friday/15th and last day of the month]. All employees are required to set up direct deposit for their paychecks. Information on how to do this will be provided during your onboarding process.

Health & Wellness Benefits

[Company Name] offers a comprehensive benefits package designed to support the health and well-being of our employees and their families. Eligibility for benefits may vary based on employment status (full-time, part-time) and length of service. Detailed information about plan options, eligibility, and enrollment procedures will be provided by HR.

  • Medical Insurance: Choose from a selection of medical plans with varying coverage levels and deductibles.
  • Dental Insurance: Coverage for routine dental care, preventative services, and major procedures.
  • Vision Insurance: Benefits for eye exams, glasses, and contact lenses.

Retirement Savings Plan ([e.g., 401(k)])

We encourage employees to plan for their financial future. [Company Name] offers a [e.g., 401(k)] retirement savings plan with a [e.g., company match/profit-sharing contribution]. Employees are eligible to enroll after [e.g., 90 days of employment]. Details on eligibility, vesting schedules, and investment options are available through HR.

Life & Disability Insurance

  • Life Insurance: [Company Name] provides [e.g., basic life insurance coverage at no cost to employees/optional supplemental life insurance].
  • Short-Term Disability (STD): Provides income replacement for eligible employees unable to work due to a non-work-related illness or injury for a short period.
  • Long-Term Disability (LTD): Offers extended income replacement for eligible employees facing a prolonged illness or injury.

Employee Assistance Program (EAP)

Our EAP is a confidential, free resource available to all employees and their immediate family members. It offers support for a wide range of personal and work-related challenges, including stress, anxiety, family issues, financial concerns, and substance abuse.

Other Employee Perks & Professional Development

[Company Name] is committed to investing in our employees' growth and well-being.

  • Professional Development: We offer opportunities for training, workshops, and tuition reimbursement to support continuous learning and career advancement.
  • Wellness Programs: Initiatives promoting physical activity, mental health, and healthy living.
  • Employee Recognition Programs: Celebrating outstanding contributions and achievements.
  • [List other relevant perks, e.g., free snacks, gym membership discounts, commuter benefits, company events].

4. Code of Conduct & Ethics

Our Ethical Standards

Our reputation is built on the trust we earn from our customers, partners, and employees. Every employee is expected to uphold the highest ethical standards and act with honesty, integrity, and transparency in all business dealings. This includes compliance with all applicable laws, regulations, and company policies.

Professionalism & Respect in the Workplace

A respectful and professional work environment is crucial for our collective success. Employees are expected to:

  • Treat colleagues, customers, and partners with courtesy and respect.
  • Communicate professionally, whether in person, in writing, or electronically.
  • Dress appropriately for the workplace, adhering to the company's dress code policy [if applicable, specify here or reference a separate policy].
  • Maintain a positive and collaborative attitude.
  • Avoid disruptive or unprofessional behavior.

Anti-Harassment & Non-Discrimination Policy

[Company Name] is committed to providing a workplace free from harassment and discrimination of any kind. This policy applies to all employees, applicants, contractors, and visitors.

  • Prohibited Conduct: Harassment includes any unwelcome conduct based on a protected characteristic (e.g., race, gender, religion, sexual orientation) that creates an intimidating, hostile, or offensive work environment. This includes verbal, physical, or visual harassment. Sexual harassment, including unwelcome sexual advances, requests for sexual favors, and other verbal or physical harassment of a sexual nature, is strictly prohibited.
  • Reporting Harassment: If you experience or witness any form of harassment or discrimination, report it immediately to your supervisor, the HR department, or any member of management. All reports will be taken seriously and investigated promptly and confidentially to the extent possible.
  • Non-Retaliation: [Company Name] strictly prohibits retaliation against any individual who reports harassment or discrimination in good faith, or who participates in an investigation.

Conflict of Interest

Employees must avoid situations where their personal interests conflict, or appear to conflict, with the best interests of [Company Name]. A conflict of interest may arise when an employee's personal activities, investments, or relationships could influence their objective judgment in performing their job duties. This includes, but is not limited to, accepting gifts of significant value from clients or vendors, engaging in outside employment that competes with the company, or using company resources for personal gain. If you believe a potential conflict of interest exists, you must disclose it to your supervisor or HR.

Reporting Violations & Non-Retaliation Policy

It is every employee's responsibility to report any suspected violations of company policy, ethical standards, or legal requirements.

  • How to Report: Reports can be made to your direct supervisor, the HR department, or [specify other reporting channels, e.g., a confidential hotline or designated ombudsman].
gemini Output

The following comprehensive Employee Handbook has been generated and refined, providing a detailed framework for your company's policies, procedures, and expectations. This document is designed to serve as a foundational resource for all employees, fostering a clear, fair, and productive work environment.


Employee Handbook

Version: 1.0

Effective Date: [Insert Date]

Prepared For: [Your Company Name]


1. Welcome to [Your Company Name]

Welcome to the team at [Your Company Name]! We are thrilled to have you join us. This handbook is designed to introduce you to our company culture, values, policies, and benefits. It serves as a guide to help you understand your role, our expectations, and the resources available to you.

At [Your Company Name], we are committed to creating a positive, inclusive, and productive work environment where everyone feels valued and respected. We believe that our success is a direct result of the dedication and hard work of our employees.

Please take the time to read this handbook thoroughly. If you have any questions, please do not hesitate to ask your manager or the Human Resources department.

Our Mission: [Insert Your Company's Mission Statement]

Our Vision: [Insert Your Company's Vision Statement]

Our Values: [Insert Your Company's Core Values, e.g., Innovation, Integrity, Teamwork, Customer Focus, Respect]


2. Company Policies

This section outlines the general policies that govern our workplace operations and employee conduct.

2.1. Employment Principles

  • Equal Employment Opportunity (EEO): [Your Company Name] is an Equal Opportunity Employer. We are committed to providing a workplace free from discrimination and harassment. All employment decisions are based on merit, qualifications, and business needs without regard to race, color, religion, sex, national origin, age, disability, marital status, veteran status, sexual orientation, gender identity, or any other legally protected status.
  • Americans with Disabilities Act (ADA) / Local Equivalents: We are committed to providing reasonable accommodations for qualified individuals with disabilities in accordance with applicable laws. Employees requiring accommodations should contact HR.
  • Immigration Law Compliance: [Your Company Name] complies with all applicable immigration laws. All new hires are required to provide proof of identity and eligibility to work in [Country/Region] within the legally mandated timeframe.
  • At-Will Employment (if applicable): Employment with [Your Company Name] is "at-will," meaning that either the employee or the company may terminate the employment relationship at any time, with or without cause or notice, subject to applicable laws.

2.2. Workplace Conduct & Ethics

  • Code of Conduct: All employees are expected to uphold the highest standards of integrity, professionalism, and ethical behavior. This includes treating colleagues, clients, and partners with respect, honesty, and fairness.
  • Anti-Harassment & Discrimination: We have zero tolerance for any form of harassment or discrimination. This includes unwelcome conduct based on any protected characteristic. Employees who experience or witness such behavior should report it immediately to their manager or HR.
  • Workplace Violence Prevention: Threats, intimidation, or violence are strictly prohibited. Any acts or threats of violence should be reported immediately.
  • Drug-Free Workplace: [Your Company Name] is committed to maintaining a drug-free workplace. The use, possession, distribution, or sale of illegal drugs or alcohol during work hours or on company property is strictly prohibited.
  • Smoking Policy: Smoking (including e-cigarettes/vaping) is prohibited inside all company buildings and within a specified distance from entrances. Designated smoking areas may be provided.
  • Conflict of Interest: Employees must avoid situations where their personal interests conflict with the best interests of [Your Company Name]. Any potential conflicts must be disclosed to management.
  • Confidentiality & Proprietary Information: Employees are obligated to protect the confidential and proprietary information of [Your Company Name] and its clients. This includes trade secrets, business plans, financial data, and client information.
  • Social Media Policy: Employees are expected to exercise good judgment and professionalism when using social media. Content that is derogatory, discriminatory, or discloses confidential company information is prohibited.
  • Company Property: All company property (e.g., laptops, phones, vehicles, tools) must be used responsibly, exclusively for business purposes, and maintained with care.
  • Dress Code: Employees are expected to dress appropriately for a professional work environment. [Specify general guidelines, e.g., "Business casual attire is generally appropriate, with specific requirements for client-facing roles or special events."]

2.3. Work Hours & Attendance

  • Standard Work Hours: Our standard work hours are [e.g., Monday to Friday, 9:00 AM to 5:00 PM], with a [e.g., 30-minute/1-hour] unpaid lunch break. Specific department schedules may vary.
  • Punctuality & Attendance: Regular and punctual attendance is an essential job function. Employees are expected to arrive on time and be ready to work at the start of their scheduled shift.
  • Reporting Absences: Employees must notify their manager as soon as possible if they will be late or absent, preferably at least [e.g., 2 hours] before their scheduled start time.
  • Overtime: Non-exempt employees must obtain prior approval from their manager before working overtime. Overtime will be compensated in accordance with federal and state wage and hour laws.
  • Remote Work / Hybrid Work (if applicable): [Your Company Name] supports flexible work arrangements where business needs allow. Remote/hybrid work policies, eligibility, and expectations are outlined in a separate Remote Work Agreement and require management approval.

2.4. IT & Data Security

  • Acceptable Use Policy: Company IT resources (computers, internet, email, software) are provided for business purposes. Incidental personal use is permitted but should not interfere with work duties or violate company policies.
  • Data Security: Employees are responsible for safeguarding company data and adhering to all data security protocols, including password management, phishing awareness, and reporting security incidents.
  • Privacy: While we respect employee privacy, employees should understand that all communications and data on company systems are subject to monitoring for business purposes.

2.5. Performance & Development

  • Performance Management: We conduct regular performance reviews to provide feedback, set goals, and support employee development. This typically includes [e.g., annual reviews, mid-year check-ins, 30/60/90-day reviews for new hires].
  • Training & Development: [Your Company Name] is committed to investing in our employees' growth. We offer various training programs, workshops, and opportunities for professional development.
  • Disciplinary Action: When performance or conduct falls below expectations, [Your Company Name] may implement a progressive disciplinary process, which may include verbal warnings, written warnings, suspension, and ultimately, termination of employment.

2.6. Expense Reimbursement

  • Employees incurring necessary business expenses on behalf of the company will be reimbursed in accordance with our expense reimbursement policy. All expenses must be pre-approved (if above a certain threshold), properly documented with receipts, and submitted within [e.g., 30 days] of the expense being incurred.

2.7. Termination of Employment

  • Voluntary Resignation: Employees wishing to resign are requested to provide at least [e.g., two weeks'] written notice to their manager and Human Resources.
  • Involuntary Termination: Employment may be terminated by the company for various reasons, including but not limited to performance issues, policy violations, restructuring, or business needs.
  • Exit Procedures: Upon termination, employees are required to return all company property and complete any necessary exit procedures.

3. Benefits Overview

[Your Company Name] is proud to offer a comprehensive benefits package designed to support the well-being and financial security of our employees and their families. Eligibility for certain benefits may vary based on employment status (full-time, part-time) and length of service.

  • Health Insurance:

* [Briefly describe options, e.g., "Medical, dental, and vision insurance plans are available through [Provider Name(s)]. The company contributes a portion of the premium."]

* Eligibility: [e.g., "Full-time employees are eligible after 30 days of employment."]

  • Life and Disability Insurance:

* [Briefly describe, e.g., "Basic life insurance and short-term/long-term disability coverage are provided by the company."]

* Voluntary Options: [e.g., "Employees may purchase additional coverage at group rates."]

  • Retirement Savings Plan (e.g., 401(k)):

* [Briefly describe, e.g., "Employees are eligible to participate in our 401(k) plan through [Provider Name] after [e.g., 90 days] of employment. The company offers a [e.g., dollar-for-dollar match up to 3% of salary]."]

  • Paid Time Off (PTO):

* [Your Company Name] provides a comprehensive PTO program that combines vacation, sick, and personal leave into a single bank.

* Accrual: [e.g., "PTO accrues bi-weekly based on years of service. New employees accrue at a rate of X hours per pay period."]

* Usage: [e.g., "Requests for PTO should be submitted to your manager at least two weeks in advance, where possible."]

  • Paid Holidays:

* [Your Company Name] observes [Number] paid holidays per year. [List common holidays, e.g., New Year's Day, Memorial Day, Independence Day, Labor Day, Thanksgiving Day, Christmas Day, etc.]

  • Employee Assistance Program (EAP):

* [Briefly describe, e.g., "Our EAP offers confidential counseling and referral services for employees and their families dealing with personal or work-related challenges."]

  • Professional Development & Tuition Reimbursement:

* [Briefly describe, e.g., "We support continuous learning through internal training programs and may offer tuition reimbursement for pre-approved courses relevant to your role."]

  • Other Perks:

* [List any other benefits, e.g., "Wellness programs, commuter benefits, employee discounts, company events, gym membership subsidies, etc."]


4. Leave Policies

This section details various types of leave available to eligible employees. Specific eligibility requirements and maximum leave durations are subject to applicable federal, state, and local laws.

  • Vacation/Annual Leave: (Covered under PTO above, but can be separate if not using a PTO bank)

* [If separate: "Employees accrue X days of vacation per year, increasing with tenure. Usage requires manager approval."]

  • Sick Leave: (Covered under PTO above, but can be separate)

* [If separate: "Employees accrue X days of sick leave per year for personal illness or caring for an immediate family member. A doctor's note may be required for extended absences."]

  • Personal Leave: (Covered under PTO above, but can be separate)

* [If separate: "Employees may request unpaid personal leave for specific personal reasons, subject to management approval and business needs."]

  • Bereavement Leave:

* [e.g., "Employees may take up to [e.g., 3-5] days of paid leave for the death of an immediate family member (spouse, child, parent, sibling)."]

  • Jury Duty Leave:

* [e.g., "Employees summoned for jury duty will receive paid leave for the duration of their service. Proof of service is required."]

  • Military Leave:

* [e.g., "Employees who are members of the armed forces reserves or National Guard are eligible for military leave in accordance with applicable laws (e.g., USERRA in the US)."]

  • Family and Medical Leave (FMLA) / Local Equivalents:

* [e.g., "Eligible employees may take up to 12 weeks of unpaid, job-protected leave for specific family and medical reasons, in accordance with FMLA. Employees should contact HR for details and application procedures."]

  • Parental Leave (Maternity/Paternity):

* [e.g., "Eligible employees may take paid or unpaid leave for the birth or adoption of a child. This leave runs concurrently with FMLA, where applicable. Specifics will be provided by HR."]

  • Other Statutory Leaves:

* [e.g., "We comply with all other mandated leaves, such as domestic violence leave, voting leave, or witness leave, as required by state and local laws."]


5. Compliance & Legal Information

5.1. Wage & Hour Laws

  • [Your Company Name] complies with all federal, state, and local wage and hour laws, including those related to minimum wage, overtime pay, recordkeeping, and meal/rest breaks.
  • Exempt vs. Non-Exempt: Employees are classified as either "exempt" (not eligible for overtime) or "non-exempt" (eligible for overtime) based on their job duties and federal/state regulations.
  • Timekeeping: Non-exempt employees are required to accurately record all hours worked using the designated timekeeping system. Falsification of time records is a serious offense.

5.2. Workers' Compensation

  • [Your Company Name] provides Workers' Compensation insurance for all employees. If you sustain a work-related injury or illness, you must report it immediately to your manager and HR, regardless of how minor it may seem. Prompt reporting is crucial for proper claims processing.

5.3. Data Privacy (e.g., GDPR, CCPA, PIPA if applicable)

  • [Your Company Name] is committed to protecting the personal data of its employees, customers, and partners. All employees are expected to adhere to our data privacy policies and procedures, including those related to the collection, storage, processing, and sharing of personal information, in compliance with relevant privacy regulations.

5.4. Workplace Postings

  • Various federal and state labor law posters are displayed in a prominent location at [Your Company Name] [e.g., "near the main entrance/in the break room"]. These postings contain important information regarding your rights and responsibilities as an employee.

6. Disclaimer & Employee Acknowledgment

6.1. Disclaimer

This Employee Handbook is intended to provide general information and guidance regarding the policies, procedures, and benefits of [Your Company Name]. It is not an employment contract, express or implied, and does not guarantee employment for any specific

employee_handbook_generator.md
Download as Markdown
Copy all content
Full output as text
Download ZIP
IDE-ready project ZIP
Copy share link
Permanent URL for this run
Get Embed Code
Embed this result on any website
Print / Save PDF
Use browser print dialog
\n\n\n"); var hasSrcMain=Object.keys(extracted).some(function(k){return k.indexOf("src/main")>=0;}); if(!hasSrcMain) zip.file(folder+"src/main."+ext,"import React from 'react'\nimport ReactDOM from 'react-dom/client'\nimport App from './App'\nimport './index.css'\n\nReactDOM.createRoot(document.getElementById('root')!).render(\n \n \n \n)\n"); var hasSrcApp=Object.keys(extracted).some(function(k){return k==="src/App."+ext||k==="App."+ext;}); if(!hasSrcApp) zip.file(folder+"src/App."+ext,"import React from 'react'\nimport './App.css'\n\nfunction App(){\n return(\n
\n
\n

"+slugTitle(pn)+"

\n

Built with PantheraHive BOS

\n
\n
\n )\n}\nexport default App\n"); zip.file(folder+"src/index.css","*{margin:0;padding:0;box-sizing:border-box}\nbody{font-family:system-ui,-apple-system,sans-serif;background:#f0f2f5;color:#1a1a2e}\n.app{min-height:100vh;display:flex;flex-direction:column}\n.app-header{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:40px}\nh1{font-size:2.5rem;font-weight:700}\n"); zip.file(folder+"src/App.css",""); zip.file(folder+"src/components/.gitkeep",""); zip.file(folder+"src/pages/.gitkeep",""); zip.file(folder+"src/hooks/.gitkeep",""); Object.keys(extracted).forEach(function(p){ var fp=p.startsWith("src/")?p:"src/"+p; zip.file(folder+fp,extracted[p]); }); zip.file(folder+"README.md","# "+slugTitle(pn)+"\n\nGenerated by PantheraHive BOS.\n\n## Setup\n\`\`\`bash\nnpm install\nnpm run dev\n\`\`\`\n\n## Build\n\`\`\`bash\nnpm run build\n\`\`\`\n\n## Open in IDE\nOpen the project folder in VS Code or WebStorm.\n"); zip.file(folder+".gitignore","node_modules/\ndist/\n.env\n.DS_Store\n*.local\n"); } /* --- Vue (Vite + Composition API + TypeScript) --- */ function buildVue(zip,folder,app,code,panelTxt){ var pn=pkgName(app); var C=cc(pn); var extracted=extractCode(panelTxt); zip.file(folder+"package.json",'{\n "name": "'+pn+'",\n "version": "0.0.0",\n "type": "module",\n "scripts": {\n "dev": "vite",\n "build": "vue-tsc -b && vite build",\n "preview": "vite preview"\n },\n "dependencies": {\n "vue": "^3.5.13",\n "vue-router": "^4.4.5",\n "pinia": "^2.3.0",\n "axios": "^1.7.9"\n },\n "devDependencies": {\n "@vitejs/plugin-vue": "^5.2.1",\n "typescript": "~5.7.3",\n "vite": "^6.0.5",\n "vue-tsc": "^2.2.0"\n }\n}\n'); zip.file(folder+"vite.config.ts","import { defineConfig } from 'vite'\nimport vue from '@vitejs/plugin-vue'\nimport { resolve } from 'path'\n\nexport default defineConfig({\n plugins: [vue()],\n resolve: { alias: { '@': resolve(__dirname,'src') } }\n})\n"); zip.file(folder+"tsconfig.json",'{"files":[],"references":[{"path":"./tsconfig.app.json"},{"path":"./tsconfig.node.json"}]}\n'); zip.file(folder+"tsconfig.app.json",'{\n "compilerOptions":{\n "target":"ES2020","useDefineForClassFields":true,"module":"ESNext","lib":["ES2020","DOM","DOM.Iterable"],\n "skipLibCheck":true,"moduleResolution":"bundler","allowImportingTsExtensions":true,\n "isolatedModules":true,"moduleDetection":"force","noEmit":true,"jsxImportSource":"vue",\n "strict":true,"paths":{"@/*":["./src/*"]}\n },\n "include":["src/**/*.ts","src/**/*.d.ts","src/**/*.tsx","src/**/*.vue"]\n}\n'); zip.file(folder+"env.d.ts","/// \n"); zip.file(folder+"index.html","\n\n\n \n \n "+slugTitle(pn)+"\n\n\n
\n \n\n\n"); var hasMain=Object.keys(extracted).some(function(k){return k==="src/main.ts"||k==="main.ts";}); if(!hasMain) zip.file(folder+"src/main.ts","import { createApp } from 'vue'\nimport { createPinia } from 'pinia'\nimport App from './App.vue'\nimport './assets/main.css'\n\nconst app = createApp(App)\napp.use(createPinia())\napp.mount('#app')\n"); var hasApp=Object.keys(extracted).some(function(k){return k.indexOf("App.vue")>=0;}); if(!hasApp) zip.file(folder+"src/App.vue","\n\n\n\n\n"); zip.file(folder+"src/assets/main.css","*{margin:0;padding:0;box-sizing:border-box}body{font-family:system-ui,sans-serif;background:#fff;color:#213547}\n"); zip.file(folder+"src/components/.gitkeep",""); zip.file(folder+"src/views/.gitkeep",""); zip.file(folder+"src/stores/.gitkeep",""); Object.keys(extracted).forEach(function(p){ var fp=p.startsWith("src/")?p:"src/"+p; zip.file(folder+fp,extracted[p]); }); zip.file(folder+"README.md","# "+slugTitle(pn)+"\n\nGenerated by PantheraHive BOS.\n\n## Setup\n\`\`\`bash\nnpm install\nnpm run dev\n\`\`\`\n\n## Build\n\`\`\`bash\nnpm run build\n\`\`\`\n\nOpen in VS Code or WebStorm.\n"); zip.file(folder+".gitignore","node_modules/\ndist/\n.env\n.DS_Store\n*.local\n"); } /* --- Angular (v19 standalone) --- */ function buildAngular(zip,folder,app,code,panelTxt){ var pn=pkgName(app); var C=cc(pn); var sel=pn.replace(/_/g,"-"); var extracted=extractCode(panelTxt); zip.file(folder+"package.json",'{\n "name": "'+pn+'",\n "version": "0.0.0",\n "scripts": {\n "ng": "ng",\n "start": "ng serve",\n "build": "ng build",\n "test": "ng test"\n },\n "dependencies": {\n "@angular/animations": "^19.0.0",\n "@angular/common": "^19.0.0",\n "@angular/compiler": "^19.0.0",\n "@angular/core": "^19.0.0",\n "@angular/forms": "^19.0.0",\n "@angular/platform-browser": "^19.0.0",\n "@angular/platform-browser-dynamic": "^19.0.0",\n "@angular/router": "^19.0.0",\n "rxjs": "~7.8.0",\n "tslib": "^2.3.0",\n "zone.js": "~0.15.0"\n },\n "devDependencies": {\n "@angular-devkit/build-angular": "^19.0.0",\n "@angular/cli": "^19.0.0",\n "@angular/compiler-cli": "^19.0.0",\n "typescript": "~5.6.0"\n }\n}\n'); zip.file(folder+"angular.json",'{\n "$schema": "./node_modules/@angular/cli/lib/config/schema.json",\n "version": 1,\n "newProjectRoot": "projects",\n "projects": {\n "'+pn+'": {\n "projectType": "application",\n "root": "",\n "sourceRoot": "src",\n "prefix": "app",\n "architect": {\n "build": {\n "builder": "@angular-devkit/build-angular:application",\n "options": {\n "outputPath": "dist/'+pn+'",\n "index": "src/index.html",\n "browser": "src/main.ts",\n "tsConfig": "tsconfig.app.json",\n "styles": ["src/styles.css"],\n "scripts": []\n }\n },\n "serve": {"builder":"@angular-devkit/build-angular:dev-server","configurations":{"production":{"buildTarget":"'+pn+':build:production"},"development":{"buildTarget":"'+pn+':build:development"}},"defaultConfiguration":"development"}\n }\n }\n }\n}\n'); zip.file(folder+"tsconfig.json",'{\n "compileOnSave": false,\n "compilerOptions": {"baseUrl":"./","outDir":"./dist/out-tsc","forceConsistentCasingInFileNames":true,"strict":true,"noImplicitOverride":true,"noPropertyAccessFromIndexSignature":true,"noImplicitReturns":true,"noFallthroughCasesInSwitch":true,"paths":{"@/*":["src/*"]},"skipLibCheck":true,"esModuleInterop":true,"sourceMap":true,"declaration":false,"experimentalDecorators":true,"moduleResolution":"bundler","importHelpers":true,"target":"ES2022","module":"ES2022","useDefineForClassFields":false,"lib":["ES2022","dom"]},\n "references":[{"path":"./tsconfig.app.json"}]\n}\n'); zip.file(folder+"tsconfig.app.json",'{\n "extends":"./tsconfig.json",\n "compilerOptions":{"outDir":"./dist/out-tsc","types":[]},\n "files":["src/main.ts"],\n "include":["src/**/*.d.ts"]\n}\n'); zip.file(folder+"src/index.html","\n\n\n \n "+slugTitle(pn)+"\n \n \n \n\n\n \n\n\n"); zip.file(folder+"src/main.ts","import { bootstrapApplication } from '@angular/platform-browser';\nimport { appConfig } from './app/app.config';\nimport { AppComponent } from './app/app.component';\n\nbootstrapApplication(AppComponent, appConfig)\n .catch(err => console.error(err));\n"); zip.file(folder+"src/styles.css","* { margin: 0; padding: 0; box-sizing: border-box; }\nbody { font-family: system-ui, -apple-system, sans-serif; background: #f9fafb; color: #111827; }\n"); var hasComp=Object.keys(extracted).some(function(k){return k.indexOf("app.component")>=0;}); if(!hasComp){ zip.file(folder+"src/app/app.component.ts","import { Component } from '@angular/core';\nimport { RouterOutlet } from '@angular/router';\n\n@Component({\n selector: 'app-root',\n standalone: true,\n imports: [RouterOutlet],\n templateUrl: './app.component.html',\n styleUrl: './app.component.css'\n})\nexport class AppComponent {\n title = '"+pn+"';\n}\n"); zip.file(folder+"src/app/app.component.html","
\n
\n

"+slugTitle(pn)+"

\n

Built with PantheraHive BOS

\n
\n \n
\n"); zip.file(folder+"src/app/app.component.css",".app-header{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:60vh;gap:16px}h1{font-size:2.5rem;font-weight:700;color:#6366f1}\n"); } zip.file(folder+"src/app/app.config.ts","import { ApplicationConfig, provideZoneChangeDetection } from '@angular/core';\nimport { provideRouter } from '@angular/router';\nimport { routes } from './app.routes';\n\nexport const appConfig: ApplicationConfig = {\n providers: [\n provideZoneChangeDetection({ eventCoalescing: true }),\n provideRouter(routes)\n ]\n};\n"); zip.file(folder+"src/app/app.routes.ts","import { Routes } from '@angular/router';\n\nexport const routes: Routes = [];\n"); Object.keys(extracted).forEach(function(p){ var fp=p.startsWith("src/")?p:"src/"+p; zip.file(folder+fp,extracted[p]); }); zip.file(folder+"README.md","# "+slugTitle(pn)+"\n\nGenerated by PantheraHive BOS.\n\n## Setup\n\`\`\`bash\nnpm install\nng serve\n# or: npm start\n\`\`\`\n\n## Build\n\`\`\`bash\nng build\n\`\`\`\n\nOpen in VS Code with Angular Language Service extension.\n"); zip.file(folder+".gitignore","node_modules/\ndist/\n.env\n.DS_Store\n*.local\n.angular/\n"); } /* --- Python --- */ function buildPython(zip,folder,app,code){ var title=slugTitle(app); var pn=pkgName(app); var src=code.replace(/^\`\`\`[\w]*\n?/m,"").replace(/\n?\`\`\`$/m,"").trim(); var reqMap={"numpy":"numpy","pandas":"pandas","sklearn":"scikit-learn","tensorflow":"tensorflow","torch":"torch","flask":"flask","fastapi":"fastapi","uvicorn":"uvicorn","requests":"requests","sqlalchemy":"sqlalchemy","pydantic":"pydantic","dotenv":"python-dotenv","PIL":"Pillow","cv2":"opencv-python","matplotlib":"matplotlib","seaborn":"seaborn","scipy":"scipy"}; var reqs=[]; Object.keys(reqMap).forEach(function(k){if(src.indexOf("import "+k)>=0||src.indexOf("from "+k)>=0)reqs.push(reqMap[k]);}); var reqsTxt=reqs.length?reqs.join("\n"):"# add dependencies here\n"; zip.file(folder+"main.py",src||"# "+title+"\n# Generated by PantheraHive BOS\n\nprint(title+\" loaded\")\n"); zip.file(folder+"requirements.txt",reqsTxt); zip.file(folder+".env.example","# Environment variables\n"); zip.file(folder+"README.md","# "+title+"\n\nGenerated by PantheraHive BOS.\n\n## Setup\n\`\`\`bash\npython3 -m venv .venv\nsource .venv/bin/activate\npip install -r requirements.txt\n\`\`\`\n\n## Run\n\`\`\`bash\npython main.py\n\`\`\`\n"); zip.file(folder+".gitignore",".venv/\n__pycache__/\n*.pyc\n.env\n.DS_Store\n"); } /* --- Node.js --- */ function buildNode(zip,folder,app,code){ var title=slugTitle(app); var pn=pkgName(app); var src=code.replace(/^\`\`\`[\w]*\n?/m,"").replace(/\n?\`\`\`$/m,"").trim(); var depMap={"mongoose":"^8.0.0","dotenv":"^16.4.5","axios":"^1.7.9","cors":"^2.8.5","bcryptjs":"^2.4.3","jsonwebtoken":"^9.0.2","socket.io":"^4.7.4","uuid":"^9.0.1","zod":"^3.22.4","express":"^4.18.2"}; var deps={}; Object.keys(depMap).forEach(function(k){if(src.indexOf(k)>=0)deps[k]=depMap[k];}); if(!deps["express"])deps["express"]="^4.18.2"; var pkgJson=JSON.stringify({"name":pn,"version":"1.0.0","main":"src/index.js","scripts":{"start":"node src/index.js","dev":"nodemon src/index.js"},"dependencies":deps,"devDependencies":{"nodemon":"^3.0.3"}},null,2)+"\n"; zip.file(folder+"package.json",pkgJson); var fallback="const express=require(\"express\");\nconst app=express();\napp.use(express.json());\n\napp.get(\"/\",(req,res)=>{\n res.json({message:\""+title+" API\"});\n});\n\nconst PORT=process.env.PORT||3000;\napp.listen(PORT,()=>console.log(\"Server on port \"+PORT));\n"; zip.file(folder+"src/index.js",src||fallback); zip.file(folder+".env.example","PORT=3000\n"); zip.file(folder+".gitignore","node_modules/\n.env\n.DS_Store\n"); zip.file(folder+"README.md","# "+title+"\n\nGenerated by PantheraHive BOS.\n\n## Setup\n\`\`\`bash\nnpm install\n\`\`\`\n\n## Run\n\`\`\`bash\nnpm run dev\n\`\`\`\n"); } /* --- Vanilla HTML --- */ function buildVanillaHtml(zip,folder,app,code){ var title=slugTitle(app); var isFullDoc=code.trim().toLowerCase().indexOf("=0||code.trim().toLowerCase().indexOf("=0; var indexHtml=isFullDoc?code:"\n\n\n\n\n"+title+"\n\n\n\n"+code+"\n\n\n\n"; zip.file(folder+"index.html",indexHtml); zip.file(folder+"style.css","/* "+title+" — styles */\n*{margin:0;padding:0;box-sizing:border-box}\nbody{font-family:system-ui,-apple-system,sans-serif;background:#fff;color:#1a1a2e}\n"); zip.file(folder+"script.js","/* "+title+" — scripts */\n"); zip.file(folder+"assets/.gitkeep",""); zip.file(folder+"README.md","# "+title+"\n\nGenerated by PantheraHive BOS.\n\n## Open\nDouble-click \`index.html\` in your browser.\n\nOr serve locally:\n\`\`\`bash\nnpx serve .\n# or\npython3 -m http.server 3000\n\`\`\`\n"); zip.file(folder+".gitignore",".DS_Store\nnode_modules/\n.env\n"); } /* ===== MAIN ===== */ var sc=document.createElement("script"); sc.src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.10.1/jszip.min.js"; sc.onerror=function(){ if(lbl)lbl.textContent="Download ZIP"; alert("JSZip load failed — check connection."); }; sc.onload=function(){ var zip=new JSZip(); var base=(_phFname||"output").replace(/\.[^.]+$/,""); var app=base.toLowerCase().replace(/[^a-z0-9]+/g,"_").replace(/^_+|_+$/g,"")||"my_app"; var folder=app+"/"; var vc=document.getElementById("panel-content"); var panelTxt=vc?(vc.innerText||vc.textContent||""):""; var lang=detectLang(_phCode,panelTxt); if(_phIsHtml){ buildVanillaHtml(zip,folder,app,_phCode); } else if(lang==="flutter"){ buildFlutter(zip,folder,app,_phCode,panelTxt); } else if(lang==="react-native"){ buildReactNative(zip,folder,app,_phCode,panelTxt); } else if(lang==="swift"){ buildSwift(zip,folder,app,_phCode,panelTxt); } else if(lang==="kotlin"){ buildKotlin(zip,folder,app,_phCode,panelTxt); } else if(lang==="react"){ buildReact(zip,folder,app,_phCode,panelTxt); } else if(lang==="vue"){ buildVue(zip,folder,app,_phCode,panelTxt); } else if(lang==="angular"){ buildAngular(zip,folder,app,_phCode,panelTxt); } else if(lang==="python"){ buildPython(zip,folder,app,_phCode); } else if(lang==="node"){ buildNode(zip,folder,app,_phCode); } else { /* Document/content workflow */ var title=app.replace(/_/g," "); var md=_phAll||_phCode||panelTxt||"No content"; zip.file(folder+app+".md",md); var h=""+title+""; h+="

"+title+"

"; var hc=md.replace(/&/g,"&").replace(//g,">"); hc=hc.replace(/^### (.+)$/gm,"

$1

"); hc=hc.replace(/^## (.+)$/gm,"

$1

"); hc=hc.replace(/^# (.+)$/gm,"

$1

"); hc=hc.replace(/\*\*(.+?)\*\*/g,"$1"); hc=hc.replace(/\n{2,}/g,"

"); h+="

"+hc+"

Generated by PantheraHive BOS
"; zip.file(folder+app+".html",h); zip.file(folder+"README.md","# "+title+"\n\nGenerated by PantheraHive BOS.\n\nFiles:\n- "+app+".md (Markdown)\n- "+app+".html (styled HTML)\n"); } zip.generateAsync({type:"blob"}).then(function(blob){ var a=document.createElement("a"); a.href=URL.createObjectURL(blob); a.download=app+".zip"; a.click(); URL.revokeObjectURL(a.href); if(lbl)lbl.textContent="Download ZIP"; }); }; document.head.appendChild(sc); } function phShare(){navigator.clipboard.writeText(window.location.href).then(function(){var el=document.getElementById("ph-share-lbl");if(el){el.textContent="Link copied!";setTimeout(function(){el.textContent="Copy share link";},2500);}});}function phEmbed(){var runId=window.location.pathname.split("/").pop().replace(".html","");var embedUrl="https://pantherahive.com/embed/"+runId;var code='';navigator.clipboard.writeText(code).then(function(){var el=document.getElementById("ph-embed-lbl");if(el){el.textContent="Embed code copied!";setTimeout(function(){el.textContent="Get Embed Code";},2500);}});}