Wednesday, July 15, 2026 1:59:31 AM
> project show esm_website_v1
The unexpected heart of the ESM ecosystem. What started as a simple Rails dashboard has evolved into the command center for thousands of gaming communities, proving that sometimes the best infrastructure projects are the ones you never planned to build.
Details
> index.js
import _ from "lodash";

export function getData(elem, tags) {
    let data = {};
    elem = $(elem);
    _.each(tags, (tag) => {
        if (_.startsWith(tag, "data-")) {
            tag = _.trimStart(tag, "data-");
        }
        data[tag] = elem.data(tag);
        elem.removeAttr(`data-${_.kebabCase(tag)}`);
    });
    return data;
}

export const COLORS = {
    red: "#C62551",
    blue: "#3ED3FB",
    green: "#9FDE3A",
    yellow: "#DECA39",
    orange: "#c64a25",
    purple: "#793ADE",
    pink: "#DE3A9F",
    white: "#FFFFFF"
};
All opinions represented herein are my own
- © 2024 - 2026 itsthedevman
- build 43aa0d7