#6 Responsive
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Kekskurse 2022-01-15 02:10:58 +01:00
parent 3f45852586
commit cdb7122a30
Signed by: kekskurse
GPG key ID: 728ACCB59341E7E4

View file

@ -7,7 +7,7 @@
</style> </style>
<div class="container" style="margin-top: 100px;"> <div class="container" style="margin-top: 100px;">
<div class="row"> <div class="row">
<div class="col-md-3"> <div class="col-3">
<img src="/image?path={{ .user.Image }}&width=200" style="border-radius: 50%;max-width: 80%;" ></img> <img src="/image?path={{ .user.Image }}&width=200" style="border-radius: 50%;max-width: 80%;" ></img>
</div> </div>
<div class="col-9"> <div class="col-9">
@ -16,13 +16,22 @@
{{else}} {{else}}
{{ .user.Name }} {{ .user.Name }}
{{end}}</h1> {{end}}</h1>
<p>{{ if .user.AboutMe }}{{ .user.AboutMe }}{{ end }}</p> <p class="d-sm-none d-md-block">{{ if .user.AboutMe }}{{ .user.AboutMe }}{{ end }}</p>
<div style="padding-top: 30px;"> <div style="padding-top: 30px;" class="d-none d-md-block">
{{ if .user.Webpage }}<i class="fas fa-globe"></i> <a href="{{ .user.Webpage }}">{{ .user.Webpage }}</a> {{ end }} {{ if .user.Webpage }}<i class="fas fa-globe"></i> <a href="{{ .user.Webpage }}">{{ .user.Webpage }}</a> {{ end }}
{{ if .user.Location}}<i class="fas fa-map-marker-alt"></i> {{ .user.Location }}{{ end }} {{ if .user.Location}}<i class="fas fa-map-marker-alt"></i> {{ .user.Location }}{{ end }}
</div> </div>
</div> </div>
</div> </div>
<div class="row d-block d-sm-block d-md-none" >
<div class="col-12">
{{ if .user.AboutMe }} <p>{{ .user.AboutMe }}</p>{{ end }}
<div style="padding-top: 30px;">
{{ if .user.Webpage }}<br/><i class="fas fa-globe"></i> <a href="{{ .user.Webpage }}">{{ .user.Webpage }}</a>{{ end }}
{{ if .user.Location}}<br/><i class="fas fa-map-marker-alt"></i> {{ .user.Location }}{{ end }}
</div>
</div>
</div>
<hr></hr> <hr></hr>
{{ range .list }} {{ range .list }}
<div class="row"> <div class="row">