From a5ea652f6bbae95323f0491d9139d3e901fb3435 Mon Sep 17 00:00:00 2001 From: ari melody Date: Thu, 5 Oct 2023 21:13:03 +0100 Subject: [PATCH] basic bones for music page- needs db and custom server! --- .gitignore | 1 + nginx.conf | 27 +++-- public/data/music.xml | 270 +++++++++++++++++++++++++++++++++++++++++ public/index.html | 22 ++-- public/music.html | 140 +++++++++++++++++++++ public/style/main.css | 9 +- public/style/music.css | 79 ++++++++++++ 7 files changed, 523 insertions(+), 25 deletions(-) create mode 100644 public/data/music.xml create mode 100644 public/music.html create mode 100644 public/style/music.css diff --git a/.gitignore b/.gitignore index cf1a6f6..8175042 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ certs/ +public/img/musicart/* docker-compose*.yml !docker-compose-example.yml diff --git a/nginx.conf b/nginx.conf index b181a10..c12b36a 100644 --- a/nginx.conf +++ b/nginx.conf @@ -1,20 +1,21 @@ server { - listen 443 ssl; - server_name arimelody.me; + listen 443 ssl; + server_name arimelody.me; - ssl_protocols TLSv1.2 TLSv1.3; + ssl_protocols TLSv1.2 TLSv1.3; - ssl_certificate /etc/nginx/ssl/arimelody.crt; - ssl_certificate_key /etc/nginx/ssl/arimelody.key; + ssl_certificate /etc/nginx/ssl/arimelody.crt; + ssl_certificate_key /etc/nginx/ssl/arimelody.key; - root /usr/share/nginx/arimelody/; + root /usr/share/nginx/arimelody/; - client_max_body_size 0; + client_max_body_size 0; - location / { - } + location / { + try_files $uri $uri/ $uri.html =404; + } - if ($scheme != "https") { - return 301 https://$server_name$request_uri; - } -} \ No newline at end of file + if ($scheme != "https") { + return 301 https://$server_name$request_uri; + } +} diff --git a/public/data/music.xml b/public/data/music.xml new file mode 100644 index 0000000..6299768 --- /dev/null +++ b/public/data/music.xml @@ -0,0 +1,270 @@ + + + + +dream +Dream +single +2022 +https://mellodoot.com/img/music_artwork/mellodoot_-_Dream.webp +https://mellodoot.bandcamp.com/track/dream + +Spotify +https://open.spotify.com/album/5talRpqzjExP1w6j5LFIAh + + +Apple Music +https://music.apple.com/ie/album/dream-single/1650037132 + + +Soundcloud +https://soundcloud.com/mellodoot/dream + + +YouTube +https://www.youtube.com/watch?v=nfFgtMuYAx8 + + + + +gomyway +Go My Way +single +2021 +https://mellodoot.com/img/music_artwork/mellodoot_-_Go_My_Way.webp +https://mellodoot.bandcamp.com/track/go-my-way + +Spotify +https://open.spotify.com/album/35WNtxK12IDHCUoXHDePGE + + +Apple Music +https://music.apple.com/ie/album/go-my-way-single/1547145699 + + +Soundcloud +https://soundcloud.com/mellodoot/go-my-way + + +YouTube +https://www.youtube.com/watch?v=CNptNQdLkl0 + + + + +rowboat +Rowboat +single +2020 +https://mellodoot.com/img/music_artwork/mellodoot_-_Rowboat.webp +https://mellodoot.bandcamp.com/track/rowboat + +Spotify +https://open.spotify.com/album/7jyqJFVKaENCPm58v5O44Y + + +Apple Music +https://music.apple.com/ie/album/rowboat-single/1502608714 + + +Soundcloud +https://soundcloud.com/mellodoot/rowboat + + +YouTube +https://www.youtube.com/watch?v=uOQyILDTzME + + + + +helloworld +Hello World +single +2019 +https://mellodoot.com/img/music_artwork/mellodoot_-_Hello_World.webp +https://mellodoot.bandcamp.com/track/hello-world + +Spotify +https://open.spotify.com/album/3LbElPXD4dsDumttGBuYxx + + +Apple Music +https://music.apple.com/ie/album/hello-world-single/1491880155 + + +Soundcloud +https://soundcloud.com/mellodoot/helloworld + + +YouTube +https://www.youtube.com/watch?v=CQhlRsl0Mjk + + + + +sine +Sine +single +zaire +mellodoot +2019 +https://mellodoot.com/img/music_artwork/zaire_-_Sine_ft._mellodoot.webp + +Spotify +https://open.spotify.com/album/4WPuaJtTV7z86KubD9Rnmk + + +Apple Music +https://music.apple.com/us/album/sine-feat-mellodoot/1489163020 + + +YouTube +https://www.youtube.com/watch?v=z1H1s6VRnyY + + + + +10 +10 +single +2019 +https://mellodoot.com/img/music_artwork/mellodoot_-_10.webp +https://mellodoot.bandcamp.com/track/10 + +Spotify +https://open.spotify.com/album/2x4gbACfDm99unaXpLXyj0 + + +Apple Music +https://music.apple.com/ie/album/ten-single/1483193041 + + +Soundcloud +https://soundcloud.com/mellodoot/ten + + +YouTube +https://www.youtube.com/watch?v=C7WP5L2BK4U + + + + +mad +MAD +single +2018 +https://mellodoot.com/img/music_artwork/mellodoot_-_MAD.webp +https://mellodoot.bandcamp.com/track/mad + +Spotify +https://open.spotify.com/album/59nFXw1WNoRhXou7lXqBZd + + +Apple Music +https://music.apple.com/ie/album/mad/1441233120 + + +Soundcloud +https://soundcloud.com/mellodoot/mad + + +YouTube +https://www.youtube.com/watch?v=OB-Pk6p6mfQ + + + + +welcomingparty +Welcoming Party +album +2018 +https://mellodoot.com/img/music_artwork/mellodoot_-_Welcoming_Party.webp +https://mellodoot.bandcamp.com/album/welcoming-party + +Spotify +https://open.spotify.com/album/3EPa4HZpkISQVRAks64LfR + + +Apple Music +https://music.apple.com/ie/album/welcoming-party-ep/1441161424 + + +Soundcloud +https://soundcloud.com/mellodoot/sets/welcoming-party + + +YouTube +https://www.youtube.com/playlist?list=PLBG_QJeOHrB5EeniiXBIlHpoQbD6CUJca + + +Paradigm + + +Mitrio + + +Level One + + +Cubes + + +Aria + + + + +howtheyknow2018 +How They Know (2018) +single +2018 +https://mellodoot.com/img/music_artwork/mellodoot_-_How_They_Know_2018.webp +https://mellodoot.bandcamp.com/track/how-they-know-2018-remastered +true + +Soundcloud +https://soundcloud.com/mellodoot/how-they-know-2018 + + +YouTube +https://www.youtube.com/watch?v=mbAgSwCzyMw + + + + +howtheyknow +How They Know +single +2017 +https://mellodoot.com/img/music_artwork/mellodoot_-_How_They_Know.webp +https://mellodoot.bandcamp.com/track/how-they-know +true + +Soundcloud +https://soundcloud.com/mellodoot/how-they-know + + +YouTube +https://www.youtube.com/watch?v=q6lzKuG1Emo + + + + +traveller +Traveller +single +2017 +https://mellodoot.com/img/music_artwork/mellodoot_-_Traveller.webp +https://mellodoot.bandcamp.com/track/traveller +true + +Soundcloud +https://soundcloud.com/mellodoot/traveller + + +YouTube +https://www.youtube.com/watch?v=ZTO7IQZ-yXA + + + + diff --git a/public/index.html b/public/index.html index 119a65c..f49d694 100644 --- a/public/index.html +++ b/public/index.html @@ -1,6 +1,7 @@ - - + + + @@ -19,7 +20,7 @@ - +