36 lines
3.2 KiB
Plaintext

@model WriterDashboardViewModel
@{
ViewData["Title"] = "Writer Home";
ViewData["ProjectSection"] = "Writer";
ViewData["ShellClass"] = "pd-writer writer3-shell";
var focus = Model.NarrativeFocus?.Label;
}
<link rel="stylesheet" href="~/css/writer3.css" asp-append-version="true" />
<div class="writer3 writer3-home" data-writer-destination="Home" data-writer-queues-url="@Url.Action("Workspaces",new{projectId=Model.ProjectID,bookId=Model.BookID})" data-writer-legacy-url="@Url.Action("Overview",new{projectId=Model.ProjectID,bookId=Model.BookID})" data-writer-write-url="@Url.Action("Write",new{projectId=Model.ProjectID,bookId=Model.BookID})" data-writing-workspace-launcher data-compact-writer="true" data-project-id="@Model.ProjectID" data-book-id="@Model.BookID">
<partial name="_Writer3Header" model="Model" />
@if(!Model.BookID.HasValue){<p class="writer3-scope-notice">Select a project and book in the application bar, or <a asp-controller="Projects" asp-action="Index">open your projects</a> to begin. You can explore writing problems before you have a manuscript.</p>}
<section class="writer3-home-choices" aria-label="Choose where to begin">
<a class="writer3-choice" asp-action="Write" asp-route-projectId="@Model.ProjectID" asp-route-bookId="@Model.BookID">
<svg class="writer3-choice-icon" viewBox="0 0 24 24" aria-hidden="true"><path d="@ApplicationRibbon.Icon("writer").IconPath" /></svg>
<h2>Continue Writing</h2><p>Work on your chapters, scenes<br class="writer3-desktop-break" /> and manuscript.</p>
<small>@(focus != null ? $"Current Focus: {focus}" : "Choose your narrative location in Current Focus.")</small>
<span class="writer3-cta">Go to Write <span aria-hidden="true">→</span></span>
</a>
<a class="writer3-choice" asp-action="Explore" asp-route-projectId="@Model.ProjectID" asp-route-bookId="@Model.BookID">
<svg class="writer3-choice-icon" viewBox="0 0 24 24" aria-hidden="true"><path d="@ApplicationRibbon.Icon("point").IconPath" /></svg>
<h2>Explore Your Story</h2><p>Develop ideas, solve problems<br class="writer3-desktop-break" /> and discover what happens next.</p><small>No completed plan or linked Word document needed.</small>
<span class="writer3-cta">Go to Explore <span aria-hidden="true">→</span></span>
</a>
<a class="writer3-choice" asp-action="Dashboard" asp-route-projectId="@Model.ProjectID" asp-route-bookId="@Model.BookID">
<svg class="writer3-choice-icon" viewBox="0 0 24 24" aria-hidden="true"><path d="@ApplicationRibbon.Icon("metrics").IconPath" /></svg>
<h2>Writing Dashboard</h2><p>See plans, progress, activity<br class="writer3-desktop-break" /> and your writing journey.</p><small>Your recorded work and the work ahead.</small>
<span class="writer3-cta">Open Dashboard <span aria-hidden="true">→</span></span>
</a>
</section>
</div>
@section Scripts {
<script src="~/js/writer3-navigation.js" asp-append-version="true"></script>
<script src="~/js/writing-workspace.js" asp-append-version="true"></script>
<script src="~/js/writing-workspace-launcher.js" asp-append-version="true"></script>
}