<commit_before>= render 'shared/header_big', overlayer: true

.user-dashboard-edit
  .hero-small
    .w-container
      .w-row.u-text-center.content-hero-profile
        .w-col.w-col-3
        .w-col.w-col-6
          .fontsize-largest.fontweight-semibold.u-marginbottom-10
            = resource.decorate.display_name
        .w-col.w-col-3
    .hero-profile style="background-image: url('#{resource.cover_image.try(:base).try(:url)}')"

  
  nav.dashboard-nav.u-text-center style='z-index: 10; position: relative;'
    .w-container
      = link_to '#contributions', id: 'dashboard_contributions_link', class: 'dashboard-nav-link ' , data: {target: '#dashboard_contributions' } do
        | Apoiados

      = link_to '#projects', id: 'dashboard_projects_link', class: 'dashboard-nav-link ' , data: {target: '#dashboard_projects' } do
        | Criados

      = link_to '#about_me', id: 'dashboard_about_me_link', class: 'dashboard-nav-link ' , data: {target: '#dashboard_about_me' } do
        | Sobre você

      = link_to '#settings', id: 'dashboard_settings_link', class: 'dashboard-nav-link ' , data: {target: '#dashboard_settings' } do
        | Conta
      
      = link_to '#notifications', id: 'dashboard_notifications_link', class: 'dashboard-nav-link ' , data: {target: '#dashboard_notifications' } do
        | Notificações

      = link_to '#billing', id: 'dashboard_billing_link', class: 'dashboard-nav-link ' , data: {target: '#dashboard_billing' } do
        | Banco e cartões

      = link_to user_path(resource), class: 'dashboard-nav-link u-right-big-only' do
        | Ir para o perfil público
      span style='visibility: hidden;'
        = link_to '#feeds', id: 'dashboard_feeds_link', class: 'dashboard-nav-link' , data: {target: '#dashboard_feeds' } do
          | Atividades


  section.section-one-column
    #current_anchor data-anchor="#{params[:anchor]}"
    .w-container
      .w-row
        article
          #dashboard_feeds.content.w-hidden
            = render 'dashboard_feeds'
          #dashboard_contributions.content.w-hidden
            = render 'dashboard_contributions'
          #dashboard_projects.content.w-hidden
            - if !@user.project_owner?
              .w-row.u-margintop-30.u-text-center
                .w-col.w-col-3
                .w-col.w-col-6
                  .fontsize-large.u-marginbottom-30 O que você está esperando para tirar seu projeto do papel aqui no Catarse?
                  .w-row
                    .w-col.w-col-3
                    .w-col.w-col-6
                      = link_to 'Comece agora!', start_path, class: 'btn btn-large'
                    .w-col.w-col-3
                .w-col.w-col-3
            - else
              .w-row
                == render_projects resource.projects, 'profile_dashboard_created_projects', { wrapper_class: 'w-col w-col-4 u-marginbottom-40' }
          #dashboard_about_me.content.w-hidden
            = render 'dashboard_about_me'
          #dashboard_settings.content.w-hidden
            = render 'dashboard_settings'
          #dashboard_notifications.content.w-hidden
            = render 'dashboard_notifications'
          #dashboard_billing.content.w-hidden
            = render 'dashboard_billing'

= render 'shared/footer_big'<commit_msg>copy in user edit created<commit_after>= render 'shared/header_big', overlayer: true

.user-dashboard-edit
  .hero-small
    .w-container
      .w-row.u-text-center.content-hero-profile
        .w-col.w-col-3
        .w-col.w-col-6
          .fontsize-largest.fontweight-semibold.u-marginbottom-10
            = resource.decorate.display_name
        .w-col.w-col-3
    .hero-profile style="background-image: url('#{resource.cover_image.try(:base).try(:url)}')"

  
  nav.dashboard-nav.u-text-center style='z-index: 10; position: relative;'
    .w-container
      = link_to '#contributions', id: 'dashboard_contributions_link', class: 'dashboard-nav-link ' , data: {target: '#dashboard_contributions' } do
        | Apoiados

      = link_to '#projects', id: 'dashboard_projects_link', class: 'dashboard-nav-link ' , data: {target: '#dashboard_projects' } do
        | Criados

      = link_to '#about_me', id: 'dashboard_about_me_link', class: 'dashboard-nav-link ' , data: {target: '#dashboard_about_me' } do
        | Sobre você

      = link_to '#settings', id: 'dashboard_settings_link', class: 'dashboard-nav-link ' , data: {target: '#dashboard_settings' } do
        | Conta
      
      = link_to '#notifications', id: 'dashboard_notifications_link', class: 'dashboard-nav-link ' , data: {target: '#dashboard_notifications' } do
        | Notificações

      = link_to '#billing', id: 'dashboard_billing_link', class: 'dashboard-nav-link ' , data: {target: '#dashboard_billing' } do
        | Banco e cartões

      = link_to user_path(resource), class: 'dashboard-nav-link u-right-big-only' do
        | Ir para o perfil público
      span style='visibility: hidden;'
        = link_to '#feeds', id: 'dashboard_feeds_link', class: 'dashboard-nav-link' , data: {target: '#dashboard_feeds' } do
          | Atividades


  section.section-one-column
    #current_anchor data-anchor="#{params[:anchor]}"
    .w-container
      .w-row
        article
          #dashboard_feeds.content.w-hidden
            = render 'dashboard_feeds'
          #dashboard_contributions.content.w-hidden
            = render 'dashboard_contributions'
          #dashboard_projects.content.w-hidden
            - if !@user.project_owner?
              .w-row.u-margintop-30.u-text-center
                .w-col.w-col-3
                .w-col.w-col-6
                  .fontsize-large.u-marginbottom-30 Você ainda não criou nenhum projeto no Catarse. Acredite nos seus sonhos!  
                  .w-row
                    .w-col.w-col-3
                    .w-col.w-col-6
                      = link_to 'Inscreva um projeto!', start_path, class: 'btn btn-large'
                    .w-col.w-col-3
                .w-col.w-col-3
            - else
              .w-row
                == render_projects resource.projects, 'profile_dashboard_created_projects', { wrapper_class: 'w-col w-col-4 u-marginbottom-40' }
          #dashboard_about_me.content.w-hidden
            = render 'dashboard_about_me'
          #dashboard_settings.content.w-hidden
            = render 'dashboard_settings'
          #dashboard_notifications.content.w-hidden
            = render 'dashboard_notifications'
          #dashboard_billing.content.w-hidden
            = render 'dashboard_billing'

= render 'shared/footer_big'
{'fraction_non_alphanumeric': 0.12656107219007007, 'fraction_numerical': 0.006091989034419738, 'mean_word_length': 2.2590570719602976, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2883220', 'n_tokens_mistral': 2095, 'n_tokens_neox': 2102, 'n_words': 372}