@@ -140,7 +140,7 @@ function WhyAramland() {
{[1, 2, 3, 4].map((item) => (
{item}
@@ -156,15 +156,15 @@ function WhyAramland() {
{/* Bottom CTA */}
-
*/}
+ {/*
هیچ کارت اعتباری نیاز نیست • تضمین بازگشت وجه ۷ روزه
-
+ */}
);
diff --git a/app/globals.css b/app/globals.css
index c7e8895..3d17cd9 100644
--- a/app/globals.css
+++ b/app/globals.css
@@ -1,7 +1,24 @@
@import "tailwindcss";
-
+@tailwind base;
+@tailwind components;
+@tailwind utilities;
/* @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); */
+
+
+ @theme {
+ --color-primary-50: #f0f1ff;
+ --color-primary-100: #e4e6ff;
+ --color-primary-200: #c3c7ff;
+ --color-primary-300: #a8b1ff;
+ --color-primary-400: #8d9aff;
+ --color-primary-500: #727dfd;
+ --color-primary-600: #5d68e0;
+ --color-primary-700: #4853c4;
+ --color-primary-800: #343ea8;
+ --color-primary-900: #1f298;
+ }
+
/* Dana Font Faces */
@font-face {
font-family: 'Dana';
diff --git a/package-lock.json b/package-lock.json
index add57cd..2770301 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -19,6 +19,7 @@
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
+ "autoprefixer": "^10.4.21",
"eslint": "^9",
"eslint-config-next": "16.0.1",
"tailwindcss": "^4",
@@ -2363,6 +2364,44 @@
"node": ">= 0.4"
}
},
+ "node_modules/autoprefixer": {
+ "version": "10.4.21",
+ "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.21.tgz",
+ "integrity": "sha512-O+A6LWV5LDHSJD3LjHYoNi4VLsj/Whi7k6zG12xTYaU4cQ8oxQGckXNX8cRHK5yOZ/ppVHe0ZBXGzSV9jXdVbQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/autoprefixer"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "browserslist": "^4.24.4",
+ "caniuse-lite": "^1.0.30001702",
+ "fraction.js": "^4.3.7",
+ "normalize-range": "^0.1.2",
+ "picocolors": "^1.1.1",
+ "postcss-value-parser": "^4.2.0"
+ },
+ "bin": {
+ "autoprefixer": "bin/autoprefixer"
+ },
+ "engines": {
+ "node": "^10 || ^12 || >=14"
+ },
+ "peerDependencies": {
+ "postcss": "^8.1.0"
+ }
+ },
"node_modules/available-typed-arrays": {
"version": "1.0.7",
"resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz",
@@ -3589,6 +3628,20 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/fraction.js": {
+ "version": "4.3.7",
+ "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.3.7.tgz",
+ "integrity": "sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "*"
+ },
+ "funding": {
+ "type": "patreon",
+ "url": "https://github.com/sponsors/rawify"
+ }
+ },
"node_modules/framer-motion": {
"version": "12.23.24",
"resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-12.23.24.tgz",
@@ -5097,6 +5150,16 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/normalize-range": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz",
+ "integrity": "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
"node_modules/object-assign": {
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
@@ -5377,6 +5440,7 @@
}
],
"license": "MIT",
+ "peer": true,
"dependencies": {
"nanoid": "^3.3.11",
"picocolors": "^1.1.1",
@@ -5386,6 +5450,13 @@
"node": "^10 || ^12 || >=14"
}
},
+ "node_modules/postcss-value-parser": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz",
+ "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/prelude-ls": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
diff --git a/package.json b/package.json
index 670bbb4..7a2776b 100644
--- a/package.json
+++ b/package.json
@@ -20,6 +20,7 @@
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
+ "autoprefixer": "^10.4.21",
"eslint": "^9",
"eslint-config-next": "16.0.1",
"tailwindcss": "^4",
diff --git a/postcss.config.mjs b/postcss.config.mjs
index 61e3684..72b48a8 100644
--- a/postcss.config.mjs
+++ b/postcss.config.mjs
@@ -1,6 +1,8 @@
+// postcss.config.mjs
const config = {
plugins: {
- "@tailwindcss/postcss": {},
+ "@tailwindcss/postcss": {}, // ✅ correct for Tailwind 4
+ autoprefixer: {},
},
};
diff --git a/tailwind.config.ts b/tailwind.config.ts
index 1f28356..71fb29f 100644
--- a/tailwind.config.ts
+++ b/tailwind.config.ts
@@ -1,66 +1,35 @@
-import type { Config } from 'tailwindcss';
+import type { Config } from "tailwindcss";
const config: Config = {
+ content: [
+ "./pages/**/*.{js,ts,jsx,tsx,mdx}",
+ "./components/**/*.{js,ts,jsx,tsx,mdx}",
+ "./app/**/*.{js,ts,jsx,tsx,mdx}",
+ ],
theme: {
extend: {
fontFamily: {
sans: [
- 'Dana',
- 'Inter',
- 'var(--font-geist-sans)',
- 'system-ui',
- 'sans-serif',
+ "Dana",
+ "Inter",
+ "var(--font-geist-sans)",
+ "system-ui",
+ "sans-serif",
],
},
- direction: {
- 'rtl': 'rtl',
- },
- colors: {
- primary: {
- 50: '#f0f1ff',
- 100: '#e0e2ff',
- 200: '#c3c7ff',
- 300: '#a8b1ff',
- 400: '#8d9aff',
- 500: '#C3C7FF', // Your main color
- 600: '#a8b1ff',
- 700: '#8d9aff',
- 800: '#7283ff',
- 900: '#576cff',
- }
- },
+
animation: {
- 'fadeInUp': 'fadeInUp 0.6s ease-out',
- 'float': 'float 6s ease-in-out infinite',
- 'pulse-glow': 'pulse-glow 2s ease-in-out infinite alternate',
- 'slideInLeft': 'slideInLeft 0.6s ease-out',
- 'slideInRight': 'slideInRight 0.6s ease-out',
+ fadeInUp: "fadeInUp 0.6s ease-out",
},
keyframes: {
fadeInUp: {
- '0%': { opacity: '0', transform: 'translateY(30px)' },
- '100%': { opacity: '1', transform: 'translateY(0)' },
+ "0%": { opacity: "0", transform: "translateY(30px)" },
+ "100%": { opacity: "1", transform: "translateY(0)" },
},
- float: {
- '0%, 100%': { transform: 'translateY(0px)' },
- '50%': { transform: 'translateY(-20px)' },
- },
- 'pulse-glow': {
- '0%': { boxShadow: '0 0 20px rgb(195 199 255 / 0.4)' },
- '100%': { boxShadow: '0 0 30px rgb(195 199 255 / 0.8)' },
- },
- slideInLeft: {
- '0%': { opacity: '0', transform: 'translateX(-30px)' },
- '100%': { opacity: '1', transform: 'translateX(0)' },
- },
- slideInRight: {
- '0%': { opacity: '0', transform: 'translateX(30px)' },
- '100%': { opacity: '1', transform: 'translateX(0)' },
- },
- }
+ },
},
},
plugins: [],
};
-export default config;
\ No newline at end of file
+export default config;