-
Notifications
You must be signed in to change notification settings - Fork 382
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ts migration and analytics * bypass build errors for now * fix imports
- Loading branch information
1 parent
29a4712
commit dc96c15
Showing
89 changed files
with
7,075 additions
and
702 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"$schema": "https://ui.shadcn.com/schema.json", | ||
"style": "default", | ||
"rsc": false, | ||
"tsx": true, | ||
"tailwind": { | ||
"config": "tailwind.config.js", | ||
"css": "styles/globals.css", | ||
"baseColor": "neutral", | ||
"cssVariables": true, | ||
"prefix": "" | ||
}, | ||
"aliases": { | ||
"components": "@/components", | ||
"utils": "@/lib/utils", | ||
"ui": "@/components/ui", | ||
"lib": "@/lib", | ||
"hooks": "@/hooks" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import gulp from 'gulp'; | ||
import imagemin, { optipng } from 'gulp-imagemin'; | ||
import imageminWebp from 'imagemin-webp'; | ||
|
||
// Task to optimize PNG images | ||
gulp.task('optimize-png', () => { | ||
return gulp.src('src/images/*.png') | ||
.pipe(imagemin([ | ||
optipng({ optimizationLevel: 5 }), | ||
])) | ||
.pipe(gulp.dest('src/images')); | ||
}); | ||
|
||
// Task to optimize WebP images | ||
gulp.task('optimize-webp', () => { | ||
return gulp.src('src/images/*.webp') | ||
.pipe(imagemin([ | ||
imageminWebp({ quality: 100 }), | ||
])) | ||
.pipe(gulp.dest('src/images')); | ||
}); | ||
|
||
// Default task to run both image optimization tasks | ||
gulp.task('default', gulp.series('optimize-png', 'optimize-webp')); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/// <reference types="next" /> | ||
|
||
// NOTE: This file should not be edited | ||
// see https://nextjs.org/docs/basic-features/typescript for more information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.