ソースを参照

add test index

Andrey Titovskiy 3 年 前
コミット
2304489061
9 ファイル変更2321 行追加661 行削除
  1. 1 0
      build/index.html
  2. 23 7
      build/index.js
  3. 1 1
      build/index.js.map
  4. 5 2
      package.json
  5. 15 0
      public/index.html
  6. 637 0
      src/branding.js
  7. 22 633
      src/index.js
  8. 9 0
      webpack.config.js
  9. 1608 18
      yarn.lock

+ 1 - 0
build/index.html

@@ -0,0 +1 @@
+<!doctype html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title>Ulearn Branding Test</title><link href="style.css" rel="stylesheet"></head><body><div id="root" style="width: 100%; height: 100%;">test</div><script src="index.js"></script></body></html>

ファイルの差分が大きいため隠しています
+ 23 - 7
build/index.js


ファイルの差分が大きいため隠しています
+ 1 - 1
build/index.js.map


+ 5 - 2
package.json

@@ -4,7 +4,8 @@
   "description": "unicraft branding files",
   "main": "./build/index.js",
   "scripts": {
-    "build": "webpack"
+    "build": "webpack",
+    "start:dev": "webpack serve"
   },
   "author": "Unicraft TEAM",
   "devDependencies": {
@@ -21,6 +22,7 @@
     "css-loader": "^1.0.1",
     "css-raw-loader": "^0.1.2",
     "file-loader": "^0.11.2",
+    "html-webpack-plugin": "^4.5.2",
     "node-sass": "^4.14.1",
     "postcss-loader": "^3.0.0",
     "prop-types": "^15.6.2",
@@ -30,7 +32,8 @@
     "sass-loader": "^6.0.7",
     "style-loader": "^0.19.1",
     "webpack": "^4.46.0",
-    "webpack-cli": "^4.10.0"
+    "webpack-cli": "^4.10.0",
+    "webpack-dev-server": "^3.11.3"
   },
   "dependencies": {
     "classnames": "^2.3.1",

+ 15 - 0
public/index.html

@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="UTF-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <meta http-equiv="X-UA-Compatible" content="ie=edge">
+    <title>Ulearn Branding Test</title>
+</head>
+
+<body>
+    <div id="root" style="width: 100%; height: 100%;">test</div>
+</body>
+
+</html>

+ 637 - 0
src/branding.js

@@ -0,0 +1,637 @@
+import Einstein from './themes/Einstein';
+import Nlcharged from './themes/Nlcharged';
+import Octopolygraphist from './themes/Octopolygraphist';
+import Unicraft from './themes/Unicraft';
+import Wiacademy from './themes/Wiacademy';
+import Dilor from './themes/Dilor';
+import Acino from './themes/Acino';
+import Nailexpert from './themes/Nailexpert';
+import Krasotkapro from './themes/Krasotkapro';
+import Smartind from './themes/Smartind';
+import Kserv from './themes/Kserv';
+import Volwood from './themes/Volwood';
+import Lca from './themes/Lca';
+import Cdz from './themes/Cdz';
+import Eobuv from './themes/Eobuv';
+import Gaztime from './themes/Gaztime';
+import Kamvek from './themes/Kamvek';
+import Energomanagement from './themes/Energomanagement';
+import Bizconstructor from './themes/Bizconstructor';
+import Groom from './themes/Groom';
+import Moreoninvest from './themes/Moreoninvest';
+import Promkotlosnab from './themes/Promkotlosnab';
+import Litera from './themes/Litera';
+import Fcimpuls from './themes/Fcimpuls';
+import Sberins from './themes/Sberins';
+import Bankffin from './themes/Bankffin';
+import Robbo from './themes/Robbo';
+import Firstdpo from './themes/Firstdpo';
+import Pcg from './themes/Pcg';
+import Dverishop from './themes/Dverishop';
+import Ekt from './themes/Ekt';
+import Bsi from './themes/Bsi';
+import Kupichehol from './themes/Kupichehol';
+import Hrtv from './themes/Hrtv';
+import Logicpower from './themes/Logicpower';
+import Meyumed from './themes/Meyumed';
+import Hsep from './themes/Hsep';
+import Optima from './themes/Optima';
+import Sertrust from './themes/Sertrust';
+import Delovoyclub from './themes/Delovoyclub';
+import Igramedia from './themes/Igramedia';
+import Disinfect from './themes/Disinfect';
+import Forus from './themes/Forus';
+import Asp1с from './themes/Asp1с';
+import Vcmow from './themes/Vcmow';
+import Stroykotedj from './themes/Stroykotedj';
+import Projectaccel from './themes/Projectaccel';
+import Osnovad from './themes/Osnovad';
+import Upravdommo from './themes/Upravdommo';
+import Kancelar from './themes/Kancelar';
+import Freetimegroup from './themes/Freetimegroup';
+import Freshretailgroup from './themes/Freshretailgroup';
+import Sleep8 from './themes/Sleep8';
+import Tdld from './themes/Tdld';
+import Aptekavita from './themes/Aptekavita';
+import Wantresult from './themes/Wantresult';
+import Cpksmo from './themes/Cpksmo';
+import Mondiaramil from './themes/Mondiaramil';
+import Kazdream from './themes/Kazdream';
+import Metako from './themes/Metako';
+import Tsun from './themes/Tsun';
+import Pskkontinent from './themes/Pskkontinent';
+import Altair2001 from './themes/Altair2001';
+import Pinskdrev from './themes/Pinskdrev';
+import Artline from './themes/Artline';
+import Topfranchise from './themes/Topfranchise';
+import Qompax from './themes/Qompax';
+import Lets from './themes/Lets';
+import Mbaconsult from './themes/Mbaconsult';
+import Talap from './themes/Talap';
+import Waithai from './themes/Waithai';
+import Firstaidkz from './themes/Firstaidkz';
+import Federicabugatti from './themes/Federicabugatti';
+// import Jastholding from './themes/Jastholding';
+import Criptomat from './themes/Criptomat';
+import Twelvemonth from './themes/Twelvemonth';
+import Mosvodostroy from './themes/Mosvodostroy';
+import Maslenica from './themes/Maslenica';
+import Raneks from './themes/Raneks';
+import Biteducation from './themes/Biteducation';
+import Plintushall from './themes/Plintushall';
+import Luckygroup from './themes/Luckygroup';
+import Onlinecollegium from './themes/Onlinecollegium';
+import Regionkorma from './themes/Regionkorma';
+import Oipoperm from './themes/Oipoperm';
+import Cubeonline from './themes/Cubeonline';
+import Vione from './themes/Vione';
+import Botanikabar from './themes/Botanikabar';
+import Fishday from './themes/Fishday';
+import Metbiz from './themes/Metbiz';
+import Fmkspb from './themes/Fmkspb';
+import Sazural from './themes/Sazural';
+import Ochakovo from './themes/Ochakovo';
+import Yarsecurity from './themes/Yarsecurity';
+import Monbon from './themes/Monbon';
+import Estandart from './themes/Estandart';
+import Spg from './themes/Spg';
+import Dudkibar from './themes/Dudkibar';
+import Ecologyin from './themes/Ecologyin';
+import Uncleplintus from './themes/Uncleplintus';
+import Fring from './themes/Fring';
+import Skyprint from './themes/Skyprint';
+import Ykt12 from './themes/Ykt12';
+import Centerlight from './themes/Centerlight';
+import Master99 from './themes/Master99';
+import Terratraf from './themes/Terratraf';
+import Ads from './themes/Ads';
+import Raritek from './themes/Raritek';
+import Nbkfinance from './themes/Nbkfinance';
+import Vitalrays from './themes/Vitalrays';
+import Matroluxe from './themes/Matroluxe';
+import Magicprofi from './themes/Magicprofi';
+import Sodrugestvo from './themes/Sodrugestvo';
+import Pokroff from './themes/Pokroff';
+import Nbomsk from './themes/Nbomsk';
+import Kop from './themes/Kop';
+import Admsr from './themes/Admsr';
+import Furniturapremium from './themes/Furniturapremium';
+import Avs from './themes/Avs';
+import Symmetryplus from './themes/Symmetryplus';
+import Finardi from './themes/Finardi';
+import Timfirm from './themes/Timfirm';
+import Carzaem from './themes/Carzaem';
+import Interiercenter from './themes/Interiercenter';
+import Alpha174 from './themes/Alpha174';
+import Hiteksib from './themes/Hiteksib';
+import Vozned from './themes/Vozned';
+import Moneymailru from './themes/Moneymailru';
+import Pianoby from './themes/Pianoby';
+import Goldenbridge from './themes/Goldenbridge';
+import Rbu2by from './themes/Rbu2by';
+import Tso51 from './themes/Tso51';
+import Nova from './themes/Nova';
+import Collar from './themes/Collar';
+import Proengroup from './themes/Proengroup';
+import Karma from './themes/Karma';
+import Bts from './themes/Bts';
+import Envybox from './themes/Envybox';
+import Ibctender from './themes/Ibctender';
+import Ilovesim from './themes/Ilovesim';
+import Moniiag from './themes/Moniiag';
+import Sciencemed from './themes/Sciencemed';
+import Helyx from './themes/Helyx';
+import Nzbh from './themes/Nzbh';
+import Foodz from './themes/Foodz';
+import Uksmartservice from './themes/Uksmartservice';
+import Elephus from './themes/Elephus';
+import Platformix from './themes/Platformix';
+import Engerta from './themes/Engerta';
+import Fabrikamfc from './themes/Fabrikamfc';
+import Inventestate from './themes/Inventestate';
+import Stream from './themes/Stream';
+import Localgoverschool from './themes/Localgoverschool';
+import Anvtech from './themes/Anvtech';
+import Greenway from './themes/Greenway';
+import Yellowstore from './themes/Yellowstore';
+import Sportlandia from './themes/Sportlandia';
+import Winfin from './themes/Winfin';
+import Tkp from './themes/Tkp';
+import Informplus from './themes/Informplus';
+import Eurostep from './themes/Eurostep';
+import Opercompany from './themes/Opercompany';
+import Murawey from './themes/Murawey';
+import Svetlux from './themes/Svetlux';
+import Passada from './themes/Passada';
+import Titanshop from './themes/Titanshop';
+import Estelife from './themes/Estelife';
+import Elko from './themes/Elko';
+import Masterprofile from './themes/Masterprofile';
+import Proproduct from './themes/Proproduct';
+import Gefestproekt from './themes/Gefestproekt';
+import Medford from './themes/Medford';
+import Robotelsa from './themes/Robotesla';
+import Stkrd from './themes/Stkrd';
+import Isspalvelutoy from './themes/Isspalvelutoy';
+import Dianet from './themes/Dianet';
+import Baraka from './themes/Baraka';
+import Fourb from './themes/Fourb';
+import Silvia from './themes/Silvia';
+import Sacha from './themes/Sacha';
+import Sportstech from './themes/Sportstech';
+import Securtv from './themes/Securtv';
+import Vavsynergy from './themes/Vavsynergy';
+import Miselement from './themes/Miselement';
+import Centerpomoshi from './themes/Centerpomoshi';
+import Grace from './themes/Grace';
+import Ilion from './themes/Ilion';
+import Intercom from './themes/Intercom';
+import Elastoform31 from './themes/Elastoform31';
+import Stroimatic from './themes/Stroimatic';
+import Satsvyaz from './themes/Satsvyaz';
+import Ftk from './themes/Ftk';
+import Likmsk from './themes/Likmsk';
+import Susdelpe from './themes/Susdelpe';
+import Magnum from './themes/Magnum';
+import Basip from './themes/Basip';
+import Pdttools from './themes/Pdttools';
+import Ai31 from './themes/Ai31';
+import Fishfood from './themes/Fishfood';
+import Jenty from './themes/Jenty';
+import Ainur from './themes/Ainur';
+import Platforma from './themes/Platforma';
+import Socialmediaholding from './themes/Socialmediaholding';
+import Annaanna from './themes/Annaanna';
+import Inoxtrade from './themes/Inoxtrade';
+import Edulink from './themes/Edulink';
+import Lifemart from './themes/Lifemart';
+import Grandclinic from './themes/Grandclinic';
+import Zoopt from './themes/Zoopt';
+import Fpprt from './themes/Fpprt';
+import Iter from './themes/Iter';
+import Chakraology from './themes/Chakraology';
+import Chameleonendurance from './themes/Chameleonendurance';
+import Franklinsburger from './themes/Franklinsburger';
+import Rosohrana from './themes/Rosohrana';
+import Sladskaz from './themes/Sladskaz';
+import Masprofil from './themes/Masprofil';
+import Inkab from './themes/Inkab';
+import Sipks from './themes/Sipks';
+import Dommoskvy from './themes/Dommoskvy';
+import Basip_en from './themes/Basip_en';
+import Lavrovaby from './themes/Lavrovaby';
+import Skifservice from './themes/Skifservice';
+import Bizevo from './themes/Bizevo';
+import Inlek from './themes/Inlek';
+import Beepbeep from './themes/Beepbeep';
+import Uflor from './themes/Uflor';
+import Ordamed from './themes/Ordamed';
+import Tedeco from './themes/Tedeco';
+import Noosfera from './themes/Noosfera';
+import Nettle from './themes/Nettle';
+import Vmebel from './themes/Vmebel';
+import _1marka from './themes/1marka';
+import Intex from './themes/Intex';
+import Ledrussia from './themes/Ledrussia';
+import Kamatyres from './themes/Kamatyres';
+import Novator from './themes/Novator';
+import Dcg from './themes/Dcg';
+import Lbg from './themes/Lbg';
+import Meest from './themes/Meest';
+import Pskovvtormet from './themes/Pskovvtormet';
+import Tonus from './themes/Tonus';
+import Bezpart from './themes/Bezpart';
+import Tdcsk from './themes/Tdcsk';
+import Penman from './themes/Penman';
+import Companyelita from './themes/Companyelita';
+import Schooltraffic from './themes/Schooltraffic';
+import Beauty365 from './themes/Beauty365';
+import Metrnsk from './themes/Metrnsk';
+import Buxmchj from './themes/Buxmchj';
+import Salespro from './themes/Salespro';
+import Autoeuro from './themes/Autoeuro';
+import Ecrs from './themes/Ecrs';
+import Onpoint from './themes/Onpoint';
+import Brigantina from './themes/Brigantina';
+import Autonovad from './themes/Autonovad';
+import Semya from './themes/Semya';
+import Agtplus from './themes/Agtplus';
+import Trius from './themes/Trius';
+import Leobank from './themes/Leobank';
+import Onewinschool from './themes/Onewinschool';
+import Uralkrovauto from './themes/Uralkrovauto';
+import Iam from './themes/Iam';
+import Stormoff from './themes/Stormoff';
+import Bodbopot from './themes/Bodbopot';
+import Vecfort from './themes/Vecfort';
+import Driveuniversity from './themes/Driveuniversity';
+import Compas from './themes/Compas';
+import Stonline from './themes/Stonline';
+import Cashpodesign from './themes/Cashpodesign';
+import Detra from './themes/Detra';
+import Oquortalygy from './themes/Oquortalygy ';
+import Mcavicenna from './themes/Mcavicenna';
+import Hng from './themes/Hng';
+import Urluniversity from './themes/Urluniversity';
+import Amodul from './themes/Amodul';
+import Ademina from './themes/Ademina';
+import Avlod21 from './themes/Avlod21';
+import Mtsdigital from './themes/Mtsdigital';
+import Radaravto from './themes/Radaravto';
+import Hanbuz from './themes/Hanbuz';
+import Sptlab from './themes/sptlab';
+import Azrsaratov from './themes/Azrsaratov';
+import Gkgoodwill from './themes/Gkgoodwill';
+import Lidertrans from './themes/Lidertrans';
+import Gkultra from './themes/Gkultra';
+import Sporttver from './themes/Sporttver';
+import Cdop from './themes/cdop';
+import Dreamit from './themes/Dreamit';
+import Dmtech from './themes/Dmtech';
+import Interdizan from './themes/Interdizan';
+import Smokingshop from './themes/smokingshop';
+import Nevsco from './themes/Nevsco';
+import Steelprom from './themes/Steelprom';
+import Akgroup from './themes/Akgroup';
+import Econiva from './themes/Econiva';
+import Platinagroup from './themes/Platinagroup';
+import Miat from './themes/Miat';
+import Projecta from './themes/Projecta';
+import Eyeguard from './themes/Eyeguard';
+import Svitshop from './themes/Svitshop';
+import Ambitech from './themes/ambitech';
+import Probki from './themes/Probki';
+import Tehauto from './themes/tehauto';
+import Foxtery from './themes/Foxtery';
+import Avtomaslooptom from './themes/Avtomaslooptom';
+import Transportir from './themes/Transportir';
+import Upsushi from './themes/Upsushi';
+import Pizzaman from './themes/Pizzaman';
+import Seniorpotolok from './themes/Seniorpotolok';
+import Profisdo from './themes/Profisdo';
+import Avantagebp from './themes/Avantagebp';
+import Vashden from './themes/Vashden';
+
+export const brandingObject = {
+  'unicraft': Unicraft,
+  'einstein': Einstein,
+  'oktopolygraphist': Octopolygraphist,
+  'nlcharged': Nlcharged,
+  'wi-academy': Wiacademy,
+  'dilor': Dilor,
+  'acino': Acino,
+  'nail-expert': Nailexpert,
+  'krasotkapro': Krasotkapro,
+  'smart-ind': Smartind,
+  'kserv': Kserv,
+  'volwood': Volwood,
+  'lca': Lca,
+  'cdz': Cdz,
+  'eobuv': Eobuv,
+  'gaz-time': Gaztime,
+  'kamvek': Kamvek,
+  'energomanagement': Energomanagement,
+  'bizconstructor': Bizconstructor,
+  'groom': Groom,
+  'moreoninvest': Moreoninvest,
+  'promkotlosnab': Promkotlosnab,
+  'litera': Litera,
+  'fc-impuls': Fcimpuls,
+  'sberins': Sberins,
+  'bankffin': Bankffin,
+  'robbo': Robbo,
+  'firstdpo': Firstdpo,
+  'dverishop': Dverishop,
+  'pcg': Pcg,
+  'ekt': Ekt,
+  'bsi': Bsi,
+  'kupichehol': Kupichehol,
+  'hrtv': Hrtv,
+  'logicpower': Logicpower,
+  'meyumed': Meyumed,
+  'hsep': Hsep,
+  'optima': Optima,
+  'sertrust': Sertrust,
+  'delovoy-club': Delovoyclub,
+  'igramedia': Igramedia,
+  'disinfect': Disinfect,
+  'forus': Forus,
+  'asp1с': Asp1с,
+  'vcmow': Vcmow,
+  'stroy-kotedj': Stroykotedj,
+  'projectaccel': Projectaccel,
+  'osnovad': Osnovad,
+  'upravdommo': Upravdommo,
+  'kancelar': Kancelar,
+  'freetimegroup': Freetimegroup,
+  'freshretailgroup': Freshretailgroup,
+  'sleep8': Sleep8,
+  'tdld': Tdld,
+  'aptekavita': Aptekavita,
+  'wantresult': Wantresult,
+  'cpksmo': Cpksmo,
+  'mondiaramil': Mondiaramil,
+  'kazdream': Kazdream,
+  'metako': Metako,
+  'tsun': Tsun,
+  'psk-kontinent': Pskkontinent,
+  'altair2001': Altair2001,
+  'pinskdrev': Pinskdrev,
+  'artline': Artline,
+  'topfranchise': Topfranchise,
+  'qompax': Qompax,
+  'lets': Lets,
+  'mbaconsult': Mbaconsult,
+  'talap': Talap,
+  'waithai': Waithai,
+  'firstaidkz': Firstaidkz,
+  'federicabugatti': Federicabugatti,
+  // 'jastholding': Jastholding, // Шапка отключена по просьбе клиента (попросил шапку по умолчанию, Unicraft)
+  'criptomat': Criptomat,
+  'twelvemonth': Twelvemonth,
+  "mosvodostroy": Mosvodostroy,
+  'maslenica': Maslenica,
+  'raneks': Raneks,
+  'biteducation': Biteducation,
+  'plintus-hall': Plintushall,
+  'luckygroup': Luckygroup,
+  'onlinecollegium': Onlinecollegium,
+  'regionkorma': Regionkorma,
+  'oipoperm': Oipoperm,
+  'cubeonline': Cubeonline,
+  'vione': Vione,
+  'botanikabar': Botanikabar,
+  'fishday': Fishday,
+  'metbiz': Metbiz,
+  'fmkspb': Fmkspb,
+  'saz-ural': Sazural,
+  'ochakovo': Ochakovo,
+  'yarsecurity': Yarsecurity,
+  'monbon': Monbon,
+  'estandart': Estandart,
+  'spg': Spg,
+  'dudkibar': Dudkibar,
+  'ecologyin': Ecologyin,
+  'uncleplintus': Uncleplintus,
+  'fring': Fring,
+  'skyprint': Skyprint,
+  'ykt12': Ykt12,
+  'center-light': Centerlight,
+  'master99': Master99,
+  'terratraf': Terratraf,
+  'ads': Ads,
+  'raritek': Raritek,
+  'nbkfinance': Nbkfinance,
+  'vital-rays': Vitalrays,
+  'matroluxe': Matroluxe,
+  'magicprofi': Magicprofi,
+  'sodrugestvo': Sodrugestvo,
+  'pokroff': Pokroff,
+  'nb-omsk': Nbomsk,
+  'kop': Kop,
+  'admsr': Admsr,
+  'furniturapremium': Furniturapremium,
+  'avs': Avs,
+  'symmetryplus': Symmetryplus,
+  'finardi': Finardi,
+  'timfirm': Timfirm,
+  'carzaem': Carzaem,
+  'interiercenter': Interiercenter,
+  'alpha174': Alpha174,
+  'hiteksib': Hiteksib,
+  'vozned': Vozned,
+  'moneymailru': Moneymailru,
+  'pianoby': Pianoby,
+  'tso51': Tso51,
+  'rbu2by': Rbu2by,
+  'goldenbridge': Goldenbridge,
+  'nova': Nova,
+  'collar': Collar,
+  'proengroup': Proengroup,
+  'karma': Karma,
+  'bts': Bts,
+  'envybox': Envybox,
+  'ibc-tender': Ibctender,
+  'ilovesim': Ilovesim,
+  'moniiag': Moniiag,
+  'sciencemed': Sciencemed,
+  'helyx': Helyx,
+  'nzbh': Nzbh,
+  'foodz': Foodz,
+  'uk-smart-service': Uksmartservice,
+  'elephus': Elephus,
+  'platformix': Platformix,
+  'engerta': Engerta,
+  'fabrika-mfc': Fabrikamfc,
+  'inventestate': Inventestate,
+  'stream': Stream,
+  'localgoverschool': Localgoverschool,
+  'anv-tech': Anvtech,
+  'greenway': Greenway,
+  'yellowstore': Yellowstore,
+  'sportlandia': Sportlandia,
+  'winfin': Winfin,
+  'tkp': Tkp,
+  'informplus': Informplus,
+  'eurostep': Eurostep,
+  'opercompany': Opercompany,
+  'murawey': Murawey,
+  'svetlux': Svetlux,
+  'passada': Passada,
+  'titan-shop': Titanshop,
+  'estelife': Estelife,
+  'elko': Elko,
+  'master-profile': Masterprofile,
+  'proproduct': Proproduct,
+  'gefestproekt': Gefestproekt,
+  'medford': Medford,
+  'robotesla': Robotelsa,
+  'st-krd': Stkrd,
+  'isspalvelutoy': Isspalvelutoy,
+  'dianet': Dianet,
+  'baraka': Baraka,
+  'fourb': Fourb,
+  'silvia': Silvia,
+  'sacha': Sacha,
+  'sports-tech': Sportstech,
+  'securtv': Securtv,
+  'vavsynergy': Vavsynergy,
+  'miselement': Miselement,
+  'center-pomoshi': Centerpomoshi,
+  'grace': Grace,
+  'ilion': Ilion,
+  'intercom': Intercom,
+  'elastoform31': Elastoform31,
+  'stroimatic': Stroimatic,
+  'satsvyaz': Satsvyaz,
+  'ftk': Ftk,
+  'likmsk': Likmsk,
+  'susdelpe': Susdelpe,
+  'magnum': Magnum,
+  'basip': Basip,
+  'pdttools': Pdttools,
+  'ai31': Ai31,
+  'fishfood': Fishfood,
+  'jenty': Jenty,
+  'ainur': Ainur,
+  'platforma': Platforma,
+  'socialmediaholding': Socialmediaholding,
+  'annaanna': Annaanna,
+  'inoxtrade': Inoxtrade,
+  'edulink': Edulink,
+  'lifemart': Lifemart,
+  'grandclinic': Grandclinic,
+  'zoopt': Zoopt,
+  'fpprt': Fpprt,
+  'iter': Iter,
+  'chakraology': Chakraology,
+  'chameleonendurance': Chameleonendurance,
+  'franklinsburger': Franklinsburger,
+  'rosohrana': Rosohrana,
+  'sladskaz': Sladskaz,
+  'masprofil': Masprofil,
+  'inkab': Inkab,
+  'sipks': Sipks,
+  'dommoskvy': Dommoskvy,
+  'basip_en': Basip_en,
+  'lavrovaby': Lavrovaby,
+  'skifservice': Skifservice,
+  'bizevo': Bizevo,
+  'inlek': Inlek,
+  'beepbeep': Beepbeep,
+  'uflor': Uflor,
+  'ordamed': Ordamed,
+  'tedeco': Tedeco,
+  'noosfera': Noosfera,
+  'nettle': Nettle,
+  'vmebel': Vmebel,
+  '1marka': _1marka,
+  'intex': Intex,
+  'ledrussia': Ledrussia,
+  'kamatyres': Kamatyres,
+  'novator': Novator,
+  'dcg': Dcg,
+  'lbg': Lbg,
+  'meest': Meest,
+  'pskovvtormet': Pskovvtormet,
+  'tonus': Tonus,
+  'bezpart': Bezpart,
+  'tdcsk': Tdcsk,
+  'penman': Penman,
+  'companyelita': Companyelita,
+  'school-traffic': Schooltraffic,
+  'beauty365': Beauty365,
+  'metrnsk': Metrnsk,
+  'buxmchj': Buxmchj,
+  'salespro': Salespro,
+  'autoeuro': Autoeuro,
+  'ecrs': Ecrs,
+  'onpoint': Onpoint,
+  'brigantina': Brigantina,
+  'autonovad': Autonovad,
+  'semya': Semya,
+  'agtplus': Agtplus,
+  'trius': Trius,
+  'leobank': Leobank,
+  'onewinschool': Onewinschool,
+  'ural-krov-auto': Uralkrovauto,
+  'iam': Iam,
+  'stormoff': Stormoff,
+  'bodbopot': Bodbopot,
+  'vecfort': Vecfort,
+  'driveuniversity': Driveuniversity,
+  'compas': Compas,
+  'stonline': Stonline,
+  'cashpodesign': Cashpodesign,
+  'detra': Detra,
+  'oquortalygy': Oquortalygy,
+  'mcavicenna': Mcavicenna,
+  'hng': Hng,
+  'urluniversity': Urluniversity,
+  'amodul': Amodul,
+  'ademina': Ademina,
+  'avlod21': Avlod21,
+  'mtsdigital': Mtsdigital,
+  'radaravto': Radaravto,
+  'hanbuz': Hanbuz,
+  'sptlab': Sptlab,
+  'azrsaratov': Azrsaratov,
+  'gkgoodwill': Gkgoodwill,
+  'lidertrans': Lidertrans,
+  'gkultra': Gkultra,
+  'sporttver': Sporttver,
+  'cdop': Cdop,
+  'dreamit': Dreamit,
+  'dmtech': Dmtech,
+  'interdizan': Interdizan,
+  'smokingshop': Smokingshop,
+  'nevsco': Nevsco,
+  'steelprom': Steelprom,
+  'akgroup': Akgroup,
+  'econiva': Econiva,
+  'platinagroup': Platinagroup,
+  'miat': Miat,
+  'projecta': Projecta,
+  'eyeguard': Eyeguard,
+  'svitshop': Svitshop,
+  'ambitech': Ambitech,
+  'probki': Probki,
+  'tehauto': Tehauto,
+  'foxtery': Foxtery,
+  'avtomaslooptom': Avtomaslooptom,
+  'transportir': Transportir,
+  'upsushi': Upsushi,
+  'pizzaman': Pizzaman,
+  'seniorpotolok': Seniorpotolok,
+  'profisdo': Profisdo,
+  'avantagebp': Avantagebp,
+  'vashden': Vashden,
+}
+
+const handler = {
+  get: function (target, name) {
+    return target.hasOwnProperty(name) ? target[name] : Unicraft;
+  }
+};
+
+export const brandingMapping = new Proxy(brandingObject, handler);

+ 22 - 633
src/index.js

@@ -1,637 +1,26 @@
-import Einstein from './themes/Einstein';
-import Nlcharged from './themes/Nlcharged';
-import Octopolygraphist from './themes/Octopolygraphist';
-import Unicraft from './themes/Unicraft';
-import Wiacademy from './themes/Wiacademy';
-import Dilor from './themes/Dilor';
-import Acino from './themes/Acino';
-import Nailexpert from './themes/Nailexpert';
-import Krasotkapro from './themes/Krasotkapro';
-import Smartind from './themes/Smartind';
-import Kserv from './themes/Kserv';
-import Volwood from './themes/Volwood';
-import Lca from './themes/Lca';
-import Cdz from './themes/Cdz';
-import Eobuv from './themes/Eobuv';
-import Gaztime from './themes/Gaztime';
-import Kamvek from './themes/Kamvek';
-import Energomanagement from './themes/Energomanagement';
-import Bizconstructor from './themes/Bizconstructor';
-import Groom from './themes/Groom';
-import Moreoninvest from './themes/Moreoninvest';
-import Promkotlosnab from './themes/Promkotlosnab';
-import Litera from './themes/Litera';
-import Fcimpuls from './themes/Fcimpuls';
-import Sberins from './themes/Sberins';
-import Bankffin from './themes/Bankffin';
-import Robbo from './themes/Robbo';
-import Firstdpo from './themes/Firstdpo';
-import Pcg from './themes/Pcg';
-import Dverishop from './themes/Dverishop';
-import Ekt from './themes/Ekt';
-import Bsi from './themes/Bsi';
-import Kupichehol from './themes/Kupichehol';
-import Hrtv from './themes/Hrtv';
-import Logicpower from './themes/Logicpower';
-import Meyumed from './themes/Meyumed';
-import Hsep from './themes/Hsep';
-import Optima from './themes/Optima';
-import Sertrust from './themes/Sertrust';
-import Delovoyclub from './themes/Delovoyclub';
-import Igramedia from './themes/Igramedia';
-import Disinfect from './themes/Disinfect';
-import Forus from './themes/Forus';
-import Asp1с from './themes/Asp1с';
-import Vcmow from './themes/Vcmow';
-import Stroykotedj from './themes/Stroykotedj';
-import Projectaccel from './themes/Projectaccel';
-import Osnovad from './themes/Osnovad';
-import Upravdommo from './themes/Upravdommo';
-import Kancelar from './themes/Kancelar';
-import Freetimegroup from './themes/Freetimegroup';
-import Freshretailgroup from './themes/Freshretailgroup';
-import Sleep8 from './themes/Sleep8';
-import Tdld from './themes/Tdld';
-import Aptekavita from './themes/Aptekavita';
-import Wantresult from './themes/Wantresult';
-import Cpksmo from './themes/Cpksmo';
-import Mondiaramil from './themes/Mondiaramil';
-import Kazdream from './themes/Kazdream';
-import Metako from './themes/Metako';
-import Tsun from './themes/Tsun';
-import Pskkontinent from './themes/Pskkontinent';
-import Altair2001 from './themes/Altair2001';
-import Pinskdrev from './themes/Pinskdrev';
-import Artline from './themes/Artline';
-import Topfranchise from './themes/Topfranchise';
-import Qompax from './themes/Qompax';
-import Lets from './themes/Lets';
-import Mbaconsult from './themes/Mbaconsult';
-import Talap from './themes/Talap';
-import Waithai from './themes/Waithai';
-import Firstaidkz from './themes/Firstaidkz';
-import Federicabugatti from './themes/Federicabugatti';
-// import Jastholding from './themes/Jastholding';
-import Criptomat from './themes/Criptomat';
-import Twelvemonth from './themes/Twelvemonth';
-import Mosvodostroy from './themes/Mosvodostroy';
-import Maslenica from './themes/Maslenica';
-import Raneks from './themes/Raneks';
-import Biteducation from './themes/Biteducation';
-import Plintushall from './themes/Plintushall';
-import Luckygroup from './themes/Luckygroup';
-import Onlinecollegium from './themes/Onlinecollegium';
-import Regionkorma from './themes/Regionkorma';
-import Oipoperm from './themes/Oipoperm';
-import Cubeonline from './themes/Cubeonline';
-import Vione from './themes/Vione';
-import Botanikabar from './themes/Botanikabar';
-import Fishday from './themes/Fishday';
-import Metbiz from './themes/Metbiz';
-import Fmkspb from './themes/Fmkspb';
-import Sazural from './themes/Sazural';
-import Ochakovo from './themes/Ochakovo';
-import Yarsecurity from './themes/Yarsecurity';
-import Monbon from './themes/Monbon';
-import Estandart from './themes/Estandart';
-import Spg from './themes/Spg';
-import Dudkibar from './themes/Dudkibar';
-import Ecologyin from './themes/Ecologyin';
-import Uncleplintus from './themes/Uncleplintus';
-import Fring from './themes/Fring';
-import Skyprint from './themes/Skyprint';
-import Ykt12 from './themes/Ykt12';
-import Centerlight from './themes/Centerlight';
-import Master99 from './themes/Master99';
-import Terratraf from './themes/Terratraf';
-import Ads from './themes/Ads';
-import Raritek from './themes/Raritek';
-import Nbkfinance from './themes/Nbkfinance';
-import Vitalrays from './themes/Vitalrays';
-import Matroluxe from './themes/Matroluxe';
-import Magicprofi from './themes/Magicprofi';
-import Sodrugestvo from './themes/Sodrugestvo';
-import Pokroff from './themes/Pokroff';
-import Nbomsk from './themes/Nbomsk';
-import Kop from './themes/Kop';
-import Admsr from './themes/Admsr';
-import Furniturapremium from './themes/Furniturapremium';
-import Avs from './themes/Avs';
-import Symmetryplus from './themes/Symmetryplus';
-import Finardi from './themes/Finardi';
-import Timfirm from './themes/Timfirm';
-import Carzaem from './themes/Carzaem';
-import Interiercenter from './themes/Interiercenter';
-import Alpha174 from './themes/Alpha174';
-import Hiteksib from './themes/Hiteksib';
-import Vozned from './themes/Vozned';
-import Moneymailru from './themes/Moneymailru';
-import Pianoby from './themes/Pianoby';
-import Goldenbridge from './themes/Goldenbridge';
-import Rbu2by from './themes/Rbu2by';
-import Tso51 from './themes/Tso51';
-import Nova from './themes/Nova';
-import Collar from './themes/Collar';
-import Proengroup from './themes/Proengroup';
-import Karma from './themes/Karma';
-import Bts from './themes/Bts';
-import Envybox from './themes/Envybox';
-import Ibctender from './themes/Ibctender';
-import Ilovesim from './themes/Ilovesim';
-import Moniiag from './themes/Moniiag';
-import Sciencemed from './themes/Sciencemed';
-import Helyx from './themes/Helyx';
-import Nzbh from './themes/Nzbh';
-import Foodz from './themes/Foodz';
-import Uksmartservice from './themes/Uksmartservice';
-import Elephus from './themes/Elephus';
-import Platformix from './themes/Platformix';
-import Engerta from './themes/Engerta';
-import Fabrikamfc from './themes/Fabrikamfc';
-import Inventestate from './themes/Inventestate';
-import Stream from './themes/Stream';
-import Localgoverschool from './themes/Localgoverschool';
-import Anvtech from './themes/Anvtech';
-import Greenway from './themes/Greenway';
-import Yellowstore from './themes/Yellowstore';
-import Sportlandia from './themes/Sportlandia';
-import Winfin from './themes/Winfin';
-import Tkp from './themes/Tkp';
-import Informplus from './themes/Informplus';
-import Eurostep from './themes/Eurostep';
-import Opercompany from './themes/Opercompany';
-import Murawey from './themes/Murawey';
-import Svetlux from './themes/Svetlux';
-import Passada from './themes/Passada';
-import Titanshop from './themes/Titanshop';
-import Estelife from './themes/Estelife';
-import Elko from './themes/Elko';
-import Masterprofile from './themes/Masterprofile';
-import Proproduct from './themes/Proproduct';
-import Gefestproekt from './themes/Gefestproekt';
-import Medford from './themes/Medford';
-import Robotelsa from './themes/Robotesla';
-import Stkrd from './themes/Stkrd';
-import Isspalvelutoy from './themes/Isspalvelutoy';
-import Dianet from './themes/Dianet';
-import Baraka from './themes/Baraka';
-import Fourb from './themes/Fourb';
-import Silvia from './themes/Silvia';
-import Sacha from './themes/Sacha';
-import Sportstech from './themes/Sportstech';
-import Securtv from './themes/Securtv';
-import Vavsynergy from './themes/Vavsynergy';
-import Miselement from './themes/Miselement';
-import Centerpomoshi from './themes/Centerpomoshi';
-import Grace from './themes/Grace';
-import Ilion from './themes/Ilion';
-import Intercom from './themes/Intercom';
-import Elastoform31 from './themes/Elastoform31';
-import Stroimatic from './themes/Stroimatic';
-import Satsvyaz from './themes/Satsvyaz';
-import Ftk from './themes/Ftk';
-import Likmsk from './themes/Likmsk';
-import Susdelpe from './themes/Susdelpe';
-import Magnum from './themes/Magnum';
-import Basip from './themes/Basip';
-import Pdttools from './themes/Pdttools';
-import Ai31 from './themes/Ai31';
-import Fishfood from './themes/Fishfood';
-import Jenty from './themes/Jenty';
-import Ainur from './themes/Ainur';
-import Platforma from './themes/Platforma';
-import Socialmediaholding from './themes/Socialmediaholding';
-import Annaanna from './themes/Annaanna';
-import Inoxtrade from './themes/Inoxtrade';
-import Edulink from './themes/Edulink';
-import Lifemart from './themes/Lifemart';
-import Grandclinic from './themes/Grandclinic';
-import Zoopt from './themes/Zoopt';
-import Fpprt from './themes/Fpprt';
-import Iter from './themes/Iter';
-import Chakraology from './themes/Chakraology';
-import Chameleonendurance from './themes/Chameleonendurance';
-import Franklinsburger from './themes/Franklinsburger';
-import Rosohrana from './themes/Rosohrana';
-import Sladskaz from './themes/Sladskaz';
-import Masprofil from './themes/Masprofil';
-import Inkab from './themes/Inkab';
-import Sipks from './themes/Sipks';
-import Dommoskvy from './themes/Dommoskvy';
-import Basip_en from './themes/Basip_en';
-import Lavrovaby from './themes/Lavrovaby';
-import Skifservice from './themes/Skifservice';
-import Bizevo from './themes/Bizevo';
-import Inlek from './themes/Inlek';
-import Beepbeep from './themes/Beepbeep';
-import Uflor from './themes/Uflor';
-import Ordamed from './themes/Ordamed';
-import Tedeco from './themes/Tedeco';
-import Noosfera from './themes/Noosfera';
-import Nettle from './themes/Nettle';
-import Vmebel from './themes/Vmebel';
-import _1marka from './themes/1marka';
-import Intex from './themes/Intex';
-import Ledrussia from './themes/Ledrussia';
-import Kamatyres from './themes/Kamatyres';
-import Novator from './themes/Novator';
-import Dcg from './themes/Dcg';
-import Lbg from './themes/Lbg';
-import Meest from './themes/Meest';
-import Pskovvtormet from './themes/Pskovvtormet';
-import Tonus from './themes/Tonus';
-import Bezpart from './themes/Bezpart';
-import Tdcsk from './themes/Tdcsk';
-import Penman from './themes/Penman';
-import Companyelita from './themes/Companyelita';
-import Schooltraffic from './themes/Schooltraffic';
-import Beauty365 from './themes/Beauty365';
-import Metrnsk from './themes/Metrnsk';
-import Buxmchj from './themes/Buxmchj';
-import Salespro from './themes/Salespro';
-import Autoeuro from './themes/Autoeuro';
-import Ecrs from './themes/Ecrs';
-import Onpoint from './themes/Onpoint';
-import Brigantina from './themes/Brigantina';
-import Autonovad from './themes/Autonovad';
-import Semya from './themes/Semya';
-import Agtplus from './themes/Agtplus';
-import Trius from './themes/Trius';
-import Leobank from './themes/Leobank';
-import Onewinschool from './themes/Onewinschool';
-import Uralkrovauto from './themes/Uralkrovauto';
-import Iam from './themes/Iam';
-import Stormoff from './themes/Stormoff';
-import Bodbopot from './themes/Bodbopot';
-import Vecfort from './themes/Vecfort';
-import Driveuniversity from './themes/Driveuniversity';
-import Compas from './themes/Compas';
-import Stonline from './themes/Stonline';
-import Cashpodesign from './themes/Cashpodesign';
-import Detra from './themes/Detra';
-import Oquortalygy from './themes/Oquortalygy ';
-import Mcavicenna from './themes/Mcavicenna';
-import Hng from './themes/Hng';
-import Urluniversity from './themes/Urluniversity';
-import Amodul from './themes/Amodul';
-import Ademina from './themes/Ademina';
-import Avlod21 from './themes/Avlod21';
-import Mtsdigital from './themes/Mtsdigital';
-import Radaravto from './themes/Radaravto';
-import Hanbuz from './themes/Hanbuz';
-import Sptlab from './themes/sptlab';
-import Azrsaratov from './themes/Azrsaratov';
-import Gkgoodwill from './themes/Gkgoodwill';
-import Lidertrans from './themes/Lidertrans';
-import Gkultra from './themes/Gkultra';
-import Sporttver from './themes/Sporttver';
-import Cdop from './themes/cdop';
-import Dreamit from './themes/Dreamit';
-import Dmtech from './themes/Dmtech';
-import Interdizan from './themes/Interdizan';
-import Smokingshop from './themes/smokingshop';
-import Nevsco from './themes/Nevsco';
-import Steelprom from './themes/Steelprom';
-import Akgroup from './themes/Akgroup';
-import Econiva from './themes/Econiva';
-import Platinagroup from './themes/Platinagroup';
-import Miat from './themes/Miat';
-import Projecta from './themes/Projecta';
-import Eyeguard from './themes/Eyeguard';
-import Svitshop from './themes/Svitshop';
-import Ambitech from './themes/ambitech';
-import Probki from './themes/Probki';
-import Tehauto from './themes/tehauto';
-import Foxtery from './themes/Foxtery';
-import Avtomaslooptom from './themes/Avtomaslooptom';
-import Transportir from './themes/Transportir';
-import Upsushi from './themes/Upsushi';
-import Pizzaman from './themes/Pizzaman';
-import Seniorpotolok from './themes/Seniorpotolok';
-import Profisdo from './themes/Profisdo';
-import Avantagebp from './themes/Avantagebp';
-import Vashden from './themes/Vashden';
+import React, { Component } from 'react';
+import ReactDOM from 'react-dom';
+import { brandingMapping, brandingObject } from './branding';
 
-const handler = {
-  get: function (target, name) {
-    return target.hasOwnProperty(name) ? target[name] : Unicraft;
-  }
-};
+export default { brandingMapping, brandingObject }
 
-export const brandingObject = {
-  'unicraft': Unicraft,
-  'einstein': Einstein,
-  'oktopolygraphist': Octopolygraphist,
-  'nlcharged': Nlcharged,
-  'wi-academy': Wiacademy,
-  'dilor': Dilor,
-  'acino': Acino,
-  'nail-expert': Nailexpert,
-  'krasotkapro': Krasotkapro,
-  'smart-ind': Smartind,
-  'kserv': Kserv,
-  'volwood': Volwood,
-  'lca': Lca,
-  'cdz': Cdz,
-  'eobuv': Eobuv,
-  'gaz-time': Gaztime,
-  'kamvek': Kamvek,
-  'energomanagement': Energomanagement,
-  'bizconstructor': Bizconstructor,
-  'groom': Groom,
-  'moreoninvest': Moreoninvest,
-  'promkotlosnab': Promkotlosnab,
-  'litera': Litera,
-  'fc-impuls': Fcimpuls,
-  'sberins': Sberins,
-  'bankffin': Bankffin,
-  'robbo': Robbo,
-  'firstdpo': Firstdpo,
-  'dverishop': Dverishop,
-  'pcg': Pcg,
-  'ekt': Ekt,
-  'bsi': Bsi,
-  'kupichehol': Kupichehol,
-  'hrtv': Hrtv,
-  'logicpower': Logicpower,
-  'meyumed': Meyumed,
-  'hsep': Hsep,
-  'optima': Optima,
-  'sertrust': Sertrust,
-  'delovoy-club': Delovoyclub,
-  'igramedia': Igramedia,
-  'disinfect': Disinfect,
-  'forus': Forus,
-  'asp1с': Asp1с,
-  'vcmow': Vcmow,
-  'stroy-kotedj': Stroykotedj,
-  'projectaccel': Projectaccel,
-  'osnovad': Osnovad,
-  'upravdommo': Upravdommo,
-  'kancelar': Kancelar,
-  'freetimegroup': Freetimegroup,
-  'freshretailgroup': Freshretailgroup,
-  'sleep8': Sleep8,
-  'tdld': Tdld,
-  'aptekavita': Aptekavita,
-  'wantresult': Wantresult,
-  'cpksmo': Cpksmo,
-  'mondiaramil': Mondiaramil,
-  'kazdream': Kazdream,
-  'metako': Metako,
-  'tsun': Tsun,
-  'psk-kontinent': Pskkontinent,
-  'altair2001': Altair2001,
-  'pinskdrev': Pinskdrev,
-  'artline': Artline,
-  'topfranchise': Topfranchise,
-  'qompax': Qompax,
-  'lets': Lets,
-  'mbaconsult': Mbaconsult,
-  'talap': Talap,
-  'waithai': Waithai,
-  'firstaidkz': Firstaidkz,
-  'federicabugatti': Federicabugatti,
-  // 'jastholding': Jastholding, // Шапка отключена по просьбе клиента (попросил шапку по умолчанию, Unicraft)
-  'criptomat': Criptomat,
-  'twelvemonth': Twelvemonth,
-  "mosvodostroy": Mosvodostroy,
-  'maslenica': Maslenica,
-  'raneks': Raneks,
-  'biteducation': Biteducation,
-  'plintus-hall': Plintushall,
-  'luckygroup': Luckygroup,
-  'onlinecollegium': Onlinecollegium,
-  'regionkorma': Regionkorma,
-  'oipoperm': Oipoperm,
-  'cubeonline': Cubeonline,
-  'vione': Vione,
-  'botanikabar': Botanikabar,
-  'fishday': Fishday,
-  'metbiz': Metbiz,
-  'fmkspb': Fmkspb,
-  'saz-ural': Sazural,
-  'ochakovo': Ochakovo,
-  'yarsecurity': Yarsecurity,
-  'monbon': Monbon,
-  'estandart': Estandart,
-  'spg': Spg,
-  'dudkibar': Dudkibar,
-  'ecologyin': Ecologyin,
-  'uncleplintus': Uncleplintus,
-  'fring': Fring,
-  'skyprint': Skyprint,
-  'ykt12': Ykt12,
-  'center-light': Centerlight,
-  'master99': Master99,
-  'terratraf': Terratraf,
-  'ads': Ads,
-  'raritek': Raritek,
-  'nbkfinance': Nbkfinance,
-  'vital-rays': Vitalrays,
-  'matroluxe': Matroluxe,
-  'magicprofi': Magicprofi,
-  'sodrugestvo': Sodrugestvo,
-  'pokroff': Pokroff,
-  'nb-omsk': Nbomsk,
-  'kop': Kop,
-  'admsr': Admsr,
-  'furniturapremium': Furniturapremium,
-  'avs': Avs,
-  'symmetryplus': Symmetryplus,
-  'finardi': Finardi,
-  'timfirm': Timfirm,
-  'carzaem': Carzaem,
-  'interiercenter': Interiercenter,
-  'alpha174': Alpha174,
-  'hiteksib': Hiteksib,
-  'vozned': Vozned,
-  'moneymailru': Moneymailru,
-  'pianoby': Pianoby,
-  'tso51': Tso51,
-  'rbu2by': Rbu2by,
-  'goldenbridge': Goldenbridge,
-  'nova': Nova,
-  'collar': Collar,
-  'proengroup': Proengroup,
-  'karma': Karma,
-  'bts': Bts,
-  'envybox': Envybox,
-  'ibc-tender': Ibctender,
-  'ilovesim': Ilovesim,
-  'moniiag': Moniiag,
-  'sciencemed': Sciencemed,
-  'helyx': Helyx,
-  'nzbh': Nzbh,
-  'foodz': Foodz,
-  'uk-smart-service': Uksmartservice,
-  'elephus': Elephus,
-  'platformix': Platformix,
-  'engerta': Engerta,
-  'fabrika-mfc': Fabrikamfc,
-  'inventestate': Inventestate,
-  'stream': Stream,
-  'localgoverschool': Localgoverschool,
-  'anv-tech': Anvtech,
-  'greenway': Greenway,
-  'yellowstore': Yellowstore,
-  'sportlandia': Sportlandia,
-  'winfin': Winfin,
-  'tkp': Tkp,
-  'informplus': Informplus,
-  'eurostep': Eurostep,
-  'opercompany': Opercompany,
-  'murawey': Murawey,
-  'svetlux': Svetlux,
-  'passada': Passada,
-  'titan-shop': Titanshop,
-  'estelife': Estelife,
-  'elko': Elko,
-  'master-profile': Masterprofile,
-  'proproduct': Proproduct,
-  'gefestproekt': Gefestproekt,
-  'medford': Medford,
-  'robotesla': Robotelsa,
-  'st-krd': Stkrd,
-  'isspalvelutoy': Isspalvelutoy,
-  'dianet': Dianet,
-  'baraka': Baraka,
-  'fourb': Fourb,
-  'silvia': Silvia,
-  'sacha': Sacha,
-  'sports-tech': Sportstech,
-  'securtv': Securtv,
-  'vavsynergy': Vavsynergy,
-  'miselement': Miselement,
-  'center-pomoshi': Centerpomoshi,
-  'grace': Grace,
-  'ilion': Ilion,
-  'intercom': Intercom,
-  'elastoform31': Elastoform31,
-  'stroimatic': Stroimatic,
-  'satsvyaz': Satsvyaz,
-  'ftk': Ftk,
-  'likmsk': Likmsk,
-  'susdelpe': Susdelpe,
-  'magnum': Magnum,
-  'basip': Basip,
-  'pdttools': Pdttools,
-  'ai31': Ai31,
-  'fishfood': Fishfood,
-  'jenty': Jenty,
-  'ainur': Ainur,
-  'platforma': Platforma,
-  'socialmediaholding': Socialmediaholding,
-  'annaanna': Annaanna,
-  'inoxtrade': Inoxtrade,
-  'edulink': Edulink,
-  'lifemart': Lifemart,
-  'grandclinic': Grandclinic,
-  'zoopt': Zoopt,
-  'fpprt': Fpprt,
-  'iter': Iter,
-  'chakraology': Chakraology,
-  'chameleonendurance': Chameleonendurance,
-  'franklinsburger': Franklinsburger,
-  'rosohrana': Rosohrana,
-  'sladskaz': Sladskaz,
-  'masprofil': Masprofil,
-  'inkab': Inkab,
-  'sipks': Sipks,
-  'dommoskvy': Dommoskvy,
-  'basip_en': Basip_en,
-  'lavrovaby': Lavrovaby,
-  'skifservice': Skifservice,
-  'bizevo': Bizevo,
-  'inlek': Inlek,
-  'beepbeep': Beepbeep,
-  'uflor': Uflor,
-  'ordamed': Ordamed,
-  'tedeco': Tedeco,
-  'noosfera': Noosfera,
-  'nettle': Nettle,
-  'vmebel': Vmebel,
-  '1marka': _1marka,
-  'intex': Intex,
-  'ledrussia': Ledrussia,
-  'kamatyres': Kamatyres,
-  'novator': Novator,
-  'dcg': Dcg,
-  'lbg': Lbg,
-  'meest': Meest,
-  'pskovvtormet': Pskovvtormet,
-  'tonus': Tonus,
-  'bezpart': Bezpart,
-  'tdcsk': Tdcsk,
-  'penman': Penman,
-  'companyelita': Companyelita,
-  'school-traffic': Schooltraffic,
-  'beauty365': Beauty365,
-  'metrnsk': Metrnsk,
-  'buxmchj': Buxmchj,
-  'salespro': Salespro,
-  'autoeuro': Autoeuro,
-  'ecrs': Ecrs,
-  'onpoint': Onpoint,
-  'brigantina': Brigantina,
-  'autonovad': Autonovad,
-  'semya': Semya,
-  'agtplus': Agtplus,
-  'trius': Trius,
-  'leobank': Leobank,
-  'onewinschool': Onewinschool,
-  'ural-krov-auto': Uralkrovauto,
-  'iam': Iam,
-  'stormoff': Stormoff,
-  'bodbopot': Bodbopot,
-  'vecfort': Vecfort,
-  'driveuniversity': Driveuniversity,
-  'compas': Compas,
-  'stonline': Stonline,
-  'cashpodesign': Cashpodesign,
-  'detra': Detra,
-  'oquortalygy': Oquortalygy,
-  'mcavicenna': Mcavicenna,
-  'hng': Hng,
-  'urluniversity': Urluniversity,
-  'amodul': Amodul,
-  'ademina': Ademina,
-  'avlod21': Avlod21,
-  'mtsdigital': Mtsdigital,
-  'radaravto': Radaravto,
-  'hanbuz': Hanbuz,
-  'sptlab': Sptlab,
-  'azrsaratov': Azrsaratov,
-  'gkgoodwill': Gkgoodwill,
-  'lidertrans': Lidertrans,
-  'gkultra': Gkultra,
-  'sporttver': Sporttver,
-  'cdop': Cdop,
-  'dreamit': Dreamit,
-  'dmtech': Dmtech,
-  'interdizan': Interdizan,
-  'smokingshop': Smokingshop,
-  'nevsco': Nevsco,
-  'steelprom': Steelprom,
-  'akgroup': Akgroup,
-  'econiva': Econiva,
-  'platinagroup': Platinagroup,
-  'miat': Miat,
-  'projecta': Projecta,
-  'eyeguard': Eyeguard,
-  'svitshop': Svitshop,
-  'ambitech': Ambitech,
-  'probki': Probki,
-  'tehauto': Tehauto,
-  'foxtery': Foxtery,
-  'avtomaslooptom': Avtomaslooptom,
-  'transportir': Transportir,
-  'upsushi': Upsushi,
-  'pizzaman': Pizzaman,
-  'seniorpotolok': Seniorpotolok,
-  'profisdo': Profisdo,
-  'avantagebp': Avantagebp,
-  'vashden': Vashden,
+class Dashboard extends Component {
+    render() {
+
+        const renderHeader = () => {
+            const BrandHeader = brandingMapping['firstdpo'];
+
+            return <BrandHeader />;
+        }
+
+
+        console.log(Object.keys(brandingObject));
+
+        return renderHeader();
+    }
 }
 
-export const brandingMapping = new Proxy(brandingObject, handler);
+ReactDOM.render(
+    <Dashboard />,
+    document.getElementById('root')
+);

+ 9 - 0
webpack.config.js

@@ -1,6 +1,7 @@
 const path = require('path');
 const CleanWebpackPlugin = require("clean-webpack-plugin");
 const MiniCssExtractPlugin = require("mini-css-extract-plugin");
+const HtmlWebpackPlugin = require('html-webpack-plugin');
 const autoprefixer = require('autoprefixer');
 
 const outputDirectory = "build";
@@ -68,8 +69,16 @@ module.exports = {
 			}
 		]
 	},
+	devServer: {
+		historyApiFallback: true,
+		port: 3000,
+		open: true
+	},
 	plugins: [
 		new CleanWebpackPlugin([outputDirectory]),
+		new HtmlWebpackPlugin({
+			template: './public/index.html',
+		}),
 		new MiniCssExtractPlugin({
 			filename: "style.css",
 			chunkFilename: "[name].css"

ファイルの差分が大きいため隠しています
+ 1608 - 18
yarn.lock