Browse Source

create dynamical main page favicon

pull/7/head
ghost 3 years ago
parent
commit
8b150af09e
  1. BIN
      public/image/favicon-dark.png
  2. BIN
      public/image/favicon-light.png
  3. 4
      public/index.phtml

BIN
public/image/favicon-dark.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

BIN
public/image/favicon-light.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

4
public/index.phtml

@ -6,9 +6,9 @@
<meta name="description" content="Open Source Content Exploring Platform for Kevacoin Blockchain" /> <meta name="description" content="Open Source Content Exploring Platform for Kevacoin Blockchain" />
<base href="<?php echo BASE_URL; ?>" /> <base href="<?php echo BASE_URL; ?>" />
<?php if ($namespaceHash) { ?> <?php if ($namespaceHash) { ?>
<link rel="icon" type="image/png" href="image.php?hash=<?php echo $namespaceHash; ?>&width=220&height=220&radius=110" /> <link rel="icon" type="image/png" href="image.php?hash=<?php echo $namespaceHash; ?>&radius=30" />
<?php } else { ?> <?php } else { ?>
<link rel="icon" type="image/png" href="image/favicon-dark.png" /> <link rel="icon" type="image/png" href="image.php?hash=<?php echo md5(date('dmY')); ?>&radius=30" />
<?php } ?> <?php } ?>
<?php if ($ns) { ?> <?php if ($ns) { ?>
<?php if ($page) { ?> <?php if ($page) { ?>

Loading…
Cancel
Save