diff --git a/apps/cli/templates/addons/pwa/apps/web/next/public/favicon/apple-touch-icon.png b/apps/cli/templates/addons/pwa/apps/web/next/public/favicon/apple-touch-icon.png index 751bd56..99ff7c5 100644 Binary files a/apps/cli/templates/addons/pwa/apps/web/next/public/favicon/apple-touch-icon.png and b/apps/cli/templates/addons/pwa/apps/web/next/public/favicon/apple-touch-icon.png differ diff --git a/apps/cli/templates/addons/pwa/apps/web/next/public/favicon/favicon-96x96.png b/apps/cli/templates/addons/pwa/apps/web/next/public/favicon/favicon-96x96.png index d2662e1..932a389 100644 Binary files a/apps/cli/templates/addons/pwa/apps/web/next/public/favicon/favicon-96x96.png and b/apps/cli/templates/addons/pwa/apps/web/next/public/favicon/favicon-96x96.png differ diff --git a/apps/cli/templates/addons/pwa/apps/web/next/public/favicon/web-app-manifest-192x192.png b/apps/cli/templates/addons/pwa/apps/web/next/public/favicon/web-app-manifest-192x192.png index 7148b79..b6e1e14 100644 Binary files a/apps/cli/templates/addons/pwa/apps/web/next/public/favicon/web-app-manifest-192x192.png and b/apps/cli/templates/addons/pwa/apps/web/next/public/favicon/web-app-manifest-192x192.png differ diff --git a/apps/cli/templates/addons/pwa/apps/web/next/public/favicon/web-app-manifest-512x512.png b/apps/cli/templates/addons/pwa/apps/web/next/public/favicon/web-app-manifest-512x512.png index 804ed4b..bba048a 100644 Binary files a/apps/cli/templates/addons/pwa/apps/web/next/public/favicon/web-app-manifest-512x512.png and b/apps/cli/templates/addons/pwa/apps/web/next/public/favicon/web-app-manifest-512x512.png differ diff --git a/apps/cli/templates/addons/pwa/apps/web/vite/public/logo.png b/apps/cli/templates/addons/pwa/apps/web/vite/public/logo.png index ac20b90..825d1f5 100644 Binary files a/apps/cli/templates/addons/pwa/apps/web/vite/public/logo.png and b/apps/cli/templates/addons/pwa/apps/web/vite/public/logo.png differ diff --git a/apps/cli/templates/frontend/native/native-base/assets/favicon.png b/apps/cli/templates/frontend/native/native-base/assets/favicon.png index e75f697..9dbf6dd 100644 Binary files a/apps/cli/templates/frontend/native/native-base/assets/favicon.png and b/apps/cli/templates/frontend/native/native-base/assets/favicon.png differ diff --git a/apps/web/next.config.mjs b/apps/web/next.config.mjs index 519cfa6..a297747 100644 --- a/apps/web/next.config.mjs +++ b/apps/web/next.config.mjs @@ -10,6 +10,12 @@ const config = { experimental: { reactCompiler: true, }, + images: { + remotePatterns: [ + { protocol: "https", hostname: "pbs.twimg.com" }, + { protocol: "https", hostname: "abs.twimg.com" }, + ], + }, async rewrites() { return [ { diff --git a/apps/web/public/favicon/apple-touch-icon.png b/apps/web/public/favicon/apple-touch-icon.png index 751bd56..24f7ac0 100644 Binary files a/apps/web/public/favicon/apple-touch-icon.png and b/apps/web/public/favicon/apple-touch-icon.png differ diff --git a/apps/web/public/favicon/favicon-96x96.png b/apps/web/public/favicon/favicon-96x96.png index d2662e1..74a4724 100644 Binary files a/apps/web/public/favicon/favicon-96x96.png and b/apps/web/public/favicon/favicon-96x96.png differ diff --git a/apps/web/public/favicon/web-app-manifest-192x192.png b/apps/web/public/favicon/web-app-manifest-192x192.png index 7148b79..ec80c52 100644 Binary files a/apps/web/public/favicon/web-app-manifest-192x192.png and b/apps/web/public/favicon/web-app-manifest-192x192.png differ diff --git a/apps/web/public/favicon/web-app-manifest-512x512.png b/apps/web/public/favicon/web-app-manifest-512x512.png index 804ed4b..737e96e 100644 Binary files a/apps/web/public/favicon/web-app-manifest-512x512.png and b/apps/web/public/favicon/web-app-manifest-512x512.png differ diff --git a/apps/web/src/app/(home)/_components/icons.tsx b/apps/web/src/app/(home)/_components/icons.tsx index eb16d17..0fab309 100644 --- a/apps/web/src/app/(home)/_components/icons.tsx +++ b/apps/web/src/app/(home)/_components/icons.tsx @@ -22,7 +22,7 @@ const PackageIcon = ({ pm, className }: { pm: string; className?: string }) => { - + diff --git a/apps/web/src/app/(home)/_components/npm-package.tsx b/apps/web/src/app/(home)/_components/npm-package.tsx index d23209c..af5476e 100644 --- a/apps/web/src/app/(home)/_components/npm-package.tsx +++ b/apps/web/src/app/(home)/_components/npm-package.tsx @@ -12,11 +12,12 @@ const NpmPackage = () => { setVersionLoading(true); try { const res = await fetch( - "https://registry.npmjs.org/create-better-t-stack/latest", + "https://api.github.com/repos/AmanVarshney01/create-better-t-stack/releases", ); if (!res.ok) throw new Error("Failed to fetch version"); const data = await res.json(); - setVersion(data.version); + const latestVersion = data[0].tag_name.split("@")[1]; + setVersion(latestVersion); } catch (error) { console.error("Error fetching NPM version:", error); setVersion("?.?.?"); diff --git a/apps/web/src/app/(home)/_components/testimonials.tsx b/apps/web/src/app/(home)/_components/testimonials.tsx index 99a6fc9..7170933 100644 --- a/apps/web/src/app/(home)/_components/testimonials.tsx +++ b/apps/web/src/app/(home)/_components/testimonials.tsx @@ -2,7 +2,9 @@ import { motion } from "framer-motion"; import { Terminal } from "lucide-react"; -import { Tweet } from "react-tweet"; +import Image from "next/image"; +import { Suspense } from "react"; +import { Tweet, TweetSkeleton, type TwitterComponents } from "react-tweet"; const TWEET_IDS = [ "1930194170418999437", @@ -71,6 +73,11 @@ const TWEET_IDS = [ "1906570888897777847", ]; +export const components: TwitterComponents = { + AvatarImg: (props) => , + MediaImg: (props) => , +}; + export default function Testimonials() { const getResponsiveColumns = (numCols: number) => { const columns: string[][] = Array(numCols) @@ -129,7 +136,9 @@ export default function Testimonials() {
- + }> + +
diff --git a/bun.lock b/bun.lock index efec20d..374b8a6 100644 --- a/bun.lock +++ b/bun.lock @@ -14,7 +14,7 @@ }, "apps/cli": { "name": "create-better-t-stack", - "version": "2.26.3", + "version": "2.26.5", "bin": { "create-better-t-stack": "dist/index.js", },