mirror of
https://github.com/konpa/devicon.git
synced 2025-08-19 04:41:41 +02:00
fetch latest release via github api and use it for showing the header and CDN links
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
|
||||
<div class="container">
|
||||
<header class="clearfix">
|
||||
<h1>Devicon <span>2.7</span></h1>
|
||||
<h1>Devicon <span><a href="https://github.com/devicons/devicon/releases">{{ latestReleaseTagging }}</a></span></h1>
|
||||
<h2>Devicon is a set of icons representing programming languages, designing & development tools. You can use it as a font or directly copy/paste the svg code into your project.</h2>
|
||||
<h3>(Super) Quick Setup</h3>
|
||||
<h5>First select an icon on the right, then select the version below and copy/paste the code into your project.</h5>
|
||||
@@ -65,7 +65,7 @@
|
||||
</ul>
|
||||
<div class="cde">
|
||||
<div class="cde-com"><!-- in your header --></div>
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/devicons/devicon@master/devicon.min.css"><br />
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/devicons/devicon@{{ latestReleaseTagging }}/devicon.min.css"><br />
|
||||
<br />
|
||||
<div class="cde-com"><!-- in your body --></div>
|
||||
<i class="devicon-{{selectedIcon.name}}-{{selectedFontIcon}}<span ng-if="colored"> colored</span>"></i><br />
|
||||
|
Reference in New Issue
Block a user