This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Umbraco.Core; | |
using System.Web.Routing; | |
using WyzWeb.Public.App_Code.RouteConfig; | |
namespace WyzWeb.Public.App_Code.BusinessLogic | |
{ | |
public class RegisterEvents : ApplicationEventHandler | |
{ | |
protected override void ApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@inherits Umbraco.Web.Mvc.UmbracoViewPage<Wyzweb.Models.Contact> | |
@using Umbraco.Web | |
@using Recaptcha.Web.Mvc; | |
@if (TempData.ContainsKey("Response")) | |
{ | |
<div class="alert alert-info" role="alert"> | |
<button type="button" class="close" data-dismiss="alert" aria-label="Close"> | |
<span aria-hidden="true">×</span> | |
</button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.ComponentModel.DataAnnotations; | |
namespace Wyzweb.Models | |
{ | |
public class Contact | |
{ | |
[Display(Name = "Full Name")] | |
[Required] | |
public string Fullname { get; set; } | |
[Display(Name = "Subject")] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Web.Mvc; | |
using Umbraco.Web.Mvc; | |
using Wyzweb.Models; | |
namespace Wyzweb.Controllers | |
{ | |
public class ContactController : SurfaceController | |
{ | |
// GET: Contact |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage | |
@using ContentModels = Umbraco.Web.PublishedContentModels; | |
@{ | |
Layout = null; | |
} | |
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "hello-world", | |
"version": "0.1.0", | |
"private": true, | |
"dependencies": { | |
"antd": "^2.12.3", | |
"bulma": "^0.5.3", | |
"bulma-components": "0.0.5", | |
"firebase": "^4.3.0", | |
"re-bulma": "^0.4.5", |
NewerOlder