<commit_before>extends ../layout
block content
    include ../partials/flyer
    .app-content.app-centered
    script.
        var challengeName = 'Profile View';
    if (user && user.username === username)
      .row
        if (!user.isGithubCool)
          a.btn.btn-lg.btn-block.btn-github.btn-link-social(href='/link/github')
              i.fa.fa-github
              | Link my GitHub to unlock my portfolio
        .col-xs-12
            a.btn.btn-lg.btn-block.btn-primary.btn-link-social(href='/settings')
                | Update your settings
        .col-xs-12
            a.btn.btn-lg.btn-block.btn-primary.btn-link-social(href='/signout')
                | Sign me out of freeCodeCamp
        .col-xs-12
            a.btn.btn-lg.btn-block.btn-primary.btn-link-social(href='mailto:<EMAIL>')
                | Email us at <EMAIL>
        .spacer
    h1.text-center #{username}'s code portfolio
    hr
    .row
        .col-xs-12.col-sm-10.col-sm-offset-1.col-md-8.col-md-offset-2.text-center
            if picture
                img.img-center.img-responsive.public-profile-img.border-radius-5(src=picture)
            else
                img.img-center.img-responsive.public-profile-img.border-radius-5(src='https://s3.amazonaws.com/freecodecamp/camper-image-placeholder.png')
            h1.text-center.negative-5.profile-social-icons
                if (twitter)
                    a.fa.fa-twitter-square.text-primary(title="@#{username}'s Twitter Profile", href='https://twitter.com/' + twitter, target='_blank')
                if (github)
                    a.fa.fa-github-square.text-primary(title="@#{username}'s GitHub Profile", href=github, target='_blank')
                if (linkedin)
                    a.fa.fa-linkedin-square.text-primary(title="@#{username}'s LinkedIn Profile", href=linkedin, target='_blank')
            h1.flat-top.wrappable= name
            h1.flat-top.wrappable= location
            p.flat-top.bio= bio
            h1.flat-top.text-primary= "[ " + (progressTimestamps.length) + " ]"
            if pledge
                .spacer
                  h4
                    | This camper has committed to giving $#{pledge.amount} to
                    a(href='#{pledge.donateUrl}?ref=freecodecamp.org' target='_blank')  #{pledge.displayName}
                    |  each month until they have completed their #{pledge.goal}.
                .spacer
            .row
                .col-xs-12.col-sm-10.col-sm-offset-1.col-md-8.col-md-offset-2
                    if isFrontEndCert
                        a.btn.btn-primary.btn-block(href='/' + username + '/front-end-certification') View My Front End Development Certification
                    if isDataVisCert
                        .button-spacer
                        a.btn.btn-primary.btn-block(href='/' + username + '/data-visualization-certification') View My Data Visualization Certification
                    if isBackEndCert
                        .button-spacer
                        a.btn.btn-primary.btn-block(href='/' + username + '/back-end-certification') View My Back End Development Certification
                    if (user && user.username != username)
                        .button-spacer
                        a.btn.btn-primary.btn-block(href='/' + username + '/report-user/') Report this user's profile for abuse
    .row
      .col-xs-12.text-center
        if (badges.coreTeam && badges.coreTeam.length)
            h4 Core Team #{badges.coreTeam.reverse().join(', ')}

    .spacer
    .col-md-12
        #cal-heatmap.hidden-xs.hidden-sm.d3-centered
            script.
                $(document).ready(function () {
                    var cal = new CalHeatMap();
                    var calendar = !{JSON.stringify(calender)};
                    var rectSelector = "#cal-heatmap > svg > svg.graph-legend > g > rect.r";
                    var calLegendTitles = ["0 items", "1 item", "2 items", "3 or more items"]
                    cal.init({
                        itemSelector: "#cal-heatmap",<commit_msg>feat(profile): Adds certificates to static profile path<commit_after>extends ../layout
block content
    include ../partials/flyer
    .app-content.app-centered
    script.
        var challengeName = 'Profile View';
    if (user && user.username === username)
      .row
        if (!user.isGithubCool)
          a.btn.btn-lg.btn-block.btn-github.btn-link-social(href='/link/github')
              i.fa.fa-github
              | Link my GitHub to unlock my portfolio
        .col-xs-12
            a.btn.btn-lg.btn-block.btn-primary.btn-link-social(href='/settings')
                | Update your settings
        .col-xs-12
            a.btn.btn-lg.btn-block.btn-primary.btn-link-social(href='/signout')
                | Sign me out of freeCodeCamp
        .col-xs-12
            a.btn.btn-lg.btn-block.btn-primary.btn-link-social(href='mailto:<EMAIL>')
                | Email us at <EMAIL>
        .spacer
    h1.text-center #{username}'s code portfolio
    hr
    .row
        .col-xs-12.col-sm-10.col-sm-offset-1.col-md-8.col-md-offset-2.text-center
            if picture
                img.img-center.img-responsive.public-profile-img.border-radius-5(src=picture)
            else
                img.img-center.img-responsive.public-profile-img.border-radius-5(src='https://s3.amazonaws.com/freecodecamp/camper-image-placeholder.png')
            h1.text-center.negative-5.profile-social-icons
                if (twitter)
                    a.fa.fa-twitter-square.text-primary(title="@#{username}'s Twitter Profile", href='https://twitter.com/' + twitter, target='_blank')
                if (github)
                    a.fa.fa-github-square.text-primary(title="@#{username}'s GitHub Profile", href=github, target='_blank')
                if (linkedin)
                    a.fa.fa-linkedin-square.text-primary(title="@#{username}'s LinkedIn Profile", href=linkedin, target='_blank')
            h1.flat-top.wrappable= name
            h1.flat-top.wrappable= location
            p.flat-top.bio= bio
            h1.flat-top.text-primary= "[ " + (progressTimestamps.length) + " ]"
            if pledge
                .spacer
                  h4
                    | This camper has committed to giving $#{pledge.amount} to
                    a(href='#{pledge.donateUrl}?ref=freecodecamp.org' target='_blank')  #{pledge.displayName}
                    |  each month until they have completed their #{pledge.goal}.
                .spacer
            .row
                .col-xs-12.col-sm-10.col-sm-offset-1.col-md-8.col-md-offset-2
                    if isFrontEndCert
                        a.btn.btn-primary.btn-block(href='/' + username + '/front-end-certification') View My Front End Development Certification
                    if isDataVisCert
                        .button-spacer
                        a.btn.btn-primary.btn-block(href='/' + username + '/data-visualization-certification') View My Data Visualization Certification
                    if isBackEndCert
                        .button-spacer
                        a.btn.btn-primary.btn-block(href='/' + username + '/back-end-certification') View My Back End Development Certification
                    if isRespWebDesignCert
                        .button-spacer
                        a.btn.btn-primary.btn-block(href='/' + username + '/responsive-web-design-certification') View My Responsive Web Design Certification
                    if isFrontEndLibsCert
                        .button-spacer
                        a.btn.btn-primary.btn-block(href='/' + username + '/front-end-libraries-certification') View My Front End Libraries Certification
                    if isJsAlgoDataStructCert
                        .button-spacer
                        a.btn.btn-primary.btn-block(href='/' + username + '/javascript-algorithms-data-structures-certification') View My JavaScript Algorithms Data Structures Certification
                    if isApisMicroservicesCert
                        .button-spacer
                        a.btn.btn-primary.btn-block(href='/' + username + '/apis-microservices-certification') View My APIs Microservices Certification
                    if isInfosecQaCert
                        .button-spacer
                        a.btn.btn-primary.btn-block(href='/' + username + '/information-security-quality-assurance-certification') View My Information Sequrity Quality Assurance Certification
                    if (user && user.username != username)
                        .button-spacer
                        a.btn.btn-primary.btn-block(href='/' + username + '/report-user/') Report this user's profile for abuse
    .row
      .col-xs-12.text-center
        if (badges.coreTeam && badges.coreTeam.length)
            h4 Core Team #{badges.coreTeam.reverse().join(', ')}

    .spacer
    .col-md-12
        #cal-heatmap.hidden-xs.hidden-sm.d3-centered
            script.
                $(document).ready(function () {
                    var cal = new CalHeatMap();
                    var calendar = !{JSON.stringify(calender)};
                    var rectSelector = "#cal-heatmap > svg > svg.graph-legend > g > rect.r";
                    var calLegendTitles = ["0 items", "1 item", "2 items", "3 or more items"]
                    cal.init({
                        itemSelector: "#cal-heatmap",
{'fraction_non_alphanumeric': 0.12396430847673677, 'fraction_numerical': 0.008497981729339282, 'mean_word_length': 1.636516381965836, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 15, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7564485', 'n_tokens_mistral': 2759, 'n_tokens_neox': 2611, 'n_words': 480}