| 1 |
- {"ast":null,"code":"import * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/platform-browser\";\nimport * as i2 from \"@angular/router\";\nimport * as i3 from \"@angular/material/button\";\nconst imgRange = \"assets/img/concours/range.png\";\nconst imgReduction = \"assets/img/concours/70.png\";\nconst imgBurger = \"assets/img/concours/burger2.png\";\nconst imgDessert = \"assets/img/concours/dessert5.png\";\nconst imgMenuJour = \"assets/img/concours/menu-jour.png\";\nconst imgMenuChoix = \"assets/img/concours/menu-choix.png\";\nexport let HomeComponent = /*#__PURE__*/(() => {\n class HomeComponent {\n constructor(domSanitizer) {\n this.domSanitizer = domSanitizer;\n }\n ngOnInit() {}\n getImgRange() {\n return this.domSanitizer.bypassSecurityTrustResourceUrl(imgRange);\n }\n getDessert() {\n return this.domSanitizer.bypassSecurityTrustResourceUrl(imgDessert);\n }\n getBurger() {\n return this.domSanitizer.bypassSecurityTrustResourceUrl(imgBurger);\n }\n getMenuJour() {\n return this.domSanitizer.bypassSecurityTrustResourceUrl(imgMenuJour);\n }\n getMenuChoix() {\n return this.domSanitizer.bypassSecurityTrustResourceUrl(imgMenuChoix);\n }\n getReduction() {\n return this.domSanitizer.bypassSecurityTrustResourceUrl(imgReduction);\n }\n static #_ = this.ɵfac = function HomeComponent_Factory(t) {\n return new (t || HomeComponent)(i0.ɵɵdirectiveInject(i1.DomSanitizer));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: HomeComponent,\n selectors: [[\"app-home\"]],\n decls: 48,\n vars: 6,\n consts: [[1, \"container\", \"navtop\"], [1, \"text-center\", \"gain\", \"mb-4\"], [1, \"range\"], [1, \"text-center\", \"concours\", \"font-weight-bold\"], [1, \"text-center\", \"concours\"], [1, \"row\"], [1, \"col-12\", \"col-md-6\", \"order-2\", \"order-md-1\"], [1, \"col-12\", \"col-md-9\"], [1, \"col-12\", \"col-md-6\", \"order-1\", \"order-md-2\"], [\"alt\", \"Image of rangeRover\", \"width\", \"80%\", 1, \"rangeRover\", 3, \"src\"], [1, \"row\", \"justify-content-center\", \"mt-3\"], [\"mat-raised-button\", \"\", \"color\", \"primary\", \"type\", \"submit\", \"routerLink\", \"/login\", 1, \"col-8\", \"col-md-4\", \"color-theme\"], [1, \"lots\", \"mt-4\"], [1, \"text-center\", \"font-weight-bold\"], [1, \"row\", \"mt-5\"], [1, \"col-4\"], [\"alt\", \"A description of dessert au choix\", \"width\", \"100%\", 3, \"src\"], [1, \"text-center\", \"font-weight-bold\", \"dessert\"], [\"alt\", \"A description burger au choix\", \"width\", \"90%\", 3, \"src\"], [\"alt\", \"A description of menu du jour\", \"width\", \"60%\", 3, \"src\"], [1, \"row\", \"justify-content-center\"], [\"alt\", \"A description of menu au choix\", \"width\", \"90%\", 3, \"src\"], [\"alt\", \"A description of 70% de r\\u00E9duction\", \"width\", \"90%\", 3, \"src\"]],\n template: function HomeComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"h1\", 1);\n i0.ɵɵtext(2, \"jeu-concours\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(3, \"div\", 2)(4, \"h2\", 1);\n i0.ɵɵtext(5, \"Tentez de gagner un Range Rover\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(6, \"h3\", 3);\n i0.ɵɵtext(7, \"Du 16 juillet 2020 au 16 septembre 2020\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(8, \"h4\", 4);\n i0.ɵɵtext(9, \"Pour tout achat d'une valeur de 18\\u20AC ou plus dans l'un de nos restaurants re\\u00E7oit un code Promo\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(10, \"div\", 5)(11, \"div\", 6)(12, \"h4\", 7);\n i0.ɵɵtext(13, \"A l'occasion de l'ouverture de notre 100e restaurants Fatboar, Tentez de repartir avec un Range Rover d'une valeur de 59900\\u20AC en participant \\u00E0 notre Grand jeu-concours FatBoar.\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(14, \"h4\", 7);\n i0.ɵɵtext(15, \"Il vous suffi d'une seule participation \\u00E0 notre jeu concours pour avoir une chance d'\\u00EAtre tir\\u00E9 au sort et gagner votre Range Rover !\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(16, \"h4\", 7);\n i0.ɵɵtext(17, \"A noter que chacunes de vos participations vous offrons une r\\u00E9compences !\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(18, \"div\", 8);\n i0.ɵɵelement(19, \"img\", 9);\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(20, \"div\", 10)(21, \"button\", 11);\n i0.ɵɵtext(22, \"Je participe\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(23, \"div\", 12)(24, \"h2\", 13);\n i0.ɵɵtext(25, \"100% des tickets seront gagnants\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(26, \"div\", 14)(27, \"div\", 15);\n i0.ɵɵelement(28, \"img\", 16);\n i0.ɵɵelementStart(29, \"h2\", 17);\n i0.ɵɵtext(30, \"Un dessert au choix\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(31, \"div\", 15);\n i0.ɵɵelement(32, \"img\", 18);\n i0.ɵɵelementStart(33, \"h2\", 13);\n i0.ɵɵtext(34, \"Un burger au choix\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(35, \"div\", 15);\n i0.ɵɵelement(36, \"img\", 19);\n i0.ɵɵelementStart(37, \"h2\", 13);\n i0.ɵɵtext(38, \"Un menu du jour\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(39, \"div\", 20)(40, \"div\", 15);\n i0.ɵɵelement(41, \"img\", 21);\n i0.ɵɵelementStart(42, \"h2\", 13);\n i0.ɵɵtext(43, \"Un menu au choix\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(44, \"div\", 15);\n i0.ɵɵelement(45, \"img\", 22);\n i0.ɵɵelementStart(46, \"h2\", 13);\n i0.ɵɵtext(47, \"70% de r\\u00E9duction\");\n i0.ɵɵelementEnd()()()()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(19);\n i0.ɵɵproperty(\"src\", ctx.getImgRange(), i0.ɵɵsanitizeUrl);\n i0.ɵɵadvance(9);\n i0.ɵɵproperty(\"src\", ctx.getDessert(), i0.ɵɵsanitizeUrl);\n i0.ɵɵadvance(4);\n i0.ɵɵproperty(\"src\", ctx.getBurger(), i0.ɵɵsanitizeUrl);\n i0.ɵɵadvance(4);\n i0.ɵɵproperty(\"src\", ctx.getMenuJour(), i0.ɵɵsanitizeUrl);\n i0.ɵɵadvance(5);\n i0.ɵɵproperty(\"src\", ctx.getMenuChoix(), i0.ɵɵsanitizeUrl);\n i0.ɵɵadvance(4);\n i0.ɵɵproperty(\"src\", ctx.getReduction(), i0.ɵɵsanitizeUrl);\n }\n },\n dependencies: [i2.RouterLink, i3.MatButton],\n styles: [\"@import\\\"https://fonts.googleapis.com/css2?family=Indie+Flower&family=Pacifico&family=Pangolin&family=Permanent+Marker&display=swap\\\";@import\\\"https://fonts.googleapis.com/css2?family=Maven+Pro:wght@900&display=swap\\\";.navtop[_ngcontent-%COMP%]{margin-top:6em}.gain[_ngcontent-%COMP%]{color:#1e0338;font-family:Indie Flower,cursive;font-family:Pacifico,cursive;font-family:Pangolin,cursive;font-family:Permanent Marker,cursive;font-size:2.5em}@media screen and (max-width: 640px){.rangeRover[_ngcontent-%COMP%]{margin-left:3em}}.tex[_ngcontent-%COMP%]{font-family:Maven Pro,sans-serif}.dessert[_ngcontent-%COMP%]{margin-top:.7em}\"]\n });\n }\n return HomeComponent;\n})();","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|