mirror of
https://github.com/getformwork/formwork.git
synced 2025-01-29 11:31:19 +01:00
Add Formwork icon in SVG format
This commit is contained in:
parent
218e05bff8
commit
b7f6136939
@ -1,4 +1,4 @@
|
||||
# <img src="admin/assets/images/icon.png" height="28"> Formwork
|
||||
# <img src="admin/assets/images/icon.svg" height="28"> Formwork
|
||||
|
||||
[![Discord](https://img.shields.io/discord/637658168754831380?color=%237289da&label=chat&logo=discord&logoColor=%23fff)](https://discord.gg/5Q3BmNY)
|
||||
[![GitHub Release Date](https://img.shields.io/github/release-date/getformwork/formwork.svg)](https://github.com/getformwork/formwork/releases/latest)
|
||||
|
1
admin/assets/images/icon.svg
Normal file
1
admin/assets/images/icon.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 700"><defs><linearGradient x1="28.528%" y1="0%" x2="77.161%" y2="90.229%" id="a"><stop stop-color="#FFF" offset="0%"/><stop stop-color="#FFF" stop-opacity=".85" offset="100%"/></linearGradient></defs><g fill="none" fill-rule="evenodd"><path d="M230.75 0h238.5c80.237 0 109.333 8.354 138.666 24.042C637.25 39.73 660.27 62.75 675.958 92.084 691.646 121.417 700 150.513 700 230.75v238.5c0 80.237-8.354 109.333-24.042 138.666-15.688 29.333-38.709 52.354-68.042 68.042C578.583 691.646 549.487 700 469.25 700h-238.5c-80.237 0-109.333-8.354-138.666-24.042C62.75 660.27 39.73 637.25 24.042 607.916 8.354 578.583 0 549.487 0 469.25v-238.5c0-80.237 8.354-109.333 24.042-138.666C39.73 62.75 62.75 39.73 92.084 24.042 121.417 8.354 150.513 0 230.75 0z" fill="#444"/><path d="M232.908 736.616v-506.46c0-11.046 8.955-20 20-20h305c11.046 0 20 8.954 20 20v36.915c0 11.046-8.954 20-20 20H347.746c-11.046 0-20 8.954-20 20v103.377c0 11.045 8.954 20 20 20h195.227c11.046 0 20 8.954 20 20v36.915c0 11.046-8.954 20-20 20H347.746c-11.046 0-20 8.954-20 20v209.253h-94.838z" fill="url(#a)" transform="rotate(-45 405.408 473.386)"/></g></svg>
|
After Width: | Height: | Size: 1.1 KiB |
@ -18,7 +18,8 @@
|
||||
<?php
|
||||
endif;
|
||||
?>
|
||||
<link rel="shortcut icon" href="<?= $this->assets()->uri('images/icon.png') ?>">
|
||||
<link rel="icon" type="image/svg+xml" href="<?= $this->assets()->uri('images/icon.svg') ?>">
|
||||
<link rel="alternate icon" href="<?= $this->assets()->uri('images/icon.png') ?>">
|
||||
<link rel="stylesheet" href="<?= $this->assets()->uri('css/admin.min.css', true) ?>">
|
||||
<script src="<?= $this->assets()->uri('js/app.min.js', true) ?>"></script>
|
||||
<script>Formwork.config = <?= json_encode($appConfig) ?>;</script>
|
||||
@ -26,7 +27,7 @@
|
||||
<body>
|
||||
<button type="button" class="toggle-navigation hide-from-s"><i class="i-bars"></i></button>
|
||||
<div class="sidebar show-from-s">
|
||||
<div class="logo"><a href="<?= $this->uri('/dashboard/') ?>"><img src="<?= $this->assets()->uri('images/icon.png') ?>" alt=""> Formwork</a></div>
|
||||
<div class="logo"><a href="<?= $this->uri('/dashboard/') ?>"><img src="<?= $this->assets()->uri('images/icon.svg') ?>" alt=""> Formwork</a></div>
|
||||
<a href="<?= $this->uri('/users/' . $admin->user()->username() . '/profile/') ?>">
|
||||
<div class="admin-user-card">
|
||||
<div class="admin-user-avatar">
|
||||
|
@ -5,7 +5,8 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="robots" content="noindex, nofollow">
|
||||
<meta name="base-uri" content="<?= $this->panelUri() ?>">
|
||||
<link rel="shortcut icon" href="<?= $this->assets()->uri('images/icon.png') ?>">
|
||||
<link rel="icon" type="image/svg+xml" href="<?= $this->assets()->uri('images/icon.svg') ?>">
|
||||
<link rel="alternate icon" href="<?= $this->assets()->uri('images/icon.png') ?>">
|
||||
<link rel="stylesheet" href="<?= $this->assets()->uri('css/admin.min.css', true) ?>">
|
||||
</head>
|
||||
<body>
|
||||
|
@ -4,7 +4,8 @@
|
||||
<title><?php if (!empty($title)): ?><?= $title ?> | <?php endif; ?>Formwork Admin</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="robots" content="noindex, nofollow">
|
||||
<link rel="shortcut icon" href="<?= $this->assets()->uri('images/icon.png') ?>">
|
||||
<link rel="icon" type="image/svg+xml" href="<?= $this->assets()->uri('images/icon.svg') ?>">
|
||||
<link rel="alternate icon" href="<?= $this->assets()->uri('images/icon.png') ?>">
|
||||
<link rel="stylesheet" href="<?= $this->assets()->uri('css/admin.min.css', true) ?>">
|
||||
</head>
|
||||
<body>
|
||||
@ -15,7 +16,7 @@
|
||||
<span class="error-code"><?= $code ?></span>
|
||||
<span class="error-status"><?= $status ?></span>
|
||||
</h1>
|
||||
<div class="logo" style="background-image: url(<?= $this->assets()->uri('images/icon.png') ?>);"></div>
|
||||
<div class="logo" style="background-image: url(<?= $this->assets()->uri('images/icon.svg') ?>);"></div>
|
||||
<h2><?= $heading ?></h2>
|
||||
<p><?= $description ?></p>
|
||||
<?php if (isset($action)): ?><a class="action" href="<?= $action['href'] ?>"><?= $action['label'] ?></a><?php endif; ?>
|
||||
|
@ -4,7 +4,8 @@
|
||||
<title><?php if (!empty($title)): ?><?= $title ?> | <?php endif; ?>Formwork Admin</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="robots" content="noindex, nofollow">
|
||||
<link rel="shortcut icon" href="<?= $this->assets()->uri('images/icon.png') ?>">
|
||||
<link rel="icon" type="image/svg+xml" href="<?= $this->assets()->uri('images/icon.svg') ?>">
|
||||
<link rel="alternate icon" href="<?= $this->assets()->uri('images/icon.png') ?>">
|
||||
<link rel="stylesheet" href="<?= $this->assets()->uri('css/admin.min.css', true) ?>">
|
||||
</head>
|
||||
<body>
|
||||
|
Loading…
x
Reference in New Issue
Block a user