Skip to content

Commit

Permalink
Run prettier write
Browse files Browse the repository at this point in the history
  • Loading branch information
MGREMY committed Jan 15, 2024
1 parent de97249 commit 54b6c98
Show file tree
Hide file tree
Showing 15 changed files with 379 additions and 214 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ jobs:
with:
fetch-depth: 0


- name: Setup NodeJS 20 💿
uses: actions/setup-node@v3
with:
Expand Down
14 changes: 7 additions & 7 deletions apps/docs/src/app/app.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ApplicationConfig } from '@angular/core';
import { appRoutes } from './app.routes';
import { provideRouter } from '@angular/router';

export const appConfig: ApplicationConfig = {
providers: [provideRouter(appRoutes)],
};
import { ApplicationConfig } from '@angular/core';
import { appRoutes } from './app.routes';
import { provideRouter } from '@angular/router';

export const appConfig: ApplicationConfig = {
providers: [provideRouter(appRoutes)],
};
116 changes: 58 additions & 58 deletions apps/docs/src/app/app.routes.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Route } from '@angular/router';

import { Route } from '@angular/router';

import { AccordionPageComponent } from './pages/accordion-page/accordion-page.component';
import { AlertPageComponent } from './pages/alert-page/alert-page.component';
import { BadgePageComponent } from './pages/badge-page/badge-page.component';
Expand All @@ -12,59 +12,59 @@ import { FormsPageComponent } from './pages/forms-page/forms-page.component';
import { IndicatorPageComponent } from './pages/indicator-page/indicator-page.component';
import { InputFieldPageComponent } from './pages/input-field-page/input-field-page.component';
import { ModalPageComponent } from './pages/modal-page/modal-page.component';
import { SidebarPageComponent } from './pages/sidebar-page/sidebar-page.component';

export const appRoutes: Route[] = [
{
path: '',
component: DashboardPageComponent,
},
{
path: 'accordion',
component: AccordionPageComponent,
},
{
path: 'alerts',
component: AlertPageComponent,
},
{
path: 'badges',
component: BadgePageComponent,
},
{
path: 'breadcrumb',
component: BreadcrumbPageComponent,
},
{
path: 'buttons',
component: ButtonPageComponent,
},
{
path: 'dropdown',
component: DropdownPageComponent,
},
{
path: 'indicators',
component: IndicatorPageComponent,
},
{
path: 'forms',
component: FormsPageComponent,
},
{
path: 'input-field',
component: InputFieldPageComponent,
},
{
path: 'floating-label',
component: FloatingLabelPageComponent,
},
{
path: 'sidebar',
component: SidebarPageComponent,
},
{
path: 'modals',
component: ModalPageComponent,
},
];
import { SidebarPageComponent } from './pages/sidebar-page/sidebar-page.component';

export const appRoutes: Route[] = [
{
path: '',
component: DashboardPageComponent,
},
{
path: 'accordion',
component: AccordionPageComponent,
},
{
path: 'alerts',
component: AlertPageComponent,
},
{
path: 'badges',
component: BadgePageComponent,
},
{
path: 'breadcrumb',
component: BreadcrumbPageComponent,
},
{
path: 'buttons',
component: ButtonPageComponent,
},
{
path: 'dropdown',
component: DropdownPageComponent,
},
{
path: 'indicators',
component: IndicatorPageComponent,
},
{
path: 'forms',
component: FormsPageComponent,
},
{
path: 'input-field',
component: InputFieldPageComponent,
},
{
path: 'floating-label',
component: FloatingLabelPageComponent,
},
{
path: 'sidebar',
component: SidebarPageComponent,
},
{
path: 'modals',
component: ModalPageComponent,
},
];
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
import { BreadcrumbComponent, BreadcrumbItemComponent } from '@flowbite-angular/lib';
import {
BreadcrumbComponent,
BreadcrumbItemComponent,
} from '@flowbite-angular/lib';
import { Component } from '@angular/core';
import { DemoExampleComponent } from '../../common/demo-example/demo-example.component';
import { DemoPageComponent } from '../../common/demo-page/demo-page.component';

@Component({
standalone: true,
imports: [DemoPageComponent, DemoExampleComponent, BreadcrumbComponent, BreadcrumbItemComponent],
imports: [
DemoPageComponent,
DemoExampleComponent,
BreadcrumbComponent,
BreadcrumbItemComponent,
],
selector: 'flowbite-breadcrumb-page',
template: ` <flowbite-demo-page>
<flowbite-demo-example title="Default Breadcrumb" [codes]="[examples[0]]">
Expand Down
7 changes: 6 additions & 1 deletion apps/docs/src/app/pages/button-page/button-page.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@ import { DemoPageComponent } from '../../common/demo-page/demo-page.component';

@Component({
standalone: true,
imports: [DemoPageComponent, DemoExampleComponent, ButtonComponent, BadgeComponent],
imports: [
DemoPageComponent,
DemoExampleComponent,
ButtonComponent,
BadgeComponent,
],
selector: 'flowbite-button-page',
template: `<flowbite-demo-page>
<flowbite-demo-example title="Default button" [codes]="[examples[0]]">
Expand Down
Loading

0 comments on commit 54b6c98

Please sign in to comment.