Skip to content

Commit bcfc690

Browse files
authored
Merge pull request #31 from ptrn23/fix/mobile-responsiveness-final
fix: mobile responsiveness final
2 parents 01509a4 + 212e176 commit bcfc690

36 files changed

Lines changed: 6249 additions & 4494 deletions

.github/workflows/api-tests.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: API Tests on Supabase DB
44

55
on:
66
workflow_dispatch:
7-
branches: [ "main" ]
7+
branches: ["main"]
88

99
permissions:
1010
contents: read
@@ -13,7 +13,7 @@ permissions:
1313
jobs:
1414
api-tests:
1515
runs-on: ubuntu-latest
16-
16+
1717
env: # makes env vars available to all steps
1818
DATABASE_URL: ${{ secrets.DATABASE_URL }}
1919

@@ -32,11 +32,9 @@ jobs:
3232
node-version: ${{ matrix.node-version }}
3333
- run: pnpm install --frozen-lockfile
3434

35-
3635
- name: Create .env for db package
3736
run: echo "DATABASE_URL=${DATABASE_URL}" > packages/db/.env
3837
- name: Create .env for api package
3938
run: echo "DATABASE_URL=${DATABASE_URL}" > packages/api/.env
4039

41-
4240
- run: pnpm run test:api

.github/workflows/check-types.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ name: Type Checking
44

55
on:
66
push:
7-
branches: [ "main" ]
7+
branches: ["main"]
88
pull_request:
9-
branches: [ "main" ]
9+
branches: ["main"]
1010
workflow_dispatch:
11-
branches: [ "main" ]
11+
branches: ["main"]
1212

1313
permissions:
1414
contents: read

apps/docs/app/page.module.css

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,10 @@
6868
padding: 0 20px;
6969
font-family: var(--font-geist-sans);
7070
border: 1px solid transparent;
71-
transition: background 0.2s, color 0.2s, border-color 0.2s;
71+
transition:
72+
background 0.2s,
73+
color 0.2s,
74+
border-color 0.2s;
7275
cursor: pointer;
7376
display: flex;
7477
align-items: center;
@@ -96,7 +99,10 @@ button.secondary {
9699
padding: 0 20px;
97100
font-family: var(--font-geist-sans);
98101
border: 1px solid transparent;
99-
transition: background 0.2s, color 0.2s, border-color 0.2s;
102+
transition:
103+
background 0.2s,
104+
color 0.2s,
105+
border-color 0.2s;
100106
cursor: pointer;
101107
display: flex;
102108
align-items: center;

apps/docs/tsconfig.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,5 @@
1414
"next.config.js",
1515
".next/types/**/*.ts"
1616
],
17-
"exclude": [
18-
"node_modules"
19-
]
17+
"exclude": ["node_modules"]
2018
}

apps/web/app/globals.css

Lines changed: 113 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -47,91 +47,113 @@
4747
}
4848

4949
@keyframes spin {
50-
100% { transform: rotate(360deg); }
50+
100% {
51+
transform: rotate(360deg);
52+
}
5153
}
5254

5355
@keyframes slideUp {
54-
from {
55-
transform: translateY(100px);
56-
opacity: 0;
57-
}
58-
59-
to {
60-
transform: translateY(0);
61-
opacity: 1;
62-
}
56+
from {
57+
transform: translateY(100px);
58+
opacity: 0;
59+
}
60+
61+
to {
62+
transform: translateY(0);
63+
opacity: 1;
64+
}
6365
}
6466

6567
@keyframes fadeIn {
66-
from {
67-
opacity: 0;
68-
transform: scale(0.95);
69-
}
70-
71-
to {
72-
opacity: 1;
73-
transform: scale(1);
74-
}
68+
from {
69+
opacity: 0;
70+
transform: scale(0.95);
71+
}
72+
73+
to {
74+
opacity: 1;
75+
transform: scale(1);
76+
}
7577
}
7678

7779
@keyframes fadeUp {
78-
from {
79-
opacity: 0;
80-
transform: translateY(20px);
81-
}
82-
to {
83-
opacity: 1;
84-
transform: translateY(0);
85-
}
80+
from {
81+
opacity: 0;
82+
transform: translateY(20px);
83+
}
84+
to {
85+
opacity: 1;
86+
transform: translateY(0);
87+
}
8688
}
8789

8890
@keyframes pulse {
89-
0% {
90-
opacity: 1;
91-
}
91+
0% {
92+
opacity: 1;
93+
}
9294

93-
50% {
94-
opacity: 0.4;
95-
}
95+
50% {
96+
opacity: 0.4;
97+
}
9698

97-
100% {
98-
opacity: 1;
99-
}
99+
100% {
100+
opacity: 1;
101+
}
100102
}
101103

102104
@keyframes scrollText {
103-
0%, 20% {
104-
transform: translateX(0);
105-
}
106-
80%, 100% {
107-
transform: translateX(min(0px, calc(-100% + 100cqw)));
108-
}
105+
0%,
106+
20% {
107+
transform: translateX(0);
108+
}
109+
80%,
110+
100% {
111+
transform: translateX(min(0px, calc(-100% + 100cqw)));
112+
}
109113
}
110114

111115
@keyframes extrudeRight {
112-
from { opacity: 0; transform: translateX(-15px) scale(0.9); }
113-
to { opacity: 1; transform: translateX(0) scale(1); }
116+
from {
117+
opacity: 0;
118+
transform: translateX(-15px) scale(0.9);
119+
}
120+
to {
121+
opacity: 1;
122+
transform: translateX(0) scale(1);
123+
}
114124
}
115125

116126
@keyframes pulseGlow {
117-
0% { box-shadow: 0 0 15px var(--shadow-glow), inset 0 0 10px var(--shadow-glow); }
118-
100% { box-shadow: 0 0 25px var(--shadow-glow), inset 0 0 15px var(--shadow-glow); }
127+
0% {
128+
box-shadow:
129+
0 0 15px var(--shadow-glow),
130+
inset 0 0 10px var(--shadow-glow);
131+
}
132+
100% {
133+
box-shadow:
134+
0 0 25px var(--shadow-glow),
135+
inset 0 0 15px var(--shadow-glow);
136+
}
119137
}
120138

121139
@keyframes radarPing {
122-
0% {
123-
transform: scale(0.8);
124-
opacity: 0.8;
125-
}
126-
100% {
127-
transform: scale(4.5);
128-
opacity: 0;
129-
}
140+
0% {
141+
transform: scale(0.8);
142+
opacity: 0.8;
143+
}
144+
100% {
145+
transform: scale(4.5);
146+
opacity: 0;
147+
}
130148
}
131149

132150
@keyframes slideRight {
133-
from { transform: translateX(-100%); }
134-
to { transform: translateX(0); }
151+
from {
152+
transform: translateX(-100%);
153+
}
154+
to {
155+
transform: translateX(0);
156+
}
135157
}
136158

137159
@theme {
@@ -144,15 +166,15 @@
144166
--color-base: var(--bg-base);
145167
--color-panel: var(--bg-panel);
146168
--color-panel-hover: var(--bg-panel-hover);
147-
169+
148170
--color-primary: var(--text-primary);
149171
--color-secondary: var(--text-secondary);
150172
--color-border-color: var(--border-color);
151-
173+
152174
--color-neon-blue: var(--neon-blue);
153175
--color-neon-red: var(--neon-red);
154176
--color-neon-yellow: var(--neon-yellow);
155-
177+
156178
--color-status-success: var(--status-success);
157179
--color-status-warning: var(--status-warning);
158180
--color-status-danger: var(--status-danger);
@@ -168,7 +190,8 @@
168190

169191
--animate-pan: autoPan 20s linear infinite;
170192
--animate-scroll-text: scrollText 5s ease-in-out infinite alternate;
171-
--animate-slide-up: slideUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
193+
--animate-slide-up: slideUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
194+
forwards;
172195
--animate-fade-in: fadeIn 0.2s ease-out forwards;
173196
--animate-fade-up: fadeUp 0.3s ease-out forwards;
174197
--animate-pulse-glow: pulseGlow 2s infinite alternate;
@@ -178,71 +201,71 @@
178201
}
179202

180203
body {
181-
background-color: var(--bg-base);
182-
color: var(--text-primary);
183-
transition:
184-
background-color 0.3s ease,
185-
color 0.3s ease;
186-
margin: 0;
187-
padding: 0;
188-
overflow: hidden;
189-
font-family: var(--font-chakra), sans-serif;
204+
background-color: var(--bg-base);
205+
color: var(--text-primary);
206+
transition:
207+
background-color 0.3s ease,
208+
color 0.3s ease;
209+
margin: 0;
210+
padding: 0;
211+
overflow: hidden;
212+
font-family: var(--font-chakra), sans-serif;
190213
}
191214

192215
p {
193-
font-family: var(--font-nunito), sans-serif;
216+
font-family: var(--font-nunito), sans-serif;
194217
}
195218

196219
.map-container {
197-
width: 100vw;
198-
height: 100vh;
199-
position: absolute;
200-
top: 0;
201-
left: 0;
202-
z-index: 0;
220+
width: 100vw;
221+
height: 100vh;
222+
position: absolute;
223+
top: 0;
224+
left: 0;
225+
z-index: 0;
203226
}
204227

205228
.tactical-panel {
206-
@apply bg-panel backdrop-blur-md border border-border-color rounded-2xl text-primary shadow-[0_8px_32px_rgba(0,0,0,0.15)] transition-colors duration-300;
229+
@apply bg-panel backdrop-blur-md border border-border-color rounded-2xl text-primary shadow-[0_8px_32px_rgba(0,0,0,0.15)] transition-colors duration-300;
207230
}
208231

209232
.tactical-button {
210-
@apply bg-panel border border-border-color text-primary rounded-lg font-chakra font-semibold cursor-pointer transition-all duration-200 hover:bg-panel-hover hover:-translate-y-[2px] active:translate-y-[1px];
233+
@apply bg-panel border border-border-color text-primary rounded-lg font-chakra font-semibold cursor-pointer transition-all duration-200 hover:bg-panel-hover hover:-translate-y-[2px] active:translate-y-[1px];
211234
}
212235

213236
.tactical-button:hover {
214-
background: var(--bg-panel-hover);
215-
transform: translateY(-2px);
237+
background: var(--bg-panel-hover);
238+
transform: translateY(-2px);
216239
}
217240

218241
.tactical-button:active {
219-
transform: translateY(1px);
242+
transform: translateY(1px);
220243
}
221244

222245
.tactical-button-primary {
223-
@apply bg-neon-blue/15 border border-neon-blue text-neon-blue shadow-[0_0_10px_var(--shadow-glow)] rounded-lg font-chakra font-semibold cursor-pointer transition-all duration-200 hover:bg-neon-blue hover:text-base hover:shadow-[0_0_20px_var(--color-neon-blue)] active:translate-y-[1px];
246+
@apply bg-neon-blue/15 border border-neon-blue text-neon-blue shadow-[0_0_10px_var(--shadow-glow)] rounded-lg font-chakra font-semibold cursor-pointer transition-all duration-200 hover:bg-neon-blue hover:text-base hover:shadow-[0_0_20px_var(--color-neon-blue)] active:translate-y-[1px];
224247
}
225248

226249
.tactical-button-primary:hover {
227-
background: var(--neon-blue);
228-
color: var(--bg-base);
229-
box-shadow: 0 0 20px var(--neon-blue);
250+
background: var(--neon-blue);
251+
color: var(--bg-base);
252+
box-shadow: 0 0 20px var(--neon-blue);
230253
}
231254

232255
.no-scrollbar::-webkit-scrollbar {
233-
display: none;
256+
display: none;
234257
}
235258

236259
.icon-button,
237260
.control-button {
238-
@apply w-11 h-11 bg-panel backdrop-blur-md border border-border-color rounded-xl text-primary flex items-center justify-center cursor-pointer transition-transform duration-100 font-chakra active:scale-95;
261+
@apply w-11 h-11 bg-panel backdrop-blur-md border border-border-color rounded-xl text-primary flex items-center justify-center cursor-pointer transition-transform duration-100 font-chakra active:scale-95;
239262
}
240263

241264
.icon-button:active,
242265
.control-button:active {
243-
transform: scale(0.92);
266+
transform: scale(0.92);
244267
}
245268

246269
.control-button {
247-
@apply border-none rounded-none;
248-
}
270+
@apply border-none rounded-none;
271+
}

0 commit comments

Comments
 (0)