<commit_before>﻿@inject SiteOptions Options
@{
    ViewBag.Title = "Home";
}
@if (User.Identity.IsAuthenticated &&
     string.Equals(Context.Request.Query["Message"], nameof(SiteMessage.AccountCreated), StringComparison.OrdinalIgnoreCase))
{
    <div class="alert alert-success" role="alert">
        <button type="button" class="close" data-dismiss="alert" aria-label="Close">
            <span aria-hidden="true">&times;</span>
        </button>
        <p class="lead">
            Your London Travel account has been created.
        </p>
    </div>
}
@if (!User.Identity.IsAuthenticated &&
     string.Equals(Context.Request.Query["Message"], nameof(SiteMessage.AccountDeleted), StringComparison.OrdinalIgnoreCase))
{
    <div class="alert alert-success" role="alert">
        <button type="button" class="close" data-dismiss="alert" aria-label="Close">
            <span aria-hidden="true">&times;</span>
        </button>
        <p class="lead">
            Your London Travel account has been deleted.
        </p>
        <p>
            Sorry to see you go.
        </p>
    </div>
}
<div class="jumbotron">
    <h1>London Travel</h1>
    <p class="lead">
        An Amazon Alexa skill for checking the status of travel in London.
    </p>
    <p>
        <a class="btn btn-primary" href="@Options?.ExternalLinks?.Skill" rel="noopener" target="_blank" title="Install London Travel for Amazon Alexa from amazon.co.uk">Install <i class="fa fa-external-link" aria-hidden="true"></i></a>
        @if (!User.Identity.IsAuthenticated)
        {
            <a class="btn btn-primary" asp-route="@SiteRoutes.Register" title="Register for a London Travel account">Register <i class="fa fa-user-plus" aria-hidden="true"></i></a>
            <a class="btn btn-primary" asp-route="@SiteRoutes.SignIn" title="Sign in to your London Travel account">Sign In <i class="fa fa-sign-in" aria-hidden="true"></i></a>
        }
    </p>
</div><commit_msg>Fix homepage layout on small mobile screens<commit_after>﻿@inject SiteOptions Options
@{
    ViewBag.Title = "Home";
}
@if (User.Identity.IsAuthenticated &&
     string.Equals(Context.Request.Query["Message"], nameof(SiteMessage.AccountCreated), StringComparison.OrdinalIgnoreCase))
{
    <div class="alert alert-success" role="alert">
        <button type="button" class="close" data-dismiss="alert" aria-label="Close">
            <span aria-hidden="true">&times;</span>
        </button>
        <p class="lead">
            Your London Travel account has been created.
        </p>
    </div>
}
@if (!User.Identity.IsAuthenticated &&
     string.Equals(Context.Request.Query["Message"], nameof(SiteMessage.AccountDeleted), StringComparison.OrdinalIgnoreCase))
{
    <div class="alert alert-success" role="alert">
        <button type="button" class="close" data-dismiss="alert" aria-label="Close">
            <span aria-hidden="true">&times;</span>
        </button>
        <p class="lead">
            Your London Travel account has been deleted.
        </p>
        <p>
            Sorry to see you go.
        </p>
    </div>
}
<div class="jumbotron">
    <h1>London Travel</h1>
    <p class="lead">
        An Amazon Alexa skill for checking the status of travel in London.
    </p>
    <p>
        <a class="btn btn-primary" href="@Options?.ExternalLinks?.Skill" rel="noopener" target="_blank" title="Install London Travel for Amazon Alexa from amazon.co.uk">Install <i class="fa fa-external-link" aria-hidden="true"></i></a>
        @if (!User.Identity.IsAuthenticated)
        {
            <a class="btn btn-primary hidden-xs" asp-route="@SiteRoutes.Register" title="Register for a London Travel account">Register <i class="fa fa-user-plus" aria-hidden="true"></i></a>
            <a class="btn btn-primary hidden-xs" asp-route="@SiteRoutes.SignIn" title="Sign in to your London Travel account">Sign In <i class="fa fa-sign-in" aria-hidden="true"></i></a>
        }
    </p>
    @if (!User.Identity.IsAuthenticated)
    {
        <p class="visible-xs">
            <a class="btn btn-primary" asp-route="@SiteRoutes.Register" title="Register for a London Travel account">Register <i class="fa fa-user-plus" aria-hidden="true"></i></a>
            <a class="btn btn-primary" asp-route="@SiteRoutes.SignIn" title="Sign in to your London Travel account">Sign In <i class="fa fa-sign-in" aria-hidden="true"></i></a>
        </p>
    }
</div>
{'fraction_non_alphanumeric': 0.1603365931316807, 'fraction_numerical': 0.0009097111667045713, 'mean_word_length': 3.1334586466165413, 'pattern_counts': {'":': 0, '<': 89, '<?xml version=': 0, '>': 89, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1681987', 'n_tokens_mistral': 1325, 'n_tokens_neox': 1301, 'n_words': 322}