2025-04-05 16:19:10 +00:00
|
|
|
import {NgModule} from '@angular/core';
|
|
|
|
|
import {BrowserModule} from '@angular/platform-browser';
|
2025-04-02 20:52:15 +00:00
|
|
|
import {RouterModule, Routes} from '@angular/router';
|
2025-04-05 16:19:10 +00:00
|
|
|
import {HomeComponent} from './home/home.component';
|
2025-04-02 20:52:15 +00:00
|
|
|
import {NgOptimizedImage} from '@angular/common';
|
2025-04-03 20:21:21 +00:00
|
|
|
import {CookieService} from 'ngx-cookie-service';
|
2025-04-05 16:32:55 +00:00
|
|
|
import {MapComponent} from './map/map.component';
|
2025-04-05 19:22:59 +00:00
|
|
|
import {RulesComponent} from './rules/rules.component';
|
2025-04-05 20:07:53 +00:00
|
|
|
import {CopyIpComponent} from './copy-ip/copy-ip.component';
|
2025-04-06 08:25:48 +00:00
|
|
|
import {TermsComponent} from './terms/terms.component';
|
|
|
|
|
import {PrivacyComponent} from './privacy/privacy.component';
|
2025-04-06 11:03:59 +00:00
|
|
|
import {TeamComponent} from './team/team.component';
|
|
|
|
|
import {AboutComponent} from './about/about.component';
|
2025-04-06 11:37:44 +00:00
|
|
|
import {SocialsComponent} from './socials/socials.component';
|
2025-04-06 18:45:43 +00:00
|
|
|
import {VoteComponent} from './vote/vote.component';
|
2025-04-06 20:06:48 +00:00
|
|
|
import {BirthdaysComponent} from './birthdays/birthdays.component';
|
2025-04-08 19:45:44 +00:00
|
|
|
import {HttpClientModule} from '@angular/common/http';
|
|
|
|
|
|
2025-04-02 20:52:15 +00:00
|
|
|
|
|
|
|
|
const routes: Routes = [
|
2025-04-05 16:32:55 +00:00
|
|
|
{path: '', component: HomeComponent},
|
|
|
|
|
{path: 'map', component: MapComponent},
|
2025-04-05 19:22:59 +00:00
|
|
|
{path: 'rules', component: RulesComponent},
|
2025-04-06 18:45:43 +00:00
|
|
|
{path: 'vote', component: VoteComponent},
|
2025-04-06 11:03:59 +00:00
|
|
|
{path: 'about', component: AboutComponent},
|
2025-04-06 11:37:44 +00:00
|
|
|
{path: 'socials', component: SocialsComponent},
|
2025-04-06 11:03:59 +00:00
|
|
|
{path: 'team', component: TeamComponent},
|
2025-04-06 20:06:48 +00:00
|
|
|
{path: 'birthdays', component: BirthdaysComponent},
|
2025-04-06 08:25:48 +00:00
|
|
|
{path: 'terms', component: TermsComponent},
|
|
|
|
|
{path: 'privacy', component: PrivacyComponent},
|
2025-04-02 20:52:15 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
|
|
@NgModule({
|
2025-04-08 19:45:44 +00:00
|
|
|
declarations: [],
|
2025-04-02 20:52:15 +00:00
|
|
|
imports: [
|
|
|
|
|
BrowserModule,
|
2025-04-08 19:45:44 +00:00
|
|
|
HttpClientModule,
|
2025-04-06 15:51:16 +00:00
|
|
|
RouterModule.forRoot(routes, {
|
|
|
|
|
scrollPositionRestoration: 'enabled',
|
|
|
|
|
}),
|
2025-04-02 20:52:15 +00:00
|
|
|
NgOptimizedImage,
|
2025-04-05 20:07:53 +00:00
|
|
|
CopyIpComponent,
|
2025-04-02 20:52:15 +00:00
|
|
|
],
|
2025-04-08 19:45:44 +00:00
|
|
|
providers: [CookieService]
|
2025-04-02 20:52:15 +00:00
|
|
|
})
|
2025-04-05 16:19:10 +00:00
|
|
|
export class AppModule {
|
|
|
|
|
}
|