diff --git a/.github/workflows/publish-development.yaml b/.github/workflows/publish-development.yaml index d1fe46cde..0bf997987 100644 --- a/.github/workflows/publish-development.yaml +++ b/.github/workflows/publish-development.yaml @@ -20,21 +20,16 @@ jobs: stripe_public_key: '${{secrets.STRIPE_PUBLIC_KEY}}', lms_api_url: 'https://dev.harperdbcloudservices.com/', google_analytics_code: '${{secrets.GOOGLE_ANALYTICS_CODE}}', - youtube_api_key: '${{secrets.YOUTUBE_API_KEY}}', - postman_collection_url: 'https://www.postman.com/collections/7046690-5a70b340-8fe1-4487-88bd-ffac077c3df8', tc_version: '2020-01-01', check_version_interval: 300000, refresh_content_interval: 15000, - total_cloud_instance_limit: 10, free_cloud_instance_limit: 1, - total_local_instance_limit: false, - free_local_instance_limit: false, max_file_upload_size: 10380902, studio_version:'$PACKAGE_VERSION', - user_guide_id: 16032, alarm_badge_threshold: 86400, maintenance: 0, - errortest: 0 + errortest: 0, + is_local_studio: false, }; EOF - name: Write manifest file diff --git a/.github/workflows/publish-production.yaml b/.github/workflows/publish-production.yaml index b48c66fc6..2634496af 100644 --- a/.github/workflows/publish-production.yaml +++ b/.github/workflows/publish-production.yaml @@ -20,21 +20,16 @@ jobs: stripe_public_key: '${{secrets.STRIPE_PUBLIC_KEY_PROD}}', lms_api_url: 'https://prod.harperdbcloudservices.com/', google_analytics_code: '${{secrets.GOOGLE_ANALYTICS_CODE_PROD}}', - youtube_api_key: '${{secrets.YOUTUBE_API_KEY}}', - postman_collection_url: 'https://www.postman.com/collections/7046690-5a70b340-8fe1-4487-88bd-ffac077c3df8', tc_version: '2020-01-01', check_version_interval: 300000, refresh_content_interval: 15000, - total_cloud_instance_limit: 10, free_cloud_instance_limit: 1, - total_local_instance_limit: false, - free_local_instance_limit: false, max_file_upload_size: 10380902, studio_version:'$PACKAGE_VERSION', - user_guide_id: 16032, alarm_badge_threshold: 86400, maintenance: 0, - errortest: 0 + errortest: 0, + is_local_studio: false, }; EOF - name: Write manifest file diff --git a/.github/workflows/publish-stage.yaml b/.github/workflows/publish-stage.yaml index 43024b489..649635c0d 100644 --- a/.github/workflows/publish-stage.yaml +++ b/.github/workflows/publish-stage.yaml @@ -20,21 +20,16 @@ jobs: stripe_public_key: '${{secrets.STRIPE_PUBLIC_KEY}}', lms_api_url: 'https://dev.harperdbcloudservices.com/', google_analytics_code: '${{secrets.GOOGLE_ANALYTICS_CODE}}', - youtube_api_key: '${{secrets.YOUTUBE_API_KEY}}', - postman_collection_url: 'https://www.postman.com/collections/7046690-5a70b340-8fe1-4487-88bd-ffac077c3df8', tc_version: '2020-01-01', check_version_interval: 300000, refresh_content_interval: 15000, - total_cloud_instance_limit: 10, free_cloud_instance_limit: 1, - total_local_instance_limit: false, - free_local_instance_limit: false, max_file_upload_size: 10380902, studio_version:'$PACKAGE_VERSION', - user_guide_id: 16032, alarm_badge_threshold: 86400, maintenance: 0, - errortest: 0 + errortest: 0, + is_local_studio: false, }; EOF - name: Write manifest file diff --git a/.gitignore b/.gitignore index 934e75f19..21606bf55 100644 --- a/.gitignore +++ b/.gitignore @@ -15,6 +15,7 @@ # production /build +/build-local # misc .DS_Store @@ -28,4 +29,3 @@ yarn-debug.log* yarn-error.log* .eslintcache - diff --git a/.stylelintrc.json b/.stylelintrc.json index 5ca50b01b..2a7808d34 100644 --- a/.stylelintrc.json +++ b/.stylelintrc.json @@ -11,9 +11,9 @@ "declarations" ], "order/properties-alphabetical-order": true, - "max-nesting-depth": 6, + "max-nesting-depth": 9, "selector-max-id": 3, - "selector-max-compound-selectors": 6, + "selector-max-compound-selectors": 9, "selector-class-pattern": null, "selector-no-qualifying-type": [ true, diff --git a/package.json b/package.json index 323a8d4e5..7594b1f59 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "harperdb-studio", - "version": "4.3.5", + "version": "4.3.7", "description": "A UI for HarperDB", "deploymentUrl": "studio.harperdb.io", "private": true, @@ -8,27 +8,27 @@ "license": "UNLICENSED", "scripts": { "start": "HTTPS=true SSL_CRT_FILE=./.cert/cert.pem SSL_KEY_FILE=./.cert/key.pem react-scripts start", + "start:local": "REACT_APP_LOCALSTUDIO=true HTTPS=true SSL_CRT_FILE=./.cert/cert.pem SSL_KEY_FILE=./.cert/key.pem react-scripts start", "build:dev": "PUBLIC_URL=https://d2uv4fa0aeja0t.cloudfront.net react-scripts build", "build:stage": "GENERATE_SOURCEMAP=false PUBLIC_URL=https://dbjxbnqel2bw9.cloudfront.net react-scripts build", "build:prod": "GENERATE_SOURCEMAP=false PUBLIC_URL=https://ds5zz9rfvzuta.cloudfront.net react-scripts build", + "build:local": "BUILD_PATH=./build-local GENERATE_SOURCEMAP=false REACT_APP_LOCALSTUDIO=true react-scripts build", "lint-dev": "eslint --fix src && npx stylelint --fix \"src/**/*.scss\"", "lint-prod": "eslint --fix src" }, "dependencies": { "@monaco-editor/react": "^4.2.0", "@stripe/react-stripe-js": "^2.1.0", - "@stripe/stripe-js": "^1.15.0", + "@stripe/stripe-js": "^2.1.11", "apexcharts": "^3.27.1", "bootstrap-scss": "^5.0.1", "classnames": "^2.3.2", "deepmerge": "^4.2.2", - "lolight": "^1.4.0", "pullstate": "^1.22.1", "query-string": "^8.1.0", "react": "18.2.0", "react-alert": "^7.0.3", "react-apexcharts": "^1.3.9", - "react-card-flip": "^1.1.1", "react-country-region-selector": "^3.4.0", "react-dom": "18.2.0", "react-dropzone": "^14.2.2", @@ -37,17 +37,15 @@ "react-json-editor-ajrm": "^2.5.11", "react-router": "^6.13.0", "react-router-dom": "^6.13.0", - "react-router-ga": "^1.2.3", "react-scripts": "^5.0.0", "react-select": "^5.0.0", "react-table": "^7.7.0", "react-toggle": "^4.1.2", "reactstrap": "^9.0.0", "use-async-effect": "^2.2.3", - "use-debounce": "^9.0.4", + "use-debounce": "^10.0.0", "use-interval": "^1.3.0", "use-persisted-state": "^0.3.3", - "uuid": "^9.0.0", "whatwg-fetch": "^3.6.2" }, "engines": { @@ -69,15 +67,15 @@ "@babel/plugin-proposal-private-property-in-object": "^7.21.11", "eslint": "^8.32.0", "eslint-config-airbnb": "^19.0.4", - "eslint-config-prettier": "^8.3.0", + "eslint-config-prettier": "^9.0.0", "eslint-plugin-jsx-a11y": "^6.4.1", - "eslint-plugin-prettier": "^4.0.0", + "eslint-plugin-prettier": "^5.0.1", "postcss-custom-properties": "^13.0.0", - "prettier": "^2.8.3", + "prettier": "^3.1.0", "sass": "^1.46.0", "stylelint": "^15.10.1", "stylelint-config-sass-guidelines": "^10.0.0", - "stylelint-config-standard": "^33.0.0", + "stylelint-config-standard": "^34.0.0", "stylelint-order": "^6.0.1", "stylelint-scss": "^5.0.0" } diff --git a/public/fontawesome/fa-brands-400.eot b/public/fontawesome/fa-brands-400.eot new file mode 100644 index 000000000..cba6c6cce Binary files /dev/null and b/public/fontawesome/fa-brands-400.eot differ diff --git a/public/fontawesome/fa-brands-400.svg b/public/fontawesome/fa-brands-400.svg new file mode 100644 index 000000000..b9881a43b --- /dev/null +++ b/public/fontawesome/fa-brands-400.svg @@ -0,0 +1,3717 @@ + + + + +Created by FontForge 20201107 at Wed Aug 4 12:25:29 2021 + By Robert Madole +Copyright (c) Font Awesome + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/fontawesome/fa-brands-400.ttf b/public/fontawesome/fa-brands-400.ttf new file mode 100644 index 000000000..8d75dedda Binary files /dev/null and b/public/fontawesome/fa-brands-400.ttf differ diff --git a/public/fontawesome/fa-brands-400.woff b/public/fontawesome/fa-brands-400.woff new file mode 100644 index 000000000..3375bef09 Binary files /dev/null and b/public/fontawesome/fa-brands-400.woff differ diff --git a/public/fontawesome/fa-brands-400.woff2 b/public/fontawesome/fa-brands-400.woff2 new file mode 100644 index 000000000..402f81c0b Binary files /dev/null and b/public/fontawesome/fa-brands-400.woff2 differ diff --git a/public/fontawesome/fa-regular-400.eot b/public/fontawesome/fa-regular-400.eot new file mode 100644 index 000000000..a4e598936 Binary files /dev/null and b/public/fontawesome/fa-regular-400.eot differ diff --git a/public/fontawesome/fa-regular-400.svg b/public/fontawesome/fa-regular-400.svg new file mode 100644 index 000000000..463af27c0 --- /dev/null +++ b/public/fontawesome/fa-regular-400.svg @@ -0,0 +1,801 @@ + + + + +Created by FontForge 20201107 at Wed Aug 4 12:25:29 2021 + By Robert Madole +Copyright (c) Font Awesome + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/fontawesome/fa-regular-400.ttf b/public/fontawesome/fa-regular-400.ttf new file mode 100644 index 000000000..7157aafba Binary files /dev/null and b/public/fontawesome/fa-regular-400.ttf differ diff --git a/public/fontawesome/fa-regular-400.woff b/public/fontawesome/fa-regular-400.woff new file mode 100644 index 000000000..ad077c6be Binary files /dev/null and b/public/fontawesome/fa-regular-400.woff differ diff --git a/public/fontawesome/fa-regular-400.woff2 b/public/fontawesome/fa-regular-400.woff2 new file mode 100644 index 000000000..56328948b Binary files /dev/null and b/public/fontawesome/fa-regular-400.woff2 differ diff --git a/public/fontawesome/fa-solid-900.eot b/public/fontawesome/fa-solid-900.eot new file mode 100644 index 000000000..e99417197 Binary files /dev/null and b/public/fontawesome/fa-solid-900.eot differ diff --git a/public/fontawesome/fa-solid-900.svg b/public/fontawesome/fa-solid-900.svg new file mode 100644 index 000000000..00296e959 --- /dev/null +++ b/public/fontawesome/fa-solid-900.svg @@ -0,0 +1,5034 @@ + + + + +Created by FontForge 20201107 at Wed Aug 4 12:25:29 2021 + By Robert Madole +Copyright (c) Font Awesome + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/fontawesome/fa-solid-900.ttf b/public/fontawesome/fa-solid-900.ttf new file mode 100644 index 000000000..25abf389e Binary files /dev/null and b/public/fontawesome/fa-solid-900.ttf differ diff --git a/public/fontawesome/fa-solid-900.woff b/public/fontawesome/fa-solid-900.woff new file mode 100644 index 000000000..23ee66344 Binary files /dev/null and b/public/fontawesome/fa-solid-900.woff differ diff --git a/public/fontawesome/fa-solid-900.woff2 b/public/fontawesome/fa-solid-900.woff2 new file mode 100644 index 000000000..2217164f0 Binary files /dev/null and b/public/fontawesome/fa-solid-900.woff2 differ diff --git a/public/fontawesome/fontawesome.css b/public/fontawesome/fontawesome.css new file mode 100644 index 000000000..12b385404 --- /dev/null +++ b/public/fontawesome/fontawesome.css @@ -0,0 +1,5 @@ +/*! + * Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com + * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) + */ +.fa,.fab,.fad,.fal,.far,.fas{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs{font-size:.75em}.fa-sm{font-size:.875em}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul>li{position:relative}.fa-li{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left,.fab.fa-pull-left,.fal.fa-pull-left,.far.fa-pull-left,.fas.fa-pull-left{margin-right:.3em}.fa.fa-pull-right,.fab.fa-pull-right,.fal.fa-pull-right,.far.fa-pull-right,.fas.fa-pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s linear infinite;animation:fa-spin 2s linear infinite}.fa-pulse{-webkit-animation:fa-spin 1s steps(8) infinite;animation:fa-spin 1s steps(8) infinite}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical,.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)"}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{-webkit-transform:scale(-1);transform:scale(-1)}:root .fa-flip-both,:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270{-webkit-filter:none;filter:none}.fa-stack{display:inline-block;height:2em;line-height:2em;position:relative;vertical-align:middle;width:2.5em}.fa-stack-1x,.fa-stack-2x{left:0;position:absolute;text-align:center;width:100%}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-500px:before{content:"\f26e"}.fa-accessible-icon:before{content:"\f368"}.fa-accusoft:before{content:"\f369"}.fa-acquisitions-incorporated:before{content:"\f6af"}.fa-ad:before{content:"\f641"}.fa-address-book:before{content:"\f2b9"}.fa-address-card:before{content:"\f2bb"}.fa-adjust:before{content:"\f042"}.fa-adn:before{content:"\f170"}.fa-adversal:before{content:"\f36a"}.fa-affiliatetheme:before{content:"\f36b"}.fa-air-freshener:before{content:"\f5d0"}.fa-airbnb:before{content:"\f834"}.fa-algolia:before{content:"\f36c"}.fa-align-center:before{content:"\f037"}.fa-align-justify:before{content:"\f039"}.fa-align-left:before{content:"\f036"}.fa-align-right:before{content:"\f038"}.fa-alipay:before{content:"\f642"}.fa-allergies:before{content:"\f461"}.fa-amazon:before{content:"\f270"}.fa-amazon-pay:before{content:"\f42c"}.fa-ambulance:before{content:"\f0f9"}.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-amilia:before{content:"\f36d"}.fa-anchor:before{content:"\f13d"}.fa-android:before{content:"\f17b"}.fa-angellist:before{content:"\f209"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-down:before{content:"\f107"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angry:before{content:"\f556"}.fa-angrycreative:before{content:"\f36e"}.fa-angular:before{content:"\f420"}.fa-ankh:before{content:"\f644"}.fa-app-store:before{content:"\f36f"}.fa-app-store-ios:before{content:"\f370"}.fa-apper:before{content:"\f371"}.fa-apple:before{content:"\f179"}.fa-apple-alt:before{content:"\f5d1"}.fa-apple-pay:before{content:"\f415"}.fa-archive:before{content:"\f187"}.fa-archway:before{content:"\f557"}.fa-arrow-alt-circle-down:before{content:"\f358"}.fa-arrow-alt-circle-left:before{content:"\f359"}.fa-arrow-alt-circle-right:before{content:"\f35a"}.fa-arrow-alt-circle-up:before{content:"\f35b"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-down:before{content:"\f063"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrows-alt:before{content:"\f0b2"}.fa-arrows-alt-h:before{content:"\f337"}.fa-arrows-alt-v:before{content:"\f338"}.fa-artstation:before{content:"\f77a"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asterisk:before{content:"\f069"}.fa-asymmetrik:before{content:"\f372"}.fa-at:before{content:"\f1fa"}.fa-atlas:before{content:"\f558"}.fa-atlassian:before{content:"\f77b"}.fa-atom:before{content:"\f5d2"}.fa-audible:before{content:"\f373"}.fa-audio-description:before{content:"\f29e"}.fa-autoprefixer:before{content:"\f41c"}.fa-avianex:before{content:"\f374"}.fa-aviato:before{content:"\f421"}.fa-award:before{content:"\f559"}.fa-aws:before{content:"\f375"}.fa-baby:before{content:"\f77c"}.fa-baby-carriage:before{content:"\f77d"}.fa-backspace:before{content:"\f55a"}.fa-backward:before{content:"\f04a"}.fa-bacon:before{content:"\f7e5"}.fa-bacteria:before{content:"\e059"}.fa-bacterium:before{content:"\e05a"}.fa-bahai:before{content:"\f666"}.fa-balance-scale:before{content:"\f24e"}.fa-balance-scale-left:before{content:"\f515"}.fa-balance-scale-right:before{content:"\f516"}.fa-ban:before{content:"\f05e"}.fa-band-aid:before{content:"\f462"}.fa-bandcamp:before{content:"\f2d5"}.fa-barcode:before{content:"\f02a"}.fa-bars:before{content:"\f0c9"}.fa-baseball-ball:before{content:"\f433"}.fa-basketball-ball:before{content:"\f434"}.fa-bath:before{content:"\f2cd"}.fa-battery-empty:before{content:"\f244"}.fa-battery-full:before{content:"\f240"}.fa-battery-half:before{content:"\f242"}.fa-battery-quarter:before{content:"\f243"}.fa-battery-three-quarters:before{content:"\f241"}.fa-battle-net:before{content:"\f835"}.fa-bed:before{content:"\f236"}.fa-beer:before{content:"\f0fc"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-bell:before{content:"\f0f3"}.fa-bell-slash:before{content:"\f1f6"}.fa-bezier-curve:before{content:"\f55b"}.fa-bible:before{content:"\f647"}.fa-bicycle:before{content:"\f206"}.fa-biking:before{content:"\f84a"}.fa-bimobject:before{content:"\f378"}.fa-binoculars:before{content:"\f1e5"}.fa-biohazard:before{content:"\f780"}.fa-birthday-cake:before{content:"\f1fd"}.fa-bitbucket:before{content:"\f171"}.fa-bitcoin:before{content:"\f379"}.fa-bity:before{content:"\f37a"}.fa-black-tie:before{content:"\f27e"}.fa-blackberry:before{content:"\f37b"}.fa-blender:before{content:"\f517"}.fa-blender-phone:before{content:"\f6b6"}.fa-blind:before{content:"\f29d"}.fa-blog:before{content:"\f781"}.fa-blogger:before{content:"\f37c"}.fa-blogger-b:before{content:"\f37d"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-bold:before{content:"\f032"}.fa-bolt:before{content:"\f0e7"}.fa-bomb:before{content:"\f1e2"}.fa-bone:before{content:"\f5d7"}.fa-bong:before{content:"\f55c"}.fa-book:before{content:"\f02d"}.fa-book-dead:before{content:"\f6b7"}.fa-book-medical:before{content:"\f7e6"}.fa-book-open:before{content:"\f518"}.fa-book-reader:before{content:"\f5da"}.fa-bookmark:before{content:"\f02e"}.fa-bootstrap:before{content:"\f836"}.fa-border-all:before{content:"\f84c"}.fa-border-none:before{content:"\f850"}.fa-border-style:before{content:"\f853"}.fa-bowling-ball:before{content:"\f436"}.fa-box:before{content:"\f466"}.fa-box-open:before{content:"\f49e"}.fa-box-tissue:before{content:"\e05b"}.fa-boxes:before{content:"\f468"}.fa-braille:before{content:"\f2a1"}.fa-brain:before{content:"\f5dc"}.fa-bread-slice:before{content:"\f7ec"}.fa-briefcase:before{content:"\f0b1"}.fa-briefcase-medical:before{content:"\f469"}.fa-broadcast-tower:before{content:"\f519"}.fa-broom:before{content:"\f51a"}.fa-brush:before{content:"\f55d"}.fa-btc:before{content:"\f15a"}.fa-buffer:before{content:"\f837"}.fa-bug:before{content:"\f188"}.fa-building:before{content:"\f1ad"}.fa-bullhorn:before{content:"\f0a1"}.fa-bullseye:before{content:"\f140"}.fa-burn:before{content:"\f46a"}.fa-buromobelexperte:before{content:"\f37f"}.fa-bus:before{content:"\f207"}.fa-bus-alt:before{content:"\f55e"}.fa-business-time:before{content:"\f64a"}.fa-buy-n-large:before{content:"\f8a6"}.fa-buysellads:before{content:"\f20d"}.fa-calculator:before{content:"\f1ec"}.fa-calendar:before{content:"\f133"}.fa-calendar-alt:before{content:"\f073"}.fa-calendar-check:before{content:"\f274"}.fa-calendar-day:before{content:"\f783"}.fa-calendar-minus:before{content:"\f272"}.fa-calendar-plus:before{content:"\f271"}.fa-calendar-times:before{content:"\f273"}.fa-calendar-week:before{content:"\f784"}.fa-camera:before{content:"\f030"}.fa-camera-retro:before{content:"\f083"}.fa-campground:before{content:"\f6bb"}.fa-canadian-maple-leaf:before{content:"\f785"}.fa-candy-cane:before{content:"\f786"}.fa-cannabis:before{content:"\f55f"}.fa-capsules:before{content:"\f46b"}.fa-car:before{content:"\f1b9"}.fa-car-alt:before{content:"\f5de"}.fa-car-battery:before{content:"\f5df"}.fa-car-crash:before{content:"\f5e1"}.fa-car-side:before{content:"\f5e4"}.fa-caravan:before{content:"\f8ff"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-caret-square-down:before{content:"\f150"}.fa-caret-square-left:before{content:"\f191"}.fa-caret-square-right:before{content:"\f152"}.fa-caret-square-up:before{content:"\f151"}.fa-caret-up:before{content:"\f0d8"}.fa-carrot:before{content:"\f787"}.fa-cart-arrow-down:before{content:"\f218"}.fa-cart-plus:before{content:"\f217"}.fa-cash-register:before{content:"\f788"}.fa-cat:before{content:"\f6be"}.fa-cc-amazon-pay:before{content:"\f42d"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-apple-pay:before{content:"\f416"}.fa-cc-diners-club:before{content:"\f24c"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-cc-visa:before{content:"\f1f0"}.fa-centercode:before{content:"\f380"}.fa-centos:before{content:"\f789"}.fa-certificate:before{content:"\f0a3"}.fa-chair:before{content:"\f6c0"}.fa-chalkboard:before{content:"\f51b"}.fa-chalkboard-teacher:before{content:"\f51c"}.fa-charging-station:before{content:"\f5e7"}.fa-chart-area:before{content:"\f1fe"}.fa-chart-bar:before{content:"\f080"}.fa-chart-line:before{content:"\f201"}.fa-chart-pie:before{content:"\f200"}.fa-check:before{content:"\f00c"}.fa-check-circle:before{content:"\f058"}.fa-check-double:before{content:"\f560"}.fa-check-square:before{content:"\f14a"}.fa-cheese:before{content:"\f7ef"}.fa-chess:before{content:"\f439"}.fa-chess-bishop:before{content:"\f43a"}.fa-chess-board:before{content:"\f43c"}.fa-chess-king:before{content:"\f43f"}.fa-chess-knight:before{content:"\f441"}.fa-chess-pawn:before{content:"\f443"}.fa-chess-queen:before{content:"\f445"}.fa-chess-rook:before{content:"\f447"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-down:before{content:"\f078"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-chevron-up:before{content:"\f077"}.fa-child:before{content:"\f1ae"}.fa-chrome:before{content:"\f268"}.fa-chromecast:before{content:"\f838"}.fa-church:before{content:"\f51d"}.fa-circle:before{content:"\f111"}.fa-circle-notch:before{content:"\f1ce"}.fa-city:before{content:"\f64f"}.fa-clinic-medical:before{content:"\f7f2"}.fa-clipboard:before{content:"\f328"}.fa-clipboard-check:before{content:"\f46c"}.fa-clipboard-list:before{content:"\f46d"}.fa-clock:before{content:"\f017"}.fa-clone:before{content:"\f24d"}.fa-closed-captioning:before{content:"\f20a"}.fa-cloud:before{content:"\f0c2"}.fa-cloud-download-alt:before{content:"\f381"}.fa-cloud-meatball:before{content:"\f73b"}.fa-cloud-moon:before{content:"\f6c3"}.fa-cloud-moon-rain:before{content:"\f73c"}.fa-cloud-rain:before{content:"\f73d"}.fa-cloud-showers-heavy:before{content:"\f740"}.fa-cloud-sun:before{content:"\f6c4"}.fa-cloud-sun-rain:before{content:"\f743"}.fa-cloud-upload-alt:before{content:"\f382"}.fa-cloudflare:before{content:"\e07d"}.fa-cloudscale:before{content:"\f383"}.fa-cloudsmith:before{content:"\f384"}.fa-cloudversify:before{content:"\f385"}.fa-cocktail:before{content:"\f561"}.fa-code:before{content:"\f121"}.fa-code-branch:before{content:"\f126"}.fa-codepen:before{content:"\f1cb"}.fa-codiepie:before{content:"\f284"}.fa-coffee:before{content:"\f0f4"}.fa-cog:before{content:"\f013"}.fa-cogs:before{content:"\f085"}.fa-coins:before{content:"\f51e"}.fa-columns:before{content:"\f0db"}.fa-comment:before{content:"\f075"}.fa-comment-alt:before{content:"\f27a"}.fa-comment-dollar:before{content:"\f651"}.fa-comment-dots:before{content:"\f4ad"}.fa-comment-medical:before{content:"\f7f5"}.fa-comment-slash:before{content:"\f4b3"}.fa-comments:before{content:"\f086"}.fa-comments-dollar:before{content:"\f653"}.fa-compact-disc:before{content:"\f51f"}.fa-compass:before{content:"\f14e"}.fa-compress:before{content:"\f066"}.fa-compress-alt:before{content:"\f422"}.fa-compress-arrows-alt:before{content:"\f78c"}.fa-concierge-bell:before{content:"\f562"}.fa-confluence:before{content:"\f78d"}.fa-connectdevelop:before{content:"\f20e"}.fa-contao:before{content:"\f26d"}.fa-cookie:before{content:"\f563"}.fa-cookie-bite:before{content:"\f564"}.fa-copy:before{content:"\f0c5"}.fa-copyright:before{content:"\f1f9"}.fa-cotton-bureau:before{content:"\f89e"}.fa-couch:before{content:"\f4b8"}.fa-cpanel:before{content:"\f388"}.fa-creative-commons:before{content:"\f25e"}.fa-creative-commons-by:before{content:"\f4e7"}.fa-creative-commons-nc:before{content:"\f4e8"}.fa-creative-commons-nc-eu:before{content:"\f4e9"}.fa-creative-commons-nc-jp:before{content:"\f4ea"}.fa-creative-commons-nd:before{content:"\f4eb"}.fa-creative-commons-pd:before{content:"\f4ec"}.fa-creative-commons-pd-alt:before{content:"\f4ed"}.fa-creative-commons-remix:before{content:"\f4ee"}.fa-creative-commons-sa:before{content:"\f4ef"}.fa-creative-commons-sampling:before{content:"\f4f0"}.fa-creative-commons-sampling-plus:before{content:"\f4f1"}.fa-creative-commons-share:before{content:"\f4f2"}.fa-creative-commons-zero:before{content:"\f4f3"}.fa-credit-card:before{content:"\f09d"}.fa-critical-role:before{content:"\f6c9"}.fa-crop:before{content:"\f125"}.fa-crop-alt:before{content:"\f565"}.fa-cross:before{content:"\f654"}.fa-crosshairs:before{content:"\f05b"}.fa-crow:before{content:"\f520"}.fa-crown:before{content:"\f521"}.fa-crutch:before{content:"\f7f7"}.fa-css3:before{content:"\f13c"}.fa-css3-alt:before{content:"\f38b"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-cut:before{content:"\f0c4"}.fa-cuttlefish:before{content:"\f38c"}.fa-d-and-d:before{content:"\f38d"}.fa-d-and-d-beyond:before{content:"\f6ca"}.fa-dailymotion:before{content:"\e052"}.fa-dashcube:before{content:"\f210"}.fa-database:before{content:"\f1c0"}.fa-deaf:before{content:"\f2a4"}.fa-deezer:before{content:"\e077"}.fa-delicious:before{content:"\f1a5"}.fa-democrat:before{content:"\f747"}.fa-deploydog:before{content:"\f38e"}.fa-deskpro:before{content:"\f38f"}.fa-desktop:before{content:"\f108"}.fa-dev:before{content:"\f6cc"}.fa-deviantart:before{content:"\f1bd"}.fa-dharmachakra:before{content:"\f655"}.fa-dhl:before{content:"\f790"}.fa-diagnoses:before{content:"\f470"}.fa-diaspora:before{content:"\f791"}.fa-dice:before{content:"\f522"}.fa-dice-d20:before{content:"\f6cf"}.fa-dice-d6:before{content:"\f6d1"}.fa-dice-five:before{content:"\f523"}.fa-dice-four:before{content:"\f524"}.fa-dice-one:before{content:"\f525"}.fa-dice-six:before{content:"\f526"}.fa-dice-three:before{content:"\f527"}.fa-dice-two:before{content:"\f528"}.fa-digg:before{content:"\f1a6"}.fa-digital-ocean:before{content:"\f391"}.fa-digital-tachograph:before{content:"\f566"}.fa-directions:before{content:"\f5eb"}.fa-discord:before{content:"\f392"}.fa-discourse:before{content:"\f393"}.fa-disease:before{content:"\f7fa"}.fa-divide:before{content:"\f529"}.fa-dizzy:before{content:"\f567"}.fa-dna:before{content:"\f471"}.fa-dochub:before{content:"\f394"}.fa-docker:before{content:"\f395"}.fa-dog:before{content:"\f6d3"}.fa-dollar-sign:before{content:"\f155"}.fa-dolly:before{content:"\f472"}.fa-dolly-flatbed:before{content:"\f474"}.fa-donate:before{content:"\f4b9"}.fa-door-closed:before{content:"\f52a"}.fa-door-open:before{content:"\f52b"}.fa-dot-circle:before{content:"\f192"}.fa-dove:before{content:"\f4ba"}.fa-download:before{content:"\f019"}.fa-draft2digital:before{content:"\f396"}.fa-drafting-compass:before{content:"\f568"}.fa-dragon:before{content:"\f6d5"}.fa-draw-polygon:before{content:"\f5ee"}.fa-dribbble:before{content:"\f17d"}.fa-dribbble-square:before{content:"\f397"}.fa-dropbox:before{content:"\f16b"}.fa-drum:before{content:"\f569"}.fa-drum-steelpan:before{content:"\f56a"}.fa-drumstick-bite:before{content:"\f6d7"}.fa-drupal:before{content:"\f1a9"}.fa-dumbbell:before{content:"\f44b"}.fa-dumpster:before{content:"\f793"}.fa-dumpster-fire:before{content:"\f794"}.fa-dungeon:before{content:"\f6d9"}.fa-dyalog:before{content:"\f399"}.fa-earlybirds:before{content:"\f39a"}.fa-ebay:before{content:"\f4f4"}.fa-edge:before{content:"\f282"}.fa-edge-legacy:before{content:"\e078"}.fa-edit:before{content:"\f044"}.fa-egg:before{content:"\f7fb"}.fa-eject:before{content:"\f052"}.fa-elementor:before{content:"\f430"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-ello:before{content:"\f5f1"}.fa-ember:before{content:"\f423"}.fa-empire:before{content:"\f1d1"}.fa-envelope:before{content:"\f0e0"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-open-text:before{content:"\f658"}.fa-envelope-square:before{content:"\f199"}.fa-envira:before{content:"\f299"}.fa-equals:before{content:"\f52c"}.fa-eraser:before{content:"\f12d"}.fa-erlang:before{content:"\f39d"}.fa-ethereum:before{content:"\f42e"}.fa-ethernet:before{content:"\f796"}.fa-etsy:before{content:"\f2d7"}.fa-euro-sign:before{content:"\f153"}.fa-evernote:before{content:"\f839"}.fa-exchange-alt:before{content:"\f362"}.fa-exclamation:before{content:"\f12a"}.fa-exclamation-circle:before{content:"\f06a"}.fa-exclamation-triangle:before{content:"\f071"}.fa-expand:before{content:"\f065"}.fa-expand-alt:before{content:"\f424"}.fa-expand-arrows-alt:before{content:"\f31e"}.fa-expeditedssl:before{content:"\f23e"}.fa-external-link-alt:before{content:"\f35d"}.fa-external-link-square-alt:before{content:"\f360"}.fa-eye:before{content:"\f06e"}.fa-eye-dropper:before{content:"\f1fb"}.fa-eye-slash:before{content:"\f070"}.fa-facebook:before{content:"\f09a"}.fa-facebook-f:before{content:"\f39e"}.fa-facebook-messenger:before{content:"\f39f"}.fa-facebook-square:before{content:"\f082"}.fa-fan:before{content:"\f863"}.fa-fantasy-flight-games:before{content:"\f6dc"}.fa-fast-backward:before{content:"\f049"}.fa-fast-forward:before{content:"\f050"}.fa-faucet:before{content:"\e005"}.fa-fax:before{content:"\f1ac"}.fa-feather:before{content:"\f52d"}.fa-feather-alt:before{content:"\f56b"}.fa-fedex:before{content:"\f797"}.fa-fedora:before{content:"\f798"}.fa-female:before{content:"\f182"}.fa-fighter-jet:before{content:"\f0fb"}.fa-figma:before{content:"\f799"}.fa-file:before{content:"\f15b"}.fa-file-alt:before{content:"\f15c"}.fa-file-archive:before{content:"\f1c6"}.fa-file-audio:before{content:"\f1c7"}.fa-file-code:before{content:"\f1c9"}.fa-file-contract:before{content:"\f56c"}.fa-file-csv:before{content:"\f6dd"}.fa-file-download:before{content:"\f56d"}.fa-file-excel:before{content:"\f1c3"}.fa-file-export:before{content:"\f56e"}.fa-file-image:before{content:"\f1c5"}.fa-file-import:before{content:"\f56f"}.fa-file-invoice:before{content:"\f570"}.fa-file-invoice-dollar:before{content:"\f571"}.fa-file-medical:before{content:"\f477"}.fa-file-medical-alt:before{content:"\f478"}.fa-file-pdf:before{content:"\f1c1"}.fa-file-powerpoint:before{content:"\f1c4"}.fa-file-prescription:before{content:"\f572"}.fa-file-signature:before{content:"\f573"}.fa-file-upload:before{content:"\f574"}.fa-file-video:before{content:"\f1c8"}.fa-file-word:before{content:"\f1c2"}.fa-fill:before{content:"\f575"}.fa-fill-drip:before{content:"\f576"}.fa-film:before{content:"\f008"}.fa-filter:before{content:"\f0b0"}.fa-fingerprint:before{content:"\f577"}.fa-fire:before{content:"\f06d"}.fa-fire-alt:before{content:"\f7e4"}.fa-fire-extinguisher:before{content:"\f134"}.fa-firefox:before{content:"\f269"}.fa-firefox-browser:before{content:"\e007"}.fa-first-aid:before{content:"\f479"}.fa-first-order:before{content:"\f2b0"}.fa-first-order-alt:before{content:"\f50a"}.fa-firstdraft:before{content:"\f3a1"}.fa-fish:before{content:"\f578"}.fa-fist-raised:before{content:"\f6de"}.fa-flag:before{content:"\f024"}.fa-flag-checkered:before{content:"\f11e"}.fa-flag-usa:before{content:"\f74d"}.fa-flask:before{content:"\f0c3"}.fa-flickr:before{content:"\f16e"}.fa-flipboard:before{content:"\f44d"}.fa-flushed:before{content:"\f579"}.fa-fly:before{content:"\f417"}.fa-folder:before{content:"\f07b"}.fa-folder-minus:before{content:"\f65d"}.fa-folder-open:before{content:"\f07c"}.fa-folder-plus:before{content:"\f65e"}.fa-font:before{content:"\f031"}.fa-font-awesome:before{content:"\f2b4"}.fa-font-awesome-alt:before{content:"\f35c"}.fa-font-awesome-flag:before{content:"\f425"}.fa-font-awesome-logo-full:before{content:"\f4e6"}.fa-fonticons:before{content:"\f280"}.fa-fonticons-fi:before{content:"\f3a2"}.fa-football-ball:before{content:"\f44e"}.fa-fort-awesome:before{content:"\f286"}.fa-fort-awesome-alt:before{content:"\f3a3"}.fa-forumbee:before{content:"\f211"}.fa-forward:before{content:"\f04e"}.fa-foursquare:before{content:"\f180"}.fa-free-code-camp:before{content:"\f2c5"}.fa-freebsd:before{content:"\f3a4"}.fa-frog:before{content:"\f52e"}.fa-frown:before{content:"\f119"}.fa-frown-open:before{content:"\f57a"}.fa-fulcrum:before{content:"\f50b"}.fa-funnel-dollar:before{content:"\f662"}.fa-futbol:before{content:"\f1e3"}.fa-galactic-republic:before{content:"\f50c"}.fa-galactic-senate:before{content:"\f50d"}.fa-gamepad:before{content:"\f11b"}.fa-gas-pump:before{content:"\f52f"}.fa-gavel:before{content:"\f0e3"}.fa-gem:before{content:"\f3a5"}.fa-genderless:before{content:"\f22d"}.fa-get-pocket:before{content:"\f265"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-ghost:before{content:"\f6e2"}.fa-gift:before{content:"\f06b"}.fa-gifts:before{content:"\f79c"}.fa-git:before{content:"\f1d3"}.fa-git-alt:before{content:"\f841"}.fa-git-square:before{content:"\f1d2"}.fa-github:before{content:"\f09b"}.fa-github-alt:before{content:"\f113"}.fa-github-square:before{content:"\f092"}.fa-gitkraken:before{content:"\f3a6"}.fa-gitlab:before{content:"\f296"}.fa-gitter:before{content:"\f426"}.fa-glass-cheers:before{content:"\f79f"}.fa-glass-martini:before{content:"\f000"}.fa-glass-martini-alt:before{content:"\f57b"}.fa-glass-whiskey:before{content:"\f7a0"}.fa-glasses:before{content:"\f530"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-globe:before{content:"\f0ac"}.fa-globe-africa:before{content:"\f57c"}.fa-globe-americas:before{content:"\f57d"}.fa-globe-asia:before{content:"\f57e"}.fa-globe-europe:before{content:"\f7a2"}.fa-gofore:before{content:"\f3a7"}.fa-golf-ball:before{content:"\f450"}.fa-goodreads:before{content:"\f3a8"}.fa-goodreads-g:before{content:"\f3a9"}.fa-google:before{content:"\f1a0"}.fa-google-drive:before{content:"\f3aa"}.fa-google-pay:before{content:"\e079"}.fa-google-play:before{content:"\f3ab"}.fa-google-plus:before{content:"\f2b3"}.fa-google-plus-g:before{content:"\f0d5"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-wallet:before{content:"\f1ee"}.fa-gopuram:before{content:"\f664"}.fa-graduation-cap:before{content:"\f19d"}.fa-gratipay:before{content:"\f184"}.fa-grav:before{content:"\f2d6"}.fa-greater-than:before{content:"\f531"}.fa-greater-than-equal:before{content:"\f532"}.fa-grimace:before{content:"\f57f"}.fa-grin:before{content:"\f580"}.fa-grin-alt:before{content:"\f581"}.fa-grin-beam:before{content:"\f582"}.fa-grin-beam-sweat:before{content:"\f583"}.fa-grin-hearts:before{content:"\f584"}.fa-grin-squint:before{content:"\f585"}.fa-grin-squint-tears:before{content:"\f586"}.fa-grin-stars:before{content:"\f587"}.fa-grin-tears:before{content:"\f588"}.fa-grin-tongue:before{content:"\f589"}.fa-grin-tongue-squint:before{content:"\f58a"}.fa-grin-tongue-wink:before{content:"\f58b"}.fa-grin-wink:before{content:"\f58c"}.fa-grip-horizontal:before{content:"\f58d"}.fa-grip-lines:before{content:"\f7a4"}.fa-grip-lines-vertical:before{content:"\f7a5"}.fa-grip-vertical:before{content:"\f58e"}.fa-gripfire:before{content:"\f3ac"}.fa-grunt:before{content:"\f3ad"}.fa-guilded:before{content:"\e07e"}.fa-guitar:before{content:"\f7a6"}.fa-gulp:before{content:"\f3ae"}.fa-h-square:before{content:"\f0fd"}.fa-hacker-news:before{content:"\f1d4"}.fa-hacker-news-square:before{content:"\f3af"}.fa-hackerrank:before{content:"\f5f7"}.fa-hamburger:before{content:"\f805"}.fa-hammer:before{content:"\f6e3"}.fa-hamsa:before{content:"\f665"}.fa-hand-holding:before{content:"\f4bd"}.fa-hand-holding-heart:before{content:"\f4be"}.fa-hand-holding-medical:before{content:"\e05c"}.fa-hand-holding-usd:before{content:"\f4c0"}.fa-hand-holding-water:before{content:"\f4c1"}.fa-hand-lizard:before{content:"\f258"}.fa-hand-middle-finger:before{content:"\f806"}.fa-hand-paper:before{content:"\f256"}.fa-hand-peace:before{content:"\f25b"}.fa-hand-point-down:before{content:"\f0a7"}.fa-hand-point-left:before{content:"\f0a5"}.fa-hand-point-right:before{content:"\f0a4"}.fa-hand-point-up:before{content:"\f0a6"}.fa-hand-pointer:before{content:"\f25a"}.fa-hand-rock:before{content:"\f255"}.fa-hand-scissors:before{content:"\f257"}.fa-hand-sparkles:before{content:"\e05d"}.fa-hand-spock:before{content:"\f259"}.fa-hands:before{content:"\f4c2"}.fa-hands-helping:before{content:"\f4c4"}.fa-hands-wash:before{content:"\e05e"}.fa-handshake:before{content:"\f2b5"}.fa-handshake-alt-slash:before{content:"\e05f"}.fa-handshake-slash:before{content:"\e060"}.fa-hanukiah:before{content:"\f6e6"}.fa-hard-hat:before{content:"\f807"}.fa-hashtag:before{content:"\f292"}.fa-hat-cowboy:before{content:"\f8c0"}.fa-hat-cowboy-side:before{content:"\f8c1"}.fa-hat-wizard:before{content:"\f6e8"}.fa-hdd:before{content:"\f0a0"}.fa-head-side-cough:before{content:"\e061"}.fa-head-side-cough-slash:before{content:"\e062"}.fa-head-side-mask:before{content:"\e063"}.fa-head-side-virus:before{content:"\e064"}.fa-heading:before{content:"\f1dc"}.fa-headphones:before{content:"\f025"}.fa-headphones-alt:before{content:"\f58f"}.fa-headset:before{content:"\f590"}.fa-heart:before{content:"\f004"}.fa-heart-broken:before{content:"\f7a9"}.fa-heartbeat:before{content:"\f21e"}.fa-helicopter:before{content:"\f533"}.fa-highlighter:before{content:"\f591"}.fa-hiking:before{content:"\f6ec"}.fa-hippo:before{content:"\f6ed"}.fa-hips:before{content:"\f452"}.fa-hire-a-helper:before{content:"\f3b0"}.fa-history:before{content:"\f1da"}.fa-hive:before{content:"\e07f"}.fa-hockey-puck:before{content:"\f453"}.fa-holly-berry:before{content:"\f7aa"}.fa-home:before{content:"\f015"}.fa-hooli:before{content:"\f427"}.fa-hornbill:before{content:"\f592"}.fa-horse:before{content:"\f6f0"}.fa-horse-head:before{content:"\f7ab"}.fa-hospital:before{content:"\f0f8"}.fa-hospital-alt:before{content:"\f47d"}.fa-hospital-symbol:before{content:"\f47e"}.fa-hospital-user:before{content:"\f80d"}.fa-hot-tub:before{content:"\f593"}.fa-hotdog:before{content:"\f80f"}.fa-hotel:before{content:"\f594"}.fa-hotjar:before{content:"\f3b1"}.fa-hourglass:before{content:"\f254"}.fa-hourglass-end:before{content:"\f253"}.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-start:before{content:"\f251"}.fa-house-damage:before{content:"\f6f1"}.fa-house-user:before{content:"\e065"}.fa-houzz:before{content:"\f27c"}.fa-hryvnia:before{content:"\f6f2"}.fa-html5:before{content:"\f13b"}.fa-hubspot:before{content:"\f3b2"}.fa-i-cursor:before{content:"\f246"}.fa-ice-cream:before{content:"\f810"}.fa-icicles:before{content:"\f7ad"}.fa-icons:before{content:"\f86d"}.fa-id-badge:before{content:"\f2c1"}.fa-id-card:before{content:"\f2c2"}.fa-id-card-alt:before{content:"\f47f"}.fa-ideal:before{content:"\e013"}.fa-igloo:before{content:"\f7ae"}.fa-image:before{content:"\f03e"}.fa-images:before{content:"\f302"}.fa-imdb:before{content:"\f2d8"}.fa-inbox:before{content:"\f01c"}.fa-indent:before{content:"\f03c"}.fa-industry:before{content:"\f275"}.fa-infinity:before{content:"\f534"}.fa-info:before{content:"\f129"}.fa-info-circle:before{content:"\f05a"}.fa-innosoft:before{content:"\e080"}.fa-instagram:before{content:"\f16d"}.fa-instagram-square:before{content:"\e055"}.fa-instalod:before{content:"\e081"}.fa-intercom:before{content:"\f7af"}.fa-internet-explorer:before{content:"\f26b"}.fa-invision:before{content:"\f7b0"}.fa-ioxhost:before{content:"\f208"}.fa-italic:before{content:"\f033"}.fa-itch-io:before{content:"\f83a"}.fa-itunes:before{content:"\f3b4"}.fa-itunes-note:before{content:"\f3b5"}.fa-java:before{content:"\f4e4"}.fa-jedi:before{content:"\f669"}.fa-jedi-order:before{content:"\f50e"}.fa-jenkins:before{content:"\f3b6"}.fa-jira:before{content:"\f7b1"}.fa-joget:before{content:"\f3b7"}.fa-joint:before{content:"\f595"}.fa-joomla:before{content:"\f1aa"}.fa-journal-whills:before{content:"\f66a"}.fa-js:before{content:"\f3b8"}.fa-js-square:before{content:"\f3b9"}.fa-jsfiddle:before{content:"\f1cc"}.fa-kaaba:before{content:"\f66b"}.fa-kaggle:before{content:"\f5fa"}.fa-key:before{content:"\f084"}.fa-keybase:before{content:"\f4f5"}.fa-keyboard:before{content:"\f11c"}.fa-keycdn:before{content:"\f3ba"}.fa-khanda:before{content:"\f66d"}.fa-kickstarter:before{content:"\f3bb"}.fa-kickstarter-k:before{content:"\f3bc"}.fa-kiss:before{content:"\f596"}.fa-kiss-beam:before{content:"\f597"}.fa-kiss-wink-heart:before{content:"\f598"}.fa-kiwi-bird:before{content:"\f535"}.fa-korvue:before{content:"\f42f"}.fa-landmark:before{content:"\f66f"}.fa-language:before{content:"\f1ab"}.fa-laptop:before{content:"\f109"}.fa-laptop-code:before{content:"\f5fc"}.fa-laptop-house:before{content:"\e066"}.fa-laptop-medical:before{content:"\f812"}.fa-laravel:before{content:"\f3bd"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-laugh:before{content:"\f599"}.fa-laugh-beam:before{content:"\f59a"}.fa-laugh-squint:before{content:"\f59b"}.fa-laugh-wink:before{content:"\f59c"}.fa-layer-group:before{content:"\f5fd"}.fa-leaf:before{content:"\f06c"}.fa-leanpub:before{content:"\f212"}.fa-lemon:before{content:"\f094"}.fa-less:before{content:"\f41d"}.fa-less-than:before{content:"\f536"}.fa-less-than-equal:before{content:"\f537"}.fa-level-down-alt:before{content:"\f3be"}.fa-level-up-alt:before{content:"\f3bf"}.fa-life-ring:before{content:"\f1cd"}.fa-lightbulb:before{content:"\f0eb"}.fa-line:before{content:"\f3c0"}.fa-link:before{content:"\f0c1"}.fa-linkedin:before{content:"\f08c"}.fa-linkedin-in:before{content:"\f0e1"}.fa-linode:before{content:"\f2b8"}.fa-linux:before{content:"\f17c"}.fa-lira-sign:before{content:"\f195"}.fa-list:before{content:"\f03a"}.fa-list-alt:before{content:"\f022"}.fa-list-ol:before{content:"\f0cb"}.fa-list-ul:before{content:"\f0ca"}.fa-location-arrow:before{content:"\f124"}.fa-lock:before{content:"\f023"}.fa-lock-open:before{content:"\f3c1"}.fa-long-arrow-alt-down:before{content:"\f309"}.fa-long-arrow-alt-left:before{content:"\f30a"}.fa-long-arrow-alt-right:before{content:"\f30b"}.fa-long-arrow-alt-up:before{content:"\f30c"}.fa-low-vision:before{content:"\f2a8"}.fa-luggage-cart:before{content:"\f59d"}.fa-lungs:before{content:"\f604"}.fa-lungs-virus:before{content:"\e067"}.fa-lyft:before{content:"\f3c3"}.fa-magento:before{content:"\f3c4"}.fa-magic:before{content:"\f0d0"}.fa-magnet:before{content:"\f076"}.fa-mail-bulk:before{content:"\f674"}.fa-mailchimp:before{content:"\f59e"}.fa-male:before{content:"\f183"}.fa-mandalorian:before{content:"\f50f"}.fa-map:before{content:"\f279"}.fa-map-marked:before{content:"\f59f"}.fa-map-marked-alt:before{content:"\f5a0"}.fa-map-marker:before{content:"\f041"}.fa-map-marker-alt:before{content:"\f3c5"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-markdown:before{content:"\f60f"}.fa-marker:before{content:"\f5a1"}.fa-mars:before{content:"\f222"}.fa-mars-double:before{content:"\f227"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mask:before{content:"\f6fa"}.fa-mastodon:before{content:"\f4f6"}.fa-maxcdn:before{content:"\f136"}.fa-mdb:before{content:"\f8ca"}.fa-medal:before{content:"\f5a2"}.fa-medapps:before{content:"\f3c6"}.fa-medium:before{content:"\f23a"}.fa-medium-m:before{content:"\f3c7"}.fa-medkit:before{content:"\f0fa"}.fa-medrt:before{content:"\f3c8"}.fa-meetup:before{content:"\f2e0"}.fa-megaport:before{content:"\f5a3"}.fa-meh:before{content:"\f11a"}.fa-meh-blank:before{content:"\f5a4"}.fa-meh-rolling-eyes:before{content:"\f5a5"}.fa-memory:before{content:"\f538"}.fa-mendeley:before{content:"\f7b3"}.fa-menorah:before{content:"\f676"}.fa-mercury:before{content:"\f223"}.fa-meteor:before{content:"\f753"}.fa-microblog:before{content:"\e01a"}.fa-microchip:before{content:"\f2db"}.fa-microphone:before{content:"\f130"}.fa-microphone-alt:before{content:"\f3c9"}.fa-microphone-alt-slash:before{content:"\f539"}.fa-microphone-slash:before{content:"\f131"}.fa-microscope:before{content:"\f610"}.fa-microsoft:before{content:"\f3ca"}.fa-minus:before{content:"\f068"}.fa-minus-circle:before{content:"\f056"}.fa-minus-square:before{content:"\f146"}.fa-mitten:before{content:"\f7b5"}.fa-mix:before{content:"\f3cb"}.fa-mixcloud:before{content:"\f289"}.fa-mixer:before{content:"\e056"}.fa-mizuni:before{content:"\f3cc"}.fa-mobile:before{content:"\f10b"}.fa-mobile-alt:before{content:"\f3cd"}.fa-modx:before{content:"\f285"}.fa-monero:before{content:"\f3d0"}.fa-money-bill:before{content:"\f0d6"}.fa-money-bill-alt:before{content:"\f3d1"}.fa-money-bill-wave:before{content:"\f53a"}.fa-money-bill-wave-alt:before{content:"\f53b"}.fa-money-check:before{content:"\f53c"}.fa-money-check-alt:before{content:"\f53d"}.fa-monument:before{content:"\f5a6"}.fa-moon:before{content:"\f186"}.fa-mortar-pestle:before{content:"\f5a7"}.fa-mosque:before{content:"\f678"}.fa-motorcycle:before{content:"\f21c"}.fa-mountain:before{content:"\f6fc"}.fa-mouse:before{content:"\f8cc"}.fa-mouse-pointer:before{content:"\f245"}.fa-mug-hot:before{content:"\f7b6"}.fa-music:before{content:"\f001"}.fa-napster:before{content:"\f3d2"}.fa-neos:before{content:"\f612"}.fa-network-wired:before{content:"\f6ff"}.fa-neuter:before{content:"\f22c"}.fa-newspaper:before{content:"\f1ea"}.fa-nimblr:before{content:"\f5a8"}.fa-node:before{content:"\f419"}.fa-node-js:before{content:"\f3d3"}.fa-not-equal:before{content:"\f53e"}.fa-notes-medical:before{content:"\f481"}.fa-npm:before{content:"\f3d4"}.fa-ns8:before{content:"\f3d5"}.fa-nutritionix:before{content:"\f3d6"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-octopus-deploy:before{content:"\e082"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-oil-can:before{content:"\f613"}.fa-old-republic:before{content:"\f510"}.fa-om:before{content:"\f679"}.fa-opencart:before{content:"\f23d"}.fa-openid:before{content:"\f19b"}.fa-opera:before{content:"\f26a"}.fa-optin-monster:before{content:"\f23c"}.fa-orcid:before{content:"\f8d2"}.fa-osi:before{content:"\f41a"}.fa-otter:before{content:"\f700"}.fa-outdent:before{content:"\f03b"}.fa-page4:before{content:"\f3d7"}.fa-pagelines:before{content:"\f18c"}.fa-pager:before{content:"\f815"}.fa-paint-brush:before{content:"\f1fc"}.fa-paint-roller:before{content:"\f5aa"}.fa-palette:before{content:"\f53f"}.fa-palfed:before{content:"\f3d8"}.fa-pallet:before{content:"\f482"}.fa-paper-plane:before{content:"\f1d8"}.fa-paperclip:before{content:"\f0c6"}.fa-parachute-box:before{content:"\f4cd"}.fa-paragraph:before{content:"\f1dd"}.fa-parking:before{content:"\f540"}.fa-passport:before{content:"\f5ab"}.fa-pastafarianism:before{content:"\f67b"}.fa-paste:before{content:"\f0ea"}.fa-patreon:before{content:"\f3d9"}.fa-pause:before{content:"\f04c"}.fa-pause-circle:before{content:"\f28b"}.fa-paw:before{content:"\f1b0"}.fa-paypal:before{content:"\f1ed"}.fa-peace:before{content:"\f67c"}.fa-pen:before{content:"\f304"}.fa-pen-alt:before{content:"\f305"}.fa-pen-fancy:before{content:"\f5ac"}.fa-pen-nib:before{content:"\f5ad"}.fa-pen-square:before{content:"\f14b"}.fa-pencil-alt:before{content:"\f303"}.fa-pencil-ruler:before{content:"\f5ae"}.fa-penny-arcade:before{content:"\f704"}.fa-people-arrows:before{content:"\e068"}.fa-people-carry:before{content:"\f4ce"}.fa-pepper-hot:before{content:"\f816"}.fa-perbyte:before{content:"\e083"}.fa-percent:before{content:"\f295"}.fa-percentage:before{content:"\f541"}.fa-periscope:before{content:"\f3da"}.fa-person-booth:before{content:"\f756"}.fa-phabricator:before{content:"\f3db"}.fa-phoenix-framework:before{content:"\f3dc"}.fa-phoenix-squadron:before{content:"\f511"}.fa-phone:before{content:"\f095"}.fa-phone-alt:before{content:"\f879"}.fa-phone-slash:before{content:"\f3dd"}.fa-phone-square:before{content:"\f098"}.fa-phone-square-alt:before{content:"\f87b"}.fa-phone-volume:before{content:"\f2a0"}.fa-photo-video:before{content:"\f87c"}.fa-php:before{content:"\f457"}.fa-pied-piper:before{content:"\f2ae"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-pied-piper-hat:before{content:"\f4e5"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-pied-piper-square:before{content:"\e01e"}.fa-piggy-bank:before{content:"\f4d3"}.fa-pills:before{content:"\f484"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-p:before{content:"\f231"}.fa-pinterest-square:before{content:"\f0d3"}.fa-pizza-slice:before{content:"\f818"}.fa-place-of-worship:before{content:"\f67f"}.fa-plane:before{content:"\f072"}.fa-plane-arrival:before{content:"\f5af"}.fa-plane-departure:before{content:"\f5b0"}.fa-plane-slash:before{content:"\e069"}.fa-play:before{content:"\f04b"}.fa-play-circle:before{content:"\f144"}.fa-playstation:before{content:"\f3df"}.fa-plug:before{content:"\f1e6"}.fa-plus:before{content:"\f067"}.fa-plus-circle:before{content:"\f055"}.fa-plus-square:before{content:"\f0fe"}.fa-podcast:before{content:"\f2ce"}.fa-poll:before{content:"\f681"}.fa-poll-h:before{content:"\f682"}.fa-poo:before{content:"\f2fe"}.fa-poo-storm:before{content:"\f75a"}.fa-poop:before{content:"\f619"}.fa-portrait:before{content:"\f3e0"}.fa-pound-sign:before{content:"\f154"}.fa-power-off:before{content:"\f011"}.fa-pray:before{content:"\f683"}.fa-praying-hands:before{content:"\f684"}.fa-prescription:before{content:"\f5b1"}.fa-prescription-bottle:before{content:"\f485"}.fa-prescription-bottle-alt:before{content:"\f486"}.fa-print:before{content:"\f02f"}.fa-procedures:before{content:"\f487"}.fa-product-hunt:before{content:"\f288"}.fa-project-diagram:before{content:"\f542"}.fa-pump-medical:before{content:"\e06a"}.fa-pump-soap:before{content:"\e06b"}.fa-pushed:before{content:"\f3e1"}.fa-puzzle-piece:before{content:"\f12e"}.fa-python:before{content:"\f3e2"}.fa-qq:before{content:"\f1d6"}.fa-qrcode:before{content:"\f029"}.fa-question:before{content:"\f128"}.fa-question-circle:before{content:"\f059"}.fa-quidditch:before{content:"\f458"}.fa-quinscape:before{content:"\f459"}.fa-quora:before{content:"\f2c4"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-quran:before{content:"\f687"}.fa-r-project:before{content:"\f4f7"}.fa-radiation:before{content:"\f7b9"}.fa-radiation-alt:before{content:"\f7ba"}.fa-rainbow:before{content:"\f75b"}.fa-random:before{content:"\f074"}.fa-raspberry-pi:before{content:"\f7bb"}.fa-ravelry:before{content:"\f2d9"}.fa-react:before{content:"\f41b"}.fa-reacteurope:before{content:"\f75d"}.fa-readme:before{content:"\f4d5"}.fa-rebel:before{content:"\f1d0"}.fa-receipt:before{content:"\f543"}.fa-record-vinyl:before{content:"\f8d9"}.fa-recycle:before{content:"\f1b8"}.fa-red-river:before{content:"\f3e3"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-alien:before{content:"\f281"}.fa-reddit-square:before{content:"\f1a2"}.fa-redhat:before{content:"\f7bc"}.fa-redo:before{content:"\f01e"}.fa-redo-alt:before{content:"\f2f9"}.fa-registered:before{content:"\f25d"}.fa-remove-format:before{content:"\f87d"}.fa-renren:before{content:"\f18b"}.fa-reply:before{content:"\f3e5"}.fa-reply-all:before{content:"\f122"}.fa-replyd:before{content:"\f3e6"}.fa-republican:before{content:"\f75e"}.fa-researchgate:before{content:"\f4f8"}.fa-resolving:before{content:"\f3e7"}.fa-restroom:before{content:"\f7bd"}.fa-retweet:before{content:"\f079"}.fa-rev:before{content:"\f5b2"}.fa-ribbon:before{content:"\f4d6"}.fa-ring:before{content:"\f70b"}.fa-road:before{content:"\f018"}.fa-robot:before{content:"\f544"}.fa-rocket:before{content:"\f135"}.fa-rocketchat:before{content:"\f3e8"}.fa-rockrms:before{content:"\f3e9"}.fa-route:before{content:"\f4d7"}.fa-rss:before{content:"\f09e"}.fa-rss-square:before{content:"\f143"}.fa-ruble-sign:before{content:"\f158"}.fa-ruler:before{content:"\f545"}.fa-ruler-combined:before{content:"\f546"}.fa-ruler-horizontal:before{content:"\f547"}.fa-ruler-vertical:before{content:"\f548"}.fa-running:before{content:"\f70c"}.fa-rupee-sign:before{content:"\f156"}.fa-rust:before{content:"\e07a"}.fa-sad-cry:before{content:"\f5b3"}.fa-sad-tear:before{content:"\f5b4"}.fa-safari:before{content:"\f267"}.fa-salesforce:before{content:"\f83b"}.fa-sass:before{content:"\f41e"}.fa-satellite:before{content:"\f7bf"}.fa-satellite-dish:before{content:"\f7c0"}.fa-save:before{content:"\f0c7"}.fa-schlix:before{content:"\f3ea"}.fa-school:before{content:"\f549"}.fa-screwdriver:before{content:"\f54a"}.fa-scribd:before{content:"\f28a"}.fa-scroll:before{content:"\f70e"}.fa-sd-card:before{content:"\f7c2"}.fa-search:before{content:"\f002"}.fa-search-dollar:before{content:"\f688"}.fa-search-location:before{content:"\f689"}.fa-search-minus:before{content:"\f010"}.fa-search-plus:before{content:"\f00e"}.fa-searchengin:before{content:"\f3eb"}.fa-seedling:before{content:"\f4d8"}.fa-sellcast:before{content:"\f2da"}.fa-sellsy:before{content:"\f213"}.fa-server:before{content:"\f233"}.fa-servicestack:before{content:"\f3ec"}.fa-shapes:before{content:"\f61f"}.fa-share:before{content:"\f064"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-share-square:before{content:"\f14d"}.fa-shekel-sign:before{content:"\f20b"}.fa-shield-alt:before{content:"\f3ed"}.fa-shield-virus:before{content:"\e06c"}.fa-ship:before{content:"\f21a"}.fa-shipping-fast:before{content:"\f48b"}.fa-shirtsinbulk:before{content:"\f214"}.fa-shoe-prints:before{content:"\f54b"}.fa-shopify:before{content:"\e057"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-shopping-cart:before{content:"\f07a"}.fa-shopware:before{content:"\f5b5"}.fa-shower:before{content:"\f2cc"}.fa-shuttle-van:before{content:"\f5b6"}.fa-sign:before{content:"\f4d9"}.fa-sign-in-alt:before{content:"\f2f6"}.fa-sign-language:before{content:"\f2a7"}.fa-sign-out-alt:before{content:"\f2f5"}.fa-signal:before{content:"\f012"}.fa-signature:before{content:"\f5b7"}.fa-sim-card:before{content:"\f7c4"}.fa-simplybuilt:before{content:"\f215"}.fa-sink:before{content:"\e06d"}.fa-sistrix:before{content:"\f3ee"}.fa-sitemap:before{content:"\f0e8"}.fa-sith:before{content:"\f512"}.fa-skating:before{content:"\f7c5"}.fa-sketch:before{content:"\f7c6"}.fa-skiing:before{content:"\f7c9"}.fa-skiing-nordic:before{content:"\f7ca"}.fa-skull:before{content:"\f54c"}.fa-skull-crossbones:before{content:"\f714"}.fa-skyatlas:before{content:"\f216"}.fa-skype:before{content:"\f17e"}.fa-slack:before{content:"\f198"}.fa-slack-hash:before{content:"\f3ef"}.fa-slash:before{content:"\f715"}.fa-sleigh:before{content:"\f7cc"}.fa-sliders-h:before{content:"\f1de"}.fa-slideshare:before{content:"\f1e7"}.fa-smile:before{content:"\f118"}.fa-smile-beam:before{content:"\f5b8"}.fa-smile-wink:before{content:"\f4da"}.fa-smog:before{content:"\f75f"}.fa-smoking:before{content:"\f48d"}.fa-smoking-ban:before{content:"\f54d"}.fa-sms:before{content:"\f7cd"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-snowboarding:before{content:"\f7ce"}.fa-snowflake:before{content:"\f2dc"}.fa-snowman:before{content:"\f7d0"}.fa-snowplow:before{content:"\f7d2"}.fa-soap:before{content:"\e06e"}.fa-socks:before{content:"\f696"}.fa-solar-panel:before{content:"\f5ba"}.fa-sort:before{content:"\f0dc"}.fa-sort-alpha-down:before{content:"\f15d"}.fa-sort-alpha-down-alt:before{content:"\f881"}.fa-sort-alpha-up:before{content:"\f15e"}.fa-sort-alpha-up-alt:before{content:"\f882"}.fa-sort-amount-down:before{content:"\f160"}.fa-sort-amount-down-alt:before{content:"\f884"}.fa-sort-amount-up:before{content:"\f161"}.fa-sort-amount-up-alt:before{content:"\f885"}.fa-sort-down:before{content:"\f0dd"}.fa-sort-numeric-down:before{content:"\f162"}.fa-sort-numeric-down-alt:before{content:"\f886"}.fa-sort-numeric-up:before{content:"\f163"}.fa-sort-numeric-up-alt:before{content:"\f887"}.fa-sort-up:before{content:"\f0de"}.fa-soundcloud:before{content:"\f1be"}.fa-sourcetree:before{content:"\f7d3"}.fa-spa:before{content:"\f5bb"}.fa-space-shuttle:before{content:"\f197"}.fa-speakap:before{content:"\f3f3"}.fa-speaker-deck:before{content:"\f83c"}.fa-spell-check:before{content:"\f891"}.fa-spider:before{content:"\f717"}.fa-spinner:before{content:"\f110"}.fa-splotch:before{content:"\f5bc"}.fa-spotify:before{content:"\f1bc"}.fa-spray-can:before{content:"\f5bd"}.fa-square:before{content:"\f0c8"}.fa-square-full:before{content:"\f45c"}.fa-square-root-alt:before{content:"\f698"}.fa-squarespace:before{content:"\f5be"}.fa-stack-exchange:before{content:"\f18d"}.fa-stack-overflow:before{content:"\f16c"}.fa-stackpath:before{content:"\f842"}.fa-stamp:before{content:"\f5bf"}.fa-star:before{content:"\f005"}.fa-star-and-crescent:before{content:"\f699"}.fa-star-half:before{content:"\f089"}.fa-star-half-alt:before{content:"\f5c0"}.fa-star-of-david:before{content:"\f69a"}.fa-star-of-life:before{content:"\f621"}.fa-staylinked:before{content:"\f3f5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-steam-symbol:before{content:"\f3f6"}.fa-step-backward:before{content:"\f048"}.fa-step-forward:before{content:"\f051"}.fa-stethoscope:before{content:"\f0f1"}.fa-sticker-mule:before{content:"\f3f7"}.fa-sticky-note:before{content:"\f249"}.fa-stop:before{content:"\f04d"}.fa-stop-circle:before{content:"\f28d"}.fa-stopwatch:before{content:"\f2f2"}.fa-stopwatch-20:before{content:"\e06f"}.fa-store:before{content:"\f54e"}.fa-store-alt:before{content:"\f54f"}.fa-store-alt-slash:before{content:"\e070"}.fa-store-slash:before{content:"\e071"}.fa-strava:before{content:"\f428"}.fa-stream:before{content:"\f550"}.fa-street-view:before{content:"\f21d"}.fa-strikethrough:before{content:"\f0cc"}.fa-stripe:before{content:"\f429"}.fa-stripe-s:before{content:"\f42a"}.fa-stroopwafel:before{content:"\f551"}.fa-studiovinari:before{content:"\f3f8"}.fa-stumbleupon:before{content:"\f1a4"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-subscript:before{content:"\f12c"}.fa-subway:before{content:"\f239"}.fa-suitcase:before{content:"\f0f2"}.fa-suitcase-rolling:before{content:"\f5c1"}.fa-sun:before{content:"\f185"}.fa-superpowers:before{content:"\f2dd"}.fa-superscript:before{content:"\f12b"}.fa-supple:before{content:"\f3f9"}.fa-surprise:before{content:"\f5c2"}.fa-suse:before{content:"\f7d6"}.fa-swatchbook:before{content:"\f5c3"}.fa-swift:before{content:"\f8e1"}.fa-swimmer:before{content:"\f5c4"}.fa-swimming-pool:before{content:"\f5c5"}.fa-symfony:before{content:"\f83d"}.fa-synagogue:before{content:"\f69b"}.fa-sync:before{content:"\f021"}.fa-sync-alt:before{content:"\f2f1"}.fa-syringe:before{content:"\f48e"}.fa-table:before{content:"\f0ce"}.fa-table-tennis:before{content:"\f45d"}.fa-tablet:before{content:"\f10a"}.fa-tablet-alt:before{content:"\f3fa"}.fa-tablets:before{content:"\f490"}.fa-tachometer-alt:before{content:"\f3fd"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-tape:before{content:"\f4db"}.fa-tasks:before{content:"\f0ae"}.fa-taxi:before{content:"\f1ba"}.fa-teamspeak:before{content:"\f4f9"}.fa-teeth:before{content:"\f62e"}.fa-teeth-open:before{content:"\f62f"}.fa-telegram:before{content:"\f2c6"}.fa-telegram-plane:before{content:"\f3fe"}.fa-temperature-high:before{content:"\f769"}.fa-temperature-low:before{content:"\f76b"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-tenge:before{content:"\f7d7"}.fa-terminal:before{content:"\f120"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-th:before{content:"\f00a"}.fa-th-large:before{content:"\f009"}.fa-th-list:before{content:"\f00b"}.fa-the-red-yeti:before{content:"\f69d"}.fa-theater-masks:before{content:"\f630"}.fa-themeco:before{content:"\f5c6"}.fa-themeisle:before{content:"\f2b2"}.fa-thermometer:before{content:"\f491"}.fa-thermometer-empty:before{content:"\f2cb"}.fa-thermometer-full:before{content:"\f2c7"}.fa-thermometer-half:before{content:"\f2c9"}.fa-thermometer-quarter:before{content:"\f2ca"}.fa-thermometer-three-quarters:before{content:"\f2c8"}.fa-think-peaks:before{content:"\f731"}.fa-thumbs-down:before{content:"\f165"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbtack:before{content:"\f08d"}.fa-ticket-alt:before{content:"\f3ff"}.fa-tiktok:before{content:"\e07b"}.fa-times:before{content:"\f00d"}.fa-times-circle:before{content:"\f057"}.fa-tint:before{content:"\f043"}.fa-tint-slash:before{content:"\f5c7"}.fa-tired:before{content:"\f5c8"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-toilet:before{content:"\f7d8"}.fa-toilet-paper:before{content:"\f71e"}.fa-toilet-paper-slash:before{content:"\e072"}.fa-toolbox:before{content:"\f552"}.fa-tools:before{content:"\f7d9"}.fa-tooth:before{content:"\f5c9"}.fa-torah:before{content:"\f6a0"}.fa-torii-gate:before{content:"\f6a1"}.fa-tractor:before{content:"\f722"}.fa-trade-federation:before{content:"\f513"}.fa-trademark:before{content:"\f25c"}.fa-traffic-light:before{content:"\f637"}.fa-trailer:before{content:"\e041"}.fa-train:before{content:"\f238"}.fa-tram:before{content:"\f7da"}.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-trash:before{content:"\f1f8"}.fa-trash-alt:before{content:"\f2ed"}.fa-trash-restore:before{content:"\f829"}.fa-trash-restore-alt:before{content:"\f82a"}.fa-tree:before{content:"\f1bb"}.fa-trello:before{content:"\f181"}.fa-trophy:before{content:"\f091"}.fa-truck:before{content:"\f0d1"}.fa-truck-loading:before{content:"\f4de"}.fa-truck-monster:before{content:"\f63b"}.fa-truck-moving:before{content:"\f4df"}.fa-truck-pickup:before{content:"\f63c"}.fa-tshirt:before{content:"\f553"}.fa-tty:before{content:"\f1e4"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-tv:before{content:"\f26c"}.fa-twitch:before{content:"\f1e8"}.fa-twitter:before{content:"\f099"}.fa-twitter-square:before{content:"\f081"}.fa-typo3:before{content:"\f42b"}.fa-uber:before{content:"\f402"}.fa-ubuntu:before{content:"\f7df"}.fa-uikit:before{content:"\f403"}.fa-umbraco:before{content:"\f8e8"}.fa-umbrella:before{content:"\f0e9"}.fa-umbrella-beach:before{content:"\f5ca"}.fa-uncharted:before{content:"\e084"}.fa-underline:before{content:"\f0cd"}.fa-undo:before{content:"\f0e2"}.fa-undo-alt:before{content:"\f2ea"}.fa-uniregistry:before{content:"\f404"}.fa-unity:before{content:"\e049"}.fa-universal-access:before{content:"\f29a"}.fa-university:before{content:"\f19c"}.fa-unlink:before{content:"\f127"}.fa-unlock:before{content:"\f09c"}.fa-unlock-alt:before{content:"\f13e"}.fa-unsplash:before{content:"\e07c"}.fa-untappd:before{content:"\f405"}.fa-upload:before{content:"\f093"}.fa-ups:before{content:"\f7e0"}.fa-usb:before{content:"\f287"}.fa-user:before{content:"\f007"}.fa-user-alt:before{content:"\f406"}.fa-user-alt-slash:before{content:"\f4fa"}.fa-user-astronaut:before{content:"\f4fb"}.fa-user-check:before{content:"\f4fc"}.fa-user-circle:before{content:"\f2bd"}.fa-user-clock:before{content:"\f4fd"}.fa-user-cog:before{content:"\f4fe"}.fa-user-edit:before{content:"\f4ff"}.fa-user-friends:before{content:"\f500"}.fa-user-graduate:before{content:"\f501"}.fa-user-injured:before{content:"\f728"}.fa-user-lock:before{content:"\f502"}.fa-user-md:before{content:"\f0f0"}.fa-user-minus:before{content:"\f503"}.fa-user-ninja:before{content:"\f504"}.fa-user-nurse:before{content:"\f82f"}.fa-user-plus:before{content:"\f234"}.fa-user-secret:before{content:"\f21b"}.fa-user-shield:before{content:"\f505"}.fa-user-slash:before{content:"\f506"}.fa-user-tag:before{content:"\f507"}.fa-user-tie:before{content:"\f508"}.fa-user-times:before{content:"\f235"}.fa-users:before{content:"\f0c0"}.fa-users-cog:before{content:"\f509"}.fa-users-slash:before{content:"\e073"}.fa-usps:before{content:"\f7e1"}.fa-ussunnah:before{content:"\f407"}.fa-utensil-spoon:before{content:"\f2e5"}.fa-utensils:before{content:"\f2e7"}.fa-vaadin:before{content:"\f408"}.fa-vector-square:before{content:"\f5cb"}.fa-venus:before{content:"\f221"}.fa-venus-double:before{content:"\f226"}.fa-venus-mars:before{content:"\f228"}.fa-vest:before{content:"\e085"}.fa-vest-patches:before{content:"\e086"}.fa-viacoin:before{content:"\f237"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-vial:before{content:"\f492"}.fa-vials:before{content:"\f493"}.fa-viber:before{content:"\f409"}.fa-video:before{content:"\f03d"}.fa-video-slash:before{content:"\f4e2"}.fa-vihara:before{content:"\f6a7"}.fa-vimeo:before{content:"\f40a"}.fa-vimeo-square:before{content:"\f194"}.fa-vimeo-v:before{content:"\f27d"}.fa-vine:before{content:"\f1ca"}.fa-virus:before{content:"\e074"}.fa-virus-slash:before{content:"\e075"}.fa-viruses:before{content:"\e076"}.fa-vk:before{content:"\f189"}.fa-vnv:before{content:"\f40b"}.fa-voicemail:before{content:"\f897"}.fa-volleyball-ball:before{content:"\f45f"}.fa-volume-down:before{content:"\f027"}.fa-volume-mute:before{content:"\f6a9"}.fa-volume-off:before{content:"\f026"}.fa-volume-up:before{content:"\f028"}.fa-vote-yea:before{content:"\f772"}.fa-vr-cardboard:before{content:"\f729"}.fa-vuejs:before{content:"\f41f"}.fa-walking:before{content:"\f554"}.fa-wallet:before{content:"\f555"}.fa-warehouse:before{content:"\f494"}.fa-watchman-monitoring:before{content:"\e087"}.fa-water:before{content:"\f773"}.fa-wave-square:before{content:"\f83e"}.fa-waze:before{content:"\f83f"}.fa-weebly:before{content:"\f5cc"}.fa-weibo:before{content:"\f18a"}.fa-weight:before{content:"\f496"}.fa-weight-hanging:before{content:"\f5cd"}.fa-weixin:before{content:"\f1d7"}.fa-whatsapp:before{content:"\f232"}.fa-whatsapp-square:before{content:"\f40c"}.fa-wheelchair:before{content:"\f193"}.fa-whmcs:before{content:"\f40d"}.fa-wifi:before{content:"\f1eb"}.fa-wikipedia-w:before{content:"\f266"}.fa-wind:before{content:"\f72e"}.fa-window-close:before{content:"\f410"}.fa-window-maximize:before{content:"\f2d0"}.fa-window-minimize:before{content:"\f2d1"}.fa-window-restore:before{content:"\f2d2"}.fa-windows:before{content:"\f17a"}.fa-wine-bottle:before{content:"\f72f"}.fa-wine-glass:before{content:"\f4e3"}.fa-wine-glass-alt:before{content:"\f5ce"}.fa-wix:before{content:"\f5cf"}.fa-wizards-of-the-coast:before{content:"\f730"}.fa-wodu:before{content:"\e088"}.fa-wolf-pack-battalion:before{content:"\f514"}.fa-won-sign:before{content:"\f159"}.fa-wordpress:before{content:"\f19a"}.fa-wordpress-simple:before{content:"\f411"}.fa-wpbeginner:before{content:"\f297"}.fa-wpexplorer:before{content:"\f2de"}.fa-wpforms:before{content:"\f298"}.fa-wpressr:before{content:"\f3e4"}.fa-wrench:before{content:"\f0ad"}.fa-x-ray:before{content:"\f497"}.fa-xbox:before{content:"\f412"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-y-combinator:before{content:"\f23b"}.fa-yahoo:before{content:"\f19e"}.fa-yammer:before{content:"\f840"}.fa-yandex:before{content:"\f413"}.fa-yandex-international:before{content:"\f414"}.fa-yarn:before{content:"\f7e3"}.fa-yelp:before{content:"\f1e9"}.fa-yen-sign:before{content:"\f157"}.fa-yin-yang:before{content:"\f6ad"}.fa-yoast:before{content:"\f2b1"}.fa-youtube:before{content:"\f167"}.fa-youtube-square:before{content:"\f431"}.fa-zhihu:before{content:"\f63f"}.sr-only{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}@font-face{font-family:"Font Awesome 5 Brands";font-style:normal;font-weight:400;font-display:block;src:url(fa-brands-400.eot);src:url(fa-brands-400.eot?#iefix) format("embedded-opentype"),url(fa-brands-400.woff2) format("woff2"),url(fa-brands-400.woff) format("woff"),url(fa-brands-400.ttf) format("truetype"),url(fa-brands-400.svg#fontawesome) format("svg")}.fab{font-family:"Font Awesome 5 Brands"}@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:400;font-display:block;src:url(fa-regular-400.eot);src:url(fa-regular-400.eot?#iefix) format("embedded-opentype"),url(fa-regular-400.woff2) format("woff2"),url(fa-regular-400.woff) format("woff"),url(fa-regular-400.ttf) format("truetype"),url(fa-regular-400.svg#fontawesome) format("svg")}.fab,.far{font-weight:400}@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:900;font-display:block;src:url(fa-solid-900.eot);src:url(fa-solid-900.eot?#iefix) format("embedded-opentype"),url(fa-solid-900.woff2) format("woff2"),url(fa-solid-900.woff) format("woff"),url(fa-solid-900.ttf) format("truetype"),url(fa-solid-900.svg#fontawesome) format("svg")}.fa,.far,.fas{font-family:"Font Awesome 5 Free"}.fa,.fas{font-weight:900} diff --git a/public/fontawesome/fontawesome.js b/public/fontawesome/fontawesome.js new file mode 100644 index 000000000..62243a17b --- /dev/null +++ b/public/fontawesome/fontawesome.js @@ -0,0 +1,5 @@ +/*! + * Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com + * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) + */ +!function(){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var n=0;n>>0;n--;)e[n]=t[n];return e}function Ct(t){return t.classList?At(t.classList):(t.getAttribute("class")||"").split(" ").filter(function(t){return t})}function Ot(t,e){var n,a=e.split("-"),r=a[0],i=a.slice(1).join("-");return r!==t||""===i||(n=i,~H.indexOf(n))?null:i}function Pt(t){return"".concat(t).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function St(n){return Object.keys(n||{}).reduce(function(t,e){return t+"".concat(e,": ").concat(n[e],";")},"")}function Nt(t){return t.size!==yt.size||t.x!==yt.x||t.y!==yt.y||t.rotate!==yt.rotate||t.flipX||t.flipY}function Mt(t){var e=t.transform,n=t.containerWidth,a=t.iconWidth,r={transform:"translate(".concat(n/2," 256)")},i="translate(".concat(32*e.x,", ").concat(32*e.y,") "),o="scale(".concat(e.size/16*(e.flipX?-1:1),", ").concat(e.size/16*(e.flipY?-1:1),") "),c="rotate(".concat(e.rotate," 0 0)");return{outer:r,inner:{transform:"".concat(i," ").concat(o," ").concat(c)},path:{transform:"translate(".concat(a/2*-1," -256)")}}}var zt={x:0,y:0,width:"100%",height:"100%"};function Et(t){var e=!(1").concat(o.map(Zt).join(""),"")}var $t=function(){};function te(t){return"string"==typeof(t.getAttribute?t.getAttribute(tt):null)}var ee={replace:function(t){var e=t[0],n=t[1].map(function(t){return Zt(t)}).join("\n");if(e.parentNode&&e.outerHTML)e.outerHTML=n+(et.keepOriginalSource&&"svg"!==e.tagName.toLowerCase()?"\x3c!-- ".concat(e.outerHTML," Font Awesome fontawesome.com --\x3e"):"");else if(e.parentNode){var a=document.createElement("span");e.parentNode.replaceChild(a,e),a.outerHTML=n}},nest:function(t){var e=t[0],n=t[1];if(~Ct(e).indexOf(et.replacementClass))return ee.replace(t);var a=new RegExp("".concat(et.familyPrefix,"-.*"));delete n[0].attributes.style,delete n[0].attributes.id;var r=n[0].attributes.class.split(" ").reduce(function(t,e){return e===et.replacementClass||e.match(a)?t.toSvg.push(e):t.toNode.push(e),t},{toNode:[],toSvg:[]});n[0].attributes.class=r.toSvg.join(" ");var i=n.map(function(t){return Zt(t)}).join("\n");e.setAttribute("class",r.toNode.join(" ")),e.setAttribute(tt,""),e.innerHTML=i}};function ne(t){t()}function ae(n,t){var a="function"==typeof t?t:$t;if(0===n.length)a();else{var e=ne;et.mutateApproach===S&&(e=v.requestAnimationFrame||ne),e(function(){var t=!0===et.autoReplaceSvg?ee.replace:ee[et.autoReplaceSvg]||ee.replace,e=Yt.begin("mutate");n.map(t),e(),a()})}}var re=!1;function ie(){re=!1}var oe=null;function ce(t){if(l&&et.observeMutations){var r=t.treeCallback,i=t.nodeCallback,o=t.pseudoElementsCallback,e=t.observeMutationsRoot,n=void 0===e?b:e;oe=new l(function(t){re||At(t).forEach(function(t){if("childList"===t.type&&0 + @@ -6,11 +6,9 @@ - - - + Studio :: HarperDB @@ -18,7 +16,7 @@
- + diff --git a/public/running.html b/public/running.html new file mode 100644 index 000000000..0baa37903 --- /dev/null +++ b/public/running.html @@ -0,0 +1,100 @@ + + + + + HarperDB is Running + + + + + + +
+ +
+ HarperDB is Running +
+ +
+
+
+ + + diff --git a/src/app.scss b/src/app.scss index 6937e231c..5ca99c9fd 100644 --- a/src/app.scss +++ b/src/app.scss @@ -28,7 +28,6 @@ @import 'assets/styles/pages/auth'; @import 'assets/styles/pages/config'; @import 'assets/styles/pages/clustering'; -@import 'assets/styles/pages/functions'; @import 'assets/styles/pages/resources'; @import 'assets/styles/pages/charts'; @import 'assets/styles/pages/query'; diff --git a/src/assets/styles/components/_button.scss b/src/assets/styles/components/_button.scss index aeaaaa14a..049d8cc8a 100644 --- a/src/assets/styles/components/_button.scss +++ b/src/assets/styles/components/_button.scss @@ -65,11 +65,23 @@ color: $color-white !important; } + &.btn-outline-success { + background-color: $color-white !important; + border-color: $color-success !important; + color: $color-success !important; + } + &.btn-danger { background-color: $color-danger !important; color: $color-white !important; } + &.btn-outline-danger { + background-color: $color-white !important; + border-color: $color-danger !important; + color: $color-danger !important; + } + &.btn-grey { background-color: $color-darkgrey !important; color: $color-white !important; diff --git a/src/assets/styles/components/_card.scss b/src/assets/styles/components/_card.scss index c54f49cf9..e269fb9f2 100644 --- a/src/assets/styles/components/_card.scss +++ b/src/assets/styles/components/_card.scss @@ -20,7 +20,7 @@ background: $color-white !important; border: 1px solid $color-lightgrey; border-radius: $border-radius !important; - box-shadow: 2px 2px 8px 2px rgba(0,0,0,0.15) !important; + box-shadow: 0 0 8px $lighter-grey-overlay !important; color: $color-darkgrey !important; .card-body { diff --git a/src/assets/styles/components/_forms.scss b/src/assets/styles/components/_forms.scss index ab6c24167..fc41c7a55 100644 --- a/src/assets/styles/components/_forms.scss +++ b/src/assets/styles/components/_forms.scss @@ -3,7 +3,7 @@ select, textarea, .fake-input, .form-control { - background: $color-white !important; + border: 1px solid $lighter-grey-overlay !important; border-radius: $border-radius; box-shadow: none !important; @@ -12,13 +12,31 @@ textarea, font-size: $font-size-root; font-weight: $font-weight-light; height: 38px; + outline: 0; transition: none; width: 100%; + &:checked { + outline: 0 !important; + } + &.is-invalid, &.error { border: 1px solid $color-danger !important; } + + &[readOnly], + &[readOnly]:active, + &[readOnly]:focus { + border: 1px solid $lightest-grey-overlay !important; + cursor: not-allowed !important; + outline-color: transparent !important; + user-select: none !important; + } + + &.is-valid { + border: 1px solid $lightest-grey-overlay !important; + } } .form-validation-error { @@ -71,8 +89,6 @@ textarea { white-space: nowrap; } - - .subdomain-form { padding-right: 0; width: 120px; diff --git a/src/assets/styles/components/_modal.scss b/src/assets/styles/components/_modal.scss index a68a11e12..f31450671 100644 --- a/src/assets/styles/components/_modal.scss +++ b/src/assets/styles/components/_modal.scss @@ -55,8 +55,8 @@ &::before { color: $color-white; - content: '\f00d'; - font-family: 'FontAwesome', sans-serif; + content: '\f057'; + font-family: 'Font Awesome 5 Free', sans-serif; } } diff --git a/src/assets/styles/components/_react-table.scss b/src/assets/styles/components/_react-table.scss index 1c9a0fcee..cf89770fe 100755 --- a/src/assets/styles/components/_react-table.scss +++ b/src/assets/styles/components/_react-table.scss @@ -8,7 +8,7 @@ width: 100%; @media screen and (max-width: 767px) { - min-height: 150px; + min-height: calc(100vh - 626px); } .header { diff --git a/src/assets/styles/components/_subnav.scss b/src/assets/styles/components/_subnav.scss index 3ce8c3d92..6dda9699e 100644 --- a/src/assets/styles/components/_subnav.scss +++ b/src/assets/styles/components/_subnav.scss @@ -76,7 +76,7 @@ .nav-link, a { - color: $white-overlay !important; + color: $whiter-overlay !important; display: inline-block; padding: 0 !important; position: relative; diff --git a/src/assets/styles/components/_topnav.scss b/src/assets/styles/components/_topnav.scss index e25bf61c0..344a1c1a0 100644 --- a/src/assets/styles/components/_topnav.scss +++ b/src/assets/styles/components/_topnav.scss @@ -58,7 +58,7 @@ .btn-link, .nav-link, a { - color: $white-overlay !important; + color: $whiter-overlay !important; display: inline-block; min-width: 15px; padding: 0 !important; diff --git a/src/assets/styles/components/_web-ide.scss b/src/assets/styles/components/_web-ide.scss index f4473d66b..03c688602 100644 --- a/src/assets/styles/components/_web-ide.scss +++ b/src/assets/styles/components/_web-ide.scss @@ -1,999 +1,234 @@ -.dark { - .no-projects { - .docs-link { - color: #ee81ee !important; - } - } - +#webide{ color: $color-white; - .editor.current-file-path { - border-bottom: 1px solid transparent; - } - - .default-window-option { - span { - color: $color-white; - } - - } - - .name-input { - .validation-message { - color: $color-danger; - } - - .name-input-container { - input.invalid { - border: 1px solid $color-danger !important; - outline-color: $color-danger !important; - } - - .invalid-project-name { - color: $color-danger; - } - } - } - - - .package-install-window { - background: rgb(17, 17, 17); - } - - .file.folder-selected { - background: rgba(200, 200, 200, 0.2) !important; - } - .file-menu, .editor-menu { - border-bottom: 1px solid rgb(60, 60, 60) !important; - } - - .file-browser button > span { - color: $color-white !important; - } - - .file-browser .file.file-selected > span { - color: #ee81ee !important; - } - - - button[disabled]:hover, - button[disabled] { - color: #5e5e5e !important; - } - - -} - -.purple { - button[disabled]:hover, - button[disabled] { - color: #5e5e5e !important; - } - - - .default-window-option span { - color: $color-white !important; - } - - .editor-window .default-window .default-window-container { - background: $color-pureblack !important; - color: $color-white; - } - - .no-projects { - color: $color-white; - - .docs-link { - color: #ee81ee !important; - } - } - - color: $color-white; - - color: rgb(105, 105, 105); - - color: rgb(105, 105, 105); - - .name-input { - .name-input-container { - input.invalid:focus { - border: 1px solid #ea4c89 !important; - outline-color: #ea4c89 !important; - } - } - - .validation-message { - color: $color-danger; - margin-top: 8px; - } - - & > input.invalid { - border: 1px solid $color-danger !important; - outline-color: $color-danger !important; - } - - - - .invalid-text { - color: red !important; - } - - .invalid-project-name { - color: $color-danger; - } - } - - .editor-window .cancel-button { - color: rgb(105, 105, 105);; - } - - .editor-window .cancel-button:hover { - color: $color-white; - } - - .package-install-window { - background: $color-white; - } - - .editor.current-file-path { - border-bottom: 1px solid lightgray; - } - - - .default-window-option { - span { - color: rgb(105, 105, 105); - } - } - - .cancel-button { - color: #5c636a; - } - - .file.folder-selected { - background: rgba(200, 200, 200, 0.2) !important; - } - - .editor-window { + align-items: baseline; display: flex; - flex-direction: column; - - .current-file-path { - background: rgb(26, 26, 26); - } - - } - - .file-menu, - .editor-menu { - border-bottom: 1px solid darkgray !important; - } - - .revert-file[disabled], - .save-code[disabled] { - color: #c2c2c2 !important; - } - - .file-browser-scroll-container { - } - - .file-browser button { - color: lightgray; - } - - .delete-file-icon[disabled] { - // color: #5e5e5e !important; - color: #c2c2c2; - } - - -} - - -.akamai, -.light { - .editor-window { - border: 1px solid $color-lightergrey; - } - - .name-input { - .validation-message { - color: $color-danger; - } + flex-direction: row; + margin-bottom: 16px; + margin-top: 0; + padding-bottom: 0; + padding-inline-start: 0 !important; + padding-top: 0; + + .file-menu-item, + .editor-menu-item { + color: $color-white !important; + list-style-type: none; + margin: 0 4px !important; - .name-input-container { - input.invalid { - border: 1px solid $color-danger !important; - outline-color: $color-danger !important; + button { + background: transparent !important; + border: 0; + color: $color-white !important; + font-weight: bold; + margin: 0; + outline: none !important; + padding: 0; } - .invalid-project-name { - color: $color-danger; + button:disabled, + button[disabled], + button:disabled::before, + button[disabled]::before{ + color: $white-overlay !important; + cursor: not-allowed; } } } - - .no-projects { - color: rgb(105, 105, 105); - } - - color: rgb(105, 105, 105); - - .package-install-window { - background: $color-white; - } - - .editor.current-file-path { - border-bottom: 1px solid lightgray; - } - - .restart-instance-on-save-text { - color: rgb(240, 240, 240) !important; - } - - .file-menu button[disabled], - .editor-menu button[disabled] { - color: rgb(240, 240, 240) !important; - // #5e5e5e; - } - - .file.folder-selected { - background: rgba(200, 200, 200, 0.2) !important; - //background: lightgray !important; - } - - .file-menu, - .editor-menu { - border-bottom: 1px solid lightgray !important; - } - - - .file-menu button { - color: #b1b1b1; - } - - .file-icon.filetype-unknown { - color: #b1b1b1 !important; - } - - .editor-window button:hover { - color: $color-white; - //rgb(105,105,105); - } - - .editor-window button { - color: rgb(105, 105, 105); - } - - .install-package-icon { - color: #f24242 !important; - } - - .add-project-icon { - color: rgb(25, 168, 148) !important; - } - - .file-menu { - color: rgb(105, 105, 105); - } - - .default-window-option { - span { - color: rgb(105, 105, 105); - } - } -} - -.web-ide { - .button-with-loader { - min-width: 105px; - - &.loading { - color: transparent; - } - - .button-with-loader-icon { - width: 100%; - display: flex; - flex-direction: row; - align-items: center; - justify-content: center; - } - - } - .cancel-button { - margin-left: 10px; - } - // general stuff - height: 75vh; - overflow: hidden; - - ul, li { - list-style-type: none; - } - - label, button { - white-space: nowrap !important; - } - - input { - padding-left: 8px; - padding-right: 8px; - } - - .add-project-icon:hover, - .default-window .add-project-icon { - color: rgb(25, 168, 148); // always green - } - - - li { - margin: 0 5px 5px 0; - padding: 0 5px 0 0; - } - - .default-window .install-package-icon, - .install-package-icon:hover { - color: #f24242; - } - - .menu-pointer-icon { - color: rgb(143, 141, 255); - } - - .add-folder-icon:hover, - .delete-folder-icon:hover { - color: rgb(143, 141, 255); - } - - .delete-file-icon:hover { - // color: #ee81ee !important; - } - - - .install-package-icon, - .add-folder-icon, - .add-project-icon, - .upload-file-icon, - .delete-folder-icon, - .delete-file-icon, - .add-file-icon { - background: transparent; - border: none; - color: $color-white; - margin: 0; - outline: none !important; - padding: 0; - } - - .file-browser-scroll-container { - - background: transparent; - height: 100%; - overflow-y: auto; + .editor-menu, + .file-menu-right { + justify-content: right !important; } .file-browser-outer-container { - - height: 100%; - padding: 20px; - - .file-menu { - color: $color-white; - - display: flex; - flex-direction: row; - margin-bottom: 20px; - margin-top: 0; - padding-bottom: 0; - padding-top: 0; - - .file-menu-item { - align-items: flex-end; - display: flex; - flex-direction: row; - } + .card-body { + background: transparent !important; + padding: 0 !important; } + .file-browser-scroll-container { + background: $color-pureblack !important; + border: 1px solid $color-darkestgrey !important; + border-radius: $border-radius; + height: calc(100vh - 237px) !important; + overflow-x: hidden; + overflow-y: auto; - .file-browser { - - margin-left: 0; - padding: 20px; - padding-left: 0; - - .folder-container { - margin-bottom: 0; - padding-bottom: 0; - padding-left: 0; - - - .rename-file, - .deploy-project { - margin-left: 8px; - } - - .rename-file { - color: transparent; - } - - .file { - &.file-selected { - color: #ee81ee; - //background: #191919 !important; - // background: #4a4a4a !important; - //border: 1px solid rgb(120,120,120);; - } - - &.folder-selected { - //background: #2c2c2c !important; - } - } - - .package.package-selected { - color: #f24242; - } - - .project-icon { - color: rgb(25, 168, 148); - - } - - .package-icon { - color: #f24242; - } - - .file, - .package { - - background: transparent; - border: 1px solid transparent; - list-style-type: none; - margin: 0; - outline: none !important; // TODO: fix this because it is not accessible; style differently - padding: 3px; - white-space: nowrap; - - &.selected { - } - - .package-text, - .filename-text { - padding-left: 5px; - } - - .file-icon.filetype-js { - color: #f7df1e; - } - - .file-icon.filetype-yaml { - color: #c4c4ff; - } - - .file-icon.filetype-unknown { - color: lightgray; - } - - .folder-icon { - color: rgb(143 141 255); - } - } - - .folder { - padding-left: 15px; - } - - - .folder.folder-contents-closed { - display: none; - - } - - .folder.folder-contents-open { - display: block; - } - } - - - } - } - - // top-level element: editor window (right side) - // contains code editor and project management windows - .editor-window-container { - display: flex; - flex-direction: column; - height: 100%; - - padding: 20px; - - .editor-menu { - align-items: baseline; - border-bottom: 1px solid #2e2e2e; - color: $color-white; - display: flex; - flex-direction: row; - justify-content: left; - margin-bottom: 20px; - margin-top: 0; - padding-bottom: 0; - padding-top: 0; - - & > li { - margin: 0 5px 5px 0; - padding: 0 5px 0 0; - } - - button[disabled], - button[disabled]:hover { - color: #5e5e5e; - } - - .restart-instance-after-save, - .restart-instance { - background: transparent; - border: 1px solid transparent; - display: flex; - flex-direction: row; - margin: 0; - outline: none !important; - padding: 3px; - - & > i { - color: #ee81ee; - } - } - - .revert-file, - .save-code { - background: transparent; - border: none; - color: #ee81ee; - cursor: pointer; - margin: 0; - outline: none !important; - padding: 0; - } - - .revert-file[disabled], - .save-code[disabled] { - color: #5e5e5e; - cursor: default; - } - } - - .editor-window { - align-items: center; - display: flex; - flex-direction: column; - - height: 100%; - justify-content: center; - width: 100%; - - - .name-input { - display: flex; - flex-direction: column; - width: 50%; - - - .validation-message { - margin-top: 8px; - } - - .name-input-container { - align-items: center; - display: flex; - - flex-direction: row; - - .invalid-project-name { - margin-left: 15px; - } - - .hidden { - visibility: hidden; - } - } - - .name-input-buttons-container { - padding-top: 10px; - } - } - - .delete-folder-window-title, - .delete-file-window-title, - .delete-package-window-title, - .folder-to-delete { - align-self: flex-start; - font-size: 1.3em; - font-weight: bold; - } - - .folder-to-delete-parent-project { - color: $color-danger; - font-weight: bold; - } - - .delete-package-window-controls { - .package-to-delete { - color: $color-danger; - - font-weight: bold; - } - } - - - .delete-folder-window-controls { - .folder-to-delete { - } - - .folder-to-delete-parent-project { - } - } - - .delete-file-window-container { - display: flex; - flex-direction: column; - - .delete-file-window-title { - align-self: flex-start; - } - - - } - - .delete-file-window-controls { - .file-to-delete { - color: $color-danger; - font-weight: bold; - } - - - .file-to-delete-parent-project { - font-weight: bold; - // color: rgb(25, 168, 148); - // color: $color-danger; - - } - } - - .default-window { - .default-window-container { - h4 { - padding-bottom: 80px; - } - - .default-window-option { - line-height: 2.5em; - - span, - button > span { - margin-left: 20px; - } - - span { - // color: white; - } - - .add-project-button-text, - .install-package-button-text { - // color: white; - } - } - } - } - - - - .default-window-container, - .name-project-window-container, - .name-project-folder-window-container, - .name-file-window-container, - .delete-file-window-container, - .delete-folder-window-container, - .delete-package-window-container { - align-items: center; - display: flex; - flex-direction: column; - height: 100%; - justify-content: center; - width: 100%; - } - - .default-window, - .name-project-window, - .name-project-folder-window, - .name-file-window, - .delete-package-window, - .delete-file-window, - .delete-folder-window { - align-items: center; - display: flex; - flex-direction: column; - height: 100%; - justify-content: center; - width: 100%; - } - - .name-project-window-title, - .name-file-window-title { - text-align: center; - } - - .card-body { + @media(max-width: 767px) { + max-height: 250px; } - .name-file-window { - display: flex; - flex-direction: column; - height: 100%; - width: 100%; - - .name-file-window-container { - display: flex; - flex-direction: column; - height: 100%; + .file-browser { + list-style-type: none !important; + margin-left: 0; + padding: 0 !important; + position: relative; + > li { + border-bottom: 1px solid $white-overlay; + padding: 10px 5px; width: 100%; - } - } - .package-install-window { - .install-package-button { - align-items: center; - display: inline-flex; - justify-content: center; - width: 105px; - - .install-package-status-icon { + &:last-child { + border-bottom: 0 !important; } } - &.github { - line-height:0.5em; - } - display: flex; - flex-direction: column; - height: 100%; - justify-content: center; - padding-left: 25%; - padding-right: 25%; - - width: 100%; - - .package-install-window-title { - font-size: 1.5em; - font-weight: bold; - text-align: center; - } - - - .card { - border: 0 solid transparent !important; - } - - .package-install-source-form { - align-items: center; - - display: flex; - flex-direction: row; - height: 100px; - - justify-content: center; - padding-left: 25%; - padding-right: 25%; - - width: 100%; - - - .package-install-option-container { - align-items: center; - display: flex; - flex-direction: column; - justify-content: center; - width: 100px; - - - .package-install-source-icon { - font-size: 2em; - margin-bottom: 5px; - } - - .package-install-source-option { - height: 25px; - width: 25px; + .folder { + list-style-type: none !important; + padding: 0 !important; + padding-inline-start: 8px !important; + + .folder-container { + button::before, + i::before { + background: transparent !important; + border: 0; + font-size: 16px !important; + margin: 0; + outline: none !important; + padding: 0; } - } - } - - - .package-install-details-form { - .project-name-invalid-text { - - color: $color-danger !important; - display: block; - margin-bottom: 20px; - } - - - .package-install-input-container { - display: flex; - flex-direction: column; - - margin-bottom: 20px; - - - .project-name-input.invalid:focus, - .project-name-input.invalid { - border: 1px solid $color-danger !important; - outline-color: $color-danger !important; + .package-text, + .filename-text { + color: $color-grey !important; + font-size: 14px !important; + padding-left: 8px; } - - .search-status-icon-container { - text-align: center; - width: 40px; - - i { - color: $color-white; - - - &.not-searching { - color: $color-white; //rgba(0,255,0, 0.1); - } - - - &.found, &.loading { - color: green; - } - - &.not-found { - color: rgb(145, 50, 120); - } - - + .file, + .package { + background: transparent; + border: 0; + margin: 1px 0; + outline: none !important; // TODO: fix this because it is not accessible; style differently + padding: 3px; + text-align: left; + white-space: nowrap; + + .project-icon, + .package-icon { + color: $color-success; } - } - .package-install-deploy-targets-dropdown { - } + .folder-icon { + color: $color-info; + } + .filetype-js { + color: $color-warning; + } - .package-install-github-query-container { - .package-install-github-user { - margin-bottom: 20px; + .filetype-yaml { + color: $color-primary; } - .package-install-github-repo-lookup { - margin-bottom: 20px; + .filetype-unknown { + color: $color-lightgrey; + } - .github-package-search-box { - align-items: center; - display: flex; - flex-direction: row; - justify-content: center; + &.folder-selected { + .filename-text { + color: $color-white !important; + } + } + &.package-selected { + .package-text { + color: $color-white !important; } } - } - .package-install-npm-lookup { - .package-install-npm-query-container { - align-items: center; - display: flex; - flex-direction: row; - margin-bottom: 20px; + &.file-selected { + .filename-text { + color: $color-white !important; + + &::after { + content: '\f35a' !important; + font-family: 'Font Awesome 5 Free', sans-serif !important; + font-size: 16px; + position: absolute; + right: 8px; + } + } } } - } } - } + } + } - .editor { - &.current-file-path::before { - } - - - &.current-file-path { - align-self: flex-start; - color: darkgray; - - .current-file-path-icon { - padding: 5px; - - } - } - + .editor-window-container { + .editor-window { + background: $color-pureblack !important; + border: 1px solid $color-darkestgrey !important; + border-radius: $border-radius; + height: calc(100vh - 237px) !important; + min-height: 281px; + overflow:hidden; + padding: 1vh 0; - width: 100%; + @media(max-width: 767px) { + max-height: calc(100vh - 515px) } - .package-install-source-form { - align-items: center; - display: flex; - flex-direction: column; - height: 100%; - justify-content: center; - width: 100%; - - .package-install-source-icon { - font-size: 2em; - - &.fab.fa-npm { - color: rgb(145, 50, 120); - font-size: 3em; - } - - &.fa-github, - &.fa-link { - padding: 5px; - } - - &.fa-link { - color: lightgray; - } - - &.fa-github { - color: rgb(28, 182, 149); - } - } - - .package-type { - border: 0 solid transparent !important; - display: flex; - flex-direction: row; - margin-bottom: 30px; - - label { - display: flex; - flex-direction: column; - justify-content: space-between; - min-width: 80px; - text-align: center; - } - - input:focus { - outline: none !important; - } - - input { - margin-top: 10px; - } + .card-body { + padding: 0 !important; + } - } + > section, + > section > div, + .monaco-editor, + .overflow-guard, + .card { + height: 70.8vh !important; } - .filename-dialog { - align-items: center; - display: flex; - height: 100%; - justify-content: center; - width: 100%; + .monaco-editor { + background: transparent !important; } } - } -} -@media(max-width: 814px) { - .web-ide { - overflow: initial; + .content-window { + align-items: center; + display: flex; + flex-direction: column; + height: 100%; + justify-content: flex-start; + margin: 40px auto 0; + max-width: 400px; + width: 100%; - .file-browser-outer-container { - height: auto; - overflow-y: auto; + .react-select__single-value { + color: $color-white; } - .file-browser-scroll-container { - max-height: 500px; + .react-select__input-container { + margin: 0 !important; + padding: 0 !important; + } + + hr { + background-color: $color-white !important; + color: $color-white !important; + } + + .form-control { + background: transparent !important; + border: 1px solid $color-white !important; + border-radius: 0 !important; + color: $color-white !important; + + &:active, + &:focus { + border: 1px solid $color-white !important; + } } } } diff --git a/src/assets/styles/core/_global.scss b/src/assets/styles/core/_global.scss index 62223f52e..2b01b300d 100644 --- a/src/assets/styles/core/_global.scss +++ b/src/assets/styles/core/_global.scss @@ -11,7 +11,7 @@ ul { padding-inline-start: 16px; li { - margin-bottom: 6px; + margin-bottom: 4px; } } @@ -68,16 +68,17 @@ hr { } ::-webkit-scrollbar { - height: 10px; - width: 10px; + height: 3px; + width: 3px; } ::-webkit-scrollbar-track { - background: $color-white; + background: transparent; + border: 0; } ::-webkit-scrollbar-thumb { - background-color: $light-grey-overlay; - border: 2px solid $color-white; - border-radius: $border-radius; + background-color: $color-grey; + border: 0; + border-radius: 0; } diff --git a/src/assets/styles/core/_vars.scss b/src/assets/styles/core/_vars.scss index 80248f4c6..7eee4ce45 100644 --- a/src/assets/styles/core/_vars.scss +++ b/src/assets/styles/core/_vars.scss @@ -10,11 +10,11 @@ $color-lightergrey: #ededed; $color-lightestgrey: #efefef; $color-white: #fefefe; -$color-primary: #0280c4; +$color-primary: #c4c4ff; $color-success: #55c58f; $color-warning: #ffa500; $color-danger: #ea4c89; -$color-info: #3360b3; +$color-info: #8F8DFF; $color-darkpurple: #312556; $color-purple: #403b8a; $color-lightpurple: #7a3a87; diff --git a/src/assets/styles/overrides/_akamai.scss b/src/assets/styles/overrides/_akamai.scss index 5ae6703de..7f1354f8a 100644 --- a/src/assets/styles/overrides/_akamai.scss +++ b/src/assets/styles/overrides/_akamai.scss @@ -205,10 +205,25 @@ $partner-brand-color: #017ac6; } &-footer { - color: $color-black; + color: $color-black !important; } } + .editor-menu-item, + .file-menu-item { + span, + i { + color: $color_black !important; + } + + button[disabled] { + span, + i { + color: $color_grey !important; + } + } + } + .content-container { .header-container { border-bottom: 1px solid $lighter-grey-overlay; diff --git a/src/assets/styles/overrides/_dark.scss b/src/assets/styles/overrides/_dark.scss index 6e23f0ce3..83b9cecf8 100644 --- a/src/assets/styles/overrides/_dark.scss +++ b/src/assets/styles/overrides/_dark.scss @@ -27,7 +27,7 @@ } a { - color: $color-lightergrey !important; + color: $color-lightgrey !important; &:hover { color: $color-white !important; @@ -35,14 +35,10 @@ } .card { - background: $color-pureblack !important; + background: $faintest-white-overlay !important; border: 1px solid $color-darkestgrey !important; box-shadow: 0 0 5px $color-pureblack !important; color: $color-lightgrey !important; - - .card-body { - background: $gradient-white-lightgrey !important; - } } hr, @@ -82,10 +78,10 @@ border: 1px solid $color-black; .item-row { - background-color: transparent !important; + background-color: $faintest-white-overlay !important; &.active { - background-color: transparent !important; + background-color: $faintest-white-overlay !important; } } } @@ -229,16 +225,6 @@ } } - ::-webkit-scrollbar-track { - background: $color-pureblack; - } - - ::-webkit-scrollbar-thumb { - background-color: $faint-white-overlay; - border: 2px solid $color-pureblack; - border-radius: $border-radius; - } - a, button, input, @@ -259,4 +245,35 @@ border: 1px solid $faint-white-overlay !important; color: $color-white !important; } + + #webide { + .file-browser-outer-container { + .file-browser-scroll-container { + background: $faintest-white-overlay !important; + + .file-browser { + > li { + border-bottom-color: $faint-white-overlay !important; + } + + .folder { + .folder-container { + .file { + &.file-selected { + .filename-text { + color: $color-white !important; + } + } + } + } + } + } + } + } + + .editor-window { + background: $faintest-white-overlay !important; + } + } + } diff --git a/src/assets/styles/overrides/_light.scss b/src/assets/styles/overrides/_light.scss index b952857f2..ae6bbb3e2 100644 --- a/src/assets/styles/overrides/_light.scss +++ b/src/assets/styles/overrides/_light.scss @@ -373,4 +373,74 @@ outline-color: $color-lightpurple !important; } } + + #webide { + color: $color-black !important; + + .file-browser-outer-container { + .file-browser-scroll-container, + .editor-window { + background: $lightest-grey-overlay !important; + border: 1px solid $color-lightgrey !important; + + .file-browser{ + .folder { + .folder-container { + .file, + .package { + &.package-selected { + .package-text { + color: $color-black !important; + } + } + + &.file-selected { + .filename-text { + color: $color-black !important; + } + } + + &.folder-selected { + .filename-text { + color: $color-black !important; + } + } + } + } + } + } + } + + .file-menu-item, + .editor-menu-item { + color: $color-black !important; + + button { + color: $color-black !important; + } + + button:disabled, + button[disabled], + button:disabled::before, + button[disabled]::before { + color: $grey-overlay !important; + } + } + } + } + + .editor-menu-item, + .file-menu-item { + span, + i { + color: $color_black !important; + } + + button[disabled] { + span, + i { + color: $color_grey !important; + } + } + } } diff --git a/src/assets/styles/pages/_config.scss b/src/assets/styles/pages/_config.scss index e20fc7c38..0285683ce 100644 --- a/src/assets/styles/pages/_config.scss +++ b/src/assets/styles/pages/_config.scss @@ -1,6 +1,14 @@ +#local-studio { + #config { + .instance-details { + min-height: auto !important; + } + } +} + #config { .instance-details { - min-height: 158px; + min-height: 152px; .card-body { padding-bottom: 0; @@ -15,19 +23,24 @@ .item-list { font-size: 0.65rem; + padding: 0; + + .header { + padding: 16px 16px 8px; + } + + hr { + background-color: $color-grey !important; + } .item-scroller { - height: calc(100vh - 500px); + height: calc(100vh - 494px); overflow-x: hidden; overflow-y: auto; - @media only screen and (max-width: 991px) { - height: auto; - } - .item-row { border-bottom: 1px solid $lightest-grey-overlay; - padding: 8px 0; + padding: 16px; .text-nowrap { overflow: hidden; diff --git a/src/assets/styles/pages/_functions.scss b/src/assets/styles/pages/_functions.scss deleted file mode 100644 index c01ebf2f6..000000000 --- a/src/assets/styles/pages/_functions.scss +++ /dev/null @@ -1,2 +0,0 @@ -#functions { -} diff --git a/src/components/App.js b/src/components/App.js index 18cff9c12..cb4f3c144 100644 --- a/src/components/App.js +++ b/src/components/App.js @@ -22,12 +22,10 @@ import getProducts from '../functions/api/lms/getProducts'; import getRegions from '../functions/api/lms/getRegions'; import getWavelengthRegions from '../functions/api/lms/getWavelengthRegions'; import getCurrentVersion from '../functions/api/lms/getCurrentVersion'; -import getPostManCollection from '../functions/examples/getPostManCollection'; import checkVersion from '../functions/app/checkVersion'; import init from '../functions/app/init'; import refreshUser from '../functions/app/refreshUser'; import changeFavIcon from '../functions/app/changeFavIcon'; -import getThemes from '../functions/app/getThemes'; import getAkamaiRegions from '../functions/api/lms/getAkamaiRegions'; const TopNav = lazy(() => import(/* webpackChunkName: "topnav" */ './TopNav')); @@ -37,7 +35,6 @@ const ResetPassword = lazy(() => import(/* webpackChunkName: "resetPassword" */ const UpdatePassword = lazy(() => import(/* webpackChunkName: "updatePassword" */ './auth/UpdatePassword')); const Organization = lazy(() => import(/* webpackChunkName: "organization" */ './organization')); const Organizations = lazy(() => import(/* webpackChunkName: "organizations" */ './organizations')); -const Resources = lazy(() => import(/* webpackChunkName: "resources" */ './resources')); const Instances = lazy(() => import(/* webpackChunkName: "instances" */ './instances')); const Instance = lazy(() => import(/* webpackChunkName: "instance" */ './instance')); const Profile = lazy(() => import(/* webpackChunkName: "profile" */ './profile')); @@ -69,11 +66,9 @@ function App() { const wavelengthRegions = useStoreState(appState, (s) => s.wavelengthRegions); const akamaiRegions = useStoreState(appState, (s) => s.akamaiRegions); const version = useStoreState(appState, (s) => s.version); - const postmanCollection = useStoreState(appState, (s) => s.postmanCollection); const [fetchingUser, setFetchingUser] = useState(true); const [showVersionAlert, setShowVersionAlert] = useState(false); const [persistedUser, setPersistedUser] = usePersistedUser({}); - const currentTheme = persistedUser?.theme; const loggedIn = auth?.user_id; const isNotEmployee = loggedIn && auth?.email.indexOf('harperdb.io') === -1 && auth?.email.indexOf('deliciousmonster.com') === -1; const isMaintenance = version?.maintenance && isNotEmployee; @@ -85,8 +80,8 @@ function App() { }, [location.pathname]); useEffect(() => { - changeFavIcon(currentTheme); - }, [currentTheme]); + changeFavIcon(persistedUser?.theme); + }, [persistedUser?.theme]); useEffect(() => { setShowVersionAlert(checkVersion({ apiVersion: version.studio })); @@ -117,8 +112,7 @@ function App() { }, [location, canonicalUrl]); useEffect(() => { - init({ auth: persistedUser, location, navigate, setFetchingUser, setPersistedUser, controller }); - getThemes(currentTheme); + init({ currentPath: location.pathname, navigate, persistedUser, setPersistedUser, setFetchingUser, controller }); // eslint-disable-next-line react-hooks/exhaustive-deps }, []); @@ -127,7 +121,6 @@ function App() { if (!regions) getRegions(); if (!wavelengthRegions) getWavelengthRegions(); if (!akamaiRegions) getAkamaiRegions(); - if (!postmanCollection) getPostManCollection(); }, config.refresh_content_interval); useInterval(() => { @@ -139,7 +132,7 @@ function App() {
}> - + {fetchingUser ? ( @@ -150,7 +143,6 @@ function App() { : } path="/update-password" /> : } path="/profile/*" /> - : } path="/resources/*" /> : }> } path="/o/:customer_id/i/:compute_stack_id/*" /> } path="/o/:customer_id/instances/:action?/:purchaseStep?" /> @@ -168,7 +160,6 @@ function App() { } path="/" /> : } path="/sign-up" /> : } path="/reset-password" /> - : } path="/resources/*" /> } /> diff --git a/src/components/LocalApp.js b/src/components/LocalApp.js new file mode 100644 index 000000000..fdd2d2b56 --- /dev/null +++ b/src/components/LocalApp.js @@ -0,0 +1,72 @@ +import React, { useEffect, useState, lazy, Suspense } from 'react'; +import { Route, Routes, Navigate, useNavigate, useLocation } from 'react-router-dom'; +import { ErrorBoundary } from 'react-error-boundary'; + +import usePersistedUser from '../functions/state/persistedUser'; +import config from '../config'; + +import Loader from './shared/Loader'; +import ErrorFallback from './shared/ErrorFallback'; +import ErrorFallbackAuth from './shared/ErrorFallbackAuth'; + +import init from '../functions/app/init'; +import changeFavIcon from '../functions/app/changeFavIcon'; +import useInstanceAuth from '../functions/state/instanceAuths'; + +const TopNav = lazy(() => import(/* webpackChunkName: "topnav" */ './TopNav')); +const Instance = lazy(() => import(/* webpackChunkName: "instance" */ './instance')); +const SignIn = lazy(() => import(/* webpackChunkName: "signIn" */ './auth/LocalSignIn')); + +let controller; + +function LocalApp() { + const navigate = useNavigate(); + const location = useLocation(); + const [fetchingUser, setFetchingUser] = useState(true); + const [persistedUser, setPersistedUser] = usePersistedUser({}); + const [instanceAuths] = useInstanceAuth({}); + + useEffect(() => { + changeFavIcon(persistedUser?.theme); + }, [persistedUser?.theme]); + + useEffect(() => { + init({ currentPath: location.pathname, navigate, persistedUser, setPersistedUser, setFetchingUser, instanceAuths, controller }); + // eslint-disable-next-line react-hooks/exhaustive-deps + }, []); + + return ( +
+
+ }> + + + {fetchingUser ? ( + + ) : instanceAuths?.local?.valid ? ( + + }> + {/* can we put instance routes in here, each in a suspense tag (since they're lazily loaded) */} + + } path="/o/:customer_id/i/:compute_stack_id/*" /> + } /> + + + + ) : ( + + }> + + } path="/" /> + + + + )} +
+
+
HarperDB Local Studio v{config.studio_version}
+
+ ); +} + +export default LocalApp; diff --git a/src/components/TopNav.js b/src/components/TopNav.js index 18afc2f77..dd853b6f6 100644 --- a/src/components/TopNav.js +++ b/src/components/TopNav.js @@ -7,39 +7,49 @@ import { ErrorBoundary } from 'react-error-boundary'; import appState from '../functions/state/appState'; import addError from '../functions/api/lms/addError'; import ErrorFallback from './shared/ErrorFallback'; +import useInstanceAuth from '../functions/state/instanceAuths'; +import config from '../config'; +import usePersistedUser from '../functions/state/persistedUser'; -function TopNav({ isMaintenance }) { +function TopNav({ isMaintenance, loggedIn = false }) { const { pathname } = useLocation(); const navigate = useNavigate(); const auth = useStoreState(appState, (s) => s.auth); const customer = useStoreState(appState, (s) => s.customer); const theme = useStoreState(appState, (s) => s.theme); const themes = useStoreState(appState, (s) => s.themes); + const [, setInstanceAuths] = useInstanceAuth({}); + const [persistedUser, setPersistedUser] = usePersistedUser({}); const themeIndex = themes?.findIndex((t) => t === theme); const nextTheme = !theme || themeIndex === themes.length - 1 ? themes[0] : themes[themeIndex + 1]; - const loggedIn = auth?.user_id; const showInviteBadge = useMemo( () => auth?.orgs?.filter((org) => org.status === 'invited').length, // eslint-disable-next-line react-hooks/exhaustive-deps - [auth.orgs] + [auth.orgs], ); const showManageIcon = useMemo( () => auth?.orgs?.find((o) => o.customer_id?.toString() === customer?.customer_id?.toString())?.status === 'owner', // eslint-disable-next-line react-hooks/exhaustive-deps - [auth.orgs, customer.customer_id] + [auth.orgs, customer.customer_id], ); - const toggleTheme = (newValue) => + const toggleTheme = (newValue) => { + setPersistedUser({ ...persistedUser, theme: newValue }); appState.update((s) => { s.theme = newValue; }); + }; const logOut = () => { - appState.update((s) => { - s.auth = false; - }); + if (config.is_local_studio) { + setInstanceAuths({ local: false }); + } else { + appState.update((s) => { + s.auth = false; + }); + } navigate('/'); }; @@ -56,17 +66,17 @@ function TopNav({ isMaintenance }) { >
- +
+
); } diff --git a/src/components/instance/status/Logs.js b/src/components/instance/status/Logs.js index b3cccb612..380b5b4f8 100644 --- a/src/components/instance/status/Logs.js +++ b/src/components/instance/status/Logs.js @@ -50,10 +50,9 @@ function Logs() { addError({ error: { message: error.message, componentStack } })} FallbackComponent={ErrorFallback}> logs - - + | ); diff --git a/src/components/instances/index.js b/src/components/instances/index.js index 41ad7587a..f590e31f4 100644 --- a/src/components/instances/index.js +++ b/src/components/instances/index.js @@ -39,9 +39,6 @@ function InstancesIndex() { const [instanceAuths] = useInstanceAuth({}); useEffect(() => { - if (isOrgOwner && window.userGuiding && instances && !instances.length) { - window.userGuiding.previewGuide(config.user_guide_id, { checkHistory: true }); - } if (action === 'login') { alert.error('Please log in to that instance'); } @@ -72,7 +69,7 @@ function InstancesIndex() { useInterval( () => instances?.length && instances.some((i) => ['CREATE_IN_PROGRESS', 'UPDATE_IN_PROGRESS', 'CONFIGURING_NETWORK'].includes(i.status)) && refreshInstances(), - config.refresh_content_interval + config.refresh_content_interval, ); useEffect(() => { @@ -90,7 +87,7 @@ function InstancesIndex() { useAsyncEffect( () => setMounted(true), () => setMounted(false), - [] + [], ); return ( @@ -98,8 +95,8 @@ function InstancesIndex() { {isOrgUser && instances ? ( <> - { unlimited_local_install && } - { is_unpaid && } + {unlimited_local_install && } + {is_unpaid && } {isOrgOwner ? : !instances?.length ? : null} diff --git a/src/components/instances/new/Confirm.js b/src/components/instances/new/Confirm.js index 0ad97e0f7..ccf078ea2 100644 --- a/src/components/instances/new/Confirm.js +++ b/src/components/instances/new/Confirm.js @@ -33,10 +33,10 @@ function Confirm() { const totalPriceString = allPrePaid ? 'PREPAID' : totalPrice - ? `$${commaNumbers(totalPrice.toFixed(2))}/${newInstance.compute_interval}` - : somePrePaid - ? 'PREPAID / FREE' - : 'FREE'; + ? `$${commaNumbers(totalPrice.toFixed(2))}/${newInstance.compute_interval}` + : somePrePaid + ? 'PREPAID / FREE' + : 'FREE'; const analyticsProductsArray = [{ name: 'compute', id: newInstance.compute_ram_string, price: newInstance?.compute_price || 0 }]; if (!newInstance.is_local) { analyticsProductsArray.push({ name: 'storage', id: newInstance.data_volume_size_string, price: newInstance?.storage_price || 0 }); @@ -171,10 +171,23 @@ function Confirm() { {totalPriceString} + {newInstance.trial_period_days && ( + <> +
+ + + Free Trial Period + + + {newInstance.trial_period_days} Days + + + + )}
- { is_unpaid ? ( + {is_unpaid ? ( ) : unlimited_local_install ? ( diff --git a/src/components/instances/new/Payment.js b/src/components/instances/new/Payment.js index 9596b82a1..a3d0d8503 100644 --- a/src/components/instances/new/Payment.js +++ b/src/components/instances/new/Payment.js @@ -29,7 +29,7 @@ function Payment() { const isLocal = newInstance.is_local; const isWavelength = newInstance.is_wavelength; const computeProduct = products[isLocal ? 'local_compute' : isWavelength ? 'wavelength_compute' : 'cloud_compute'].find( - (p) => p.value.stripe_plan_id === newInstance.stripe_plan_id + (p) => p.value.stripe_plan_id === newInstance.stripe_plan_id, ); const storageProduct = isLocal ? { price: 0 } : products.cloud_storage.find((p) => p.value.data_volume_size === newInstance.data_volume_size); @@ -105,7 +105,13 @@ function Payment() {
{computeProduct?.value?.compute_price ? (
- The selected instance type has a cost of {computeProduct?.value?.compute_price_string_with_interval}. + The selected instance type has a cost of {computeProduct?.value?.compute_price_string_with_interval} + {computeProduct?.value?.trial_period_days && ( + + , which will begin after your {computeProduct?.value?.trial_period_days} free trial + + )} + .
) : null} {storageProduct?.value?.storage_price ? ( diff --git a/src/components/resources/dbmigrator/DbMigratorCard.js b/src/components/resources/dbmigrator/DbMigratorCard.js deleted file mode 100644 index 22afb43c4..000000000 --- a/src/components/resources/dbmigrator/DbMigratorCard.js +++ /dev/null @@ -1,31 +0,0 @@ -import React from 'react'; -import { Card, CardBody, Row, Col, Button } from 'reactstrap'; -import { ErrorBoundary } from 'react-error-boundary'; - -import ErrorFallback from '../../shared/ErrorFallback'; -import addError from '../../../functions/api/lms/addError'; - -function DbMigratorCard({ icon, name, urls }) { - return - addError({ error: { message: error.message, componentStack } })} FallbackComponent={ErrorFallback}> - - - {name} - -
- - {urls.map((u) => ( - - - - ))} - -
-
-
- -} - -export default DbMigratorCard; diff --git a/src/components/resources/dbmigrator/index.js b/src/components/resources/dbmigrator/index.js deleted file mode 100644 index a843d8b26..000000000 --- a/src/components/resources/dbmigrator/index.js +++ /dev/null @@ -1,47 +0,0 @@ -import React from 'react'; -import { Card, CardBody, Row, Col, CardImg } from 'reactstrap'; - -import MigratorCard from './DbMigratorCard'; - -import Screenshot1 from '../../../assets/images/migrator/screenshot1.png'; -import Screenshot2 from '../../../assets/images/migrator/screenshot2.png'; -import Screenshot3 from '../../../assets/images/migrator/screenshot3.png'; - -function DBMigratorIndex() { - return
- HarperDB Migrator - - - The HarperDB Migrator allows you to quickly and easily replicate data from your existing database into HarperDB. -
-
- - We currently support migration from MongoDB, but we're working on other platforms. - -
- - - - - -
- - - Step 1: Configure Connection - - - - Step 2: Select Entities For Migration - - - - Step 3: Click Start Migration - - - -
-
-
-} - -export default DBMigratorIndex; diff --git a/src/components/resources/drivers/DriverCard.js b/src/components/resources/drivers/DriverCard.js deleted file mode 100644 index 896461f57..000000000 --- a/src/components/resources/drivers/DriverCard.js +++ /dev/null @@ -1,41 +0,0 @@ -import React from 'react'; -import { Card, CardBody, Row, Col, Button } from 'reactstrap'; -import { ErrorBoundary } from 'react-error-boundary'; - -import ErrorFallback from '../../shared/ErrorFallback'; -import addError from '../../../functions/api/lms/addError'; - -const docsVersion = 'FHF'; - -function DriverCard({ icon, name, docs, urls }) { - return ( - - addError({ error: { message: error.message, componentStack } })} FallbackComponent={ErrorFallback}> - - - {name} - - -
- - {urls.map((u) => ( - - - - ))} - -
-
-
- - ); -} - -export default DriverCard; diff --git a/src/components/resources/drivers/index.js b/src/components/resources/drivers/index.js deleted file mode 100644 index 10a1f27a1..000000000 --- a/src/components/resources/drivers/index.js +++ /dev/null @@ -1,64 +0,0 @@ -import React from 'react'; -import { Card, CardBody, Row } from 'reactstrap'; - -import DriverCard from './DriverCard'; - -function DriversIndex() { - return ( -
- Download Drivers - - - - - - - - - - - - - - - - - -
- ); -} - -export default DriversIndex; diff --git a/src/components/resources/examples/index.js b/src/components/resources/examples/index.js deleted file mode 100644 index 33030edca..000000000 --- a/src/components/resources/examples/index.js +++ /dev/null @@ -1,9 +0,0 @@ -import React from 'react'; - -import Examples from '../../shared/examples'; - -function ResourcesExamples() { - return -} - -export default ResourcesExamples; diff --git a/src/components/resources/index.js b/src/components/resources/index.js deleted file mode 100644 index e8ac5f934..000000000 --- a/src/components/resources/index.js +++ /dev/null @@ -1,25 +0,0 @@ -import React, { Suspense } from 'react'; -import { Navigate, Route, Routes } from 'react-router-dom'; - -import routes from './routes'; -import SubNav from '../shared/SubNav'; -import Loader from '../shared/Loader'; - -function ResourcesIndex() { - return <> - - }> - - { - routes.map((route) => ( - - )) - } - } /> - } /> - - - -} - -export default ResourcesIndex; diff --git a/src/components/resources/links/index.js b/src/components/resources/links/index.js deleted file mode 100644 index 0ae91deab..000000000 --- a/src/components/resources/links/index.js +++ /dev/null @@ -1,69 +0,0 @@ -import React from 'react'; -import { Card, CardBody, Row, Col, Button } from 'reactstrap'; - -function LinksIndex() { - return ( -
- - - Full API Documenation - - - - - - - - HarperDB Community Slack - - - - - - - - HarperDB Add Ons - - - - - - - - SQL Features Matrix - - - - - - - - Create A Support Ticket - - - - - - - -
- ); -} - -export default LinksIndex; diff --git a/src/components/resources/routes.js b/src/components/resources/routes.js deleted file mode 100644 index 900b839a5..000000000 --- a/src/components/resources/routes.js +++ /dev/null @@ -1,64 +0,0 @@ -import { lazy, React } from 'react'; - -const Links = lazy(() => import(/* webpackChunkName: "support-links" */ './links')); -const Drivers = lazy(() => import(/* webpackChunkName: "support-drivers" */ './drivers')); -const SDKs = lazy(() => import(/* webpackChunkName: "support-sdks" */ './sdks')); -const Tutorials = lazy(() => import(/* webpackChunkName: "support-tutorials" */ './tutorials')); -const Examples = lazy(() => import(/* webpackChunkName: "support-examples" */ './examples')); - -const Routes = [ - { - element: , - path: 'examples/:folder?/:method?', - link: 'examples', - label: 'example code', - icon: 'code', - iconCode: 'f121', - }, - { - // Installation instructions now links to our docs. - // Retaining this entry for the navigation. - element: null, - path: '.', - link: 'installation', - label: 'installation', - icon: 'wrench', - iconCode: 'f0ad', - external: true, - url: 'https://docs.harperdb.io/docs/install-harperdb' - }, - { - element: , - path: 'tutorials/:video_id?', - link: 'tutorials', - label: 'tutorials', - icon: 'video-camera', - iconCode: 'f03d', - }, - { - element: , - path: 'sdks/:type?', - link: 'sdks/active', - label: 'sdks', - icon: 'gears', - iconCode: 'f085', - }, - { - element: , - path: 'drivers', - link: 'drivers', - label: 'drivers', - icon: 'cubes', - iconCode: 'f1b3', - }, - { - element: , - path: 'links', - link: 'links', - label: 'links', - icon: 'external-link-square', - iconCode: 'f14c', - }, -]; - -export default Routes; diff --git a/src/components/resources/sdks/Add.js b/src/components/resources/sdks/Add.js deleted file mode 100644 index 4678bec18..000000000 --- a/src/components/resources/sdks/Add.js +++ /dev/null @@ -1,157 +0,0 @@ -import React, { useState } from 'react'; -import { Input, Button, Card, CardBody } from 'reactstrap'; -import SelectDropdown from 'react-select'; -import useAsyncEffect from 'use-async-effect'; -import { useStoreState } from 'pullstate'; -import { ErrorBoundary } from 'react-error-boundary'; - -import appState from '../../../functions/state/appState'; -import upsertIntegration from '../../../functions/api/lms/upsertIntegration'; -import FormStatus from '../../shared/FormStatus'; -import ErrorFallback from '../../shared/ErrorFallback'; -import addError from '../../../functions/api/lms/addError'; -import isURL from '../../../functions/util/isURL'; -import getIntegrations from '../../../functions/api/lms/getIntegrations'; -import integrationLanguageOptions from '../../../functions/resources/integrationLanguageOptions'; -import getUser from '../../../functions/api/lms/getUser'; - -function Add() { - const auth = useStoreState(appState, (s) => s.auth); - const [formState, setFormState] = useState({}); - const [formData, setFormData] = useState({}); - const formHeight = auth.github_repo ? '405px' : '451px'; - - useAsyncEffect(async () => { - const { submitted } = formState; - if (submitted) { - const { name, description, language, homepage, install_command, author_github_repo, bounty_url } = formData; - if (!name || !description || !language || !homepage || !install_command || (!auth.github_repo && !author_github_repo)) { - setFormState({ error: 'All fields must be filled out' }); - setTimeout(() => setFormState({}), 2000); - } else if (!isURL(homepage)) { - setFormState({ error: 'Project GitHub repo must be a valid URL' }); - setTimeout(() => setFormState({}), 2000); - } else if (!isURL(bounty_url)) { - setFormState({ error: 'Bounty URL must be a valid URL' }); - setTimeout(() => setFormState({}), 2000); - } else if (author_github_repo && !isURL(author_github_repo)) { - setFormState({ error: 'Your GitHub profile must be a valid URL' }); - setTimeout(() => setFormState({}), 2000); - } else { - setFormState({ processing: true }); - const response = await upsertIntegration({ auth, name, description, language, homepage, install_command, author_github_repo, bounty_url }); - if (response.message.indexOf('successfully') !== -1) { - getIntegrations({ auth }); - getUser(auth); - setFormState({ success: response.message }); - setTimeout(() => setFormData({}), 2000); - } else { - setFormState({ error: response.message }); - setTimeout(() => setFormState({}), 2000); - } - } - } - }, [formState]); - - useAsyncEffect(() => setFormState({}), [formData]); - - return ( - <> -
Submit An Integration
- addError({ error: { message: error.message, componentStack } })} FallbackComponent={ErrorFallback}> - {formState.processing ? ( - - ) : formState.success ? ( - - ) : formState.error ? ( - - ) : ( - - - setFormData({ ...formData, name: e.target.value })} - /> - setFormData({ ...formData, language: value })} - options={integrationLanguageOptions} - value={integrationLanguageOptions && formData.language && integrationLanguageOptions.find((r) => r.value === formData.language)} - isSearchable={false} - isClearable={false} - isLoading={!integrationLanguageOptions} - placeholder="select a language" - styles={{ placeholder: (styles) => ({ ...styles, textAlign: 'center', width: '100%', color: '#BCBCBC' }) }} - /> - setFormData({ ...formData, install_command: e.target.value })} - /> - setFormData({ ...formData, description: e.target.value })} - /> - setFormData({ ...formData, homepage: e.target.value })} - /> - {auth && !auth.github_repo && ( - setFormData({ ...formData, author_github_repo: e.target.value })} - /> - )} - - Claiming a{' '} - - bounty - - ? Provide the bounty URL: - - setFormData({ ...formData, bounty_url: e.target.value })} - /> - - - - )} - - - ); -} - -export default Add; diff --git a/src/components/resources/sdks/IntegrationCard.js b/src/components/resources/sdks/IntegrationCard.js deleted file mode 100644 index e8c6df93c..000000000 --- a/src/components/resources/sdks/IntegrationCard.js +++ /dev/null @@ -1,113 +0,0 @@ -import React, { useState } from 'react'; -import { Card, CardBody, Row, Col, Button } from 'reactstrap'; -import { ErrorBoundary } from 'react-error-boundary'; -import { useStoreState } from 'pullstate'; -import { useAlert } from 'react-alert'; - -import ErrorFallback from '../../shared/ErrorFallback'; -import addError from '../../../functions/api/lms/addError'; -import addIntegrationEngagement from '../../../functions/api/lms/addIntegrationEngagement'; -import Code from '../../shared/Code'; -import appState from '../../../functions/state/appState'; -import getIntegrations from '../../../functions/api/lms/getIntegrations'; - -function IntegrationCard({ id, status, avg_rating, user_rating, author_user_id, meta: { name, description, language, homepage, install_command }, icon = false }) { - const auth = useStoreState(appState, (s) => s.auth); - const alert = useAlert(); - const [sendingRating, setSendingRating] = useState(false); - const [userRating, setUserRating] = useState(user_rating); - const canRate = author_user_id !== auth.user_id; - - const addRating = async (rating) => { - if (rating !== user_rating) { - setSendingRating(true); - setUserRating(rating); - await addIntegrationEngagement({ auth, integration_id: id, rating }); - await getIntegrations({ auth }); - setSendingRating(false); - } - }; - - const addEngagement = async (type) => { - addIntegrationEngagement({ auth, integration_id: id, [type]: true }); - }; - - return ( - - addError({ error: { message: error.message, componentStack } })} FallbackComponent={ErrorFallback}> - - - {name} - - {icon ? ( - {language.toLowerCase()} - ) : ( - - )} -
- {sendingRating ? ( - - ) : status !== 'review' ? ( - - - {[1, 2, 3, 4, 5].map((star) => ( - - ))} - - - {[1, 2, 3, 4, 5].map((star) => ( - - ))} - - - ) : null} -
- {install_command ? ( - addEngagement('copy_install_command')}>{install_command} - ) : ( -
-
Please visit homepage for usage
-
- )} -
{description}
-
-
-
- - ); -} - -export default IntegrationCard; diff --git a/src/components/resources/sdks/IntegrationManager.js b/src/components/resources/sdks/IntegrationManager.js deleted file mode 100644 index 7dc7bef9a..000000000 --- a/src/components/resources/sdks/IntegrationManager.js +++ /dev/null @@ -1,31 +0,0 @@ -import React from 'react'; -import { Card, CardBody } from 'reactstrap'; -import { useParams } from 'react-router-dom'; -import { useStoreState } from 'pullstate'; -import { ErrorBoundary } from 'react-error-boundary'; - -import appState from '../../../functions/state/appState'; - -import IntegrationManagerRow from './IntegrationManagerRow'; -import ErrorFallback from '../../shared/ErrorFallback'; - -import addError from '../../../functions/api/lms/addError'; - -function IntegrationManager() { - const { type } = useParams(); - const types = useStoreState(appState, (s) => (s.integrations ? Object.keys(s.integrations).filter((k) => s.integrations[k].length) : ['active'])); - const baseUrl = '/resources/marketplace'; - - return ( - addError({ error: { message: error.message, componentStack } })} FallbackComponent={ErrorFallback}> -
-
Status
- - {types && types.length ? types.map((item) => ) : null} - -
-
- ); -} - -export default IntegrationManager; diff --git a/src/components/resources/sdks/IntegrationManagerRow.js b/src/components/resources/sdks/IntegrationManagerRow.js deleted file mode 100644 index 4641ecf4b..000000000 --- a/src/components/resources/sdks/IntegrationManagerRow.js +++ /dev/null @@ -1,23 +0,0 @@ -import React from 'react'; -import { Row, Col, Button } from 'reactstrap'; -import { useNavigate } from 'react-router-dom'; - -function IntegrationManagerRow({ item, baseUrl, isActive }) { - const navigate = useNavigate(); - const handleSetActive = () => (isActive ? false : navigate(`${baseUrl}/${item}`)); - - return ( - - {item.toLowerCase()} - - {isActive && ( - - )} - - - ); -} - -export default IntegrationManagerRow; diff --git a/src/components/resources/sdks/index.js b/src/components/resources/sdks/index.js deleted file mode 100644 index bc7419f18..000000000 --- a/src/components/resources/sdks/index.js +++ /dev/null @@ -1,70 +0,0 @@ -import React, { lazy } from 'react'; -import { Card, CardBody, Row } from 'reactstrap'; -import useAsyncEffect from 'use-async-effect'; -import { useStoreState } from 'pullstate'; -import { useParams, useNavigate } from 'react-router-dom'; - -import IntegrationCard from './IntegrationCard'; -import appState from '../../../functions/state/appState'; -import getIntegrations from '../../../functions/api/lms/getIntegrations'; - -let controller; - -const logoMapper = { - cplusplus: lazy(() => import('../../../assets/images/svg/c++.svg')), - c: lazy(() => import('../../../assets/images/svg/c.svg')), - csharp: lazy(() => import('../../../assets/images/svg/csharp.svg')), - golang: lazy(() => import('../../../assets/images/svg/golang.svg')), - kotlin: lazy(() => import('../../../assets/images/svg/kotlin.svg')), - ruby: lazy(() => import('../../../assets/images/svg/ruby.svg')), -}; - -function MarketplaceIndex() { - const navigate = useNavigate(); - const auth = useStoreState(appState, (s) => s.auth); - const integrations = useStoreState(appState, (s) => s.integrations); - const { type } = useParams(); - - useAsyncEffect( - () => { - if (!type) { - navigate('/resources/marketplace/active'); - } - controller = new AbortController(); - getIntegrations({ auth, signal: controller.signal }); - }, - () => controller?.abort(), - [] - ); - - useAsyncEffect(() => { - if (integrations && (!integrations[type] || !integrations[type].length)) { - navigate('/resources/marketplace/active'); - } - }, [integrations, type]); - - return ( -
- SDKs - - - {!integrations ? ( -
- -
- ) : integrations[type] && !integrations[type].length ? ( -
We were unable to find any marketplace apps at this time. Please try again later.
- ) : integrations[type] ? ( - - {integrations[type].map((integration) => ( - - ))} - - ) : null} -
-
-
- ); -} - -export default MarketplaceIndex; diff --git a/src/components/resources/tutorials/TutorialManager.js b/src/components/resources/tutorials/TutorialManager.js deleted file mode 100644 index 290cb3e22..000000000 --- a/src/components/resources/tutorials/TutorialManager.js +++ /dev/null @@ -1,29 +0,0 @@ -import React from 'react'; -import { Card, CardBody } from 'reactstrap'; -import { ErrorBoundary } from 'react-error-boundary'; - -import TutorialManagerRow from './TutorialManagerRow'; -import ErrorFallback from '../../shared/ErrorFallback'; - -import addError from '../../../functions/api/lms/addError'; - -function TutorialManager({ items, baseUrl, videoId }) { - return addError({ error: { message: error.message, componentStack } })} FallbackComponent={ErrorFallback}> -
-
Tutorials
- - - {!items.length ? ( -
- -
- ) : ( - items.map((item) => ) - )} -
-
-
-
-} - -export default TutorialManager; diff --git a/src/components/resources/tutorials/TutorialManagerRow.js b/src/components/resources/tutorials/TutorialManagerRow.js deleted file mode 100644 index 5fde33ca4..000000000 --- a/src/components/resources/tutorials/TutorialManagerRow.js +++ /dev/null @@ -1,23 +0,0 @@ -import React from 'react'; -import { Row, Col, Button } from 'reactstrap'; -import { useNavigate } from 'react-router-dom'; - -function TutorialManagerRow({ videoId, title, baseUrl, isActive }) { - const navigate = useNavigate(); - const handleSetActive = () => (isActive ? false : navigate(`${baseUrl}/${videoId}`)); - - return ( - - {title} - - {isActive && ( - - )} - - - ); -} - -export default TutorialManagerRow; diff --git a/src/components/resources/tutorials/index.js b/src/components/resources/tutorials/index.js deleted file mode 100644 index 8e9f47242..000000000 --- a/src/components/resources/tutorials/index.js +++ /dev/null @@ -1,69 +0,0 @@ -import React, { useState } from 'react'; -import { Card, CardBody, Row, Col } from 'reactstrap'; -import useAsyncEffect from 'use-async-effect'; -import { ErrorBoundary } from 'react-error-boundary'; -import { useParams, useNavigate } from 'react-router-dom'; - -import config from '../../../config'; -import ErrorFallback from '../../shared/ErrorFallback'; -import addError from '../../../functions/api/lms/addError'; -import TutorialManager from './TutorialManager'; - -function TutorialsIndex() { - const navigate = useNavigate(); - const { video_id } = useParams(); - const [items, setItems] = useState([]); - const baseUrl = '/resources/tutorials'; - const activeVideo = video_id && items.find((i) => i.id === video_id); - - useAsyncEffect(async () => { - try { - const response = await fetch(`https://www.googleapis.com/youtube/v3/playlistItems?part=snippet&playlistId=PLlgTMTKsypS5GIn4Yi3NxC4inX_tA5O9I&key=${config.youtube_api_key}`); - const result = await response.json(); - - if (result.items && Array.isArray(result.items)) { - setItems(result.items); - if (!activeVideo) { - const firstVideo = `${baseUrl}/${result.items[0].id}`; - navigate(firstVideo); - } - } - } catch (e) { - // eslint-disable-next-line no-console - console.log('error fetching youtube playlist'); - } - }, []); - - return ( - addError({ error: { message: error.message, componentStack } })} FallbackComponent={ErrorFallback}> - - - - - - {activeVideo?.snippet.title} - - - {activeVideo ? ( -