Save
This commit is contained in:
parent
0d133a7bef
commit
8a8431f329
@ -18,6 +18,8 @@ namespace CatherineLynwood.Components
|
|||||||
|
|
||||||
public async Task<IViewComponentResult> InvokeAsync(int blogID)
|
public async Task<IViewComponentResult> InvokeAsync(int blogID)
|
||||||
{
|
{
|
||||||
|
ViewData["VpnWarning"] = HttpContext.Items.ContainsKey("IsVpn") && (bool)HttpContext.Items["IsVpn"];
|
||||||
|
|
||||||
BlogComments blogComments = await _dataAccess.GetBlogCommentsAsync(blogID);
|
BlogComments blogComments = await _dataAccess.GetBlogCommentsAsync(blogID);
|
||||||
|
|
||||||
PreFillContact preFillContact = Request.Cookies["PreFill"] != null ? JsonConvert.DeserializeObject<PreFillContact>(Request.Cookies["PreFill"]) : new PreFillContact();
|
PreFillContact preFillContact = Request.Cookies["PreFill"] != null ? JsonConvert.DeserializeObject<PreFillContact>(Request.Cookies["PreFill"]) : new PreFillContact();
|
||||||
|
|||||||
@ -1,13 +0,0 @@
|
|||||||
using Microsoft.AspNetCore.Mvc;
|
|
||||||
|
|
||||||
namespace CatherineLynwood.Controllers
|
|
||||||
{
|
|
||||||
[Route("preview-group")]
|
|
||||||
public class PreviewController : Controller
|
|
||||||
{
|
|
||||||
public IActionResult Index()
|
|
||||||
{
|
|
||||||
return View();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -41,6 +41,11 @@ namespace CatherineLynwood.Controllers
|
|||||||
new SitemapEntry { Url = Url.Action("Blog", "TheAlphaFlame", null, Request.Scheme).TrimEnd('/'), LastModified = DateTime.UtcNow },
|
new SitemapEntry { Url = Url.Action("Blog", "TheAlphaFlame", null, Request.Scheme).TrimEnd('/'), LastModified = DateTime.UtcNow },
|
||||||
new SitemapEntry { Url = Url.Action("Characters", "TheAlphaFlame", null, Request.Scheme).TrimEnd('/'), LastModified = DateTime.UtcNow },
|
new SitemapEntry { Url = Url.Action("Characters", "TheAlphaFlame", null, Request.Scheme).TrimEnd('/'), LastModified = DateTime.UtcNow },
|
||||||
new SitemapEntry { Url = Url.Action("Discovery", "TheAlphaFlame", null, Request.Scheme).TrimEnd('/'), LastModified = DateTime.UtcNow },
|
new SitemapEntry { Url = Url.Action("Discovery", "TheAlphaFlame", null, Request.Scheme).TrimEnd('/'), LastModified = DateTime.UtcNow },
|
||||||
|
new SitemapEntry { Url = Url.Action("Index", "Publishing", null, Request.Scheme).TrimEnd('/'), LastModified = DateTime.UtcNow },
|
||||||
|
new SitemapEntry { Url = Url.Action("Privacy", "Home", null, Request.Scheme).TrimEnd('/'), LastModified = DateTime.UtcNow },
|
||||||
|
new SitemapEntry { Url = Url.Action("Chapter1", "TheAlphaFlame", null, Request.Scheme).TrimEnd('/'), LastModified = DateTime.UtcNow },
|
||||||
|
new SitemapEntry { Url = Url.Action("Chapter2", "TheAlphaFlame", null, Request.Scheme).TrimEnd('/'), LastModified = DateTime.UtcNow },
|
||||||
|
new SitemapEntry { Url = Url.Action("Chapter13", "TheAlphaFlame", null, Request.Scheme).TrimEnd('/'), LastModified = DateTime.UtcNow },
|
||||||
// Additional static pages
|
// Additional static pages
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -12,7 +12,8 @@ namespace CatherineLynwood.Middleware
|
|||||||
private static readonly string[] ProtectedPaths = new[]
|
private static readonly string[] ProtectedPaths = new[]
|
||||||
{
|
{
|
||||||
"/ask-a-question",
|
"/ask-a-question",
|
||||||
"/contact-catherine"
|
"/contact-catherine",
|
||||||
|
"/the-alpha-flame/blog/"
|
||||||
};
|
};
|
||||||
|
|
||||||
public IpqsBlockMiddleware(RequestDelegate next, IHttpClientFactory httpClientFactory, ILogger<IpqsBlockMiddleware> logger)
|
public IpqsBlockMiddleware(RequestDelegate next, IHttpClientFactory httpClientFactory, ILogger<IpqsBlockMiddleware> logger)
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
@{
|
@{
|
||||||
ViewData["Title"] = "The Alpha Flame | Chapter 1 Excerpt";
|
ViewData["Title"] = "The Alpha Flame: Discovery Epilogue";
|
||||||
}
|
}
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|||||||
@ -1,4 +1,6 @@
|
|||||||
|
@{
|
||||||
|
ViewData["Title"] = "The Alpha Flame: Discovery Maggie's Designs";
|
||||||
|
}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<nav aria-label="breadcrumb">
|
<nav aria-label="breadcrumb">
|
||||||
|
|||||||
@ -1,4 +1,6 @@
|
|||||||
|
@{
|
||||||
|
ViewData["Title"] = "The Alpha Flame: Discovery Scrap Book";
|
||||||
|
}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<nav aria-label="breadcrumb">
|
<nav aria-label="breadcrumb">
|
||||||
|
|||||||
@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
<div class="col-md-7 pt-2 pt-md-0">
|
<div class="col-md-7 pt-2 pt-md-0">
|
||||||
<h1 class="display-5 fw-bold">The Alpha Flame: <span class="fw-light">Discovery</span></h1>
|
<h1 class="display-5 fw-bold">The Alpha Flame: <span class="fw-light">Discovery</span></h1>
|
||||||
<p class="lead fst-italic">Some girls survive. Others set the world on fire.</p>
|
<p class="lead fst-italic tagline-shadow">Some girls survive. Others set the world on fire.</p>
|
||||||
<p>
|
<p>
|
||||||
When Maggie Grant finds Beth, bruised, terrified, and alone, she has no idea the rescue will ignite a chain of secrets buried deep in her own past...
|
When Maggie Grant finds Beth, bruised, terrified, and alone, she has no idea the rescue will ignite a chain of secrets buried deep in her own past...
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@ -1,4 +1,8 @@
|
|||||||
<section id="privacy-mailing-list" class="container mt-5">
|
@{
|
||||||
|
ViewData["Title"] = "Privacy";
|
||||||
|
}
|
||||||
|
|
||||||
|
<section id="privacy-mailing-list" class="container mt-5">
|
||||||
<h2>Mailing List and Reader Access Data</h2>
|
<h2>Mailing List and Reader Access Data</h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
|||||||
@ -1,5 +0,0 @@
|
|||||||
@*
|
|
||||||
For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
|
|
||||||
*@
|
|
||||||
@{
|
|
||||||
}
|
|
||||||
@ -50,6 +50,10 @@
|
|||||||
This is so I can better understand my audience and tailor my content to suit your needs. I will never share your information with anyone else. I look forward to hearing from you.
|
This is so I can better understand my audience and tailor my content to suit your needs. I will never share your information with anyone else. I look forward to hearing from you.
|
||||||
Please note that I may email you and ask for a reply before publishing your comment. This is to ensure that I am not publishing spam comments.
|
Please note that I may email you and ask for a reply before publishing your comment. This is to ensure that I am not publishing spam comments.
|
||||||
</div>
|
</div>
|
||||||
|
@if (ViewData["VpnWarning"] is true)
|
||||||
|
{
|
||||||
|
<partial name="_VPNWarning" />
|
||||||
|
}
|
||||||
<div class="col-12 text-dark">
|
<div class="col-12 text-dark">
|
||||||
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
|
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
|
||||||
</div>
|
</div>
|
||||||
@ -123,8 +127,16 @@
|
|||||||
|
|
||||||
<!-- Placeholder Button and Submit Button -->
|
<!-- Placeholder Button and Submit Button -->
|
||||||
<div class="d-grid">
|
<div class="d-grid">
|
||||||
|
@if (ViewData["VpnWarning"] is true)
|
||||||
|
{
|
||||||
|
<button type="button" class="btn btn-secondary mb-3" disabled>Post Comment</button>
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
<button type="button" class="btn btn-secondary mb-3" id="fakeSubmitButton">Post Comment</button>
|
<button type="button" class="btn btn-secondary mb-3" id="fakeSubmitButton">Post Comment</button>
|
||||||
<button type="submit" class="btn btn-dark mb-3 d-none" id="submitButton">Post Comment</button>
|
<button type="submit" class="btn btn-dark mb-3 d-none" id="submitButton">Post Comment</button>
|
||||||
|
}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Hidden Fields -->
|
<!-- Hidden Fields -->
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
@{
|
@{
|
||||||
ViewData["Title"] = "The Alpha Flame | Chapter 1 Excerpt";
|
ViewData["Title"] = "The Alpha Flame: Discovery Chapter 1";
|
||||||
}
|
}
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
@{
|
@{
|
||||||
ViewData["Title"] = "The Alpha Flame | Chapter 2 Excerpt";
|
ViewData["Title"] = "The Alpha Flame: Discovery Chapter 13";
|
||||||
}
|
}
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
@{
|
@{
|
||||||
ViewData["Title"] = "The Alpha Flame | Chapter 2 Excerpt";
|
ViewData["Title"] = "The Alpha Flame: Discovery Chapter 2";
|
||||||
}
|
}
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
@{
|
@{
|
||||||
ViewData["Title"] = "The Alpha Flame";
|
ViewData["Title"] = "The Alpha Flame Trilogy";
|
||||||
}
|
}
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|||||||
@ -199,3 +199,7 @@ section {
|
|||||||
#synopsis-body {
|
#synopsis-body {
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tagline-shadow {
|
||||||
|
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
|
||||||
|
}
|
||||||
|
|||||||
2
CatherineLynwood/wwwroot/css/site.min.css
vendored
2
CatherineLynwood/wwwroot/css/site.min.css
vendored
@ -1 +1 @@
|
|||||||
html{font-size:14px}@media(min-width:768px){html{font-size:16px}}html{position:relative}.content{min-height:93vh}.fixed-background{position:fixed;top:0;left:0;width:100vw;height:100vh;background:linear-gradient(rgba(23,200,235,.5),rgba(23,200,235,.5)),url('/images/webp/the-alpha-flame-discovery-blank-1920.webp');background-size:cover;background-repeat:no-repeat;background-position:top;z-index:-1}@media(max-width:575.98px){.fixed-background{background:linear-gradient(rgba(23,200,235,.5),rgba(23,200,235,.5)),url('/images/webp/the-alpha-flame-discovery-blank-400.webp');background-size:cover;background-repeat:no-repeat;background-position:top}}@media(min-width:576px) and (max-width:767.98px){.fixed-background{background:linear-gradient(rgba(23,200,235,.5),rgba(23,200,235,.5)),url('/images/webp/the-alpha-flame-discovery-blank-768.webp');background-size:cover;background-repeat:no-repeat;background-position:top}}@media(min-width:768px) and (max-width:991.98px){.fixed-background{background:linear-gradient(rgba(23,200,235,.5),rgba(23,200,235,.5)),url('/images/webp/the-alpha-flame-discovery-blank-992.webp');background-size:cover;background-repeat:no-repeat;background-position:top}}@media(min-width:992px) and (max-width:1199.98px){.fixed-background{background:linear-gradient(rgba(23,200,235,.5),rgba(23,200,235,.5)),url('/images/webp/the-alpha-flame-discovery-blank-1200.webp');background-size:cover;background-repeat:no-repeat;background-position:top}}@media(min-width:1200px){.fixed-background{background:linear-gradient(rgba(23,200,235,.5),rgba(23,200,235,.5)),url('/images/webp/the-alpha-flame-discovery-blank-1920.webp');background-size:cover;background-repeat:no-repeat;background-position:top}}.content{position:relative;z-index:1}section{padding-bottom:10px}.w-sm-50{width:100%}@media(min-width:576px){.w-sm-50{width:50%}}.w-md-50{width:100%}@media(min-width:768px){.w-md-50{width:50%}}.excerpt-section{background-color:#f8f9fa}.scene-image{max-width:100%;height:auto;border-radius:10px}.audio-player{margin:1rem 0}.chapter-text{font-family:'Georgia',serif;font-size:1.1rem;line-height:1.6;color:#333}.chapter-title{font-size:1.5rem;font-weight:bold;color:#555;margin-bottom:1rem}.responsive-border{border-right:3px solid #000}@media(max-width:575.98px){.responsive-border{border-right:0;border-bottom:3px solid #000}}.fit-image{width:100%;height:100%;object-fit:cover;object-position:center;display:block}.share-button{padding:8px 12px;margin-left:10px;margin-right:10px;color:#fff;text-decoration:none;border-radius:4px;font-size:14px}.share-button.facebook{background-color:#3b5998}.share-button.twitter{background-color:#1da1f2}.share-button.linkedin{background-color:#0077b5}.share-button.pinterest{background-color:#bd081c}.share-button.instagram{background-color:#e4405f}.share-button.tiktok{background-color:#010101}#synopsis-body{overflow-y:auto}
|
html{font-size:14px}@media(min-width:768px){html{font-size:16px}}html{position:relative}.content{min-height:93vh}.fixed-background{position:fixed;top:0;left:0;width:100vw;height:100vh;background:linear-gradient(rgba(23,200,235,.5),rgba(23,200,235,.5)),url('/images/webp/the-alpha-flame-discovery-blank-1920.webp');background-size:cover;background-repeat:no-repeat;background-position:top;z-index:-1}@media(max-width:575.98px){.fixed-background{background:linear-gradient(rgba(23,200,235,.5),rgba(23,200,235,.5)),url('/images/webp/the-alpha-flame-discovery-blank-400.webp');background-size:cover;background-repeat:no-repeat;background-position:top}}@media(min-width:576px) and (max-width:767.98px){.fixed-background{background:linear-gradient(rgba(23,200,235,.5),rgba(23,200,235,.5)),url('/images/webp/the-alpha-flame-discovery-blank-768.webp');background-size:cover;background-repeat:no-repeat;background-position:top}}@media(min-width:768px) and (max-width:991.98px){.fixed-background{background:linear-gradient(rgba(23,200,235,.5),rgba(23,200,235,.5)),url('/images/webp/the-alpha-flame-discovery-blank-992.webp');background-size:cover;background-repeat:no-repeat;background-position:top}}@media(min-width:992px) and (max-width:1199.98px){.fixed-background{background:linear-gradient(rgba(23,200,235,.5),rgba(23,200,235,.5)),url('/images/webp/the-alpha-flame-discovery-blank-1200.webp');background-size:cover;background-repeat:no-repeat;background-position:top}}@media(min-width:1200px){.fixed-background{background:linear-gradient(rgba(23,200,235,.5),rgba(23,200,235,.5)),url('/images/webp/the-alpha-flame-discovery-blank-1920.webp');background-size:cover;background-repeat:no-repeat;background-position:top}}.content{position:relative;z-index:1}section{padding-bottom:10px}.w-sm-50{width:100%}@media(min-width:576px){.w-sm-50{width:50%}}.w-md-50{width:100%}@media(min-width:768px){.w-md-50{width:50%}}.excerpt-section{background-color:#f8f9fa}.scene-image{max-width:100%;height:auto;border-radius:10px}.audio-player{margin:1rem 0}.chapter-text{font-family:'Georgia',serif;font-size:1.1rem;line-height:1.6;color:#333}.chapter-title{font-size:1.5rem;font-weight:bold;color:#555;margin-bottom:1rem}.responsive-border{border-right:3px solid #000}@media(max-width:575.98px){.responsive-border{border-right:0;border-bottom:3px solid #000}}.fit-image{width:100%;height:100%;object-fit:cover;object-position:center;display:block}.share-button{padding:8px 12px;margin-left:10px;margin-right:10px;color:#fff;text-decoration:none;border-radius:4px;font-size:14px}.share-button.facebook{background-color:#3b5998}.share-button.twitter{background-color:#1da1f2}.share-button.linkedin{background-color:#0077b5}.share-button.pinterest{background-color:#bd081c}.share-button.instagram{background-color:#e4405f}.share-button.tiktok{background-color:#010101}#synopsis-body{overflow-y:auto}.tagline-shadow{text-shadow:2px 2px 4px rgba(0,0,0,.8)}
|
||||||
Loading…
x
Reference in New Issue
Block a user