<app-page-header [pathTitle]="pathTitle"></app-page-header>
<div class="bg-card-white">
</div>
<div class="block-main-content">
    <div class="font-size-18px font-weight-700 pt-1.5rem text-primary px-2rem">
        {{'menu.Company' | translate}}
    </div>
    <div class="page pt-0.75rem">
        <div class="border-b border-gray-200 dark:border-white/10 px-2rem">
            <nav class="-mb-0.5 flex space-x-6 rtl:space-x-reverse">
                <a class="font-size-16px font-weight-500  hs-tab-active:font-weight-700 hs-tab-active:border-secondary  hs-tab-active:text-secondary pb-3 inline-flex items-center gap-2 border-b-[3px] border-transparent whitespace-nowrap text-gray-500  hover:text-secondary active"
                    href="javascript:void(0);" id="underline-item-1" data-hs-tab="#underline-1"
                    aria-controls="underline-1"
                    (click)="pathTitle = ['menu.Organization', 'menu.Company','menu.Company'];currentPath=1">
                    {{'menu.Company' | translate}}
                </a>
                <a class="font-size-16px font-weight-500  hs-tab-active:font-weight-700 hs-tab-active:border-secondary  hs-tab-active:text-secondary pb-3 px-1 inline-flex items-center gap-2 border-b-[3px] border-transparent whitespace-nowrap text-gray-500  hover:text-secondary"
                    href="javascript:void(0);" id="underline-item-2" data-hs-tab="#underline-2"
                    aria-controls="underline-2"
                    (click)="pathTitle = ['menu.Organization', 'menu.Company','BusinessUnit' ,'Division'];currentPath=2">
                    {{'BusinessUnit' | translate}}
                </a>
            </nav>
        </div>
        <div class="mt-3 px-2rem !-mt-3 pt-50px">
            <div *ngIf="currentPath==1" id="underline-1" role="tabpanel" aria-labelledby="underline-item-1">
                <app-company-registration-page></app-company-registration-page>
            </div>
            <div *ngIf="currentPath==2" id="underline-2" class="hidden" role="tabpanel"
                aria-labelledby="underline-item-2">
                <app-branch-business-unit [pathTitle]="pathTitle"
                    (sendPathTitle)="pathTitle=$event"></app-branch-business-unit>
            </div>
        </div>
    </div>
</div>