<commit_before>﻿@{
    Layout = "Shared/_Layout.cshtml";
}
@inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<HackManchester2014.Home.Models.HomeIndexModel>
<div class="hero-banner group">
    @Html.Partial("Shared/_Map", Model.MapModel)
    <div class="layout-constrained">
        <div class="hero-banner__body">
            <h1 class="kilo">Project X</h1>
            <p class="">
                Using the power of social media to to change the world one link at a time.
            </p>
            <a href="/register" class="btn btn--primary btn--xl">Get Involved</a>
        </div>

        <div class="stat-group stat-group--hero">
            <dl class="stat">
                <dd class="stat__value">106</dd>
                <dt class="stat__title">Challenges</dt>
            </dl>

            <dl class="stat">
                <dd class="stat__value">£1,060</dd>
                <dt class="stat__title">Raised so far</dt>
            </dl>
        </div>
    </div>
</div>

<section class="container-block">
    <div class="layout-constrained">
        <div class="section-overview">
            <h2 class="">Recent Completed Challenges</h2>
            <p>You can become a #projectxer</p><commit_msg>Show details panel for logged in users on the home page<commit_after>﻿@{
    Layout = "Shared/_Layout.cshtml";
}
@using HackManchester2014
@inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<HackManchester2014.Home.Models.HomeIndexModel>
<div class="hero-banner group">
    @Html.Partial("Shared/_Map", Model.MapModel)
    <div class="layout-constrained">
        <div class="hero-banner__body">
            @if (Html.GetUser() == null)
            {
                <h1 class="kilo">Project X</h1>
                <p class="">
                    Using the power of social media to to change the world one link at a time.
                </p>
                <a href="/register" class="btn btn--primary btn--xl">Get Involved</a>
            }
            else
            {
                <h1 class="kilo">Hey @Html.GetUser().UserInfo.Name</h1>
                <p class="">
                    You're network has generated £999 since we last saw you. Check out your account for more stats.
                </p>
                <a href="/my-account" class="btn btn--primary btn--xl">My Account</a>
            }
        </div>

        <div class="stat-group stat-group--hero">
            <dl class="stat">
                <dd class="stat__value">106</dd>
                <dt class="stat__title">Challenges</dt>
            </dl>

            <dl class="stat">
                <dd class="stat__value">£1,060</dd>
                <dt class="stat__title">Raised so far</dt>
            </dl>
        </div>
    </div>
</div>

<section class="container-block">
    <div class="layout-constrained">
        <div class="section-overview">
            <h2 class="">Recent Completed Challenges</h2>
            <p>You can become a #projectxer</p>
{'fraction_non_alphanumeric': 0.1440162271805274, 'fraction_numerical': 0.013184584178498986, 'mean_word_length': 1.918145956607495, 'pattern_counts': {'":': 0, '<': 77, '<?xml version=': 0, '>': 77, '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': '2402430', 'n_tokens_mistral': 922, 'n_tokens_neox': 862, 'n_words': 204}