This commit is contained in:
Dhravya Shah 2024-07-28 09:45:15 -07:00
parent 1171a97a8b
commit 78e35e395b
6 changed files with 23638 additions and 18594 deletions

View file

@ -1,3 +1,3 @@
#!/bin/sh #!/bin/sh
. "$(dirname "$0")/husky.sh" . "$(dirname "$0")/husky.sh"
pnpm run lint-staged pnpm dlx lint-staged

View file

@ -77,22 +77,20 @@ function Hero() {
<AnimatedLogoCloud /> <AnimatedLogoCloud />
<div className="relative z-50"> <div className="relative z-50">
<motion.iframe <motion.img
{...{ {...{
...slap, ...slap,
transition: { ...slap.transition, delay: 0.35 }, transition: { ...slap.transition, delay: 0.35 },
}} }}
src="/images/landing-hero.jpeg"
alt="Landing page background"
width={1512}
height={1405}
draggable="false" draggable="false"
className="z-40 relative md:mt-[-40px] hidden sm:block h-full max-w-[70vw] mx-auto md:w-full select-none px-5 !rounded-2xl" className="z-40 md:mt-[-40px] hidden sm:block h-full max-w-[70vw] mx-auto md:w-full select-none px-5 !rounded-2xl"
style={{ style={{
borderRadius: "20px", borderRadius: "20px",
width: "100%",
height: "100%",
}} }}
src="https://customer-5xczlbkyq4f9ejha.cloudflarestream.com/111c4828c3587348bc703e67bfca9682/iframe?preload=true&poster=https%3A%2F%2Fcustomer-5xczlbkyq4f9ejha.cloudflarestream.com%2F111c4828c3587348bc703e67bfca9682%2Fthumbnails%2Fthumbnail.jpg%3Ftime%3D%26height%3D600"
loading="lazy"
allow="accelerometer; gyroscope; autoplay; encrypted-media; picture-in-picture;"
allowFullScreen={true}
/> />
<div <div
className="absolute -z-10 left-0 top-[10%] h-32 w-[90%] overflow-x-hidden bg-[rgb(54,157,253)] bg-opacity-100 blur-[337.4px]" className="absolute -z-10 left-0 top-[10%] h-32 w-[90%] overflow-x-hidden bg-[rgb(54,157,253)] bg-opacity-100 blur-[337.4px]"

View file

@ -37,14 +37,6 @@ const createMemoryFromAPI = async (input: {
), ),
); );
if (numberOfItemsSavedInLast2Hours[0]!.count >= 20) {
return {
success: false,
data: 0,
error: `You have exceeded the limit`,
};
}
const vectorSaveResponse = await fetch( const vectorSaveResponse = await fetch(
`${process.env.BACKEND_BASE_URL}/api/add`, `${process.env.BACKEND_BASE_URL}/api/add`,
{ {

View file

@ -19,42 +19,42 @@ if (process.env.NODE_ENV === "development") {
})(baseNextConfig); })(baseNextConfig);
} }
export default selectedCofig; // export default selectedCofig;
//! Disabled sentry for now because of unreasonably large bundle size //! Disabled sentry for now because of unreasonably large bundle size
// export default withSentryConfig(selectedCofig, { export default withSentryConfig(selectedCofig, {
// // For all available options, see: // For all available options, see:
// // https://github.com/getsentry/sentry-webpack-plugin#options // https://github.com/getsentry/sentry-webpack-plugin#options
// org: "none-h00", org: "none-h00",
// project: "javascript-nextjs", project: "javascript-nextjs",
// // Only print logs for uploading source maps in CI // Only print logs for uploading source maps in CI
// silent: !process.env.CI, silent: !process.env.CI,
// // For all available options, see: // For all available options, see:
// // https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/ // https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/
// // Upload a larger set of source maps for prettier stack traces (increases build time) // Upload a larger set of source maps for prettier stack traces (increases build time)
// widenClientFileUpload: true, widenClientFileUpload: true,
// // Route browser requests to Sentry through a Next.js rewrite to circumvent ad-blockers. // Route browser requests to Sentry through a Next.js rewrite to circumvent ad-blockers.
// // This can increase your server load as well as your hosting bill. // This can increase your server load as well as your hosting bill.
// // Note: Check that the configured route will not match with your Next.js middleware, otherwise reporting of client- // Note: Check that the configured route will not match with your Next.js middleware, otherwise reporting of client-
// // side errors will fail. // side errors will fail.
// tunnelRoute: "/monitoring", tunnelRoute: "/monitoring",
// // Hides source maps from generated client bundles // Hides source maps from generated client bundles
// hideSourceMaps: true, hideSourceMaps: true,
// // Automatically tree-shake Sentry logger statements to reduce bundle size // Automatically tree-shake Sentry logger statements to reduce bundle size
// disableLogger: true, disableLogger: true,
// // Enables automatic instrumentation of Vercel Cron Monitors. (Does not yet work with App Router route handlers.) // Enables automatic instrumentation of Vercel Cron Monitors. (Does not yet work with App Router route handlers.)
// // See the following for more information: // See the following for more information:
// // https://docs.sentry.io/product/crons/ // https://docs.sentry.io/product/crons/
// // https://vercel.com/docs/cron-jobs // https://vercel.com/docs/cron-jobs
// automaticVercelMonitors: true, automaticVercelMonitors: true,
// }); });
// we only need to use the utility during development so we can check NODE_ENV // we only need to use the utility during development so we can check NODE_ENV
// (note: this check is recommended but completely optional) // (note: this check is recommended but completely optional)

View file

@ -18,6 +18,7 @@
"@repo/ui": "*", "@repo/ui": "*",
"lint-staged": "^15.2.5", "lint-staged": "^15.2.5",
"prettier": "^3.3.3", "prettier": "^3.3.3",
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.3", "tailwindcss": "^3.4.3",
"turbo": "^2.0.3", "turbo": "^2.0.3",
"typescript": "^5.5.4" "typescript": "^5.5.4"

42153
pnpm-lock.yaml generated

File diff suppressed because it is too large Load diff