Employee Handbook Generator
Run ID: 69cc6b793e7fb09ff16a1b882026-04-01HR
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: Requirements Analysis & Design Specifications

This document outlines the detailed requirements, design specifications, wireframe descriptions, color palette recommendations, and user experience (UX) guidelines for the "Employee Handbook Generator." The goal is to create an intuitive, comprehensive, and professional tool that enables users to efficiently generate a customized employee handbook.


1. Project Overview & Objectives

The "Employee Handbook Generator" aims to simplify the complex process of creating a legally compliant and company-specific employee handbook. It will guide users through various sections, allowing them to customize policies, add company-specific details, and generate a professional document suitable for their organization.

Core Objectives:

  • Provide a structured framework for all essential handbook sections.
  • Enable extensive customization of policies and content.
  • Ensure compliance with common legal standards and best practices.
  • Offer a user-friendly interface for content input and management.
  • Generate high-quality, professional output in multiple formats.

2. Design Specifications

This section details the functional and content requirements for the generator.

2.1. Core Functionality

  • Guided Workflow: A step-by-step process to build the handbook.
  • Content Generation: AI-assisted drafting of policies based on user inputs.
  • Customization Editor: Rich text editing capabilities for all policy sections.
  • Branding Integration: Upload company logo, define primary colors for output.
  • Preview Functionality: Real-time or on-demand preview of the handbook.
  • Save & Load: Ability to save progress and load existing handbooks for editing.
  • Export Options: Generate handbook in multiple formats (PDF, DOCX, Web Link).
  • Template Library: Access to pre-defined policy templates for various industries/company sizes.
  • Compliance Checkpoints: Prompts and warnings for critical legal considerations.

2.2. Key Handbook Sections (Modules)

The generator will be structured around the following essential handbook sections, each representing a distinct module for user input and customization:

  1. Company Information & Introduction:

* Company Name, Logo, Address, Website

* Mission, Vision, Values Statement

* Welcome Message from Leadership

* "At-Will" Employment Disclaimer (toggleable)

  1. Employment Policies:

* Equal Employment Opportunity (EEO)

* Anti-Harassment & Anti-Discrimination (including reporting procedures)

* Workplace Conduct & Professionalism

* Drug-Free Workplace Policy

* Background Checks & Onboarding

* Employee Classifications (Full-time, Part-time, Exempt, Non-Exempt)

* Performance Management & Disciplinary Action

* Termination of Employment

  1. Compensation & Benefits:

* Pay Periods & Overtime Policy

* Benefits Overview (Health, Dental, Vision, Life Insurance)

* Retirement Plans (401k, etc.)

* Employee Recognition Programs

* Expense Reimbursement

  1. Time Off & Leave Policies:

* Paid Time Off (PTO) / Vacation Policy

* Sick Leave Policy

* Holiday Schedule

* Family and Medical Leave Act (FMLA)

* Bereavement Leave

* Jury Duty & Witness Leave

* Military Leave

* Other Leaves (e.g., parental, sabbatical)

  1. Workplace Environment & Safety:

* Health & Safety Protocols (OSHA compliance)

* Emergency Procedures

* Workplace Violence Prevention

* Smoking Policy

* Dress Code

  1. Technology & Communication Policies:

* Company Property & Equipment Usage

* Email & Internet Usage Policy

* Social Media Policy

* Data Security & Confidentiality

* Privacy Policy

* Bring Your Own Device (BYOD) Policy (if applicable)

  1. General Administration:

* Open Door Policy

* Employee Grievance Procedure

* Handbook Acknowledgment Form

* Disclaimer of Contract

2.3. Input Mechanisms

  • Text Fields: For company name, addresses, custom policy details.
  • Rich Text Editor (WYSIWYG): For detailed policy descriptions, allowing formatting (bold, italics, lists, links).
  • Dropdowns/Radio Buttons: For selecting policy options (e.g., "At-Will" employment state, FMLA eligibility criteria).
  • Checkboxes: For including/excluding specific sub-sections or disclaimers.
  • File Upload: For company logo.
  • Date Pickers: For effective dates of policies.

2.4. Output Formats

  • PDF: Standard, print-ready format, preserving layout and branding.
  • DOCX: Editable Word document for further internal modifications.
  • Web Link: A hosted, shareable online version of the handbook, potentially with version control.

3. Wireframe Descriptions

The user interface will follow a multi-step, wizard-like approach with a persistent navigation structure.

3.1. Main Layout Structure

  • Header: Persistent Company Logo / Product Name, User Account, Save/Load buttons.
  • Left Sidebar (Persistent Navigation): Lists all main handbook sections (Company Info, Employment Policies, Compensation, etc.). Indicates current step and completion status (e.g., green checkmark for completed sections).
  • Main Content Area: Dynamic area displaying the current section's input fields and editor.
  • Footer: "Previous" and "Next" buttons for sequential navigation, "Preview" button, "Export" button (visible on final steps).

3.2. Key Screen Wireframes

a) Dashboard / Start Screen:

  • Layout: Centered content.
  • Elements: "Create New Handbook" button, "Load Existing Handbook" button, "Browse Templates" button.
  • Purpose: Entry point for users to begin or continue their work.

b) Step 1: Company Information & Branding:

  • Layout: Main content area.
  • Elements:

* Form fields: Company Name, Address, Website.

* Logo Upload: Drag-and-drop area or file selector.

* Rich Text Editor: For Mission/Vision/Values statement, Welcome message.

* Checkbox: "Include At-Will Employment Disclaimer."

  • Purpose: Collect foundational company details and branding assets.

c) Step X: Policy Section Editor (e.g., "Employment Policies"):

  • Layout: Left sidebar with policy categories, main content area for selected policy.
  • Elements (for each policy sub-section):

* Toggle Switch: "Include this policy in the handbook."

* Pre-populated Text Area: Editable rich text field with a default policy template.

* Dropdowns/Checkboxes: For specific policy variations (e.g., "Reporting procedure: HR Dept / Manager / Ethics Hotline").

* Contextual Help Icon: Provides legal guidance or best practices.

  • Purpose: Allow users to review, edit, and customize each policy.

d) Step X: Benefits Overview:

  • Layout: Similar to policy editor, but optimized for benefit entries.
  • Elements:

* "Add New Benefit" button.

* For each benefit: Benefit Name (e.g., "Health Insurance"), Description (rich text editor), Eligibility Criteria (dropdown/text), Link to external details.

  • Purpose: Structure benefits information clearly.

e) Final Step: Review & Export:

  • Layout: Main content area with a full-page preview of the generated handbook.
  • Elements:

* Scrollable Preview Panel: Displays the entire handbook content.

* "Edit Section" links: Allows quick navigation back to specific sections for changes.

* Export Options: Buttons for "Download PDF," "Download DOCX," "Generate Web Link."

* Final Disclaimer Acknowledgment: Checkbox.

  • Purpose: Provide a final review and enable output generation.

4. Color Palette Recommendations

A professional, trustworthy, and accessible color palette is crucial for a business-critical tool like an employee handbook generator.

  • Primary Brand Color (for UI accents, buttons, headers):

* Option 1 (Professional Blue): #0056B3 (Dark Blue) - Trust, stability.

* Option 2 (Modern Green): #28A745 (Medium Green) - Growth, reliability.

Recommendation: A deep, professional blue or a muted green.*

  • Secondary Accent Color (for highlights, active states, important information):

* Option 1 (Complementary): #007BFF (Lighter Blue) or #17A2B8 (Teal)

* Option 2 (Subtle Contrast): #6C757D (Medium Grey) - For less prominent accents.

Recommendation: A lighter shade of the primary color or a subtle grey/teal.*

  • Neutral Colors (for backgrounds, text, borders):

* Backgrounds: #F8F9FA (Light Grey), #FFFFFF (White)

* Text: #343A40 (Dark Grey for primary text), #6C757D (Medium Grey for secondary text/labels)

* Borders/Dividers: #DEE2E6 (Light Grey)

  • Alert/Status Colors:

* Success: #28A745 (Green)

* Warning: #FFC107 (Yellow/Orange)

* Error: #DC3545 (Red)

Accessibility Note: Ensure sufficient contrast ratio (at least 4.5:1 for normal text) between text and background colors, adhering to WCAG guidelines.


5. User Experience (UX) Recommendations

The UX should prioritize ease of use, clarity, and confidence for the user.

  • Intuitive Workflow: Implement a clear, linear, step-by-step process with clear progress indicators (e.g., a progress bar or numbered steps in the sidebar navigation).
  • Clear & Concise Language: Use plain language, avoiding legal jargon where possible, or providing explanations for complex terms.
  • Contextual Help & Guidance:

* Tooltips: Hover-over explanations for input fields or policy options.

* Info Icons: Clickable icons that open modal windows with detailed legal considerations, best practices, or examples.

* "Why this matters" sections: Briefly explain the importance of certain policies.

  • Pre-filled Templates & Defaults: Provide robust default policy language that users can easily adapt, reducing the burden of starting from scratch.
  • Real-time Preview: If technically feasible, offer a real-time mini-preview pane within the editor. Otherwise, a dedicated "Preview" button should generate an instant full-document preview.
  • Undo/Redo Functionality: Essential within the rich text editors.
  • Validation & Error Handling: Provide immediate feedback on invalid inputs. Clearly explain what went wrong and how to fix it.
  • Save & Resume Functionality: Automatically save progress at regular intervals, or prompt users to save before exiting. Make it easy to return to a draft.
  • Responsiveness: While primarily a desktop application, ensure basic responsiveness for tablet viewing, especially for reviewing the generated handbook.
  • Accessibility: Design with accessibility in mind (keyboard navigation, screen reader compatibility, sufficient color contrast).
  • Confirmation Dialogs: For critical actions like deleting a handbook or overwriting changes.
  • Feedback Mechanism: Provide an easy way for users to submit feedback or report issues.

By adhering to these detailed requirements and design principles, the Employee Handbook Generator will be a powerful, user-friendly, and indispensable tool for businesses.

gemini Output

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


Welcome to the [Company Name] Employee Handbook!

This handbook is designed to be your comprehensive guide to working at [Company Name]. It outlines our company's mission, vision, values, policies, procedures, and benefits, ensuring a clear understanding of our workplace expectations and your rights as an employee. We believe that a well-informed team is a strong team, and this handbook serves as a foundational resource for a successful and rewarding career with us.

Please take the time to read through this handbook carefully. It is a living document, and while it covers the most important aspects of your employment, specific details may be updated periodically. Your understanding and adherence to these policies are crucial for maintaining a positive, productive, and compliant work environment for everyone.

Welcome aboard, and we look forward to achieving great things together!

[Company Name] Leadership Team


Table of Contents

  1. Welcome to [Company Name]

* Our Vision, Mission, and Values

* A Message from Leadership

* Purpose of This Handbook

  1. Employment Basics

* Employment At-Will Statement

* Equal Employment Opportunity (EEO)

* Anti-Discrimination and Anti-Harassment Policy

* Workplace Diversity and Inclusion

* Open Door Policy

* Employment Categories

* New Hire Onboarding & Orientation

* Background Checks

  1. Workplace Conduct & Expectations (Code of Conduct)

* Professionalism and Respect

* Ethical Conduct and Integrity

* Confidentiality and Proprietary Information

* Conflict of Interest

* Workplace Relationships

* Social Media Policy

* Drug-Free Workplace Policy

* Smoking Policy

* Dress Code

* Attendance and Punctuality

* Performance Reviews and Development

* Disciplinary Action

* Grievance Procedure

  1. Compensation & Benefits Overview

* Pay Periods and Direct Deposit

* Overtime and Compensatory Time

* Performance Reviews and Salary Adjustments

* Health Insurance (Medical, Dental, Vision)

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

* Life and Disability Insurance

* Employee Assistance Program (EAP)

* Other Benefits (e.g., Wellness Programs, Professional Development)

  1. Leave Policies

* Paid Time Off (PTO) / Vacation Policy

* Sick Leave Policy

* Company Holidays

* Family and Medical Leave Act (FMLA)

* Bereavement Leave

* Jury Duty Leave

* Military Leave

* Personal Leave of Absence

  1. Workplace Safety & Security

* Health and Safety Program

* Emergency Procedures and Evacuation Plan

* Accident Reporting

* Workplace Violence Prevention

* Data Security and Privacy

* Building Access and Security

* Visitor Policy

  1. Technology & Communication

* Acceptable Use of Company Resources

* Email and Internet Usage

* Company Devices (Laptops, Phones)

* Privacy in the Workplace

* Communication Guidelines

  1. Termination of Employment

* Resignation Procedures

* Involuntary Termination

* Return of Company Property

* Final Paycheck and Benefits Continuation (COBRA)

* Exit Interviews

  1. Compliance & Legal

* Whistleblower Policy

* Non-Disclosure and Non-Compete Agreements

* Data Protection and GDPR/CCPA Compliance (if applicable)

* Americans with Disabilities Act (ADA)

* Workers' Compensation

* Immigration Law Compliance (I-9)

* Policy on Review and Updates

* Disclaimer

  1. Employee Acknowledgment Form

1. Welcome to [Company Name]

Our Vision, Mission, and Values

At [Company Name], we are driven by a clear purpose and a strong set of principles.

  • Vision: [Insert Company Vision Statement - e.g., To be the leading innovator in our industry, creating sustainable value for our customers, employees, and community.]
  • Mission: [Insert Company Mission Statement - e.g., We empower our clients with cutting-edge solutions, delivered through exceptional service and a commitment to excellence.]
  • Values: These core values guide our decisions, actions, and interactions every day:

* Integrity: We act with honesty and strong moral principles.

* Innovation: We embrace creativity and constantly seek better solutions.

* Collaboration: We believe in teamwork and mutual support.

* Customer Focus: We are dedicated to understanding and exceeding customer expectations.

* Respect: We value diversity and treat everyone with dignity.

* Accountability: We take ownership of our responsibilities and commitments.

A Message from Leadership

"On behalf of the entire leadership team, we extend our warmest welcome to you. We are thrilled to have you join [Company Name] and become a vital part of our growing success story. We believe that our greatest asset is our people, and we are committed to fostering an environment where you can thrive, grow, and make a meaningful impact. This handbook is your initial guide to understanding our culture, expectations, and the many opportunities that lie ahead. We encourage you to embrace our values, contribute your unique talents, and help us continue to achieve our ambitious goals. We are excited about your future with us!"

Purpose of This Handbook

This Employee Handbook serves several key purposes:

  • To provide a clear understanding of [Company Name]'s policies, procedures, and expectations.
  • To outline your rights and responsibilities as an employee.
  • To detail the benefits and resources available to you.
  • To promote a fair, consistent, and respectful work environment for all.
  • To ensure compliance with relevant employment laws and regulations.

This handbook is a summary and not an exhaustive list of every policy or procedure. It does not create a contract of employment, express or implied, between [Company Name] and any employee. [Company Name] reserves the right to modify, revoke, suspend, terminate, or change any policies, procedures, or benefits described in this handbook, in whole or in part, at any time, with or without notice.


2. Employment Basics

Employment At-Will Statement

Your employment with [Company Name] is "at-will." This means that either you or [Company Name] can terminate the employment relationship at any time, with or without cause, and with or without notice, subject to applicable laws. Nothing in this handbook is intended to create a contract of employment for a definite term.

Equal Employment Opportunity (EEO)

[Company Name] is an Equal Opportunity Employer and is 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, sexual orientation, gender identity, national origin, age, disability, veteran status, or any other status protected by the laws or regulations in the locations where we operate.

Anti-Discrimination and Anti-Harassment Policy

[Company Name] prohibits discrimination and harassment of any kind. This includes, but is not limited to, offensive jokes, slurs, epithets or name-calling, physical assaults or threats, intimidation, ridicule or mockery, insults or put-downs, offensive objects or pictures, and interference with work performance. Any employee who believes they have been subjected to discrimination or harassment should report it immediately to their manager or the HR Department. All complaints will be investigated promptly and thoroughly, and appropriate corrective action will be taken. Retaliation against any employee for reporting discrimination or harassment, or for participating in an investigation, is strictly prohibited.

Workplace Diversity and Inclusion

We believe that a diverse and inclusive workforce fosters innovation, creativity, and a richer work environment. [Company Name] is committed to cultivating a culture where every employee feels valued, respected, and empowered to contribute their unique perspectives and talents.

Open Door Policy

[Company Name] maintains an "open door" policy, encouraging employees to communicate openly with their supervisors and management about work-related concerns, suggestions, or questions. We believe in direct and honest communication to resolve issues efficiently and maintain a positive working relationship.

Employment Categories

Employees at [Company Name] are categorized as follows:

  • Full-Time Exempt: Employees who regularly work 40 or more hours per week and are exempt from overtime pay under federal and state wage and hour laws.
  • Full-Time Non-Exempt: Employees who regularly work 40 or more hours per week and are eligible for overtime pay for hours worked over 40 in a workweek.
  • Part-Time Exempt/Non-Exempt: Employees who regularly work less than 40 hours per week. Eligibility for benefits may vary.
  • Temporary/Contract: Employees hired for a specific project or limited duration. Benefits eligibility may vary.

Your specific employment category will be communicated to you upon hire.

New Hire Onboarding & Orientation

New employees will undergo an onboarding and orientation program designed to help you integrate smoothly into [Company Name]. This includes completing necessary paperwork, learning about company policies, receiving training on essential tools and systems, and understanding your role's responsibilities.

Background Checks

As a condition of employment, all new hires are subject to background checks, which may include criminal history, education verification, and previous employment verification. [Company Name] reserves the right to conduct background checks periodically during employment as permitted by law.


3. Workplace Conduct & Expectations (Code of Conduct)

Professionalism and Respect

All employees are expected to conduct themselves professionally and respectfully in all interactions. This includes treating colleagues, customers, vendors, and partners with courtesy, dignity, and consideration. Disrespectful behavior, bullying, or intimidation will not be tolerated.

Ethical Conduct and Integrity

[Company Name] is committed to the highest standards of ethical conduct and integrity. Employees must avoid any activities that could compromise their ability to make objective decisions in the best interest of the company. Honesty, transparency, and accountability are paramount.

Confidentiality and Proprietary Information

During your employment, you may have access to confidential and proprietary information, including but not limited to, trade secrets, customer lists, financial data, marketing strategies, product designs, and personnel information. You are required to maintain the strict confidentiality of all such information, both during and after your employment with [Company Name]. Unauthorized disclosure of confidential information is a serious breach of policy and may result in disciplinary action, up to and including termination, and legal action.

Conflict of Interest

Employees must avoid situations where their personal interests conflict, or appear to conflict, with the interests of [Company Name]. This includes, but is not limited to, having a financial interest in a competitor, supplier, or customer, or using company resources for personal gain. Any potential conflict of interest must be disclosed immediately to your manager or HR Department.

Workplace Relationships

While [Company Name] respects the privacy of its employees, relationships that create an actual or perceived conflict of interest, or that could negatively impact the work environment or productivity, are discouraged. Relationships between supervisors and their direct reports are strictly prohibited.

Social Media Policy

Employees are expected to exercise good judgment and professional conduct when using social media, both personally and professionally. When identifying yourself as a [Company Name] employee, ensure your online activities do not damage the company's reputation, disclose confidential information, or violate any company policies. Be mindful that your online conduct reflects on [Company Name].

Drug-Free Workplace Policy

[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, in the workplace or while conducting company business, is strictly prohibited. Employees found in violation of this policy will be subject to disciplinary action, up to and including termination.

Smoking Policy

To ensure a healthy environment for all, smoking (including e-cigarettes and vaping) is prohibited inside all [Company Name] buildings and company vehicles. Designated smoking areas may be provided at certain locations.

Dress Code

Employees are expected to dress in a manner that is appropriate for a professional business environment. Business casual attire is generally acceptable, but specific roles or client-facing situations may require more formal dress. Your manager will provide guidance on appropriate attire for your role.

Attendance and Punctuality

Consistent attendance and punctuality are essential for effective operations and teamwork. Employees are expected to report to work on time for all scheduled shifts and to remain at work for their entire scheduled shift. If you are unable to report to work, or will be late, you must notify your supervisor as soon as possible, ideally at least [e.g., two hours] before your scheduled start time.

Performance Reviews and Development

[Company Name] is committed to employee growth and development. Regular performance reviews are conducted [e.g., annually] to provide feedback, set goals, and identify opportunities for professional development. These reviews are a collaborative process designed to support your success.

Disciplinary Action

When an employee's conduct or performance falls below expectations, [Company Name] may implement a progressive disciplinary process. This typically involves verbal warnings, written warnings, suspension, and ultimately, termination. The specific action taken will depend on the severity and frequency of the issue.

Grievance Procedure

If an employee has a work-related concern or complaint that cannot be resolved with their direct supervisor, they are encouraged to utilize the company's grievance procedure. This involves escalating the issue to [e.g., HR Department or a higher level of management] for review and resolution. [Company Name] is committed to addressing concerns fairly and promptly.


4. Compensation & Benefits Overview

Pay Periods and Direct Deposit

Employees are paid on a [e.g., bi-weekly/semi-monthly] basis. All employees are required to enroll in direct deposit, ensuring timely and secure payment of wages into your designated bank account.

Overtime and Compensatory Time

Non-exempt employees are eligible for overtime pay at a rate of one and a half times their regular hourly rate for all hours worked over 40 in a single workweek, as required by law. All overtime must be pre-approved by your supervisor. Exempt employees are not eligible for overtime pay. [Company Name] does not offer compensatory time off in lieu of overtime pay.

Performance Reviews and Salary Adjustments

Salary adjustments are typically considered during annual performance reviews, based on individual performance, market conditions, and company financial performance.

Health Insurance (Medical, Dental, Vision)

[Company Name] offers a comprehensive benefits package, including medical, dental, and vision insurance options for eligible full-time employees and their dependents. Detailed information regarding plans, eligibility, and enrollment periods can be obtained from the HR Department.

Retirement Plans (e.g., 401k)

Eligible employees may participate in the [Company Name] 401(k) retirement savings plan, which includes [e.g., a company match]. Details on eligibility, vesting schedules, and enrollment are available through the HR Department or our plan administrator.

Life and Disability Insurance

[Company Name] provides [e.g., basic life insurance and short-term disability coverage] for eligible employees. Additional voluntary coverage options may also be available.

Employee Assistance Program (EAP)

Our Employee Assistance Program (EAP) offers confidential counseling and support services for a wide range of personal and work-related issues, including stress, family concerns, financial guidance, and mental health support. This service is available to all employees and their immediate family members.

Other Benefits

[Company Name] is proud to offer additional benefits, which may include:

  • Wellness programs
  • Professional development and training opportunities
  • Employee discount programs
  • Tuition reimbursement [if applicable]
  • [List any other specific benefits]

5. Leave Policies

Paid Time Off (PTO) / Vacation Policy

[Company Name] provides a comprehensive Paid Time Off (PTO) program that combines vacation, personal days, and minor sick leave into a single bank of hours.

  • Accrual: Full-time employees accrue PTO at a rate of [e.g., X hours per pay period], up to a maximum of [e.g., Y hours]. Part-time employees may accrue PTO on a pro-rata basis.
  • Usage: PTO can be used for vacation, personal appointments, or short-term illness. Requests for PTO should be submitted to your supervisor at least [e.g., two weeks] in advance for vacations, whenever possible.
  • Carryover: Employees may carry over up to [e.g., Z hours] of unused PTO into the next calendar year.
  • Payout: Unused PTO will [e.g., not be paid out / be paid out
gemini Output

The following is a comprehensive, detailed, and professional Employee Handbook designed to provide clarity on company policies, benefits, code of conduct, leave policies, and compliance. This document serves as a foundational guide for all employees at [Company Name].


Employee Handbook for [Company Name]

I. Welcome and Introduction

A. Welcome Message from Leadership

Dear Team Members,

Welcome to [Company Name]! We are thrilled to have you as part of our growing team. This handbook has been created to introduce you to our company culture, values, policies, and the benefits we offer. It is designed to be a helpful resource, answering many of the questions you may have about working here.

At [Company Name], we believe that our success is directly linked to the talent, dedication, and professionalism of our employees. We are committed to fostering a supportive, inclusive, and dynamic work environment where everyone can thrive, contribute their best, and achieve their professional goals.

Please take the time to read through this handbook carefully. It outlines important information about your employment, our expectations, and your rights and responsibilities. We encourage you to ask your manager or Human Resources any questions you may have.

Thank you for choosing to be a part of [Company Name]. We look forward to a successful and rewarding journey together.

Sincerely,

[Leadership Name/Title]

B. Purpose of This Handbook

This Employee Handbook is a guide to the policies, procedures, benefits, and expectations for all employees of [Company Name]. Its purpose is to:

  • Provide a clear understanding of our company's mission, vision, and values.
  • Outline the terms and conditions of employment.
  • Communicate our commitment to a fair, respectful, and productive workplace.
  • Ensure compliance with relevant employment laws and regulations.
  • Serve as a reference for common workplace situations and questions.

C. Disclaimer & At-Will Employment Statement

This handbook contains statements of policy and procedure only. It is not a contract of employment, express or implied, and does not create any contractual rights between [Company Name] and its employees. Employment with [Company Name] is "at-will," meaning that either the employee or the company may terminate the employment relationship at any time, for any reason, with or without cause or notice, subject to applicable laws.

[Company Name] reserves the right to change, modify, suspend, or revoke any of its policies, procedures, or benefits described in this handbook, in whole or in part, at any time, with or without notice, at its sole discretion. Any such changes will be communicated to employees. This handbook supersedes all previous handbooks, policies, and oral or written communications on the subjects covered herein.

D. Acknowledgment of Receipt

Upon receiving this handbook, all employees are required to review its contents and sign the "Employee Handbook Acknowledgment Form" (provided at the end of this document). Your signature indicates that you have received, read, understand, and agree to abide by the policies and procedures outlined herein.

II. About [Company Name]

A. Our Mission, Vision, and Values

  • Mission: [Insert Company Mission Statement - e.g., To innovate sustainable solutions that empower communities and drive technological advancement.]
  • Vision: [Insert Company Vision Statement - e.g., To be the global leader in eco-friendly technology, creating a brighter future for all.]
  • Core Values:

* Integrity: We act with honesty and strong moral principles in all our dealings.

* Innovation: We foster creativity and continuously seek new and better ways to achieve our goals.

* Collaboration: We believe in teamwork, mutual respect, and shared success.

* Excellence: We strive for the highest standards in everything we do, from product quality to customer service.

* Sustainability: We are committed to environmentally responsible practices and social impact.

* Respect: We value diversity and treat everyone with dignity and fairness.

B. Company History/Overview

[Provide a brief overview of the company's founding, key milestones, industry, and current operations. E.g., Founded in [Year] by [Founder(s)], [Company Name] has grown from a small startup into a recognized leader in the [Industry] sector. We are dedicated to [briefly state what the company does or aims to achieve].]

III. Employment Basics

A. Employment Classifications

Employees are generally classified into the following categories:

  • Full-Time: Employees who regularly work 40 hours per week and are eligible for all company benefits.
  • Part-Time: Employees who regularly work fewer than 40 hours per week. Eligibility for benefits may vary based on hours worked.
  • Temporary/Contract: Employees hired for a specific project or limited duration. Benefits eligibility may vary.
  • Exempt (Salaried): Employees who are exempt from overtime pay provisions under the Fair Labor Standards Act (FLSA).
  • Non-Exempt (Hourly): Employees who are eligible for overtime pay for hours worked over 40 in a workweek, as per FLSA.

B. Equal Employment Opportunity (EEO)

[Company Name] is an Equal Opportunity Employer. We are committed to providing a workplace free of discrimination and harassment. All employment decisions are made 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. This policy applies to all terms and conditions of employment, including recruiting, hiring, placement, promotion, termination, layoff, recall, transfer, leaves of absence, compensation, and training.

C. Anti-Discrimination and Anti-Harassment Policy

[Company Name] strictly prohibits discrimination and harassment of any kind. This includes, but is not limited to, harassment based on race, color, religion, sex, national origin, age, disability, or any other protected characteristic. Harassment can include offensive jokes, slurs, epithets or name-calling, physical assaults or threats, intimidation, ridicule or mockery, insults or put-downs, offensive objects or pictures, and interference with work performance.

Sexual harassment, which includes unwelcome sexual advances, requests for sexual favors, and other verbal or physical harassment of a sexual nature, is strictly prohibited.

Any employee who believes they have been subjected to discrimination or harassment, or who witnesses such behavior, should immediately report it to their manager or Human Resources. All complaints will be investigated promptly and confidentially to the extent possible, and appropriate corrective action will be taken. Retaliation against anyone who reports discrimination or harassment or participates in an investigation is strictly prohibited.

D. Accommodation for Disabilities (ADA)

[Company Name] complies with the Americans with Disabilities Act (ADA) and similar state laws. We are committed to providing reasonable accommodations to qualified individuals with disabilities unless doing so would cause undue hardship. Employees requiring accommodation should contact Human Resources to discuss their needs.

E. Hiring Process

Our hiring process is designed to identify the best candidates who align with our values and contribute to our success. It typically involves: application submission, initial screening, interviews, skills assessments, background checks, and reference checks. All offers of employment are contingent upon successful completion of these checks.

F. Onboarding and Orientation

New employees will undergo an onboarding and orientation program to help them integrate into the company, understand their roles, and learn about our policies and procedures. This includes completing necessary paperwork, learning about company systems, and meeting key team members.

G. Introductory Period

All new employees are subject to an introductory period of [e.g., 90 days] from their date of hire. This period allows both the employee and the company to assess suitability for the position. During this time, employment may be terminated at any time by either party, with or without cause or notice. Successful completion of the introductory period does not guarantee continued employment.

H. Performance Management

[Company Name] is committed to fostering a culture of continuous improvement and growth. Our performance management system includes:

  • Goal Setting: Regular discussions between employees and managers to set clear, measurable goals.
  • Feedback: Ongoing formal and informal feedback to help employees understand their performance and areas for development.
  • Performance Reviews: Annual or semi-annual performance reviews to assess accomplishments, discuss development plans, and set future objectives.

I. Training and Development

We encourage continuous learning and professional growth. [Company Name] provides various training and development opportunities, including internal workshops, external courses, and access to online learning platforms, to enhance skills and career progression.

J. Promotions and Transfers

Opportunities for promotion and transfer are based on performance, qualifications, skills, and business needs. Employees interested in internal opportunities should discuss their career aspirations with their manager and Human Resources.

K. Employee Records and Privacy

[Company Name] maintains confidential employee records. It is the employee's responsibility to notify Human Resources promptly of any changes to personal information (e.g., address, phone number, emergency contacts, marital status, dependents, beneficiaries). Employee records are accessible only to authorized personnel.

L. Termination of Employment

Employment may be terminated by either the employee or [Company Name] at any time, with or without cause or notice, consistent with the at-will employment policy.

  • Voluntary Termination: Employees are requested to provide at least two weeks' written notice to their manager and Human Resources.
  • Involuntary Termination: May occur due to various reasons, including poor performance, misconduct, violation of company policies, or business needs.
  • Exit Process: All employees separating from the company will undergo an exit interview and must return all company property.

IV. Compensation and Benefits

A. Compensation

  • Pay Periods and Payroll Practices: Employees are paid [e.g., bi-weekly/semi-monthly] on [e.g., Friday/15th and last day of the month]. Pay is direct deposited into your bank account.
  • Overtime Policy: Non-exempt employees are eligible for overtime pay at one and a half times their regular rate of pay for all hours worked over 40 in a workweek, as required by law. All overtime must be pre-approved by a manager.
  • Deductions from Pay: Deductions from pay will be made for legally required items (e.g., taxes, social security) and authorized voluntary deductions (e.g., health insurance premiums, 401k contributions).
  • Performance-Based Pay/Bonuses: [Company Name] may offer performance-based bonuses or merit increases based on individual and company performance. These are discretionary and not guaranteed.

B. Benefits Overview

[Company Name] offers a competitive benefits package to eligible employees, designed to support their health, financial well-being, and work-life balance. Detailed information regarding eligibility, enrollment, and specific plan details will be provided by Human Resources during onboarding.

  • Health Insurance:

* Medical: Comprehensive medical coverage options.

* Dental: Dental insurance plans.

* Vision: Vision insurance plans.

  • Life and Disability Insurance:

* Life Insurance: Company-paid basic life insurance, with options for supplemental coverage.

* Short-Term Disability (STD): Income protection for non-work-related illnesses or injuries.

* Long-Term Disability (LTD): Extended income protection for prolonged disabilities.

  • Retirement Plans:

* 401(k) Plan: Opportunity to save for retirement through pre-tax contributions, with a company match [if applicable, specify match details, e.g., 100% of the first 3% and 50% of the next 2%].

  • Employee Assistance Program (EAP): Confidential counseling and referral services for personal and work-related issues.
  • Other Perks:

* Wellness Programs: Initiatives to promote employee health and well-being.

* Tuition Reimbursement: Support for employees pursuing further education relevant to their role or career development [if applicable].

* Commuter Benefits: Pre-tax options for public transportation or parking [if applicable].

* Employee Discounts: [If applicable, e.g., discounts on company products/services or through partner vendors].

V. Time Off and Leave Policies

A. Paid Time Off (PTO)

[Company Name] provides paid time off for vacation, personal needs, and minor illnesses.

  • Accrual: PTO is accrued on a [e.g., bi-weekly/monthly] basis, based on hours worked or tenure.
  • Usage: Employees must request PTO in advance and receive manager approval.
  • Carryover: [Specify policy, e.g., Up to X hours of unused PTO may be carried over to the next year, or Use-it-or-lose-it].
  • Payout: [Specify policy, e.g., Unused PTO will be paid out upon termination of employment in accordance with state law, or No payout].

B. Holidays

[Company Name] observes the following

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
"); 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' import ReactDOM from 'react-dom/client' import App from './App' import './index.css' ReactDOM.createRoot(document.getElementById('root')!).render( ) "); 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' import './App.css' function App(){ return(

"+slugTitle(pn)+"

Built with PantheraHive BOS

) } export default App "); zip.file(folder+"src/index.css","*{margin:0;padding:0;box-sizing:border-box} body{font-family:system-ui,-apple-system,sans-serif;background:#f0f2f5;color:#1a1a2e} .app{min-height:100vh;display:flex;flex-direction:column} .app-header{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:40px} h1{font-size:2.5rem;font-weight:700} "); 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)+" Generated by PantheraHive BOS. ## Setup ```bash npm install npm run dev ``` ## Build ```bash npm run build ``` ## Open in IDE Open the project folder in VS Code or WebStorm. "); zip.file(folder+".gitignore","node_modules/ dist/ .env .DS_Store *.local "); } /* --- 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",'{ "name": "'+pn+'", "version": "0.0.0", "type": "module", "scripts": { "dev": "vite", "build": "vue-tsc -b && vite build", "preview": "vite preview" }, "dependencies": { "vue": "^3.5.13", "vue-router": "^4.4.5", "pinia": "^2.3.0", "axios": "^1.7.9" }, "devDependencies": { "@vitejs/plugin-vue": "^5.2.1", "typescript": "~5.7.3", "vite": "^6.0.5", "vue-tsc": "^2.2.0" } } '); zip.file(folder+"vite.config.ts","import { defineConfig } from 'vite' import vue from '@vitejs/plugin-vue' import { resolve } from 'path' export default defineConfig({ plugins: [vue()], resolve: { alias: { '@': resolve(__dirname,'src') } } }) "); zip.file(folder+"tsconfig.json",'{"files":[],"references":[{"path":"./tsconfig.app.json"},{"path":"./tsconfig.node.json"}]} '); zip.file(folder+"tsconfig.app.json",'{ "compilerOptions":{ "target":"ES2020","useDefineForClassFields":true,"module":"ESNext","lib":["ES2020","DOM","DOM.Iterable"], "skipLibCheck":true,"moduleResolution":"bundler","allowImportingTsExtensions":true, "isolatedModules":true,"moduleDetection":"force","noEmit":true,"jsxImportSource":"vue", "strict":true,"paths":{"@/*":["./src/*"]} }, "include":["src/**/*.ts","src/**/*.d.ts","src/**/*.tsx","src/**/*.vue"] } '); zip.file(folder+"env.d.ts","/// "); zip.file(folder+"index.html"," "+slugTitle(pn)+"
"); 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' import { createPinia } from 'pinia' import App from './App.vue' import './assets/main.css' const app = createApp(App) app.use(createPinia()) app.mount('#app') "); var hasApp=Object.keys(extracted).some(function(k){return k.indexOf("App.vue")>=0;}); if(!hasApp) zip.file(folder+"src/App.vue"," "); 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} "); 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)+" Generated by PantheraHive BOS. ## Setup ```bash npm install npm run dev ``` ## Build ```bash npm run build ``` Open in VS Code or WebStorm. "); zip.file(folder+".gitignore","node_modules/ dist/ .env .DS_Store *.local "); } /* --- 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",'{ "name": "'+pn+'", "version": "0.0.0", "scripts": { "ng": "ng", "start": "ng serve", "build": "ng build", "test": "ng test" }, "dependencies": { "@angular/animations": "^19.0.0", "@angular/common": "^19.0.0", "@angular/compiler": "^19.0.0", "@angular/core": "^19.0.0", "@angular/forms": "^19.0.0", "@angular/platform-browser": "^19.0.0", "@angular/platform-browser-dynamic": "^19.0.0", "@angular/router": "^19.0.0", "rxjs": "~7.8.0", "tslib": "^2.3.0", "zone.js": "~0.15.0" }, "devDependencies": { "@angular-devkit/build-angular": "^19.0.0", "@angular/cli": "^19.0.0", "@angular/compiler-cli": "^19.0.0", "typescript": "~5.6.0" } } '); zip.file(folder+"angular.json",'{ "$schema": "./node_modules/@angular/cli/lib/config/schema.json", "version": 1, "newProjectRoot": "projects", "projects": { "'+pn+'": { "projectType": "application", "root": "", "sourceRoot": "src", "prefix": "app", "architect": { "build": { "builder": "@angular-devkit/build-angular:application", "options": { "outputPath": "dist/'+pn+'", "index": "src/index.html", "browser": "src/main.ts", "tsConfig": "tsconfig.app.json", "styles": ["src/styles.css"], "scripts": [] } }, "serve": {"builder":"@angular-devkit/build-angular:dev-server","configurations":{"production":{"buildTarget":"'+pn+':build:production"},"development":{"buildTarget":"'+pn+':build:development"}},"defaultConfiguration":"development"} } } } } '); zip.file(folder+"tsconfig.json",'{ "compileOnSave": false, "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"]}, "references":[{"path":"./tsconfig.app.json"}] } '); zip.file(folder+"tsconfig.app.json",'{ "extends":"./tsconfig.json", "compilerOptions":{"outDir":"./dist/out-tsc","types":[]}, "files":["src/main.ts"], "include":["src/**/*.d.ts"] } '); zip.file(folder+"src/index.html"," "+slugTitle(pn)+" "); zip.file(folder+"src/main.ts","import { bootstrapApplication } from '@angular/platform-browser'; import { appConfig } from './app/app.config'; import { AppComponent } from './app/app.component'; bootstrapApplication(AppComponent, appConfig) .catch(err => console.error(err)); "); zip.file(folder+"src/styles.css","* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: system-ui, -apple-system, sans-serif; background: #f9fafb; color: #111827; } "); 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'; import { RouterOutlet } from '@angular/router'; @Component({ selector: 'app-root', standalone: true, imports: [RouterOutlet], templateUrl: './app.component.html', styleUrl: './app.component.css' }) export class AppComponent { title = '"+pn+"'; } "); zip.file(folder+"src/app/app.component.html","

"+slugTitle(pn)+"

Built with PantheraHive BOS

"); 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} "); } zip.file(folder+"src/app/app.config.ts","import { ApplicationConfig, provideZoneChangeDetection } from '@angular/core'; import { provideRouter } from '@angular/router'; import { routes } from './app.routes'; export const appConfig: ApplicationConfig = { providers: [ provideZoneChangeDetection({ eventCoalescing: true }), provideRouter(routes) ] }; "); zip.file(folder+"src/app/app.routes.ts","import { Routes } from '@angular/router'; export const routes: Routes = []; "); 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)+" Generated by PantheraHive BOS. ## Setup ```bash npm install ng serve # or: npm start ``` ## Build ```bash ng build ``` Open in VS Code with Angular Language Service extension. "); zip.file(folder+".gitignore","node_modules/ dist/ .env .DS_Store *.local .angular/ "); } /* --- Python --- */ function buildPython(zip,folder,app,code){ var title=slugTitle(app); var pn=pkgName(app); var src=code.replace(/^```[w]* ?/m,"").replace(/ ?```$/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(" "):"# add dependencies here "; zip.file(folder+"main.py",src||"# "+title+" # Generated by PantheraHive BOS print(title+" loaded") "); zip.file(folder+"requirements.txt",reqsTxt); zip.file(folder+".env.example","# Environment variables "); zip.file(folder+"README.md","# "+title+" Generated by PantheraHive BOS. ## Setup ```bash python3 -m venv .venv source .venv/bin/activate pip install -r requirements.txt ``` ## Run ```bash python main.py ``` "); zip.file(folder+".gitignore",".venv/ __pycache__/ *.pyc .env .DS_Store "); } /* --- Node.js --- */ function buildNode(zip,folder,app,code){ var title=slugTitle(app); var pn=pkgName(app); var src=code.replace(/^```[w]* ?/m,"").replace(/ ?```$/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)+" "; zip.file(folder+"package.json",pkgJson); var fallback="const express=require("express"); const app=express(); app.use(express.json()); app.get("/",(req,res)=>{ res.json({message:""+title+" API"}); }); const PORT=process.env.PORT||3000; app.listen(PORT,()=>console.log("Server on port "+PORT)); "; zip.file(folder+"src/index.js",src||fallback); zip.file(folder+".env.example","PORT=3000 "); zip.file(folder+".gitignore","node_modules/ .env .DS_Store "); zip.file(folder+"README.md","# "+title+" Generated by PantheraHive BOS. ## Setup ```bash npm install ``` ## Run ```bash npm run dev ``` "); } /* --- 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:" "+title+" "+code+" "; zip.file(folder+"index.html",indexHtml); zip.file(folder+"style.css","/* "+title+" — styles */ *{margin:0;padding:0;box-sizing:border-box} body{font-family:system-ui,-apple-system,sans-serif;background:#fff;color:#1a1a2e} "); zip.file(folder+"script.js","/* "+title+" — scripts */ "); zip.file(folder+"assets/.gitkeep",""); zip.file(folder+"README.md","# "+title+" Generated by PantheraHive BOS. ## Open Double-click `index.html` in your browser. Or serve locally: ```bash npx serve . # or python3 -m http.server 3000 ``` "); zip.file(folder+".gitignore",".DS_Store node_modules/ .env "); } /* ===== 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(/ {2,}/g,"

"); h+="

"+hc+"

Generated by PantheraHive BOS
"; zip.file(folder+app+".html",h); zip.file(folder+"README.md","# "+title+" Generated by PantheraHive BOS. Files: - "+app+".md (Markdown) - "+app+".html (styled HTML) "); } 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);}});}