Skip to content

Commit

Permalink
try to make favicons work again
Browse files Browse the repository at this point in the history
  • Loading branch information
tyrasd committed Oct 1, 2023
1 parent c570fe0 commit 5abc05e
Show file tree
Hide file tree
Showing 6 changed files with 334 additions and 10 deletions.
6 changes: 5 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,11 @@
<div class="navbar-brand">
<a class="navbar-item" href="index.html">
overpass turbo
<img src="turbo.png" alt="overpass turbo" />
<img
src="turbo.svg"
style="margin-top: -8px"
alt="overpass turbo logo"
/>
</a>
</div>
</div>
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"request": "^2.67.0",
"typescript": "^5.0.4",
"vite": "^4.4.4",
"vitest": "^0.29.8"
"vitest": "^0.29.8",
"vite-plugin-favicons-inject": "^2.2.0"
},
"dependencies": {
"@fortawesome/fontawesome-free": "^5.13.0",
Expand Down
Binary file modified turbo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions turbo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/// <reference types="vitest" />
import {type Plugin, defineConfig, createFilter} from "vite";
import vitePluginFaviconsInject from "vite-plugin-favicons-inject";
import inject from "@rollup/plugin-inject";
import {type ParserBuildOptions, generate} from "peggy";

Expand Down Expand Up @@ -57,7 +58,8 @@ export default defineConfig(() => ({
$: "jquery",
jQuery: "jquery"
}),
peggy()
peggy(),
vitePluginFaviconsInject("./turbo.svg")
],
// https://vitest.dev/config/
test: {
Expand Down
Loading

0 comments on commit 5abc05e

Please sign in to comment.