Skip to content

Commit

Permalink
Add favicons
Browse files Browse the repository at this point in the history
  • Loading branch information
FluxCapacitor2 committed Jan 7, 2024
1 parent edc0bfc commit 67d2469
Show file tree
Hide file tree
Showing 6 changed files with 56 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# build output
dist/
public/favicons/
# generated types
.astro/

Expand All @@ -12,7 +13,6 @@ yarn-debug.log*
yarn-error.log*
pnpm-debug.log*


# environment variables
.env
.env.production
Expand Down
7 changes: 7 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import starlight from "@astrojs/starlight";
import { defineConfig } from "astro/config";

import createFaviconsIntegration from "astro-favicons";
import robotsTxt from "astro-robots-txt";

// https://astro.build/config
Expand Down Expand Up @@ -42,5 +43,11 @@ export default defineConfig({
],
}),
robotsTxt(),
createFaviconsIntegration({
appName: "BlueDragon Docs",
appShortName: "BlueDragon",
masterPicture: "./src/assets/logo.png",
path: "./favicons/",
}),
],
});
47 changes: 47 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"@astrojs/check": "^0.3.4",
"@astrojs/starlight": "^0.15.2",
"astro": "^4.0.1",
"astro-favicons": "^2.0.2",
"astro-robots-txt": "^1.0.0",
"sharp": "^0.32.5",
"typescript": "^5.3.3"
Expand Down
1 change: 0 additions & 1 deletion public/favicon.svg

This file was deleted.

Binary file removed src/assets/houston.webp
Binary file not shown.

0 comments on commit 67d2469

Please sign in to comment.