mirror of
https://github.com/prymitive/karma
synced 2026-05-05 03:16:51 +00:00
chore(ui): use rocket icon on the upgrade screen
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
"bootstrap": "4.3.1",
|
||||
"bootswatch": "4.3.1",
|
||||
"copy-to-clipboard": "3.0.8",
|
||||
"csshake": "1.5.3",
|
||||
"fast-deep-equal": "2.0.1",
|
||||
"favico.js": "0.3.10",
|
||||
"lato-font": "3.0.0",
|
||||
|
||||
@@ -4,18 +4,18 @@ exports[`<UpgradeNeeded /> matches snapshot 1`] = `
|
||||
"
|
||||
<div class=\\"jumbotron text-center bg-primary my-4\\">
|
||||
<div class=\\"container-fluid\\">
|
||||
<h1 class=\\"display-1 my-5 text-success\\">
|
||||
<h1 class=\\"display-1 my-5 text-success shake-slow shake-constant\\">
|
||||
<svg aria-hidden=\\"true\\"
|
||||
focusable=\\"false\\"
|
||||
data-prefix=\\"fas\\"
|
||||
data-icon=\\"box-open\\"
|
||||
class=\\"svg-inline--fa fa-box-open fa-w-20 \\"
|
||||
data-icon=\\"rocket\\"
|
||||
class=\\"svg-inline--fa fa-rocket fa-w-16 \\"
|
||||
role=\\"img\\"
|
||||
xmlns=\\"http://www.w3.org/2000/svg\\"
|
||||
viewbox=\\"0 0 640 512\\"
|
||||
viewbox=\\"0 0 512 512\\"
|
||||
>
|
||||
<path fill=\\"currentColor\\"
|
||||
d=\\"M425.7 256c-16.9 0-32.8-9-41.4-23.4L320 126l-64.2 106.6c-8.7 14.5-24.6 23.5-41.5 23.5-4.5 0-9-.6-13.3-1.9L64 215v178c0 14.7 10 27.5 24.2 31l216.2 54.1c10.2 2.5 20.9 2.5 31 0L551.8 424c14.2-3.6 24.2-16.4 24.2-31V215l-137 39.1c-4.3 1.3-8.8 1.9-13.3 1.9zm212.6-112.2L586.8 41c-3.1-6.2-9.8-9.8-16.7-8.9L320 64l91.7 152.1c3.8 6.3 11.4 9.3 18.5 7.3l197.9-56.5c9.9-2.9 14.7-13.9 10.2-23.1zM53.2 41L1.7 143.8c-4.6 9.2.3 20.2 10.1 23l197.9 56.5c7.1 2 14.7-1 18.5-7.3L320 64 69.8 32.1c-6.9-.8-13.5 2.7-16.6 8.9z\\"
|
||||
d=\\"M505.05 19.1a15.89 15.89 0 0 0-12.2-12.2C460.65 0 435.46 0 410.36 0c-103.2 0-165.1 55.2-211.29 128H94.87A48 48 0 0 0 52 154.49l-49.42 98.8A24 24 0 0 0 24.07 288h103.77l-22.47 22.47a32 32 0 0 0 0 45.25l50.9 50.91a32 32 0 0 0 45.26 0L224 384.16V488a24 24 0 0 0 34.7 21.49l98.7-49.39a47.91 47.91 0 0 0 26.5-42.9V312.79c72.59-46.3 128-108.4 128-211.09.1-25.2.1-50.4-6.85-82.6zM384 168a40 40 0 1 1 40-40 40 40 0 0 1-40 40z\\"
|
||||
>
|
||||
</path>
|
||||
</svg>
|
||||
|
||||
@@ -2,9 +2,11 @@ import React, { Component } from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||
import { faBoxOpen } from "@fortawesome/free-solid-svg-icons/faBoxOpen";
|
||||
import { faRocket } from "@fortawesome/free-solid-svg-icons/faRocket";
|
||||
import { faSpinner } from "@fortawesome/free-solid-svg-icons/faSpinner";
|
||||
|
||||
import "csshake/scss/csshake-slow.scss";
|
||||
|
||||
class UpgradeNeeded extends Component {
|
||||
static propTypes = {
|
||||
newVersion: PropTypes.string.isRequired
|
||||
@@ -28,8 +30,8 @@ class UpgradeNeeded extends Component {
|
||||
return (
|
||||
<div className="jumbotron text-center bg-primary my-4">
|
||||
<div className="container-fluid">
|
||||
<h1 className="display-1 my-5 text-success">
|
||||
<FontAwesomeIcon icon={faBoxOpen} />
|
||||
<h1 className="display-1 my-5 text-success shake-slow shake-constant">
|
||||
<FontAwesomeIcon icon={faRocket} />
|
||||
</h1>
|
||||
<p className="lead text-muted">
|
||||
<FontAwesomeIcon className="mr-1" icon={faSpinner} spin />
|
||||
|
||||
@@ -3321,6 +3321,11 @@ cssesc@^2.0.0:
|
||||
resolved "https://registry.yarnpkg.com/cssesc/-/cssesc-2.0.0.tgz#3b13bd1bb1cb36e1bcb5a4dcd27f54c5dcb35703"
|
||||
integrity sha512-MsCAG1z9lPdoO/IUMLSBWBSVxVtJ1395VGIQ+Fc2gNdkQ1hNDnQdw3YhA71WJCBW1vdwA0cAnk/DnW6bqoEUYg==
|
||||
|
||||
csshake@1.5.3:
|
||||
version "1.5.3"
|
||||
resolved "https://registry.yarnpkg.com/csshake/-/csshake-1.5.3.tgz#5561f310c2c1e5a74a5f665b44294594b30b425a"
|
||||
integrity sha512-1vSyB+N/rdq7QSfqKs/Aj/LKzWFy3xdWpgEuJ63nJw1DmHDTC4rbzkagH9/aVT5otbX77i1cq99OPDIFJofAkQ==
|
||||
|
||||
cssnano-preset-default@^4.0.7:
|
||||
version "4.0.7"
|
||||
resolved "https://registry.yarnpkg.com/cssnano-preset-default/-/cssnano-preset-default-4.0.7.tgz#51ec662ccfca0f88b396dcd9679cdb931be17f76"
|
||||
|
||||
Reference in New Issue
Block a user