mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-29 17:50:09 +02:00
add back xlinkhref svgs
This commit is contained in:
@@ -457,7 +457,9 @@ export default class ContentWrap extends Component {
|
|||||||
title="Clear console (CTRL + L)"
|
title="Clear console (CTRL + L)"
|
||||||
d-click="onClearConsoleBtnClick"
|
d-click="onClearConsoleBtnClick"
|
||||||
>
|
>
|
||||||
Clear
|
<svg>
|
||||||
|
<use xlinkHref="#cancel-icon" />
|
||||||
|
</svg>
|
||||||
</a>
|
</a>
|
||||||
<a
|
<a
|
||||||
class="code-wrap__header-btn code-wrap__collapse-btn"
|
class="code-wrap__header-btn code-wrap__collapse-btn"
|
||||||
|
@@ -144,7 +144,15 @@ export default class Footer extends Component {
|
|||||||
class="footer__link hint--rounded hint--top-right hide-on-mobile"
|
class="footer__link hint--rounded hint--top-right hide-on-mobile"
|
||||||
aria-label="Keyboard shortcuts"
|
aria-label="Keyboard shortcuts"
|
||||||
>
|
>
|
||||||
Keyboard
|
<svg
|
||||||
|
style={{
|
||||||
|
width: '20px',
|
||||||
|
height: '20px',
|
||||||
|
verticalAlign: 'text-bottom'
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
<use xlinkHref="#keyboard-icon" />
|
||||||
|
</svg>
|
||||||
</a>
|
</a>
|
||||||
<a
|
<a
|
||||||
class="footer__link hint--rounded hint--top-right"
|
class="footer__link hint--rounded hint--top-right"
|
||||||
@@ -152,7 +160,15 @@ export default class Footer extends Component {
|
|||||||
href="http://twitter.com/share?url=https://webmakerapp.com/&text=Web Maker - A blazing fast %26 offline web playground! via @webmakerApp&related=webmakerApp&hashtags=web,frontend,playground,offline"
|
href="http://twitter.com/share?url=https://webmakerapp.com/&text=Web Maker - A blazing fast %26 offline web playground! via @webmakerApp&related=webmakerApp&hashtags=web,frontend,playground,offline"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Tweet
|
<svg
|
||||||
|
style={{
|
||||||
|
width: '20px',
|
||||||
|
height: '20px',
|
||||||
|
verticalAlign: 'text-bottom'
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
<use xlinkHref="#twitter-icon" />
|
||||||
|
</svg>
|
||||||
</a>
|
</a>
|
||||||
<a
|
<a
|
||||||
d-click="openSupportDeveloperModal"
|
d-click="openSupportDeveloperModal"
|
||||||
|
@@ -18,7 +18,9 @@ export default class Header extends Component {
|
|||||||
aria-label="Run preview (Ctrl/⌘ + Shift + 5)"
|
aria-label="Run preview (Ctrl/⌘ + Shift + 5)"
|
||||||
d-click="onRunBtnClick"
|
d-click="onRunBtnClick"
|
||||||
>
|
>
|
||||||
<svg style="width: 14px; height: 14px;">Play</svg>Run
|
<svg style="width: 14px; height: 14px;">
|
||||||
|
<use xlinkHref="#play-icon" />
|
||||||
|
</svg>Run
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<a
|
<a
|
||||||
@@ -61,7 +63,7 @@ export default class Header extends Component {
|
|||||||
<path d="M15,9H5V5H15M12,19A3,3 0 0,1 9,16A3,3 0 0,1 12,13A3,3 0 0,1 15,16A3,3 0 0,1 12,19M17,3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V7L17,3Z" />
|
<path d="M15,9H5V5H15M12,19A3,3 0 0,1 9,16A3,3 0 0,1 12,13A3,3 0 0,1 15,16A3,3 0 0,1 12,19M17,3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V7L17,3Z" />
|
||||||
</svg>
|
</svg>
|
||||||
<svg class="btn-loader" width="15" height="15" stroke="#fff">
|
<svg class="btn-loader" width="15" height="15" stroke="#fff">
|
||||||
Loader
|
<use xlinkHref="#loader-icon" />
|
||||||
</svg>
|
</svg>
|
||||||
Save
|
Save
|
||||||
</a>
|
</a>
|
||||||
@@ -78,7 +80,7 @@ export default class Header extends Component {
|
|||||||
<path d="M13,9V3.5L18.5,9M6,2C4.89,2 4,2.89 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2H6Z" />
|
<path d="M13,9V3.5L18.5,9M6,2C4.89,2 4,2.89 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2H6Z" />
|
||||||
</svg>
|
</svg>
|
||||||
<svg class="btn-loader" width="15" height="15" stroke="#fff">
|
<svg class="btn-loader" width="15" height="15" stroke="#fff">
|
||||||
Loader
|
<use xlinkHref="#loader-icon" />
|
||||||
</svg>
|
</svg>
|
||||||
Open
|
Open
|
||||||
</a>
|
</a>
|
||||||
|
Reference in New Issue
Block a user