diff --git a/src/app/app.component.html b/src/app/app.component.html index 9be29f2..f72772a 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -1,32 +1,33 @@ - -
+
+
факты13
- - +
+ - + - - - - - - - - - - - + + + + + + + + + + +
+
diff --git a/src/app/pages/main-page/AnnoncesListCarules.ts b/src/app/pages/main-page/AnnoncesListCarules.ts index 00dc100..c216ee6 100644 --- a/src/app/pages/main-page/AnnoncesListCarules.ts +++ b/src/app/pages/main-page/AnnoncesListCarules.ts @@ -13,7 +13,13 @@ import {ActionService} from "../../services/action.service"; @Component({ selector: 'app-annonces-list-carules', template: ` -

{{getHeader()}}

+
+

{{getHeader()}}

+
+ arrow_back + arrow_forward +
+
{{a.shortText!=null?a.shortText:'от ' + (a.timestamp|date:'HH:mm dd.MM.YYYY')}}
- `, styleUrls: ['main-page.component.scss'] diff --git a/src/app/pages/profile-page/profile-page.component.scss b/src/app/pages/profile-page/profile-page.component.scss index b9ba95f..0271c8e 100644 --- a/src/app/pages/profile-page/profile-page.component.scss +++ b/src/app/pages/profile-page/profile-page.component.scss @@ -1,7 +1,3 @@ -.container { - padding: 24px; -} - p { margin: 0 0; } diff --git a/src/app/pages/rules-page/rules-page.component.scss b/src/app/pages/rules-page/rules-page.component.scss index a1342d9..46421bf 100644 --- a/src/app/pages/rules-page/rules-page.component.scss +++ b/src/app/pages/rules-page/rules-page.component.scss @@ -1,7 +1,3 @@ -.container { - padding: 24px; -} - .responsive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); diff --git a/src/app/pages/servers-page/servers-page.component.scss b/src/app/pages/servers-page/servers-page.component.scss index e0b0abf..fb94351 100644 --- a/src/app/pages/servers-page/servers-page.component.scss +++ b/src/app/pages/servers-page/servers-page.component.scss @@ -1,7 +1,3 @@ -.container { - padding: 24px; -} - ::ng-deep .leaflet-marker-icon { width: 24px !important; height: 24px !important; diff --git a/src/app/pages/vip-page/vip-page.component.html b/src/app/pages/vip-page/vip-page.component.html index 0bcc36f..7b916e7 100644 --- a/src/app/pages/vip-page/vip-page.component.html +++ b/src/app/pages/vip-page/vip-page.component.html @@ -25,13 +25,13 @@ - + - Здоровье маме + {{reason.name}} -

Используй команду

+

{{reason.about}}

diff --git a/src/app/pages/vip-page/vip-page.component.ts b/src/app/pages/vip-page/vip-page.component.ts index 1447282..9566e39 100644 --- a/src/app/pages/vip-page/vip-page.component.ts +++ b/src/app/pages/vip-page/vip-page.component.ts @@ -13,6 +13,26 @@ import {VipPromocodeDialog} from "./VipPromocodeDialog"; }) export class VipPageComponent implements OnInit { vips:VipBuy[] = []; + vipsReasons:{name: string, about:string}[] = [ + {name: 'Одна випка на все сервера', about: 'Не важно где ты чаще всего играешь, випка будет работать на всех серверах фактов'}, + {name: 'Резервный слот', about: 'Видишь 32/32 на сервере? Не беда. Кикнет лоха, и ты зайдешь, а если прийдет другой вип игрок, то ты не будешь лохом.'}, + {name: 'АФК', about: 'У нас есть плагин который кикает за бездействие на сервере, тебя с випкой не кинет стой как даун круглые сутки'}, + {name: 'Префикс в чате', about: 'Смешной префикс в чате который выделяет тебя из горы сообщений уровня: я путис'}, + {name: 'Хук', about: 'Хук позволяет летать по карте органиченное время, чтобы использовать забинди кнопку: bind R +hook'}, + {name: 'Веревка', about: 'Еще одно ебанутое изобретение как и хук, только позволяет находиться на одном месте, бинд: bind R +rope'}, + {name: 'Реклама', about: 'У нас по идеи есть реклама которая проигрывается игрокам по кд, так вот если у тебя випка то лишние сранье в уши не будет тебе мешать'}, + {name: 'Бумбокс', about: 'Ты инженер? Ставишь раздатчик? Так вот у тебя будет ООО ОХУЕТЬ МУЗЫКАЛЬНЫЙ РАЗДАТЧИК (ну и кал, я те скажу)'}, + {name: 'Меняй себя', about: 'Есть у нас такая команда как !class, так вот у нее есть иногда ограничения, с випкой у тебя их не будет дурачек'}, + {name: 'Фильтр ников', about: 'О у тебя в нике реклама трейдов, так иди нахуй, хотя ты можешь купить випку и тебя не будет переименовывать'}, + {name: 'КД у РТД', about: 'КД у РТД будет всегда для тебя равен 2-м минутам'}, + {name: 'Аньюжки', about: 'Ты можешь се выбрать аньюжл эффект через команду !unusual или хуй знает, кароч через меню тоже можешь'}, + {name: 'Изменение своего голоса', about: 'Твой путис говорит путис, измени его голос через !voicefx или через пункт в меню'}, + {name: 'Изменение скорости стрельбы', about: 'Мге братья тебя ебут? Не беда используй !rof или через пункт в меню'}, + {name: 'Бесконечные патроны', about: 'Мало патронов? Используй команду !aia или через пункт в меню'}, + {name: 'Скорость передвижения', about: 'Ты путис и медленно ходишь, так ускорься через !speedme и когда надоест !speedmereset или через пункт в меню'}, + {name: 'Следы ботинок', about: 'У тебя недостаточные бархатные тяги, исправь это через !footsteps или через пункт в меню'}, + {name: 'Здоровье', about: 'Постоянно убивают? Так увеличь себе здоровье через !sethealth 99999 или через пункт в меню'}, + ]; constructor(private vipService: VipService, private dialog: MatDialog) { } diff --git a/src/app/services/auth.service.ts b/src/app/services/auth.service.ts index 30c60c9..eda8d95 100644 --- a/src/app/services/auth.service.ts +++ b/src/app/services/auth.service.ts @@ -26,6 +26,8 @@ export class AuthService { this.permition = res.permition; sessionStorage.setItem(AuthService.KEY, JSON.stringify(res.steamids)) }, (err) => { + if (err.status == 401) + sessionStorage.removeItem(AuthService.KEY); console.log(err); }) } diff --git a/src/index.html b/src/index.html index 546649e..6fbcb9d 100644 --- a/src/index.html +++ b/src/index.html @@ -2,9 +2,9 @@ - F13AngWeb + Факты 13 - + diff --git a/src/styles.scss b/src/styles.scss index e2976d2..b8dcfc6 100644 --- a/src/styles.scss +++ b/src/styles.scss @@ -102,6 +102,23 @@ span { background: linear-gradient(to top, #f2a998, #e65e11); } +.f13_l { + padding-left: calc((100% - 66%)/2); + cursor: pointer +} + +.f13_r { + padding-right: calc((100% - 66%)/2); +} + +.container { + padding: 24px; +} + +.mat-expansion-panel-body { + padding: 0 24px 16px !important; +} + @media only screen and (max-width: 600px) { $screen-width: 95%; @@ -114,6 +131,22 @@ span { padding-left: calc((100% - $screen-width)/2); padding-right: calc((100% - $screen-width)/2); } + + .f13_l { + padding-left: calc((100% - $screen-width)/2); + } + + .f13_r { + padding-right: calc((100% - $screen-width)/2); + } + + .container { + padding: 1px; + } + + .mat-expansion-panel-body { + padding: 0 1px 1px !important; + } } @media only screen and (min-width: 600px) { @@ -128,6 +161,22 @@ span { padding-left: calc((100% - $screen-width)/2); padding-right: calc((100% - $screen-width)/2); } + + .f13_l { + padding-left: calc((100% - $screen-width)/2); + } + + .f13_r { + padding-right: calc((100% - $screen-width)/2); + } + + .container { + padding: 4px; + } + + .mat-expansion-panel-body { + padding: 0 4px 2px !important; + } } @media only screen and (min-width: 768px) { @@ -142,6 +191,22 @@ span { padding-left: calc((100% - $screen-width)/2); padding-right: calc((100% - $screen-width)/2); } + + .f13_l { + padding-left: calc((100% - $screen-width)/2); + } + + .f13_r { + padding-right: calc((100% - $screen-width)/2); + } + + .container { + padding: 8px; + } + + .mat-expansion-panel-body { + padding: 0 8px 4px !important; + } } @media only screen and (min-width: 992px) { @@ -156,6 +221,22 @@ span { padding-left: calc((100% - $screen-width)/2); padding-right: calc((100% - $screen-width)/2); } + + .f13_l { + padding-left: calc((100% - $screen-width)/2); + } + + .f13_r { + padding-right: calc((100% - $screen-width)/2); + } + + .container { + padding: 16px; + } + + .mat-expansion-panel-body { + padding: 0 16px 12px !important; + } } @media only screen and (min-width: 1200px) { @@ -170,6 +251,22 @@ span { padding-left: calc((100% - $screen-width)/2); padding-right: calc((100% - $screen-width)/2); } + + .f13_l { + padding-left: calc((100% - $screen-width)/2); + } + + .f13_r { + padding-right: calc((100% - $screen-width)/2); + } + + .container { + padding: 24px; + } + + .mat-expansion-panel-body { + padding: 0 24px 16px !important; + } } //размеры говна конец