Skip to content

Commit e60b67e

Browse files
committed
Fix warning
Font
1 parent a8b0563 commit e60b67e

File tree

9 files changed

+66
-6
lines changed

9 files changed

+66
-6
lines changed

.github/workflows/neocities-old.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Deploy to neocities
3131
uses: bcomnes/deploy-to-neocities@v3
3232
with:
33-
api_token: ${{ secrets.NEOCITIES_API_TOKEN }}
33+
api_key: ${{ secrets.NEOCITIES_API_TOKEN }}
3434
cleanup: true
35-
neocoties_supporter: true
35+
neocities_supporter: true
3636
preview_before_deploy: true

.github/workflows/neocities.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Deploy to neocities
3131
uses: bcomnes/deploy-to-neocities@v3
3232
with:
33-
api_token: ${{ secrets.NEOCITIES_DOMSTACK_API_TOKEN }}
33+
api_key: ${{ secrets.NEOCITIES_DOMSTACK_API_TOKEN }}
3434
cleanup: true
35-
neocoties_supporter: true
35+
neocities_supporter: true
3636
preview_before_deploy: true

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 🪢 DOMStack
1+
# 🪢 domstack
22
[![npm version](https://img.shields.io/npm/v/@domstack/static.svg)](https://npmjs.org/package/@domstack/static)
33
[![Actions Status](https://github.com/bcomnes/domstack/workflows/tests/badge.svg)](https://github.com/bcomnes/domstack/actions)
44
[![Coverage Status](https://coveralls.io/repos/github/bcomnes/domstack/badge.svg?branch=master)](https://coveralls.io/github/bcomnes/domstack?branch=master)

esbuild.settings.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/**
2+
* @import { BuildOptions } from '.'
3+
*/
4+
5+
/**
6+
*
7+
* @param {BuildOptions} esbuildSettings
8+
* @returns Promise<BuildOptions>
9+
*/
10+
export default async function esbuildSettingsOverride (esbuildSettings) {
11+
// Configure loader for TTF font files
12+
esbuildSettings.loader = {
13+
...esbuildSettings.loader,
14+
'.ttf': 'copy'
15+
}
16+
17+
console.log({ esbuildSettings })
18+
return esbuildSettings
19+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
1001Fonts Free For Commercial Use License (FFC)
2+
3+
Preamble
4+
In this license, 'DS Weiss-Gotisch' refers to the given .zip file, which may contain one or numerous fonts. These fonts can be of any type (.ttf, .otf, ...) and together they form a 'font family' or in short a 'typeface'.
5+
6+
1. Copyright
7+
DS Weiss-Gotisch is the intellectual property of its respective author, provided it is original, and is protected by copyright laws in many parts of the world.
8+
9+
2. Usage
10+
DS Weiss-Gotisch may be downloaded and used free of charge for both personal and commercial use, as long as the usage is not racist or illegal. Personal use refers to all usage that does not generate financial income in a business manner, for instance:
11+
12+
- personal scrapbooking for yourself
13+
- recreational websites and blogs for friends and family
14+
- prints such as flyers, posters, t-shirts for churches, charities, and non-profit organizations
15+
16+
Commercial use refers to usage in a business environment, including:
17+
18+
- business cards, logos, advertising, websites for companies
19+
- t-shirts, books, apparel that will be sold for money
20+
- flyers, posters for events that charge admission
21+
- freelance graphic design work
22+
- anything that will generate direct or indirect income
23+
24+
3. Modification
25+
DS Weiss-Gotisch may not be modified, altered, adapted or built upon without written permission by its respective author. This pertains all files within the downloadable font zip-file.
26+
27+
4. Distribution
28+
While DS Weiss-Gotisch may freely be copied and passed along to other individuals for private use as its original downloadable zip-file, it may not be sold or published without written permission by its respective author.
29+
30+
5. Disclaimer
31+
DS Weiss-Gotisch is offered 'as is' without any warranty. 1001fonts.com and the respective author of DS Weiss-Gotisch shall not be liable for any damage derived from using this typeface. By using DS Weiss-Gotisch you agree to the terms of this license.
99 KB
Binary file not shown.
99.8 KB
Binary file not shown.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
"clean:declarations-lib": "rm -rf $(find lib -type f -name '*.d.ts*' ! -name '*-types.d.ts')",
9898
"clean-node_modules": "rm -rf node_modules && rm -rf examples/*/node_modules",
9999
"build": "npm run clean && run-p build:*",
100-
"build:domstack": "./bin.js --src . --ignore examples,test-cases,coverage,*.tsconfig.json",
100+
"build:domstack": "./bin.js --src . --ignore examples,test-cases,coverage,*.tsconfig.json,fonts",
101101
"build:declaration": "tsc -p declaration.tsconfig.json",
102102
"watch": "npm run clean && run-p watch:*",
103103
"watch:domstack": "npm run build:domstack -- --watch",

style.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/* Styles go here */
2+
3+
@font-face {
4+
font-family: 'DSWeiss-Gotisch';
5+
src: url('./fonts/ds-weiss-gotisch/DSWeiss-Gotisch.ttf') format('truetype');
6+
}
7+
8+
h1 {
9+
font-family: 'DSWeiss-Gotisch', serif;
10+
}

0 commit comments

Comments
 (0)