This commit is contained in:
Daniel Mason 2021-06-23 08:28:41 +12:00
parent 65b4c78137
commit 97dd3e5bba
Signed by: idanoo
GPG Key ID: 387387CDBC02F132
6 changed files with 6144 additions and 7552 deletions

View File

@ -3,7 +3,7 @@ stages:
- bundle - bundle
variables: variables:
VERSION: 0.0.30 VERSION: 0.0.31
build-go: build-go:
image: golang:1.16.2 image: golang:1.16.2

View File

@ -1,3 +1,7 @@
# 0.0.31
- Added newlines for flamerohr
- Tidied pages
# 0.0.30 # 0.0.30
- Fix artist/album/track images - Fix artist/album/track images

2
go.mod
View File

@ -15,7 +15,7 @@ require (
github.com/gogo/protobuf v1.3.1 // indirect github.com/gogo/protobuf v1.3.1 // indirect
github.com/golang-migrate/migrate v3.5.4+incompatible github.com/golang-migrate/migrate v3.5.4+incompatible
github.com/golang/protobuf v1.4.3 // indirect github.com/golang/protobuf v1.4.3 // indirect
github.com/google/uuid v1.2.0 // indirect github.com/google/uuid v1.2.0
github.com/gorilla/mux v1.8.0 github.com/gorilla/mux v1.8.0
github.com/joho/godotenv v1.3.0 github.com/joho/godotenv v1.3.0
github.com/opencontainers/go-digest v1.0.0 // indirect github.com/opencontainers/go-digest v1.0.0 // indirect

View File

@ -740,7 +740,7 @@ func getServerInfo(w http.ResponseWriter, r *http.Request) {
} }
info := ServerInfo{ info := ServerInfo{
Version: "0.0.30", Version: "0.0.31",
RegistrationEnabled: cachedRegistrationEnabled, RegistrationEnabled: cachedRegistrationEnabled,
} }

13670
web/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -23,22 +23,30 @@ const HomeBanner = () => {
<div className="homeBannerItem"> <div className="homeBannerItem">
{isLoading {isLoading
? <ClipLoader color="#6AD7E5" size={34} /> ? <ClipLoader color="#6AD7E5" size={34} />
: <span className="homeBannerItemCount">{bannerData.scrobbles}</span>}<br/>Scrobbles : <span className="homeBannerItemCount">{bannerData.scrobbles}</span>
}
<br/>Scrobbles
</div> </div>
<div className="homeBannerItem"> <div className="homeBannerItem">
{isLoading {isLoading
? <ClipLoader color="#6AD7E5" size={34} /> ? <ClipLoader color="#6AD7E5" size={34} />
: <span className="homeBannerItemCount">{bannerData.users}</span>}<br/>Users : <span className="homeBannerItemCount">{bannerData.users}</span>
}
<br/>Users
</div> </div>
<div className="homeBannerItem"> <div className="homeBannerItem">
{isLoading {isLoading
? <ClipLoader color="#6AD7E5" size={34} /> ? <ClipLoader color="#6AD7E5" size={34} />
: <span className="homeBannerItemCount">{bannerData.tracks}</span>}<br/>Tracks : <span className="homeBannerItemCount">{bannerData.tracks}</span>
}
<br/>Tracks
</div> </div>
<div className="homeBannerItem"> <div className="homeBannerItem">
{isLoading {isLoading
? <ClipLoader color="#6AD7E5" size={34} /> ? <ClipLoader color="#6AD7E5" size={34} />
: <span className="homeBannerItemCount">{bannerData.artists}</span>}<br/>Artists : <span className="homeBannerItemCount">{bannerData.artists}</span>
}
<br/>Artists
</div> </div>
</div> </div>
); );