local fontawesome
This commit is contained in:
parent
5d797f9f37
commit
f0cd58040c
6 changed files with 35 additions and 6 deletions
9
internal/server/static/fontawesome/css/fontawesome.min.css
vendored
Normal file
9
internal/server/static/fontawesome/css/fontawesome.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
19
internal/server/static/fontawesome/css/solid.css
vendored
Normal file
19
internal/server/static/fontawesome/css/solid.css
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
/*!
|
||||||
|
* Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
|
||||||
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||||
|
* Copyright 2024 Fonticons, Inc.
|
||||||
|
*/
|
||||||
|
:root, :host {
|
||||||
|
--fa-style-family-classic: 'Font Awesome 6 Free';
|
||||||
|
--fa-font-solid: normal 900 1em/1 'Font Awesome 6 Free'; }
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Font Awesome 6 Free';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 900;
|
||||||
|
font-display: block;
|
||||||
|
src: url("../webfonts/fa-solid-900.woff2") format("woff2"), url("../webfonts/fa-solid-900.ttf") format("truetype"); }
|
||||||
|
|
||||||
|
.fas,
|
||||||
|
.fa-solid {
|
||||||
|
font-weight: 900; }
|
||||||
BIN
internal/server/static/fontawesome/webfonts/fa-solid-900.ttf
Normal file
BIN
internal/server/static/fontawesome/webfonts/fa-solid-900.ttf
Normal file
Binary file not shown.
BIN
internal/server/static/fontawesome/webfonts/fa-solid-900.woff2
Normal file
BIN
internal/server/static/fontawesome/webfonts/fa-solid-900.woff2
Normal file
Binary file not shown.
|
|
@ -7,7 +7,8 @@
|
||||||
<title>{{template "title" .}}</title>
|
<title>{{template "title" .}}</title>
|
||||||
<script src="/static/htmx2.04.js" defer></script>
|
<script src="/static/htmx2.04.js" defer></script>
|
||||||
<link rel="stylesheet" href="/static/style.css">
|
<link rel="stylesheet" href="/static/style.css">
|
||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
|
<link rel="stylesheet" href="/static/fontawesome/css/fontawesome.min.css">
|
||||||
|
<link rel="stylesheet" href="/static/fontawesome/css/solid.css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{{define "nav"}}
|
{{define "nav"}}
|
||||||
<a href="/orders" data-title="Zamówienia"><i class="fas fa-list-ul"></i></a>
|
<a href="/orders" data-title="Zamówienia"><i class="fa-solid fa-list-ul"></i></a>
|
||||||
<a href="/order" data-title="Nowe zamówienie"><i class="fas fa-plus-circle"></i></a>
|
<a href="/order" data-title="Nowe zamówienie"><i class="fa-solid fa-plus-circle"></i></a>
|
||||||
<a href="/cakes" data-title="Wszystkie ciasta"><i class="fas fa-birthday-cake"></i></a>
|
<a href="/cakes" data-title="Wszystkie ciasta"><i class="fa-solid fa-birthday-cake"></i></a>
|
||||||
<a href="/cake" data-title="Nowe ciasto"><i class="fas fa-plus"></i></a>
|
<a href="/cake" data-title="Nowe ciasto"><i class="fa-solid fa-plus"></i></a>
|
||||||
<a href="/logout" data-title="Wyloguj"><i class="fas fa-sign-out-alt"></i></a>
|
<a href="/logout" data-title="Wyloguj"><i class="fa-solid fa-sign-out-alt"></i></a>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue