Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(logo): update logo #5

Merged
merged 3 commits into from
Aug 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ 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
version: 8.9.0
run_install: false

- name: Node Setup
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
uses: actions/checkout@v2

- name: Setup pnpm 8
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v4
with:
version: 8
version: 8.9.0

- name: Setup Node.js 18.x
uses: actions/setup-node@v2
Expand Down
9 changes: 9 additions & 0 deletions apps/scriptkit/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Binary file added apps/scriptkit/public/assets/logo-v2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
58 changes: 57 additions & 1 deletion apps/scriptkit/public/data/courses.json
Original file line number Diff line number Diff line change
@@ -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
}
]
}
]
49 changes: 25 additions & 24 deletions apps/scriptkit/public/free-riders.json
Original file line number Diff line number Diff line change
@@ -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"
]
}
7 changes: 0 additions & 7 deletions apps/scriptkit/src/components/course-widget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,6 @@ const CourseWidget: React.FC<
return (
<div className="sm:grid grid-cols-2 bg-gradient-to-bl from-gray-900 to-gray-800 rounded-lg overflow-hidden">
<div className="sm:p-8 p-5">
<img
src={image_thumb_url}
alt={title}
width={100}
height={100}
className="-m-3"
/>
<div className="sm:pt-8 pt-5">
<p className="uppercase text-xs font-semibold pb-2 text-yellow-500">
video course
Expand Down
5 changes: 3 additions & 2 deletions apps/scriptkit/src/components/logo.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
import Image from 'next/legacy/image'
import Image from 'next/image'

const Logo = () => {
return (
<Image
src={require('../../public/assets/logo.png')}
src={require('../../public/assets/logo-v2.png')}
quality={100}
priority
alt="Script Kit Logo"
height={32}
/>
)
}
Expand Down
Loading