Skip to content

Commit

Permalink
feat: Swap globe for fediverse icon
Browse files Browse the repository at this point in the history
and provide a build script to regenerate the vendored contents.
  • Loading branch information
AiyionPrime committed Dec 29, 2024
1 parent 7b3f27e commit f869984
Show file tree
Hide file tree
Showing 15 changed files with 5,136 additions and 158 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/vendor-integrity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ jobs:
- name: Run build:bootstrap
run: npm run build:bootstrap

- name: Run build:dsicons
run: npm run build:dsicons

- name: Run build:font-awesome
run: npm run build:font-awesome

Expand Down
7 changes: 6 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
<link href="css/grayscale.css" rel="stylesheet" />

<!-- Custom Fonts -->
<link
href="vendor/decentralized-social-icons/DSoci.css"
rel="stylesheet"
type="text/css"
/>
<link
href="vendor/font-awesome/css/all.min.css"
rel="stylesheet"
Expand Down Expand Up @@ -210,7 +215,7 @@ <h2>Kontakt <span class="light">F</span>Norden e.V.</h2>
<a
href="https://friendica.me/profile/freifunkh"
class="btn btn-secondary btn-lg"
><i class="fa fa-globe fa-fw"></i>
><i class="DSoci-fediverse"></i>
<span class="network-name">Fediverse</span></a
>
</li>
Expand Down
4,235 changes: 4,079 additions & 156 deletions package-lock.json

Large diffs are not rendered by default.

16 changes: 15 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build:bootstrap": "rm -rf vendor/bootstrap; cp -r node_modules/bootstrap/dist/ vendor/bootstrap/",
"build:dsicons": "./node_modules/svgtofont/lib/cli.js --sources ./node_modules/decentralized-social-icons/src/ --output ./vendor/decentralized-social-icons/ --fontName DSoci",
"build:font-awesome": "rm -rf vendor/font-awesome; mkdir vendor/font-awesome; cp -r node_modules/@fortawesome/fontawesome-free/css/ vendor/font-awesome/css/; cp -r node_modules/@fortawesome/fontawesome-free/webfonts/ vendor/font-awesome/webfonts/;",
"build:jquery": "cp node_modules/jquery/dist/jquery.min.js vendor/jquery/jquery.min.js",
"build:jquery.easing": "cp node_modules/jquery.easing/jquery.easing.min.js vendor/jquery.easing/",
Expand All @@ -28,13 +29,26 @@
"@fontsource/montserrat": "^5.1.1",
"@fortawesome/fontawesome-free": "^6.7.2",
"bootstrap": "^5.3.3",
"decentralized-social-icons": "git+https://codeberg.org/WeDistribute/decentralized-social-icons.git",
"jquery": "^3.7.1",
"jquery.easing": "^1.4.1",
"leaflet": "^1.9.4",
"less": "^4.2.1",
"prettier": "^3.4.2"
"prettier": "^3.4.2",
"svgtofont": "^6.2.0"
},
"dependencies": {
"@fontsource/lora": "^5.1.1"
},
"svgtofont": {
"css": {
"hasTimestamp": false
},
"emptyDist": true,
"outSVGPath": false,
"outSVGReact": false,
"svg2ttf": {
"ts": "0"
}
}
}
112 changes: 112 additions & 0 deletions vendor/decentralized-social-icons/DSoci.css

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

Binary file added vendor/decentralized-social-icons/DSoci.eot
Binary file not shown.
111 changes: 111 additions & 0 deletions vendor/decentralized-social-icons/DSoci.less

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

Loading

0 comments on commit f869984

Please sign in to comment.