feat: profile page sections

Close #233, #261, #267
This commit is contained in:
Thea Schöbl
2022-10-11 16:01:38 +00:00
committed by Jovan Krunić
parent 6b9b1fa854
commit e395e9d270
26 changed files with 923 additions and 236 deletions

View File

@@ -1,28 +1,31 @@
/*
* Copyright (C) 2022 StApps
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation, version 3.
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation, version 3.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* this program. If not, see <https://www.gnu.org/licenses/>.
* You should have received a copy of the GNU General Public License along with
* this program. If not, see <https://www.gnu.org/licenses/>.
*/
import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {FormsModule} from '@angular/forms';
import {Routes, RouterModule} from '@angular/router';
import {RouterModule, Routes} from '@angular/router';
import {IonicModule} from '@ionic/angular';
import {ProfilePageComponent} from './page/profile-page.component';
import {TranslateModule} from '@ngx-translate/core';
import {SwiperModule} from 'swiper/angular';
import {UtilModule} from '../../util/util.module';
import {IonIconModule} from '../../util/ion-icon/ion-icon.module';
import {ProfilePageSectionComponent} from './page/profile-page-section.component';
import {ThingTranslateModule} from '../../translation/thing-translate.module';
import {SectionModule} from '../../util/section/section.module';
const routes: Routes = [
{
@@ -32,7 +35,7 @@ const routes: Routes = [
];
@NgModule({
declarations: [ProfilePageComponent],
declarations: [ProfilePageComponent, ProfilePageSectionComponent],
imports: [
CommonModule,
FormsModule,
@@ -42,6 +45,8 @@ const routes: Routes = [
TranslateModule,
SwiperModule,
UtilModule,
ThingTranslateModule,
SectionModule,
],
})
export class ProfilePageModule {}