fix: mobile scrolling + clean up mkdemo hardcoded values
This commit is contained in:
parent
22e42d721a
commit
2da38ae462
3 changed files with 7 additions and 17 deletions
|
|
@ -42,19 +42,15 @@ func main() {
|
||||||
password = base64.RawURLEncoding.EncodeToString(passwordBytes)
|
password = base64.RawURLEncoding.EncodeToString(passwordBytes)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create manifest
|
// Create manifest with filename as title
|
||||||
manifest := smsg.NewManifest("It Feels So Good (The Conductor & The Cowboy's Amnesia Mix)")
|
title := filepath.Base(inputFile)
|
||||||
manifest.Artist = "Sonique"
|
ext := filepath.Ext(title)
|
||||||
|
if ext != "" {
|
||||||
|
title = title[:len(title)-len(ext)]
|
||||||
|
}
|
||||||
|
manifest := smsg.NewManifest(title)
|
||||||
manifest.LicenseType = "perpetual"
|
manifest.LicenseType = "perpetual"
|
||||||
manifest.Format = "dapp.fm/v1"
|
manifest.Format = "dapp.fm/v1"
|
||||||
manifest.ReleaseType = "single"
|
|
||||||
manifest.Duration = 253 // 4:13
|
|
||||||
manifest.AddTrack("It Feels So Good (The Conductor & The Cowboy's Amnesia Mix)", 0)
|
|
||||||
|
|
||||||
// Artist links - direct to artist, skip the middlemen
|
|
||||||
// "home" = preferred landing page, artist name should always link here
|
|
||||||
manifest.AddLink("home", "https://linktr.ee/conductorandcowboy")
|
|
||||||
manifest.AddLink("beatport", "https://www.beatport.com/artist/the-conductor-the-cowboy/635335")
|
|
||||||
|
|
||||||
// Create message with attachment (using binary attachment for v2 format)
|
// Create message with attachment (using binary attachment for v2 format)
|
||||||
msg := smsg.NewMessage("Welcome to dapp.fm - Zero-Trust DRM for the open web.")
|
msg := smsg.NewMessage("Welcome to dapp.fm - Zero-Trust DRM for the open web.")
|
||||||
|
|
|
||||||
|
|
@ -55,12 +55,6 @@
|
||||||
|
|
||||||
html, body {
|
html, body {
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
scrollbar-width: none;
|
|
||||||
-ms-overflow-style: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
html::-webkit-scrollbar, body::-webkit-scrollbar {
|
|
||||||
display: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.value-item {
|
.value-item {
|
||||||
|
|
|
||||||
BIN
examples/demo-sample.smsg
Normal file
BIN
examples/demo-sample.smsg
Normal file
Binary file not shown.
Loading…
Add table
Reference in a new issue