<commit_before># TODO-3 move copy to content directory
{div, img, hgroup, h1, h3, p, a, i} = require('../../modules/tags')
icon = require('../components/icon.tmpl')

module.exports = (data) ->
    return (
        div(
            {id: 'home'}
            img(
                {src: '/astrolabe.svg', className: 'home__logo'}
            )
            hgroup(
                h1('Sagefy')
                h3(
                    'Open-content adaptive learning platform.'
                )
            )
            p(
                'Logged in. '
                a(
                    {href: '/my_sets'}
                    'My Sets '
                    icon('next')
                )
            ) if data.currentUserID
            p(
                a({href: '/log_in'}, icon('log-in'), ' Log In')
                ' or '
                a({href: '/sign_up'}, icon('sign-up'), ' Sign Up')
            ) unless data.currentUserID
            p(
                {style: {
                    background: 'rgb(255, 236, 239)'
                    color: 'rgb(197, 124, 139)'
                    borderRadius: '2px'
                    padding: '12px'
                }}
                '''
                Sagefy is very new. You will likely find bugs
                and other strange behaviors, as well as a general lack of
                content. Please help by creating content and reporting issues
                to <<EMAIL>>. Thank you!
                '''
            ) # TODO-2 Delete this warning message
            p(
                {className: 'home__legal'}
                '© Copyright 2015 Sagefy. '
                a({href: '/terms'}, icon('terms'), ' Privacy & Terms')
                '.'
            )
        )
    )<commit_msg>Adding video link to home<commit_after># TODO-3 move copy to content directory
{div, img, hgroup, h1, h3, p, a, i} = require('../../modules/tags')
icon = require('../components/icon.tmpl')

module.exports = (data) ->
    return (
        div(
            {id: 'home'}
            img(
                {src: '/astrolabe.svg', className: 'home__logo'}
            )
            hgroup(
                h1('Sagefy')
                h3(
                    'Open-content adaptive learning platform.'
                )
            )
            p(
                'Logged in. '
                a(
                    {href: '/my_sets'}
                    'My Sets '
                    icon('next')
                )
            ) if data.currentUserID
            p(
                a({href: '/log_in'}, icon('log-in'), ' Log In')
                ' or '
                a({href: '/sign_up'}, icon('sign-up'), ' Sign Up')
            ) unless data.currentUserID
            p(
                'What is Sagefy? '
                a(
                    {href: 'https://www.youtube.com/watch?v=LKUMexJXGDQ'}
                    'Watch this 3 minute YouTube video'
                )
                '.'
            )
            p(
                {style: {
                    background: 'rgb(255, 236, 239)'
                    color: 'rgb(197, 124, 139)'
                    borderRadius: '2px'
                    padding: '12px'
                }}
                '''
                Sagefy is very new. You will likely find bugs
                and other strange behaviors, as well as a general lack of
                content. Please help by creating content and reporting issues
                to <<EMAIL>>. Thank you!
                '''
            ) # TODO-2 Delete this warning message
            p(
                {className: 'home__legal'}
                '© Copyright 2015 Sagefy. '
                a({href: '/terms'}, icon('terms'), ' Privacy & Terms')
                '.'
            )
        )
    )
{'fraction_non_alphanumeric': 0.11819389110225764, 'fraction_numerical': 0.016733067729083666, 'mean_word_length': 0.9635036496350365, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, 'https://': 1, 'lorem ipsum': 0, 'www.': 1, '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': '6256842', 'n_tokens_mistral': 1058, 'n_tokens_neox': 940, 'n_words': 267}