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
. "$(dirname "$0")/husky.sh"
pnpm run lint-staged
pnpm dlx lint-staged

View file

@ -77,22 +77,20 @@ function Hero() {
<AnimatedLogoCloud />
<div className="relative z-50">
<motion.iframe
<motion.img
{...{
...slap,
transition: { ...slap.transition, delay: 0.35 },
}}
src="/images/landing-hero.jpeg"
alt="Landing page background"
width={1512}
height={1405}
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={{
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
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(
`${process.env.BACKEND_BASE_URL}/api/add`,
{

View file

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

View file

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

42153
pnpm-lock.yaml generated

File diff suppressed because it is too large Load diff