-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact-contact-module.js
108 lines (83 loc) · 8.87 KB
/
contact-contact-module.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["contact-contact-module"],{
/***/ "./src/app/contact/contact.component.html":
/*!************************************************!*\
!*** ./src/app/contact/contact.component.html ***!
\************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = "<div class=\"container-fluid contact-main\" >\n <div class=\"row\">\n <div class=\"col-md-6 \" id=\"form_container\">\n <h2>Contact Me</h2> \n <p> Please send your message below I will get back to you at the earliest! </p>\n <form role=\"form\" id=\"reused_form\" action=\"mailto:[email protected]\" method=\"post\" enctype=\"text/plain\">\n <div class=\"row\">\n <div class=\"col-sm-6 form-group\">\n <label for=\"name\"> Your Name:</label>\n <input type=\"text\" class=\"form-control\" id=\"name\" name=\"name\" required>\n </div>\n <div class=\"col-sm-6 form-group\">\n <label for=\"email\"> Email:</label>\n <input type=\"email\" class=\"form-control\" id=\"email\" name=\"email\" required>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-sm-12 form-group\">\n <label for=\"message\"> Message:</label>\n <textarea class=\"form-control\" type=\"textarea\" id=\"message\" name=\"message\" maxlength=\"6000\" rows=\"7\"></textarea>\n </div>\n </div> \n <div class=\"row\">\n <div class=\"col-sm-12 form-group\">\n <button type=\"submit\" class=\"btn btn-lg btn-default pull-right\" >Send →</button>\n </div>\n </div>\n </form>\n <div id=\"success_message\" style=\"width:100%; height:100%; display:none; \"> <h3>Posted your message successfully!</h3> </div>\n <div id=\"error_message\" style=\"width:100%; height:100%; display:none; \"> <h3>Error</h3> Sorry there was an error sending your form. </div>\n </div>\n </div>\n</div>"
/***/ }),
/***/ "./src/app/contact/contact.component.sass":
/*!************************************************!*\
!*** ./src/app/contact/contact.component.sass ***!
\************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = ".contact-main {\n position: absolute;\n bottom: 0;\n top: 0;\n margin: 0;\n right: 0;\n left: 0;\n overflow-y: auto;\n overflow-x: hidden;\n background-color: rgba(0, 0, 0, 0);\n min-height: 100vh;\n color: white; }\n\n#form_container {\n padding: 15px 15px;\n margin-top: 15px;\n background: rgba(0, 0, 0, 0.1);\n color: #fff; }\n\n.upload-btn-wrapper {\n position: relative;\n overflow: hidden;\n display: inline-block; }\n\n.upload-btn-wrapper input[type=file] {\n font-size: 100px;\n position: absolute;\n left: 0;\n top: 0;\n opacity: 0; }\n\ninput, textarea {\n background-color: rgba(255, 255, 255, 0.1); }\n\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9tbnQvV29ya1NwYWNlLzA1X0N1cnJlbnQvTXktV2Vic2l0ZS9zcmMvYXBwL2NvbnRhY3QvY29udGFjdC5jb21wb25lbnQuc2FzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLG1CQUFrQjtFQUNsQixVQUFTO0VBQ1QsT0FBTTtFQUNOLFVBQVM7RUFDVCxTQUFRO0VBQ1IsUUFBTztFQUNQLGlCQUFnQjtFQUNoQixtQkFBa0I7RUFDbEIsbUNBQStCO0VBQy9CLGtCQUFpQjtFQUNqQixhQUFZLEVBRVo7O0FBRUY7RUFDQyxtQkFBa0I7RUFDbEIsaUJBQWdCO0VBQ2hCLCtCQUEyQjtFQUMzQixZQUFXLEVBQUc7O0FBRWY7RUFDRSxtQkFBa0I7RUFDbEIsaUJBQWdCO0VBQ2hCLHNCQUFxQixFQUFHOztBQUcxQjtFQUNFLGlCQUFnQjtFQUNoQixtQkFBa0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biJdfQ== */"
/***/ }),
/***/ "./src/app/contact/contact.component.ts":
/*!**********************************************!*\
!*** ./src/app/contact/contact.component.ts ***!
\**********************************************/
/*! exports provided: ContactComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ContactComponent", function() { return ContactComponent; });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/platform-browser */ "./node_modules/@angular/platform-browser/fesm5/platform-browser.js");
var ContactComponent = /** @class */ (function () {
function ContactComponent(titleService) {
this.titleService = titleService;
this.setTitle('Contact | DHP');
}
ContactComponent.prototype.setTitle = function (newTitle) {
this.titleService.setTitle(newTitle);
};
ContactComponent.prototype.ngOnInit = function () {
};
ContactComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([
Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({
selector: 'app-contact',
template: __webpack_require__(/*! ./contact.component.html */ "./src/app/contact/contact.component.html"),
styles: [__webpack_require__(/*! ./contact.component.sass */ "./src/app/contact/contact.component.sass")]
}),
tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_platform_browser__WEBPACK_IMPORTED_MODULE_2__["Title"]])
], ContactComponent);
return ContactComponent;
}());
/***/ }),
/***/ "./src/app/contact/contact.module.ts":
/*!*******************************************!*\
!*** ./src/app/contact/contact.module.ts ***!
\*******************************************/
/*! exports provided: ContactModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ContactModule", function() { return ContactModule; });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/fesm5/common.js");
/* harmony import */ var _contact_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./contact.component */ "./src/app/contact/contact.component.ts");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js");
var ContactModule = /** @class */ (function () {
function ContactModule() {
}
ContactModule = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([
Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"])({
declarations: [_contact_component__WEBPACK_IMPORTED_MODULE_3__["ContactComponent"]],
imports: [
_angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"],
_angular_router__WEBPACK_IMPORTED_MODULE_4__["RouterModule"].forChild([
{ path: '', component: _contact_component__WEBPACK_IMPORTED_MODULE_3__["ContactComponent"] }
]),
]
})
], ContactModule);
return ContactModule;
}());
/***/ })
}]);
//# sourceMappingURL=contact-contact-module.js.map