actual links and images
BIN
assets/images/SUBURBANSD.jpg
Normal file
After Width: | Height: | Size: 155 KiB |
BIN
assets/images/SUBURBANSDSTICKER.png
Normal file
After Width: | Height: | Size: 168 KiB |
BIN
assets/images/aleexheldt.jpg
Normal file
After Width: | Height: | Size: 623 KiB |
BIN
assets/images/alexheldtlogo (1).png
Normal file
After Width: | Height: | Size: 653 KiB |
BIN
assets/images/alexheldtlogo.jpg
Normal file
After Width: | Height: | Size: 285 KiB |
BIN
assets/images/blowfishrmx.jpg
Normal file
After Width: | Height: | Size: 211 KiB |
BIN
assets/images/rumorsrmx_cover.JPG
Normal file
After Width: | Height: | Size: 254 KiB |
BIN
assets/images/serrated alex.jpg
Normal file
After Width: | Height: | Size: 733 KiB |
36
c.js
|
@ -11,44 +11,38 @@ const name = "ALEX HELDT";
|
|||
const socials = [
|
||||
{
|
||||
name: "twitch",
|
||||
link: "https://twitter.com/abisoos",
|
||||
link: "https://twitch.tv/alexheldtmusic",
|
||||
icon: icons["Twitch"],
|
||||
},
|
||||
{
|
||||
name: "twitter",
|
||||
link: "https://twitter.com/abisoos",
|
||||
link: "https://twitter.com/alexheldtmusic",
|
||||
icon: icons["Twitter"],
|
||||
},
|
||||
{
|
||||
name: "instagram",
|
||||
link: "https://twitter.com/abisoos",
|
||||
link: "https://instagr.am/alexheldtmusic",
|
||||
icon: icons["Instagram"],
|
||||
},
|
||||
];
|
||||
const music = [
|
||||
{
|
||||
id: "rumorsremix",
|
||||
shown: "Rumors Remix",
|
||||
image: "/assets/images/serrated.jpg",
|
||||
link: "https://soundcloud.com/abisoos/overdrive",
|
||||
id: "rumorsrrmx",
|
||||
name: "Rumors Remix",
|
||||
image: "/assets/images/rumorsrmx_cover.JPG",
|
||||
link: "https://ffm.to/dd3kjja",
|
||||
},
|
||||
{
|
||||
id: "blowfishrmx",
|
||||
name: "Blowfish Boyfriend Remix",
|
||||
image: "/assets/images/blowfishrmx.jpg",
|
||||
link: "https://ffm.to/blowfishbfremix.owe",
|
||||
},
|
||||
{
|
||||
id: "serrated",
|
||||
shown: "Serrated",
|
||||
name: "Serrated",
|
||||
image: "/assets/images/serrated.jpg",
|
||||
link: "https://soundcloud.com/abisoos/overdrive",
|
||||
},
|
||||
{
|
||||
id: "overdrive3",
|
||||
shown: "Serrated",
|
||||
image: "/assets/images/serrated.jpg",
|
||||
link: "https://soundcloud.com/abisoos/overdrive",
|
||||
},
|
||||
{
|
||||
id: "overdrive4",
|
||||
shown: "Serrated",
|
||||
image: "/assets/images/serrated.jpg",
|
||||
link: "https://soundcloud.com/abisoos/overdrive",
|
||||
link: "https://ffm.to/serrated",
|
||||
},
|
||||
];
|
||||
|
||||
|
|
8
index.js
|
@ -6,7 +6,7 @@ const cors = require("cors");
|
|||
const morgan = require("morgan");
|
||||
const chalk = require("chalk");
|
||||
const hbs = require("express-handlebars");
|
||||
const { dev, music, port, socials, name } = require("./c");
|
||||
const { dev, allMusic, music, port, socials, name } = require("./c");
|
||||
const redis = require("ioredis");
|
||||
const { promisify } = require("util");
|
||||
|
||||
|
@ -72,8 +72,8 @@ app.get("/", async (req, res) => {
|
|||
socials,
|
||||
music,
|
||||
creator: {
|
||||
name: await r.get("creator_name") || 'lio',
|
||||
website: await r.get("creator_website") || "https://himbo.cat",
|
||||
name: (await r.get("creator_name")) || "lio",
|
||||
website: (await r.get("creator_website")) || "https://himbo.cat",
|
||||
},
|
||||
});
|
||||
});
|
||||
|
@ -84,7 +84,7 @@ socials.forEach((social) => {
|
|||
});
|
||||
|
||||
// ! MUSIC LINKS
|
||||
music.forEach((item) => {
|
||||
allMusic.forEach((item) => {
|
||||
app.get(`/${item.id}`, (req, res) => res.redirect(item.link));
|
||||
});
|
||||
|
||||
|
|
|
@ -18,9 +18,9 @@
|
|||
<div class="music">
|
||||
{{#each music}}
|
||||
<div class="song">
|
||||
<a href="{{../protocol}}://{{../host}}/{{id}}"><img src="{{image}}" alt="{{shown}} Cover Art"></a>
|
||||
<a href="{{../protocol}}://{{../host}}/{{id}}"><img src="{{image}}" alt="{{name}} Cover Art"></a>
|
||||
<a href="{{../protocol}}://{{../host}}/{{id}}" class="title">
|
||||
{{shown}}
|
||||
{{name}}
|
||||
</a>
|
||||
</div>
|
||||
{{/each}}
|
||||
|
|