0
0
mirror of https://github.com/lipis/flag-icons.git synced 2024-11-21 18:38:57 +01:00
flags/index.html

75 lines
2.4 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<!-- Google tag (gtag.js) -->
<script
async
src="https://www.googletagmanager.com/gtag/js?id=G-9LZGY0J38Z"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());
gtag("config", "G-9LZGY0J38Z");
</script>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>flag-icons: Free Country Flags in SVG</title>
<!-- Bootstrap -->
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3"
crossorigin="anonymous"
/>
<!-- Font Awesome -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"
integrity="sha512-1ycn6IcaQQ40/MKBW2W4Rhis/DbILU74C1vSrLJxCq57o941Ym01SwNsOMqvEBFlcgUa6xLiPY/NS5R+E6ztJQ=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<!-- Docs -->
<link href="./assets/docs.css" rel="stylesheet" />
</head>
<body>
<div class="header">
<div class="container-md">
<h1>Free Country Flags in SVG</h1>
<p class="lead">
A curated collection of all country flags in SVG — plus the CSS for
easier integration.
</p>
<p class="lead">
All flags are in <strong>4x3</strong> and <strong>1x1</strong> formats
only.
</p>
<pre class="install">yarn add flag-icons</pre>
<p>For more instructions check out on GitHub.</p>
<a class="btn btn-light" href="https://github.com/lipis/flag-icons"
><i class="fab fa-github"></i> View on GitHub</a
>
<a
class="btn btn-light"
href="https://github.com/lipis/flag-icons/archive/main.zip"
><i class="fas fa-download"></i> Download Flags</a
>
</div>
</div>
<div class="container-md">
<div class="switch">
<a id="click-4x3" class="hide" href="">4x3</a>
<a id="click-1x1" href="">1x1</a>
</div>
<h2>ISO 3166-1-alpha-2 Flags</h2>
<div id="iso-flags" class="row"></div>
<h2>Other Flags</h2>
<div id="non-iso-flags" class="row"></div>
</div>
<script src="./assets/docs.js"></script>
</body>
</html>