From 2d87e37c5483a99cd7c29d6729fbccd4befff6b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Gonz=C3=A1lez=20Castro?= <27441273+OnlyOnePro@users.noreply.github.com> Date: Fri, 4 Sep 2020 16:00:34 -0400 Subject: [PATCH] Added a lot of base code to start building up the platform --- .gitignore | 9 +- NStart/Extensions/LocalizationSetup.cs | 3 - NStart/Gruntfile.js | 9 + NStart/NStart.csproj | 1 + NStart/Pages/Home/HomePage.cshtml | 2 +- .../Pages/Shared/_CookieConsentPartial.cshtml | 29 ++ NStart/Pages/Shared/_Layout.cshtml | 6 +- NStart/Program.cs | 2 +- NStart/Properties/launchSettings.json | 8 +- NStart/Startup.cs | 32 +- NStart/web.config | 37 ++ NStart/wwwroot/css/fonts.css | 352 ++++++++++++++++++ NStart/wwwroot/css/site.css | 2 + NStart/wwwroot/js/site.js | 1 + 14 files changed, 475 insertions(+), 18 deletions(-) create mode 100644 NStart/Pages/Shared/_CookieConsentPartial.cshtml create mode 100644 NStart/web.config create mode 100644 NStart/wwwroot/css/fonts.css create mode 100644 NStart/wwwroot/css/site.css create mode 100644 NStart/wwwroot/js/site.js diff --git a/.gitignore b/.gitignore index 4ce6fdd..d7d07e0 100644 --- a/.gitignore +++ b/.gitignore @@ -337,4 +337,11 @@ ASALocalRun/ .localhistory/ # BeatPulse healthcheck temp database -healthchecksdb \ No newline at end of file +healthchecksdb + +# User Defined Ignored Routes +NStart/wwwroot/dist +## Ignored Attainable Files +NStart/wwwroot/lib/animatecss/ +NStart/wwwroot/lib/jquery/ +NStart/wwwroot/lib/material-components/ \ No newline at end of file diff --git a/NStart/Extensions/LocalizationSetup.cs b/NStart/Extensions/LocalizationSetup.cs index 7b5a31c..04d6e93 100644 --- a/NStart/Extensions/LocalizationSetup.cs +++ b/NStart/Extensions/LocalizationSetup.cs @@ -41,9 +41,6 @@ public static class LocalizationSetup public static void AddCustomLocalization(this IServiceCollection services) { - if (services is null) - throw new ArgumentNullException(nameof(services)); - services.Configure(options => { options.DefaultRequestCulture = new RequestCulture(culture: DefaultCulture, uiCulture: DefaultCulture); diff --git a/NStart/Gruntfile.js b/NStart/Gruntfile.js index 86db38e..4575146 100644 --- a/NStart/Gruntfile.js +++ b/NStart/Gruntfile.js @@ -7,12 +7,21 @@ var jqueryTargetPath = './wwwroot/lib/jquery/dist'; module.exports = function (grunt) { grunt.initConfig({ clean: [ + targetPath + 'animatecss/*', targetPath + 'material-components/*', targetPath + 'jquery/*', targetPath + 'jquery-validation/*', targetPath + 'jquery-validation-unobtrusive/*' ], copy: { external: { files: [ + // AnimateCSS Library + { + src: nodeRoot + "animate.css/*.css", + dest: targetPath + "animatecss/dist/", + expand: true, + filter: "isFile", + flatten: true + }, // jQuery Library { src: nodeRoot + "jquery/dist/*", diff --git a/NStart/NStart.csproj b/NStart/NStart.csproj index 519ecf8..f7228f2 100644 --- a/NStart/NStart.csproj +++ b/NStart/NStart.csproj @@ -16,6 +16,7 @@ + diff --git a/NStart/Pages/Home/HomePage.cshtml b/NStart/Pages/Home/HomePage.cshtml index b51ef1f..a0e1586 100644 --- a/NStart/Pages/Home/HomePage.cshtml +++ b/NStart/Pages/Home/HomePage.cshtml @@ -1,4 +1,4 @@ -@page +@page "/" @model NStart.Pages.Home.HomePageModel @{ ViewData["Title"] = "HomePage"; diff --git a/NStart/Pages/Shared/_CookieConsentPartial.cshtml b/NStart/Pages/Shared/_CookieConsentPartial.cshtml new file mode 100644 index 0000000..10c32f2 --- /dev/null +++ b/NStart/Pages/Shared/_CookieConsentPartial.cshtml @@ -0,0 +1,29 @@ +@using Microsoft.AspNetCore.Http.Features + +@{ + var consentFeature = Context.Features.Get(); + var showBanner = !consentFeature?.CanTrack ?? false; + var cookieString = consentFeature?.CreateConsentCookie(); +} + +@if (showBanner) +{ + + +} \ No newline at end of file diff --git a/NStart/Pages/Shared/_Layout.cshtml b/NStart/Pages/Shared/_Layout.cshtml index e20d22f..2aae97e 100644 --- a/NStart/Pages/Shared/_Layout.cshtml +++ b/NStart/Pages/Shared/_Layout.cshtml @@ -27,7 +27,7 @@ - + @* Language, Charset and Format Information*@ @@ -45,7 +45,6 @@ - @@ -97,9 +96,6 @@ @Localizer["ProjectsNavbar"] @Localizer["PrivacyNavbar"] - diff --git a/NStart/Program.cs b/NStart/Program.cs index 053c144..b5bee98 100644 --- a/NStart/Program.cs +++ b/NStart/Program.cs @@ -9,7 +9,7 @@ namespace NStart { - public class Program + public static class Program { public static void Main(string[] args) { diff --git a/NStart/Properties/launchSettings.json b/NStart/Properties/launchSettings.json index dc2e445..9a73450 100644 --- a/NStart/Properties/launchSettings.json +++ b/NStart/Properties/launchSettings.json @@ -3,7 +3,7 @@ "windowsAuthentication": false, "anonymousAuthentication": true, "iisExpress": { - "applicationUrl": "http://localhost:2176", + "applicationUrl": "http://localhost:2176/", "sslPort": 44356 } }, @@ -12,14 +12,16 @@ "commandName": "IISExpress", "launchBrowser": true, "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" + "ASPNETCORE_ENVIRONMENT": "Development", + "ASPNETCORE_HOSTINGSTARTUPASSEMBLIES": "Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" } }, "NStart": { "commandName": "Project", "launchBrowser": true, "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" + "ASPNETCORE_ENVIRONMENT": "Development", + "ASPNETCORE_HOSTINGSTARTUPASSEMBLIES": "Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" }, "applicationUrl": "https://localhost:5001;http://localhost:5000" }, diff --git a/NStart/Startup.cs b/NStart/Startup.cs index 8caa273..9d57500 100644 --- a/NStart/Startup.cs +++ b/NStart/Startup.cs @@ -5,8 +5,11 @@ using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Razor; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; +using Microsoft.Extensions.Options; +using NStart.Extensions; namespace NStart { @@ -16,7 +19,18 @@ public class Startup // For more information on how to configure your application, visit https://go.microsoft.com/fwlink/?LinkID=398940 public void ConfigureServices(IServiceCollection services) { + services.AddRouting(); + services.AddApplicationInsightsTelemetry(); + + services.AddCustomLocalization(); + + services.AddRazorPages() + .AddViewLocalization(LanguageViewLocationExpanderFormat.SubFolder) + .AddDataAnnotationsLocalization(); + + // Singleton Services + services.AddSingleton(); } // This method gets called by the runtime. Use this method to configure the HTTP request pipeline. @@ -26,15 +40,25 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env) { app.UseDeveloperExceptionPage(); } + else + { + app.UseHsts(); + } + + var localizationOptions = app.ApplicationServices.GetService>().Value; + app.UseRequestLocalization(localizationOptions); + + app.UseStaticFiles(); + + app.UseHttpsRedirection(); + + app.UseCookiePolicy(); app.UseRouting(); app.UseEndpoints(endpoints => { - endpoints.MapGet("/", async context => - { - await context.Response.WriteAsync("Hello World!"); - }); + endpoints.MapRazorPages(); }); } } diff --git a/NStart/web.config b/NStart/web.config new file mode 100644 index 0000000..16b2c76 --- /dev/null +++ b/NStart/web.config @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/NStart/wwwroot/css/fonts.css b/NStart/wwwroot/css/fonts.css new file mode 100644 index 0000000..6d165e9 --- /dev/null +++ b/NStart/wwwroot/css/fonts.css @@ -0,0 +1,352 @@ +/* Material Icons by Google Style and Compatibility Sources Declaration */ +@font-face { + font-family: 'Material Icons'; + font-style: normal; + font-weight: 400; + src: url(../fonts/materialicons/MaterialIcons-Regular.eot), /* For IE6-8 */ + url(../fonts/materialicons/material-icons.css) format('css'), url(../fonts/materialicons/MaterialIcons-Regular.svg) format('svg'), url(../fonts/materialicons/MaterialIcons-Regular.woff2) format('woff2'), url(../fonts/materialicons/MaterialIcons-Regular.woff) format('woff'), url(../fonts/materialicons/MaterialIcons-Regular.ttf) format('truetype'); +} + +/* Josefin Sans Regular */ +@font-face { + font-family: Josefin Sans; + font-style: normal; + font-weight: 100; + src: url(../fonts/josefinsans/JosefinSans-Thin.eot), /* For IE6-8 */ + url(../fonts/josefinsans/JosefinSans-Thin.css) format('css'), url(../fonts/josefinsans/JosefinSans-Thin.svg) format('svg'), url(../fonts/josefinsans/JosefinSans-Thin.woff) format('woff'), url(../fonts/josefinsans/JosefinSans-Thin.ttf) format('truetype'); +} + +@font-face { + font-family: Josefin Sans; + font-style: normal; + font-weight: 300; + src: url(../fonts/josefinsans/JosefinSans-Light.eot), /* For IE6-8 */ + url(../fonts/josefinsans/JosefinSans-Light.css) format('css'), url(../fonts/josefinsans/JosefinSans-Light.svg) format('svg'), url(../fonts/josefinsans/JosefinSans-Light.woff) format('woff'), url(../fonts/josefinsans/JosefinSans-Light.ttf) format('truetype'); +} + +@font-face { + font-family: Josefin Sans; + font-style: normal; + font-weight: 400; + src: url(../fonts/josefinsans/JosefinSans-Regular.eot), /* For IE6-8 */ + url(../fonts/josefinsans/JosefinSans-Regular.css) format('css'), url(../fonts/josefinsans/JosefinSans-Regular.svg) format('svg'), url(../fonts/josefinsans/JosefinSans-Regular.woff) format('woff'), url(../fonts/josefinsans/JosefinSans-Regular.ttf) format('truetype'); +} + +@font-face { + font-family: Josefin Sans; + font-style: normal; + font-weight: 600; + src: url(../fonts/josefinsans/JosefinSans-SemiBold.eot), /* For IE6-8 */ + url(../fonts/josefinsans/JosefinSans-SemiBold.css) format('css'), url(../fonts/josefinsans/JosefinSans-SemiBold.svg) format('svg'), url(../fonts/josefinsans/JosefinSans-SemiBold.woff) format('woff'), url(../fonts/josefinsans/JosefinSans-SemiBold.ttf) format('truetype'); +} + +@font-face { + font-family: Josefin Sans; + font-style: normal; + font-weight: 700; + src: url(../fonts/josefinsans/JosefinSans-Bold.eot), /* For IE6-8 */ + url(../fonts/josefinsans/JosefinSans-Bold.css) format('css'), url(../fonts/josefinsans/JosefinSans-Bold.svg) format('svg'), url(../fonts/josefinsans/JosefinSans-Bold.woff) format('woff'), url(../fonts/josefinsans/JosefinSans-Bold.ttf) format('truetype'); +} + +/* Josefin Sans Italic */ +@font-face { + font-family: Josefin Sans; + font-style: italic; + font-weight: 100; + src: url(../fonts/josefinsans/JosefinSans-ThinItalic.eot), /* For IE6-8 */ + url(../fonts/josefinsans/JosefinSans-ThinItalic.css) format('css'), url(../fonts/josefinsans/JosefinSans-ThinItalic.svg) format('svg'), url(../fonts/josefinsans/JosefinSans-ThinItalic.woff) format('woff'), url(../fonts/josefinsans/JosefinSans-ThinItalic.ttf) format('truetype'); +} + +@font-face { + font-family: Josefin Sans; + font-style: italic; + font-weight: 300; + src: url(../fonts/josefinsans/JosefinSans-LightItalic.eot), /* For IE6-8 */ + url(../fonts/josefinsans/JosefinSans-LightItalic.css) format('css'), url(../fonts/josefinsans/JosefinSans-LightItalic.svg) format('svg'), url(../fonts/josefinsans/JosefinSans-LightItalic.woff) format('woff'), url(../fonts/josefinsans/JosefinSans-LightItalic.ttf) format('truetype'); +} + +@font-face { + font-family: Josefin Sans; + font-style: italic; + font-weight: 400; + src: url(../fonts/josefinsans/JosefinSans-Italic.eot), /* For IE6-8 */ + url(../fonts/josefinsans/JosefinSans-Italic.css) format('css'), url(../fonts/josefinsans/JosefinSans-Italic.svg) format('svg'), url(../fonts/josefinsans/JosefinSans-Italic.woff) format('woff'), url(../fonts/josefinsans/JosefinSans-Italic.ttf) format('truetype'); +} + +@font-face { + font-family: Josefin Sans; + font-style: italic; + font-weight: 600; + src: url(../fonts/josefinsans/JosefinSans-SemiBoldItalic.eot), /* For IE6-8 */ + url(../fonts/josefinsans/JosefinSans-SemiBoldItalic.css) format('css'), url(../fonts/josefinsans/JosefinSans-SemiBoldItalic.svg) format('svg'), url(../fonts/josefinsans/JosefinSans-SemiBoldItalic.woff) format('woff'), url(../fonts/josefinsans/JosefinSans-SemiBoldItalic.ttf) format('truetype'); +} + +@font-face { + font-family: Josefin Sans; + font-style: italic; + font-weight: 700; + src: url(../fonts/josefinsans/JosefinSans-BoldItalic.eot), /* For IE6-8 */ + url(../fonts/josefinsans/JosefinSans-BoldItalic.css) format('css'), url(../fonts/josefinsans/JosefinSans-BoldItalic.svg) format('svg'), url(../fonts/josefinsans/JosefinSans-BoldItalic.woff) format('woff'), url(../fonts/josefinsans/JosefinSans-BoldItalic.ttf) format('truetype'); +} + +/* Lora Italic */ + +/* Lora Regular */ +@font-face { + font-family: 'Lora'; + font-style: normal; + font-weight: 400; + src: url(../fonts/), url() format('css'), url() format('svg'), url() format('woff'), url() format('truetype'); +} + +/* Montserrat Italic */ +@font-face { + font-family: 'Montserrat'; + font-style: italic; + font-weight: inherit; + src: url(../fonts/montserrat/Montserrat-Italic.eot), /* For IE6-8 */ + url(../fonts/montserrat/Montserrat-Italic.css) format('css'), url(../fonts/montserrat/Montserrat-Italic.svg) format('svg'), url(../fonts/montserrat/Montserrat-Italic.woff) format('woff'), url(../fonts/montserrat/Montserrat-Italic.ttf) format('truetype'); +} + +/* Montserrat Regular */ +@font-face { + font-family: 'Montserrat'; + font-style: normal; + font-weight: 400; + src: url(../fonts/montserrat/Montserrat-Regular.eot), /* For IE6-8 */ + url(../fonts/montserrat/Montserrat-Regular.css) format('css'), url(../fonts/montserrat/Montserrat-Regular.svg) format('svg'), url(../fonts/montserrat/Montserrat-Regular.woff) format('woff'), url(../fonts/montserrat/Montserrat-Regular.ttf) format('truetype'); +} + +/* Nunito Italic */ +@font-face { + font-family: Nunito; + font-style: italic; + font-weight: 200; + src: url(../fonts/nunito/Nunito-ExtraLightItalic.eot), /* For IE6-8 */ + url(../fonts/nunito/Nunito-ExtraLightItalic.css) format('css'), url(../fonts/nunito/Nunito-ExtraLightItalic.svg) format('svg'), url(../fonts/nunito/Nunito-ExtraLightItalic.woff) format('woff'), url(../fonts/nunito/Nunito-ExtraLightItalic.ttf) format('truetype'); +} + +@font-face { + font-family: Nunito; + font-style: italic; + font-weight: 300; + src: url(../fonts/nunito/Nunito-LightItalic.eot), /* For IE6-8 */ + url(../fonts/nunito/Nunito-LightItalic.css) format('css'), url(../fonts/nunito/Nunito-LightItalic.svg) format('svg'), url(../fonts/nunito/Nunito-LightItalic.woff) format('woff'), url(../fonts/nunito/Nunito-LightItalic.ttf) format('truetype'); +} + +@font-face { + font-family: Nunito; + font-style: italic; + font-weight: 400; + src: url(../fonts/nunito/Nunito-Italic.eot), /* For IE6-8 */ + url(../fonts/nunito/Nunito-Italic.css) format('css'), url(../fonts/nunito/Nunito-Italic.svg) format('svg'), url(../fonts/nunito/Nunito-Italic.woff) format('woff'), url(../fonts/nunito/Nunito-Italic.ttf) format('truetype'); +} + +@font-face { + font-family: Nunito; + font-style: italic; + font-weight: 600; + src: url(../fonts/nunito/Nunito-SemiBold.eot), /* For IE6-8 */ + url(../fonts/nunito/Nunito-SemiBoldItalic.css) format('css'), url(../fonts/nunito/Nunito-SemiBoldItalic.svg) format('svg'), url(../fonts/nunito/Nunito-SemiBoldItalic.woff) format('woff'), url(../fonts/nunito/Nunito-SemiBoldItalic.ttf) format('truetype'); +} + +@font-face { + font-family: Nunito; + font-style: italic; + font-weight: 700; + src: url(../fonts/nunito/Nunito-BoldItalic.eot), /* For IE6-8 */ + url(../fonts/nunito/Nunito-BoldItalic.css) format('css'), url(../fonts/nunito/Nunito-BoldItalic.svg) format('svg'), url(../fonts/nunito/Nunito-BoldItalic.woff) format('woff'), url(../fonts/nunito/Nunito-BoldItalic.ttf) format('truetype'); +} + +@font-face { + font-family: Nunito; + font-style: italic; + font-weight: 800; + src: url(../fonts/nunito/Nunito-ExtraBoldItalic.eot), /* For IE6-8 */ + url(../fonts/nunito/Nunito-ExtraBoldItalic.css) format('css'), url(../fonts/nunito/Nunito-ExtraBoldItalic.svg) format('svg'), url(../fonts/nunito/Nunito-ExtraBoldItalic.woff) format('woff'), url(../fonts/nunito/Nunito-ExtraBoldItalic.ttf) format('truetype'); +} + +@font-face { + font-family: Nunito; + font-style: italic; + font-weight: 900; + src: url(../fonts/nunito/Nunito-BlackItalic.eot), /* For IE6-8 */ + url(../fonts/nunito/Nunito-BlackItalic.css) format('css'), url(../fonts/nunito/Nunito-BlackItalic.svg) format('svg'), url(../fonts/nunito/Nunito-BlackItalic.woff) format('woff'), url(../fonts/nunito/Nunito-BlackItalic.ttf) format('truetype'); +} + + +/* Nunito Regular */ +@font-face { + font-family: Nunito; + font-style: normal; + font-weight: 200; + src: url(../fonts/nunito/Nunito-ExtraLight.eot), /* For IE6-8 */ + url(../fonts/nunito/Nunito-ExtraLight.css) format('css'), url(../fonts/nunito/Nunito-ExtraLight.svg) format('svg'), url(../fonts/nunito/Nunito-ExtraLight.woff) format('woff'), url(../fonts/nunito/Nunito-ExtraLight.ttf) format('truetype'); +} + +@font-face { + font-family: Nunito; + font-style: normal; + font-weight: 300; + src: url(../fonts/nunito/Nunito-Light.eot), /* For IE6-8 */ + url(../fonts/nunito/Nunito-Light.css) format('css'), url(../fonts/nunito/Nunito-Light.svg) format('svg'), url(../fonts/nunito/Nunito-Light.woff) format('woff'), url(../fonts/nunito/Nunito-Light.ttf) format('truetype'); +} + +@font-face { + font-family: Nunito; + font-style: normal; + font-weight: 400; + src: url(../fonts/nunito/Nunito-Regular.eot), /* For IE6-8 */ + url(../fonts/nunito/Nunito-Regular.css) format('css'), url(../fonts/nunito/Nunito-Regular.svg) format('svg'), url(../fonts/nunito/Nunito-Regular.woff) format('woff'), url(../fonts/nunito/Nunito-Regular.ttf) format('truetype'); +} + +@font-face { + font-family: Nunito; + font-style: normal; + font-weight: 600; + src: url(../fonts/nunito/Nunito-SemiBold.eot), /* For IE6-8 */ + url(../fonts/nunito/Nunito-SemiBold.css) format('css'), url(../fonts/nunito/Nunito-SemiBold.svg) format('svg'), url(../fonts/nunito/Nunito-SemiBold.woff) format('woff'), url(../fonts/nunito/Nunito-SemiBold.ttf) format('truetype'); +} + +@font-face { + font-family: Nunito; + font-style: normal; + font-weight: 700; + src: url(../fonts/nunito/Nunito-Bold.eot), /* For IE6-8 */ + url(../fonts/nunito/Nunito-Bold.css) format('css'), url(../fonts/nunito/Nunito-Bold.svg) format('svg'), url(../fonts/nunito/Nunito-Bold.woff) format('woff'), url(../fonts/nunito/Nunito-Bold.ttf) format('truetype'); +} + +@font-face { + font-family: Nunito; + font-style: normal; + font-weight: 800; + src: url(../fonts/nunito/Nunito-ExtraBold.eot), /* For IE6-8 */ + url(../fonts/nunito/Nunito-ExtraBold.css) format('css'), url(../fonts/nunito/Nunito-ExtraBold.svg) format('svg'), url(../fonts/nunito/Nunito-ExtraBold.woff) format('woff'), url(../fonts/nunito/Nunito-ExtraBold.ttf) format('truetype'); +} + +@font-face { + font-family: Nunito; + font-style: normal; + font-weight: 900; + src: url(../fonts/nunito/Nunito-Black.eot), /* For IE6-8 */ + url(../fonts/nunito/Nunito-Black.css) format('css'), url(../fonts/nunito/Nunito-Black.svg) format('svg'), url(../fonts/nunito/Nunito-Black.woff) format('woff'), url(../fonts/nunito/Nunito-Black.ttf) format('truetype'); +} + + +/* Open Sans Italic */ +@font-face { + font-family: Open Sans; + font-style: italic; + font-weight: 300; + src: url(../fonts/opensans/OpenSans-LightItalic.eot), /* For IE6-8 */ + url(../fonts/opensans/OpenSans-LightItalic.css) format('css'), url(../fonts/opensans/OpenSans-LightItalic.svg) format('svg'), url(../fonts/opensans/OpenSans-LightItalic.woff) format('woff'), url(../fonts/opensans/OpenSans-LightItalic.ttf) format('truetype'); +} + +@font-face { + font-family: Open Sans; + font-style: italic; + font-weight: 400; + src: url(../fonts/opensans/OpenSans-Italic.eot), /* For IE6-8 */ + url(../fonts/opensans/OpenSans-Italic.css) format('css'), url(../fonts/opensans/OpenSans-Italic.svg) format('svg'), url(../fonts/opensans/OpenSans-Italic.woff) format('woff'), url(../fonts/opensans/OpenSans-Italic.ttf) format('truetype'); +} + +@font-face { + font-family: Open Sans; + font-style: italic; + font-weight: 600; + src: url(../fonts/opensans/OpenSans-SemiBoldItalic.eot), /* For IE6-8 */ + url(../fonts/opensans/OpenSans-SemiBoldItalic.css) format('css'), url(../fonts/opensans/OpenSans-SemiBoldItalic.svg) format('svg'), url(../fonts/opensans/OpenSans-SemiBoldItalic.woff) format('woff'), url(../fonts/opensans/OpenSans-SemiBoldItalic.ttf) format('truetype'); +} + +@font-face { + font-family: Open Sans; + font-style: italic; + font-weight: 700; + src: url(../fonts/opensans/OpenSans-BoldItalic.eot), /* For IE6-8 */ + url(../fonts/opensans/OpenSans-BoldItalic.css) format('css'), url(../fonts/opensans/OpenSans-BoldItalic.svg) format('svg'), url(../fonts/opensans/OpenSans-BoldItalic.woff) format('woff'), url(../fonts/opensans/OpenSans-BoldItalic.ttf) format('truetype'); +} + +@font-face { + font-family: Open Sans; + font-style: italic; + font-weight: 800; + src: url(../fonts/opensans/OpenSans-ExtraBoldItalic.eot), /* For IE6-8 */ + url(../fonts/opensans/OpenSans-ExtraBoldItalic.css) format('css'), url(../fonts/opensans/OpenSans-ExtraBoldItalic.svg) format('svg'), url(../fonts/opensans/OpenSans-ExtraBoldItalic.woff) format('woff'), url(../fonts/opensans/OpenSans-ExtraBoldItalic.ttf) format('truetype'); +} + +/* OpenSans Regular */ +@font-face { + font-family: Open Sans; + font-style: normal; + font-weight: 300; + src: url(../fonts/opensans/OpenSans-Light.eot), /* For IE6-8 */ + url(../fonts/opensans/OpenSans-Light.css) format('css'), url(../fonts/opensans/OpenSans-Light.svg) format('svg'), url(../fonts/opensans/OpenSans-Light.woff) format('woff'), url(../fonts/opensans/OpenSans-Light.ttf) format('truetype'); +} + +@font-face { + font-family: Open Sans; + font-style: normal; + font-weight: 400; + src: url(../fonts/opensans/OpenSans-Regular.eot), /* For IE6-8 */ + url(../fonts/opensans/OpenSans-Regular.css) format('css'), url(../fonts/opensans/OpenSans-Regular.svg) format('svg'), url(../fonts/opensans/OpenSans-Regular.woff) format('woff'), url(../fonts/opensans/OpenSans-Regular.ttf) format('truetype'); +} + +@font-face { + font-family: Open Sans; + font-style: normal; + font-weight: 600; + src: url(../fonts/opensans/OpenSans-SemiBold.eot), /* For IE6-8 */ + url(../fonts/opensans/OpenSans-SemiBold.css) format('css'), url(../fonts/opensans/OpenSans-SemiBold.svg) format('svg'), url(../fonts/opensans/OpenSans-SemiBold.woff) format('woff'), url(../fonts/opensans/OpenSans-SemiBold.ttf) format('truetype'); +} + +@font-face { + font-family: Open Sans; + font-style: normal; + font-weight: 700; + src: url(../fonts/opensans/OpenSans-Bold.eot), /* For IE6-8 */ + url(../fonts/opensans/OpenSans-Bold.css) format('css'), url(../fonts/opensans/OpenSans-Bold.svg) format('svg'), url(../fonts/opensans/OpenSans-Bold.woff) format('woff'), url(../fonts/opensans/OpenSans-Bold.ttf) format('truetype'); +} + +@font-face { + font-family: Open Sans; + font-style: normal; + font-weight: 800; + src: url(../fonts/opensans/OpenSans-ExtraBold.eot), /* For IE6-8 */ + url(../fonts/opensans/OpenSans-ExtraBold.css) format('css'), url(../fonts/opensans/OpenSans-ExtraBold.svg) format('svg'), url(../fonts/opensans/OpenSans-ExtraBold.woff) format('woff'), url(../fonts/opensans/OpenSans-ExtraBold.ttf) format('truetype'); +} + + + +/* Playfair Display Regular */ +@font-face { + font-family: 'Playfair Display'; + font-style: normal; + font-weight: 400; + src: url(../fonts/playfairdisplay/PlayfairDisplay-Regular.eot), /* For IE6-8 */ + url(../fonts/playfairdisplay/PlayfairDisplay-Regular.css) format('css'), url(../fonts/playfairdisplay/PlayfairDisplay-Regular.svg) format('svg'), url(../fonts/playfairdisplay/PlayfairDisplay-Regular.ttf) format('truetype'); +} + +@font-face { + font-family: 'Playfair Display'; + font-style: normal; + font-weight: 700; + src: url(../fonts/playfairdisplay/PlayfairDisplay-Bold.eot), /* For IE6-8 */ + url(../fonts/playfairdisplay/PlayfairDisplay-Bold.css) format('css'), url(../fonts/playfairdisplay/PlayfairDisplay-Bold.svg) format('svg'), url(../fonts/playfairdisplay/PlayfairDisplay-Bold.ttf) format('truetype'); +} + +/* Playfair Display Italic */ +@font-face { + font-family: 'Playfair Display'; + font-style: italic; + font-weight: 400; + src: url(../fonts/playfairdisplay/PlayfairDisplay-Italic.eot), /* For IE6-8 */ + url(../fonts/playfairdisplay/PlayfairDisplay-Italic.css) format('css'), url(../fonts/playfairdisplay/PlayfairDisplay-Italic.svg) format('svg'), url(../fonts/playfairdisplay/PlayfairDisplay-Italic.ttf) format('truetype'); +} + +@font-face { + font-family: 'Playfair Display'; + font-style: italic; + font-weight: 700; + src: url(../fonts/playfairdisplay/PlayfairDisplay-BoldItalic.eot), /* For IE6-8 */ + url(../fonts/playfairdisplay/PlayfairDisplay-BoldItalic.css) format('css'), url(../fonts/playfairdisplay/PlayfairDisplay-Bold.svg) format('svg'), url(../fonts/playfairdisplay/PlayfairDisplay-BoldItalic.ttf) format('truetype'); +} diff --git a/NStart/wwwroot/css/site.css b/NStart/wwwroot/css/site.css new file mode 100644 index 0000000..46800d1 --- /dev/null +++ b/NStart/wwwroot/css/site.css @@ -0,0 +1,2 @@ +body { +} diff --git a/NStart/wwwroot/js/site.js b/NStart/wwwroot/js/site.js new file mode 100644 index 0000000..5f28270 --- /dev/null +++ b/NStart/wwwroot/js/site.js @@ -0,0 +1 @@ + \ No newline at end of file