Skip to content
Snippets Groups Projects
Select Git revision
  • b0cd48e8848eab172a14319d503c52527a6afc8d
  • main default protected
2 results

home.go.html

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    home.go.html 771 B
    {{ define "home" }}
        {{ template "index" . }}
    {{ end }}
    
    {{ define "content" }}
        <div class="content-inner col-7 m-auto">
            <h1>{{ t "harmony.head.welcome" }}</h1>
    
            {{ t "harmony.text.welcome" | safeHTML }}
    
            <div class="d-grid">
                {{ if not (index .Extra "User") }}
                    <a href="/auth/login" hx-boost="true" hx-target="body" hx-swap="innerHTML" class="btn btn-primary">
                        {{ t "user.auth.login.action" }}
                    </a>
                {{ else }}
                    <a href="/eiffel" hx-boost="true" hx-target="body" hx-swap="innerHTML" class="btn btn-primary">
                        {{ t "eiffel.elicitation.call-to-action" }}
                    </a>
                {{ end }}
            </div>
        </div>
    {{ end }}