Skip to content

Commit cdf2403

Browse files
Added Shop section and 8 new patterns
1 parent 5391609 commit cdf2403

26 files changed

+2625
-275
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ yarn-error.log
77
Samples.md
88
createScreenshot.js
99
createPattern.js
10+
createPatternImage.js
1011
airtable.js
1112
/static/archive
1213
/static/social
@@ -15,4 +16,5 @@ redbubble
1516
SVGtoPNG.js
1617
test-worker/
1718
*.pattern.monster/
18-
src/css/*-*
19+
src/css/*-*
20+
*.env

nodejs/htmlGenerator.js

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,18 @@ xlsxFile("../../../../OneDrive/Documents/Patterns.xlsm", { sheet: "Patterns" }).
164164
});
165165
writeStream.end();
166166

167-
let sitePath = ["features", "downloads", "changelog", "privacy-policy"];
167+
let sitePath = [
168+
"features",
169+
"downloads",
170+
"changelog",
171+
"privacy-policy",
172+
"pattern-accessories",
173+
"pattern-home-living",
174+
"pattern-phone-cases",
175+
"pattern-stationery-office",
176+
"pattern-stickers-skins",
177+
"pattern-wall-art",
178+
];
168179

169180
// sitemap.xml
170181
writeStream = fs.createWriteStream(language.path + "static/sitemap.xml");
@@ -230,6 +241,12 @@ xlsxFile("../../../../OneDrive/Documents/Patterns.xlsm", { sheet: "Patterns" }).
230241
"index.json.js",
231242
// "index.svelte", -- Don't copy this - have to change the language
232243
"privacy-policy.svelte",
244+
"pattern-accessories.svelte",
245+
"pattern-home-living.svelte",
246+
"pattern-phone-cases.svelte",
247+
"pattern-stationery-office.svelte",
248+
"pattern-stickers-skins.svelte",
249+
"pattern-wall-art.svelte",
233250
];
234251

235252
routesFiles.forEach((filename) => {
@@ -238,6 +255,7 @@ xlsxFile("../../../../OneDrive/Documents/Patterns.xlsm", { sheet: "Patterns" }).
238255

239256
copyFile("../src/css/" + globalCSS, language.path + "static/" + globalCSS);
240257
copyFile("../src/css/" + pickrCSS, language.path + "static/" + pickrCSS);
258+
copyFile("../src/server.js", language.path + "src/server.js");
241259

242260
function copyFile(source, dest) {
243261
fs.copyFile(source, dest, (err) => {

package-lock.json

Lines changed: 186 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)