Skip to content

Commit

Permalink
Update dependencies and resolve 'Inter' font fetch issue
Browse files Browse the repository at this point in the history
- Updated Next.js and related dependencies to their latest versions.
- Fixed an issue where the 'Inter' font failed to load from Google Fonts.
  • Loading branch information
eduamdev committed Aug 11, 2024
1 parent d6f50ea commit 3c68164
Show file tree
Hide file tree
Showing 4 changed files with 4,235 additions and 3,265 deletions.
4 changes: 2 additions & 2 deletions app/(marketing)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ async function DestinationCarExplorer() {
<div className="size-full group-hover:[&_img]:opacity-50">
<AspectRatio ratio={1 / 1}>
<CloudinaryImage
priority
src={image_url}
alt={name}
fill
Expand Down Expand Up @@ -296,8 +297,7 @@ function CarExplorer() {
href="/cars"
className="flex items-center justify-center gap-x-3"
>
Explore Cars{' '}
<Icons.chevronForward className="size-[14px]" />
Explore Cars <Icons.chevronForward className="size-[14px]" />
</Link>
</Button>
</div>
Expand Down
1 change: 0 additions & 1 deletion app/lib/fonts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ export const fontSans = FontSans({
variable: '--font-inter',
display: 'swap',
weight: 'variable',
axes: ['slnt'],
});
64 changes: 32 additions & 32 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,56 +11,56 @@
"seed": "node -r dotenv/config ./scripts/seed.js"
},
"dependencies": {
"@clerk/nextjs": "^4.29.9",
"@hookform/resolvers": "^3.3.4",
"@radix-ui/react-aspect-ratio": "^1.0.3",
"@radix-ui/react-checkbox": "^1.0.4",
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-label": "^2.0.2",
"@radix-ui/react-popover": "^1.0.7",
"@radix-ui/react-scroll-area": "^1.0.5",
"@radix-ui/react-select": "^2.0.0",
"@radix-ui/react-separator": "^1.0.3",
"@radix-ui/react-slider": "^1.1.2",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-toast": "^1.1.5",
"@clerk/nextjs": "^4.31.3",
"@hookform/resolvers": "^3.9.0",
"@radix-ui/react-aspect-ratio": "^1.1.0",
"@radix-ui/react-checkbox": "^1.1.1",
"@radix-ui/react-dialog": "^1.1.1",
"@radix-ui/react-label": "^2.1.0",
"@radix-ui/react-popover": "^1.1.1",
"@radix-ui/react-scroll-area": "^1.1.0",
"@radix-ui/react-select": "^2.1.1",
"@radix-ui/react-separator": "^1.1.0",
"@radix-ui/react-slider": "^1.2.0",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-toast": "^1.2.1",
"@vercel/postgres": "^0.5.1",
"bcrypt": "^5.1.1",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"clsx": "^2.1.1",
"cmdk": "^0.2.1",
"date-fns": "^2.30.0",
"eslint": "^8.57.0",
"leaflet": "^1.9.4",
"next": "^14.1.1",
"next": "^14.2.5",
"next-cloudinary": "^5.20.0",
"react": "^18.2.0",
"react-day-picker": "^8.10.0",
"react-dom": "^18.2.0",
"react-hook-form": "^7.51.0",
"react": "^18.3.1",
"react-day-picker": "^8.10.1",
"react-dom": "^18.3.1",
"react-hook-form": "^7.52.2",
"react-leaflet": "^4.2.1",
"sharp": "^0.32.6",
"tailwind-merge": "^2.2.1",
"tailwind-merge": "^2.4.0",
"tailwindcss-animate": "^1.0.7",
"typescript": "5.2.2",
"zod": "^3.22.4"
"zod": "^3.23.8"
},
"devDependencies": {
"@types/bcrypt": "^5.0.2",
"@types/leaflet": "^1.9.8",
"@types/node": "^20.11.24",
"@types/react": "18.2.33",
"@types/react-dom": "^18.2.19",
"autoprefixer": "^10.4.18",
"@types/leaflet": "^1.9.12",
"@types/node": "^20.14.15",
"@types/react": "18.3.3",
"@types/react-dom": "^18.3.0",
"autoprefixer": "^10.4.20",
"dotenv": "^16.4.5",
"eslint-config-next": "14.0.1",
"eslint-config-next": "14.2.5",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-markdown": "^3.0.1",
"eslint-plugin-tailwindcss": "^3.14.3",
"postcss": "^8.4.35",
"prettier": "^3.2.5",
"prettier-plugin-tailwindcss": "^0.5.11",
"tailwindcss": "^3.4.1"
"eslint-plugin-tailwindcss": "^3.17.4",
"postcss": "^8.4.41",
"prettier": "^3.3.3",
"prettier-plugin-tailwindcss": "^0.5.14",
"tailwindcss": "^3.4.9"
},
"engines": {
"node": ">=18"
Expand Down
Loading

0 comments on commit 3c68164

Please sign in to comment.