@@ -202,7 +202,7 @@ export const Tracks = ({ tracks, categories }: TracksWithCategoriesProps) => {
))
) : visibleTracks.length === 0 ? (
-
+
☹️ Sorry - currently there are no tracks available.
) : (
@@ -216,7 +216,7 @@ export const Tracks = ({ tracks, categories }: TracksWithCategoriesProps) => {
{/* Skeleton */}
{filteredTracks.length < tracksPerPage && (
-
+
@@ -225,7 +225,7 @@ export const Tracks = ({ tracks, categories }: TracksWithCategoriesProps) => {
)}
{/* Pagination Controls */}
-
+
@@ -248,9 +248,7 @@ export const Tracks = ({ tracks, categories }: TracksWithCategoriesProps) => {
>
)}
-
+
{
setCurrentPage((prev) => Math.min(prev + 1, totalPages));
diff --git a/apps/web/next.config.js b/apps/web/next.config.js
index 1d532ed8..fdb52001 100644
--- a/apps/web/next.config.js
+++ b/apps/web/next.config.js
@@ -2,6 +2,7 @@
const path = require('path');
const webpack = require("webpack");
+const isDev = process.env.NODE_ENV === 'development';
module.exports = {
webpack: (config) => {
@@ -24,7 +25,9 @@ module.exports = {
},
transpilePackages: ["@repo/ui", "@repo/common", "@repo/recoil"],
- images: {
- domains: ["d2szwvl7yo497w.cloudfront.net", "appx-wsb-gcp.akamai.net.in"], // Add your domain here
- },
+ images: isDev
+ ? { unoptimized: true }
+ : {
+ domains: ["d2szwvl7yo497w.cloudfront.net" , "appx-wsb-gcp.akamai.net.in"], //Add your domain here
+ },
};
diff --git a/apps/web/screens/footer.tsx b/apps/web/screens/footer.tsx
index e442a6be..73813e67 100644
--- a/apps/web/screens/footer.tsx
+++ b/apps/web/screens/footer.tsx
@@ -42,7 +42,7 @@ const Footer = () => {
@@ -64,7 +64,7 @@ const Footer = () => {