-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path709.ad7b207375f1214c.js
1 lines (1 loc) · 6.22 KB
/
709.ad7b207375f1214c.js
1
"use strict";(self.webpackChunkemporium=self.webpackChunkemporium||[]).push([[709],{6709:(Z,s,e)=>{e.r(s),e.d(s,{HomeModule:()=>x,routes:()=>d});var g=e(6019),u=e(6731),c=e(697),l=e(9165),t=e(3668),m=e(8198),r=e(515),p=e(888),h=e(86),f=e(9112);const d=[{path:"",component:(()=>{class o{constructor(n){this.appService=n,this.slides=[{title:"Luqatah",subtitle:"Where you can announce and search for lost and found items",image:"assets/luqatahpics/lostfound-banner.jpg"}],this.brands=[],this.banners=[]}ngOnInit(){this.getBanners(),this.getProducts("featured"),this.getBrands()}onLinkClick(n){this.getProducts(n.tab.textLabel.toLowerCase())}getProducts(n){"featured"==n&&!this.featuredProducts&&this.appService.getProducts("featured").subscribe(i=>{this.featuredProducts=i}),"on sale"==n&&!this.onSaleProducts&&this.appService.getProducts("on-sale").subscribe(i=>{this.onSaleProducts=i}),"top rated"==n&&!this.topRatedProducts&&this.appService.getProducts("top-rated").subscribe(i=>{this.topRatedProducts=i}),"new arrivals"==n&&!this.newArrivalsProducts&&this.appService.getProducts("new-arrivals").subscribe(i=>{this.newArrivalsProducts=i})}getBanners(){this.appService.getBanners().subscribe(n=>{this.banners=n})}getBrands(){this.brands=this.appService.getBrands()}}return o.\u0275fac=function(n){return new(n||o)(t.Y36(m.z))},o.\u0275cmp=t.Xpm({type:o,selectors:[["app-home"]],decls:44,vars:0,consts:[[1,"main-slider"],[1,"swiper-container","h-100"],[1,"swiper-wrapper","h-100"],[1,"swiper-slide"],[1,"slide-item",2,"background-image","url('assets/luqatahpics/lostfound-banner.jpg')"],[1,"mask"],["fxLayout","column","fxLayoutAlign","center center",1,"content"],[1,"swiper-pagination","white"],[1,"products-tabs"],["fxLayout","row wrap","fxLayoutAlign","space-around"],["fxLayoutAlign","space-around","fxFlex","100","fxFlex.gt-xs","35"],["fxLayout","column","fxLayoutAlign","left ",1,"text-left"],["src","assets/luqatahpics/lost.jpg","width","100%",1,"swiper-lazy"],[1,"primary-text","py-1","text-left"],["fxLayout","row","fxLayoutAlign","start ",1,"text-primary","py-1"],["mat-raised-button","","color","primary","routerLink","/make-announcement",2,"margin","1px","background-color","#9c27b0"],["mat-raised-button","","color","primary","routerLink","/search-announcements"],["src","assets/luqatahpics/found.jpg","width","100%",1,"swiper-lazy"],["fxLayout","row","fxLayoutAlign","center center",1,"text-primary","py-1"]],template:function(n,i){1&n&&(t.TgZ(0,"div",0),t.TgZ(1,"div",1),t.TgZ(2,"div",2),t.TgZ(3,"div",3),t.TgZ(4,"div",4),t._UZ(5,"div",5),t.TgZ(6,"div",6),t.TgZ(7,"h1"),t._uU(8,"Luqatah"),t.qZA(),t.TgZ(9,"h3"),t._uU(10,"Where you can announce and search for lost and found items"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t._UZ(11,"div",7),t.qZA(),t.qZA(),t.TgZ(12,"div",8),t.TgZ(13,"div",9),t.TgZ(14,"mat-card",10),t.TgZ(15,"div"),t.TgZ(16,"div",11),t._UZ(17,"img",12),t.TgZ(18,"h1",13),t._uU(19,"Lost Something?"),t.qZA(),t.TgZ(20,"div",14),t.TgZ(21,"button",15),t.TgZ(22,"mat-icon"),t._uU(23,"announcement"),t.qZA(),t._uU(24," Make Announcement"),t.qZA(),t.TgZ(25,"button",16),t.TgZ(26,"mat-icon"),t._uU(27,"search"),t.qZA(),t._uU(28," Search Announcement "),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(29,"mat-card",10),t.TgZ(30,"div"),t.TgZ(31,"div",11),t._UZ(32,"img",17),t.TgZ(33,"h1",13),t._uU(34,"Found Something?"),t.qZA(),t.TgZ(35,"div",18),t.TgZ(36,"button",15),t.TgZ(37,"mat-icon"),t._uU(38,"announcement"),t.qZA(),t._uU(39," Make Announcement"),t.qZA(),t.TgZ(40,"button",16),t.TgZ(41,"mat-icon"),t._uU(42,"search"),t.qZA(),t._uU(43," Search Announcement "),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA())},directives:[r.xw,r.Wh,p.a8,r.yH,h.lW,c.rH,f.Hw],styles:[".products-tabs[_ngcontent-%COMP%]{margin-top:30px}.btn[_ngcontent-%COMP%]{border:5px solid;border-image-slice:1;background:var(--gradient)!important;-webkit-background-clip:text!important;-webkit-text-fill-color:transparent!important;border-image-source:var(--gradient)!important;text-decoration:none;transition:all .4s ease}.btn[_ngcontent-%COMP%]:hover, .btn[_ngcontent-%COMP%]:focus{background:var(--gradient)!important;-webkit-background-clip:none!important;-webkit-text-fill-color:#fff!important;border:5px solid #fff!important;box-shadow:#222 1px 0 10px;text-decoration:underline}.main-slider[_ngcontent-%COMP%]{height:500px;margin-top:14px}.main-slider[_ngcontent-%COMP%] .slide-item[_ngcontent-%COMP%]{height:100%;background-size:cover;background-position:center}.main-slider[_ngcontent-%COMP%] .slide-item[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{height:100%;position:relative;z-index:9}.main-slider[_ngcontent-%COMP%] .slide-item[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:48px;text-align:center;color:#fff;text-transform:uppercase;letter-spacing:3px}.main-slider[_ngcontent-%COMP%] .slide-item[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:36px;text-align:center;color:#fff;margin-bottom:30px;font-weight:300;letter-spacing:2px}.main-slider[_ngcontent-%COMP%] .slide-item[_ngcontent-%COMP%] .mask[_ngcontent-%COMP%]{opacity:.6;width:100%;height:100%;position:absolute;overflow:hidden;z-index:0;background-color:#000c}.main-slider[_ngcontent-%COMP%] .swiper-lazy-preloader[_ngcontent-%COMP%]{top:18%}@media (max-width: 575px){.main-slider[_ngcontent-%COMP%]{height:280px}.main-slider[_ngcontent-%COMP%] .slide-item[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:24px;letter-spacing:3px}.main-slider[_ngcontent-%COMP%] .slide-item[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:18px;margin-bottom:10px;letter-spacing:2px}}@media (min-width: 576px) and (max-width: 767px){.main-slider[_ngcontent-%COMP%]{height:320px}.main-slider[_ngcontent-%COMP%] .slide-item[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:36px;letter-spacing:3px}.main-slider[_ngcontent-%COMP%] .slide-item[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:24px;margin-bottom:20px;letter-spacing:2px}}"]}),o})(),pathMatch:"full"}];let x=(()=>{class o{}return o.\u0275fac=function(n){return new(n||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({providers:[{provide:u.Ad,useValue:"en-GB"}],imports:[[g.ez,c.Bz.forChild(d),l.m]]}),o})()}}]);