Skip to content

Commit 980745b

Browse files
authored
[FEAT] - Revamp Support Us Page
Merge pull request #51 from hammercode-dev/feat/revamp-support-us
2 parents 4a95804 + bb8749e commit 980745b

File tree

32 files changed

+844
-10974
lines changed

32 files changed

+844
-10974
lines changed

package-lock.json

Lines changed: 0 additions & 10509 deletions
This file was deleted.

package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,27 +27,29 @@
2727
"@radix-ui/react-dropdown-menu": "^2.1.1",
2828
"@radix-ui/react-label": "^2.1.0",
2929
"@radix-ui/react-select": "^2.1.1",
30-
"@radix-ui/react-slot": "^1.1.0",
30+
"@radix-ui/react-slot": "^1.2.0",
3131
"@radix-ui/react-toast": "^1.2.2",
3232
"@radix-ui/react-tooltip": "^1.1.3",
3333
"@vitest/coverage-v8": "^2.1.3",
3434
"axios": "^1.7.7",
35-
"class-variance-authority": "^0.7.0",
35+
"class-variance-authority": "^0.7.1",
3636
"clsx": "^2.1.1",
3737
"embla-carousel-autoplay": "^8.2.0",
3838
"embla-carousel-react": "^8.2.0",
3939
"lucide-react": "^0.451.0",
40+
"motion": "^12.7.4",
4041
"next": "14.2.5",
4142
"next-intl": "^3.17.6",
4243
"next-themes": "^0.3.0",
4344
"react": "^18",
4445
"react-dom": "^18",
4546
"react-hook-form": "^7.53.1",
46-
"tailwind-merge": "^2.5.3",
47+
"tailwind-merge": "^3.2.0",
4748
"tailwindcss-animate": "^1.0.7",
4849
"zod": "^3.23.8"
4950
},
5051
"devDependencies": {
52+
"@tailwindcss/postcss": "^4.1.4",
5153
"@testing-library/dom": "^10.4.0",
5254
"@testing-library/jest-dom": "^6.4.8",
5355
"@testing-library/react": "^16.0.0",
@@ -67,7 +69,7 @@
6769
"lint-staged": "^15.2.8",
6870
"postcss": "^8",
6971
"prettier": "3.3.3",
70-
"tailwindcss": "^3.4.1",
72+
"tailwindcss": "^4.1.4",
7173
"ts-node": "^10.9.2",
7274
"typescript": "^5",
7375
"vitest": "^2.1.3"

postcss.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/** @type {import('postcss-load-config').Config} */
22
const config = {
33
plugins: {
4-
tailwindcss: {},
4+
"@tailwindcss/postcss": {},
55
},
66
};
77

-27.3 KB
Binary file not shown.
60.3 KB
Loading
64.6 KB
Loading
55 KB
Loading

src/app/[locale]/globals.css

Lines changed: 96 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,99 @@
1-
@tailwind base;
2-
@tailwind components;
3-
@tailwind utilities;
1+
@import "tailwindcss";
2+
3+
@custom-variant dark (&:is(.dark *));
4+
5+
@theme {
6+
--color-hmc-base-blue: #0ab6ff;
7+
--color-hmc-base-purple: #5061fc;
8+
--color-hmc-base-darkblue: #1f4c8f;
9+
--color-hmc-base-lightblue: #00bfe9;
10+
11+
--color-hmc-primary: var(--hmc-primary);
12+
--color-hmc-primary-foreground: var(--hmc-primary-foreground);
13+
14+
--color-border: hsl(var(--border));
15+
--color-input: hsl(var(--input));
16+
--color-ring: hsl(var(--ring));
17+
--color-background: hsl(var(--background));
18+
--color-foreground: hsl(var(--foreground));
19+
20+
--color-primary: hsl(var(--primary));
21+
--color-primary-foreground: hsl(var(--primary-foreground));
22+
23+
--color-secondary: hsl(var(--secondary));
24+
--color-secondary-foreground: hsl(var(--secondary-foreground));
25+
26+
--color-tertiary: var(--hmc-tertiary);
27+
--color-tertiary-foreground: var(--hmc-tertiary-foreground);
28+
29+
--color-destructive: hsl(var(--destructive));
30+
--color-destructive-foreground: hsl(var(--destructive-foreground));
31+
32+
--color-muted: hsl(var(--muted));
33+
--color-muted-foreground: hsl(var(--muted-foreground));
34+
35+
--color-accent: hsl(var(--accent));
36+
--color-accent-foreground: hsl(var(--accent-foreground));
37+
38+
--color-popover: hsl(var(--popover));
39+
--color-popover-foreground: hsl(var(--popover-foreground));
40+
41+
--color-card: hsl(var(--card));
42+
--color-card-foreground: hsl(var(--card-foreground));
43+
44+
--radius-lg: var(--radius);
45+
--radius-md: calc(var(--radius) - 2px);
46+
--radius-sm: calc(var(--radius) - 4px);
47+
48+
--animate-accordion-down: accordion-down 0.2s ease-out;
49+
--animate-accordion-up: accordion-up 0.2s ease-out;
50+
51+
@keyframes accordion-down {
52+
from {
53+
height: 0;
54+
}
55+
to {
56+
height: var(--radix-accordion-content-height);
57+
}
58+
}
59+
@keyframes accordion-up {
60+
from {
61+
height: var(--radix-accordion-content-height);
62+
}
63+
to {
64+
height: 0;
65+
}
66+
}
67+
}
68+
69+
@utility container {
70+
margin-inline: auto;
71+
padding-inline: 2rem;
72+
@media (width >= --theme(--breakpoint-sm)) {
73+
max-width: none;
74+
}
75+
@media (width >= 1400px) {
76+
max-width: 1400px;
77+
}
78+
}
79+
80+
/*
81+
The default border color has changed to `currentcolor` in Tailwind CSS v4,
82+
so we've added these compatibility styles to make sure everything still
83+
looks the same as it did with Tailwind CSS v3.
84+
85+
If we ever want to remove these styles, we need to add an explicit border
86+
color utility to any element that depends on these defaults.
87+
*/
88+
@layer base {
89+
*,
90+
::after,
91+
::before,
92+
::backdrop,
93+
::file-selector-button {
94+
border-color: var(--color-gray-200, currentcolor);
95+
}
96+
}
497

598
@layer base {
699
:root {

src/app/[locale]/layout.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@ export default async function LocaleRootLayout({ children, params: { locale } }:
3838

3939
return (
4040
<html lang={locale}>
41-
<head>
42-
<link rel="icon" href="/assets/icons/ic_hmc-dark.svg" sizes="any" />
43-
</head>
4441
<body className={`${sora.className}`}>
4542
<NextIntlClientProvider messages={messages}>
4643
<WrapperLayout>{children}</WrapperLayout>

src/app/favicon.ico

-10.3 KB
Binary file not shown.

0 commit comments

Comments
 (0)