Add "Built by" footer link to source code

This commit is contained in:
Hippo 2022-08-26 16:58:48 +05:30
parent c30e69c372
commit 04308a85c7
4 changed files with 30 additions and 1 deletions

View file

@ -42,4 +42,5 @@ would be welcome! Feel free to open an issue, comment, or pull request as approp
## Credits ## 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

View file

@ -13,6 +13,7 @@
"@rollup/plugin-node-resolve": "^11.0.0", "@rollup/plugin-node-resolve": "^11.0.0",
"@rollup/plugin-typescript": "^8.0.0", "@rollup/plugin-typescript": "^8.0.0",
"@tsconfig/svelte": "^2.0.0", "@tsconfig/svelte": "^2.0.0",
"fa-svelte": "^3.1.0",
"rollup": "^2.3.4", "rollup": "^2.3.4",
"rollup-plugin-css-only": "^3.1.0", "rollup-plugin-css-only": "^3.1.0",
"rollup-plugin-livereload": "^2.0.0", "rollup-plugin-livereload": "^2.0.0",
@ -25,6 +26,7 @@
"typescript": "^4.0.0" "typescript": "^4.0.0"
}, },
"dependencies": { "dependencies": {
"@fortawesome/free-solid-svg-icons": "^6.1.2",
"email-validator": "^2.0.4", "email-validator": "^2.0.4",
"file-saver": "^2.0.5", "file-saver": "^2.0.5",
"sirv-cli": "^2.0.0", "sirv-cli": "^2.0.0",

View file

@ -3,6 +3,11 @@
import saveAs from 'file-saver' import saveAs from 'file-saver'
import Slug from 'slug' 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 name: string;
export let email: string; export let email: string;
export let slug: string; export let slug: string;
@ -169,6 +174,10 @@
</fieldset> </fieldset>
</form> </form>
<footer>
<p><a href="https://code.snipettemag.com/snipette/ghost-user-maker" target="_blank"><Icon icon={faCode} alt="Built"/> with <Icon icon={faPaw} alt="pawmarks"/> by puppies just like you.</a></p>
</footer>
</main> </main>
<style> <style>

View file

@ -23,6 +23,18 @@
chalk "^2.0.0" chalk "^2.0.0"
js-tokens "^4.0.0" js-tokens "^4.0.0"
"@fortawesome/fontawesome-common-types@6.1.2":
version "6.1.2"
resolved "https://registry.yarnpkg.com/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-6.1.2.tgz#c1095b1bbabf19f37f9ff0719db38d92a410bcfe"
integrity sha512-wBaAPGz1Awxg05e0PBRkDRuTsy4B3dpBm+zreTTyd9TH4uUM27cAL4xWyWR0rLJCrRwzVsQ4hF3FvM6rqydKPA==
"@fortawesome/free-solid-svg-icons@^6.1.2":
version "6.1.2"
resolved "https://registry.yarnpkg.com/@fortawesome/free-solid-svg-icons/-/free-solid-svg-icons-6.1.2.tgz#491d668b8a6603698d0ce1ac620f66fd22b74c84"
integrity sha512-lTgZz+cMpzjkHmCwOG3E1ilUZrnINYdqMmrkv30EC3XbRsGlbIOL8H9LaNp5SV4g0pNJDfQ4EdTWWaMvdwyLiQ==
dependencies:
"@fortawesome/fontawesome-common-types" "6.1.2"
"@jridgewell/gen-mapping@^0.3.0": "@jridgewell/gen-mapping@^0.3.0":
version "0.3.2" version "0.3.2"
resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz#c1aedc61e853f2bb9f5dfe6d4442d3b565b253b9" resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz#c1aedc61e853f2bb9f5dfe6d4442d3b565b253b9"
@ -339,6 +351,11 @@ estree-walker@^2.0.1:
resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-2.0.2.tgz#52f010178c2a4c117a7757cfe942adb7d2da4cac" resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-2.0.2.tgz#52f010178c2a4c117a7757cfe942adb7d2da4cac"
integrity sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w== integrity sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==
fa-svelte@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/fa-svelte/-/fa-svelte-3.1.0.tgz#7d833410113c0696ca5c64645383de1f77baa029"
integrity sha512-RqBOWwt7sc+ta9GFjbu5GOwKFRzn3rMPPSqvSGpIwsfVnpMjiI5ttv84lwNsCMEYI6/lu/iH21HUcE3TLz8RGQ==
fast-glob@^3.2.7: fast-glob@^3.2.7:
version "3.2.11" version "3.2.11"
resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.11.tgz#a1172ad95ceb8a16e20caa5c5e56480e5129c1d9" resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.11.tgz#a1172ad95ceb8a16e20caa5c5e56480e5129c1d9"