From 04308a85c7d5dc3987884d83b1816eb580775e99 Mon Sep 17 00:00:00 2001 From: Hippo Date: Fri, 26 Aug 2022 16:58:48 +0530 Subject: [PATCH] Add "Built by" footer link to source code --- README.md | 3 ++- package.json | 2 ++ src/App.svelte | 9 +++++++++ yarn.lock | 17 +++++++++++++++++ 4 files changed, 30 insertions(+), 1 deletion(-) 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 @@ + +