From ec25a37a9cf0aa5aaade4b5df12e79f3d3f45915 Mon Sep 17 00:00:00 2001 From: John Lindquist Date: Wed, 7 Aug 2024 08:17:00 -0600 Subject: [PATCH 1/3] fix(logo): update logo --- apps/scriptkit/next.config.js | 9 +++ apps/scriptkit/public/assets/logo-v2.png | Bin 0 -> 8887 bytes apps/scriptkit/public/data/courses.json | 58 +++++++++++++++++- apps/scriptkit/public/free-riders.json | 49 +++++++-------- .../src/components/course-widget.tsx | 7 --- apps/scriptkit/src/components/logo.tsx | 5 +- 6 files changed, 94 insertions(+), 34 deletions(-) create mode 100644 apps/scriptkit/public/assets/logo-v2.png diff --git a/apps/scriptkit/next.config.js b/apps/scriptkit/next.config.js index 1e739e3..ea5949a 100644 --- a/apps/scriptkit/next.config.js +++ b/apps/scriptkit/next.config.js @@ -27,6 +27,15 @@ const nextConfig = { return config }, + async redirects() { + return [ + { + source: '/docs', + destination: 'https://johnlindquist.github.io/kit-docs/', + permanent: true, + }, + ] + }, } module.exports = withSvgr(nextConfig) diff --git a/apps/scriptkit/public/assets/logo-v2.png b/apps/scriptkit/public/assets/logo-v2.png new file mode 100644 index 0000000000000000000000000000000000000000..6e99afa0264f12680cc0942979210d8d81adddd9 GIT binary patch literal 8887 zcmZ`<2UJtp)~2KM9y*~2iiAMu0Rl*uZlM<`0YWbU0TZMO5}Hy4q)8E#-dm8~q)V43 zEexXcj{GVt>RibwprjfZE5 z&-QQI6949(7=kN|DBe|z$9Q$yMX(t zBLC7+fqUC}Av}->cQ@cKU27Y6AEZ1F&#yrLzW&G)?uYm*lAHIR)4G}<_?HJPDl7v2 zU$m>q{yV?_VEI{l{J$h5!v6n>^~>`I?f1p_BS*Pk89;yk!c9~Vu5dT+tNFl0#U$l^ z&+WfFf6eZ1OymET`8Utsm{${nDtp0y71#rJcNf_Isy8|CKT-cn0Ip(}q-cwIg9<73%x*cz7Irnkq^U{P4Fd zo+Mg4^uHW@eWcy<#N8BL-DM@0-KA%fxkw^l9*K>6`Z2F#y$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XYrn=dn{&c=kRkM%&IwOf4yY|_1^xQ(g{G>mO39r^A^!(y+)-x$ literal 0 HcmV?d00001 diff --git a/apps/scriptkit/public/data/courses.json b/apps/scriptkit/public/data/courses.json index 88de932..c310bd6 100644 --- a/apps/scriptkit/public/data/courses.json +++ b/apps/scriptkit/public/data/courses.json @@ -1 +1,57 @@ -[{"title":"Script Kit Showcase for Optimizing Your Everyday Workflows","slug":"script-kit-showcase-for-optimizing-your-everyday-workflows-e20ceab4","path":"/courses/script-kit-showcase-for-optimizing-your-everyday-workflows-e20ceab4","duration":1481,"image_thumb_url":"https://d2eip9sf3oo6c2.cloudfront.net/playlists/square_covers/000/533/034/thumb/script-kit_2x.png","instructor":{"full_name":"John Lindquist"},"lessons":[{"title":"Write a Script with Script Kit to Browse Hacker News","path":"/lessons/script-kit-write-a-script-with-script-kit-to-browse-hacker-news","duration":277},{"title":"Instantly Launch Chrome Dev Tools with Script Kit","path":"/lessons/script-kit-instantly-launch-chrome-dev-tools-with-script-kit","duration":75},{"title":"Control Chrome From Script Kit using Apple Events","path":"/lessons/script-kit-control-chrome-from-script-kit-using-apple-events","duration":156},{"title":"Manipulate Images With Drag and Drop in Script Kit","path":"/lessons/script-kit-manipulate-images-with-drag-and-drop-in-script-kit","duration":168},{"title":"List and Launch Dev Projects with Script Kit","path":"/lessons/script-kit-list-and-launch-dev-projects-with-script-kit","duration":102},{"title":"Apply Title Case to Text Anywhere Using Script Kit","path":"/lessons/script-kit-apply-title-case-to-text-anywhere-using-script-kit","duration":62},{"title":"Save Chrome Tabs in a Markdown File and Take Notes with Script Kit","path":"/lessons/script-kit-save-chrome-tabs-in-a-markdown-file-and-take-notes-with-script-kit","duration":135},{"title":"Scrape a Website on a Schedule with Script Kit","path":"/lessons/script-kit-scrape-a-website-on-a-schedule-with-script-kit","duration":208},{"title":"Build a Multi-Tab Todos App in Script Kit","path":"/lessons/script-kit-build-a-multi-tab-todos-app-in-script-kit","duration":298}]}] +[ + { + "title": "Script Kit Showcase for Optimizing Your Everyday Workflows", + "slug": "script-kit-showcase-for-optimizing-your-everyday-workflows-e20ceab4", + "path": "/courses/script-kit-showcase-for-optimizing-your-everyday-workflows-e20ceab4", + "duration": 1481, + "image_thumb_url": "/assets/logo-v2.png", + "instructor": { "full_name": "John Lindquist" }, + "lessons": [ + { + "title": "Write a Script with Script Kit to Browse Hacker News", + "path": "/lessons/script-kit-write-a-script-with-script-kit-to-browse-hacker-news", + "duration": 277 + }, + { + "title": "Instantly Launch Chrome Dev Tools with Script Kit", + "path": "/lessons/script-kit-instantly-launch-chrome-dev-tools-with-script-kit", + "duration": 75 + }, + { + "title": "Control Chrome From Script Kit using Apple Events", + "path": "/lessons/script-kit-control-chrome-from-script-kit-using-apple-events", + "duration": 156 + }, + { + "title": "Manipulate Images With Drag and Drop in Script Kit", + "path": "/lessons/script-kit-manipulate-images-with-drag-and-drop-in-script-kit", + "duration": 168 + }, + { + "title": "List and Launch Dev Projects with Script Kit", + "path": "/lessons/script-kit-list-and-launch-dev-projects-with-script-kit", + "duration": 102 + }, + { + "title": "Apply Title Case to Text Anywhere Using Script Kit", + "path": "/lessons/script-kit-apply-title-case-to-text-anywhere-using-script-kit", + "duration": 62 + }, + { + "title": "Save Chrome Tabs in a Markdown File and Take Notes with Script Kit", + "path": "/lessons/script-kit-save-chrome-tabs-in-a-markdown-file-and-take-notes-with-script-kit", + "duration": 135 + }, + { + "title": "Scrape a Website on a Schedule with Script Kit", + "path": "/lessons/script-kit-scrape-a-website-on-a-schedule-with-script-kit", + "duration": 208 + }, + { + "title": "Build a Multi-Tab Todos App in Script Kit", + "path": "/lessons/script-kit-build-a-multi-tab-todos-app-in-script-kit", + "duration": 298 + } + ] + } +] diff --git a/apps/scriptkit/public/free-riders.json b/apps/scriptkit/public/free-riders.json index 89f807c..438d87b 100644 --- a/apps/scriptkit/public/free-riders.json +++ b/apps/scriptkit/public/free-riders.json @@ -1,26 +1,27 @@ { - "logins": [ - "Ambushfall", - "Creeland", - "DrShpongle", - "fcrespo82", - "garrettdimon", - "HazeProvinsal", - "jbranchaud", - "joelhooks", - "johnlindquist", - "johtso", - "meganreckner", - "nairanvac", - "nicollguarnizo", - "tayiorbeii", - "theianjones", - "vojtaholik", - "zacjones93", - "lsminter", - "ramiroaraujo", - "dodgez", - "ScytheDraven47", - "alduraji" - ] + "logins": [ + "Ambushfall", + "Creeland", + "DrShpongle", + "fcrespo82", + "garrettdimon", + "HazeProvinsal", + "jbranchaud", + "joelhooks", + "johnlindquist", + "johtso", + "meganreckner", + "nairanvac", + "nicollguarnizo", + "tayiorbeii", + "theianjones", + "vojtaholik", + "zacjones93", + "lsminter", + "ramiroaraujo", + "dodgez", + "ScytheDraven47", + "alduraji", + "xanderberkein" + ] } diff --git a/apps/scriptkit/src/components/course-widget.tsx b/apps/scriptkit/src/components/course-widget.tsx index 0580e69..591f08d 100644 --- a/apps/scriptkit/src/components/course-widget.tsx +++ b/apps/scriptkit/src/components/course-widget.tsx @@ -9,13 +9,6 @@ const CourseWidget: React.FC< return (
- {title}

video course diff --git a/apps/scriptkit/src/components/logo.tsx b/apps/scriptkit/src/components/logo.tsx index 8fddb94..9bbca54 100644 --- a/apps/scriptkit/src/components/logo.tsx +++ b/apps/scriptkit/src/components/logo.tsx @@ -1,12 +1,13 @@ -import Image from 'next/legacy/image' +import Image from 'next/image' const Logo = () => { return ( Script Kit Logo ) } From a06da6f3796d71ebc7c2952bdb8459a4842f5f83 Mon Sep 17 00:00:00 2001 From: John Lindquist Date: Wed, 7 Aug 2024 11:31:02 -0600 Subject: [PATCH 2/3] fix(build): update pnpm setup --- .github/workflows/main.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8c076e7..d769fe0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,7 +22,7 @@ jobs: uses: actions/checkout@v3 - name: PNPM Setup - uses: pnpm/action-setup@v2.2.4 + uses: pnpm/action-setup@v4 with: version: 8.7.0 run_install: false diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0707a67..e1002e3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: uses: actions/checkout@v2 - name: Setup pnpm 8 - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v4 with: version: 8 From e0bbc28f009f3634c2834c3e814a9bf7baad05ea Mon Sep 17 00:00:00 2001 From: John Lindquist Date: Wed, 7 Aug 2024 11:35:16 -0600 Subject: [PATCH 3/3] fix(build): update pnpm setup --- .github/workflows/main.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d769fe0..3ee515c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,7 +24,7 @@ jobs: - name: PNPM Setup uses: pnpm/action-setup@v4 with: - version: 8.7.0 + version: 8.9.0 run_install: false - name: Node Setup diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e1002e3..093fe1e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ jobs: - name: Setup pnpm 8 uses: pnpm/action-setup@v4 with: - version: 8 + version: 8.9.0 - name: Setup Node.js 18.x uses: actions/setup-node@v2