Skip to content

Commit

Permalink
Adds news, organizes articles
Browse files Browse the repository at this point in the history
  • Loading branch information
nikbabchenko committed Feb 28, 2018
1 parent 30e4df5 commit 2a9a31d
Show file tree
Hide file tree
Showing 21 changed files with 36 additions and 26 deletions.
17 changes: 3 additions & 14 deletions src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,7 @@
import {ArticleContentComponent} from './pages/articles/article-content/article-content.component';
import {EugeneLambovComponent} from './pages/articles/eugene-lambov/eugene-lambov.component';
import {CharityComponent, ContactsComponent, DocumentsComponent, HomeComponent, ReportComponent} from './pages';
import {ResistanceComponent} from './pages/resistance/resistance.component';
import {NgModule} from '@angular/core';
import {Routes, RouterModule} from '@angular/router';
import {
HomeComponent,
CharityComponent,
ContactsComponent,
DocumentsComponent,
ReportComponent
} from './pages/index';

import {
ResistanceComponent
} from './pages/resistance/resistance.component';
import {RouterModule, Routes} from '@angular/router';

const routes: Routes = [
{
Expand Down
6 changes: 3 additions & 3 deletions src/app/pages/articles/articles/articles-routing.module.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {ObrashenieComponent} from './../obrashenie/obrashenie.component';
import {ArticleContentComponent} from './../article-content/article-content.component';
import {EugeneLambovComponent} from './../eugene-lambov/eugene-lambov.component';
import {ZvernennjaDoOrganivComponent} from './../zvernennja-do-organiv/zvernennja-do-organiv.component';
import {ObrashenieComponent} from './obrashenie/obrashenie.component';
import {EugeneLambovComponent} from './eugene-lambov/eugene-lambov.component';
import {ZvernennjaDoOrganivComponent} from './zvernennja-do-organiv/zvernennja-do-organiv.component';
import {ArticlesComponent} from './../articles.component';
import {NgModule} from '@angular/core';
import {Routes, RouterModule} from '@angular/router';
Expand Down
6 changes: 3 additions & 3 deletions src/app/pages/articles/articles/articles.module.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {ObrashenieComponent} from './../obrashenie/obrashenie.component';
import {ObrashenieComponent} from './obrashenie/obrashenie.component';
import {ShareButtonsModule} from 'ngx-sharebuttons';
import {ArticlesComponent} from './../articles.component';
import {ZvernennjaDoOrganivComponent} from './../zvernennja-do-organiv/zvernennja-do-organiv.component';
import {EugeneLambovComponent} from './../eugene-lambov/eugene-lambov.component';
import {ZvernennjaDoOrganivComponent} from './zvernennja-do-organiv/zvernennja-do-organiv.component';
import {EugeneLambovComponent} from './eugene-lambov/eugene-lambov.component';
import {ArticleContentComponent} from './../article-content/article-content.component';
import {SharedModule} from './../../../shared/shared.module';
import { NgModule } from '@angular/core';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '../../../styles/app';
@import '../../../../styles/app';


.article-content {
Expand All @@ -19,4 +19,4 @@

.iframe {
max-width: 100%;
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {ModalService} from './../../../shared/modal.service';
import {ModalService} from './../../../../shared/modal.service';
import {Component, OnInit, ViewChild, ElementRef, Renderer2} from '@angular/core';

@Component({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '../../../styles/app';
@import '../../../../styles/app';


.article-content {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '../../../styles/app';
@import '../../../../styles/app';


.article-content {
Expand Down
18 changes: 18 additions & 0 deletions src/app/pages/charity/charity-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,5 +125,23 @@ export const charityList = [
goal: 'Покупка инвалидной коляски',
summ: '4 700 грн.',
add: '<img src="/assets/images/sinkevich.png" alt="Покупка инвалидной коляски" class="responsive-image popup">'
},
{
name: 'Гасевич Богдана',
goal: 'Оплата услуг реабилитации',
summ: '7 500 грн.',
add: '<img src="/assets/images/charity/bogdana.png" alt="Оплата услуг реабилитации Гасевич Богдана" class="responsive-image popup">'
},
{
name: 'Участник АТО Андрусов Р.И.',
goal: 'Приобретение медицинских препаратов',
summ: '15 300 грн.',
add: '<img src="/assets/images/charity/androsov.png" alt="Приобретение медицинских препаратов" class="responsive-image popup">'
},
{
name: 'Участник АТО Бережной C.А.',
goal: 'Приобретение медицинских препаратов',
summ: '2 400 грн.',
add: '<img src="/assets/images/charity/berezhnoy.png" alt="Приобретение медицинских препаратов" class="responsive-image popup">'
}
];
5 changes: 4 additions & 1 deletion src/app/pages/resistance/resistance.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ <h4 class="resistance__title">Глава Лиманской районной р
<p>
<a class="link" data-src="/assets/images/otvet.jpg" class="popup">Ответ на обращение к правоохранительным органам</a>
<p>
<a class="link" [routerLink]="['/articles', 'obrashenie-o-sotrudnichestve']">Официальное обращение о сотрудничестве.</a>
<a class="link" [routerLink]="['/articles', 'obrashenie-o-sotrudnichestve']">Официальное обращение о сотрудничестве</a>
</p>
<p>
<a class="link" data-src="/assets/images/resistance/otvet-obrashenie.png" class="popup">Ответ на обращение о сотрудничестве</a>
</p>
</div>

Expand Down
Binary file added src/assets/images/charity/androsov.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/charity/berezhnoy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/charity/bogdana.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2a9a31d

Please sign in to comment.