Mise à jour de 'src/templates/src/user_profile.html'

Change the New project link into a button
This commit is contained in:
giggs 2022-07-24 15:29:33 +00:00
parent d3f5057d41
commit d52c3350fa
1 changed files with 13 additions and 1 deletions

View File

@ -24,6 +24,18 @@
.admin .cover {
background: repeating-linear-gradient( -45deg, #ff6c00, #ff6c00 12px, #000000 5px, #000000 25px );
}
.button {
background-color: #7e3834;
color: white;
text-align: start;
font-size: 18px;
padding: 15px 26px;
display: inline-block;
cursor: pointer;
}
}
</style>
{{ end }}
@ -135,7 +147,7 @@
{{ end }}
{{ if .OwnProfile }}
{{ if .CanAddProject }}
<a href="{{ .NewProjectUrl }}">+ New Project</a>
<<a href="{{ .NewProjectUrl }}" class="button">Add New Project</a>>
{{ else }}
<span class="c--dim i">You have reached the maximum number of personal projects.</span>
{{ end }}