diff --git a/README.md b/README.md index f46c153..ddfa33d 100644 --- a/README.md +++ b/README.md @@ -42,4 +42,5 @@ would be welcome! Feel free to open an issue, comment, or pull request as approp ## Credits -This project is created using the template at https://github.com/sveltejs/template. +- This project is powered by [Svelte](https://svelte.dev/) and created using the template at https://github.com/sveltejs/template. +- Icons courtesy [FontAwesome](https://fontawesome.com) via the [fa-svelte](https://github.com/alphapeter/fa-svelte) NPM module diff --git a/package.json b/package.json index 917fc1b..6c275f4 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "@rollup/plugin-node-resolve": "^11.0.0", "@rollup/plugin-typescript": "^8.0.0", "@tsconfig/svelte": "^2.0.0", + "fa-svelte": "^3.1.0", "rollup": "^2.3.4", "rollup-plugin-css-only": "^3.1.0", "rollup-plugin-livereload": "^2.0.0", @@ -25,6 +26,7 @@ "typescript": "^4.0.0" }, "dependencies": { + "@fortawesome/free-solid-svg-icons": "^6.1.2", "email-validator": "^2.0.4", "file-saver": "^2.0.5", "sirv-cli": "^2.0.0", diff --git a/src/App.svelte b/src/App.svelte index dd9467e..2ba9fe9 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -3,6 +3,11 @@ import saveAs from 'file-saver' import Slug from 'slug' + // icons + import Icon from 'fa-svelte' + import { faCode } from '@fortawesome/free-solid-svg-icons/faCode' + import { faPaw } from '@fortawesome/free-solid-svg-icons/faPaw' + export let name: string; export let email: string; export let slug: string; @@ -169,6 +174,10 @@ + +