fix RADAR_NAME env variable
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.assetUrl = exports.isMobileViewport = exports.translate = exports.showEmptyRings = exports.getItemPageNames = exports.rings = exports.quadrants = exports.radarNameShort = exports.radarName = void 0;
|
||||
exports.radarName = process.env.RADAR_NAME || "AOE Technology Radar";
|
||||
exports.radarName = process.env.REACT_APP_RADAR_NAME || "AOE Technology Radar";
|
||||
exports.radarNameShort = exports.radarName;
|
||||
exports.quadrants = [
|
||||
"languages-and-frameworks",
|
||||
|
||||
@@ -16,9 +16,15 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from) {
|
||||
return to;
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.getFirstLetter = exports.groupByFirstLetter = exports.groupByQuadrants = exports.featuredOnly = void 0;
|
||||
var featuredOnly = function (items) { return items.filter(function (item) { return item.featured; }); };
|
||||
exports.getFirstLetter = exports.groupByFirstLetter = exports.groupByQuadrants = exports.unfeaturedOnly = exports.featuredOnly = void 0;
|
||||
var featuredOnly = function (items) {
|
||||
return items.filter(function (item) { return item.featured; });
|
||||
};
|
||||
exports.featuredOnly = featuredOnly;
|
||||
var unfeaturedOnly = function (items) {
|
||||
return items.filter(function (item) { return !item.featured; });
|
||||
};
|
||||
exports.unfeaturedOnly = unfeaturedOnly;
|
||||
var groupByQuadrants = function (items) {
|
||||
return items.reduce(function (quadrants, item) {
|
||||
var _a;
|
||||
@@ -52,5 +58,7 @@ var addItemToRing = function (ring, item) {
|
||||
if (ring === void 0) { ring = []; }
|
||||
return __spreadArray(__spreadArray([], ring), [item]);
|
||||
};
|
||||
var getFirstLetter = function (item) { return item.title.substr(0, 1).toUpperCase(); };
|
||||
var getFirstLetter = function (item) {
|
||||
return item.title.substr(0, 1).toUpperCase();
|
||||
};
|
||||
exports.getFirstLetter = getFirstLetter;
|
||||
|
||||
Reference in New Issue
Block a user