Skip to content

Commit fe095a5

Browse files
committed
polish
1 parent 71a6ecb commit fe095a5

File tree

5 files changed

+26
-45
lines changed

5 files changed

+26
-45
lines changed

apps/frontend/Dockerfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,21 @@ COPY . .
2121
ARG NEXT_PUBLIC_BACKEND_BASE_URL
2222
ARG NEXT_PUBLIC_GOOGLE_CLIENT_ID
2323
ARG NEXT_PUBLIC_TINYMCE_API_KEY
24+
ARG NEXT_PUBLIC_PROFILE_IMAGE_URL
25+
ARG NEXT_PUBLIC_CONTACT_WHATSAPP
26+
ARG NEXT_PUBLIC_CONTACT_GITHUB
27+
ARG NEXT_PUBLIC_CONTACT_LINKEDIN
28+
ARG NEXT_PUBLIC_CONTACT_FIVERR
29+
ARG NEXT_PUBLIC_CONTACT_EMAIL
2430
ENV NEXT_PUBLIC_BACKEND_BASE_URL=$NEXT_PUBLIC_BACKEND_BASE_URL
2531
ENV NEXT_PUBLIC_GOOGLE_CLIENT_ID=$NEXT_PUBLIC_GOOGLE_CLIENT_ID
2632
ENV NEXT_PUBLIC_TINYMCE_API_KEY=$NEXT_PUBLIC_TINYMCE_API_KEY
33+
ENV NEXT_PUBLIC_PROFILE_IMAGE_URL=$NEXT_PUBLIC_PROFILE_IMAGE_URL
34+
ENV NEXT_PUBLIC_CONTACT_WHATSAPP=$NEXT_PUBLIC_CONTACT_WHATSAPP
35+
ENV NEXT_PUBLIC_CONTACT_GITHUB=$NEXT_PUBLIC_CONTACT_GITHUB
36+
ENV NEXT_PUBLIC_CONTACT_LINKEDIN=$NEXT_PUBLIC_CONTACT_LINKEDIN
37+
ENV NEXT_PUBLIC_CONTACT_FIVERR=$NEXT_PUBLIC_CONTACT_FIVERR
38+
ENV NEXT_PUBLIC_CONTACT_EMAIL=$NEXT_PUBLIC_CONTACT_EMAIL
2739
WORKDIR /app/apps/frontend
2840
RUN pnpm build
2941

apps/frontend/app/admin/dashboard/edit/[id]/page.tsx

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -290,9 +290,7 @@ export default function EditBlogPostPage() {
290290
<Card>
291291
<CardHeader>
292292
<CardTitle>Basic Information</CardTitle>
293-
<CardDescription>
294-
Update the basic details for your blog post
295-
</CardDescription>
293+
<CardDescription></CardDescription>
296294
</CardHeader>
297295
<CardContent className="space-y-4">
298296
<div className="space-y-2">
@@ -354,11 +352,8 @@ export default function EditBlogPostPage() {
354352
{/* Content */}
355353
<Card>
356354
<CardHeader>
357-
<CardTitle>Content</CardTitle>
358-
<CardDescription>
359-
Update the main content of your blog post using the rich text
360-
editor
361-
</CardDescription>
355+
<CardTitle>Body</CardTitle>
356+
<CardDescription></CardDescription>
362357
</CardHeader>
363358
<CardContent>
364359
<div className="space-y-2">
@@ -384,9 +379,7 @@ export default function EditBlogPostPage() {
384379
<Card>
385380
<CardHeader>
386381
<CardTitle>Tags</CardTitle>
387-
<CardDescription>
388-
Update tags to help categorize your blog post
389-
</CardDescription>
382+
<CardDescription></CardDescription>
390383
</CardHeader>
391384
<CardContent className="space-y-4">
392385
<div className="flex space-x-2">
@@ -435,9 +428,7 @@ export default function EditBlogPostPage() {
435428
<Card>
436429
<CardHeader>
437430
<CardTitle>Publishing Options</CardTitle>
438-
<CardDescription>
439-
Configure how and when your blog post will be published
440-
</CardDescription>
431+
<CardDescription></CardDescription>
441432
</CardHeader>
442433
<CardContent className="space-y-4">
443434
<div className="space-y-2">

apps/frontend/app/admin/dashboard/new/page.tsx

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -208,9 +208,7 @@ export default function NewBlogPostPage() {
208208
<Card>
209209
<CardHeader>
210210
<CardTitle>Basic Information</CardTitle>
211-
<CardDescription>
212-
Enter the basic details for your blog post
213-
</CardDescription>
211+
<CardDescription></CardDescription>
214212
</CardHeader>
215213
<CardContent className="space-y-4">
216214
<div className="space-y-2">
@@ -270,11 +268,8 @@ export default function NewBlogPostPage() {
270268
{/* Content */}
271269
<Card>
272270
<CardHeader>
273-
<CardTitle>Content</CardTitle>
274-
<CardDescription>
275-
Write the main content of your blog post using the rich text
276-
editor
277-
</CardDescription>
271+
<CardTitle>Body</CardTitle>
272+
<CardDescription></CardDescription>
278273
</CardHeader>
279274
<CardContent>
280275
<div className="space-y-2">
@@ -300,9 +295,7 @@ export default function NewBlogPostPage() {
300295
<Card>
301296
<CardHeader>
302297
<CardTitle>Tags</CardTitle>
303-
<CardDescription>
304-
Add tags to help categorize your blog post
305-
</CardDescription>
298+
<CardDescription></CardDescription>
306299
</CardHeader>
307300
<CardContent className="space-y-4">
308301
<div className="flex space-x-2">
@@ -349,9 +342,7 @@ export default function NewBlogPostPage() {
349342
<Card>
350343
<CardHeader>
351344
<CardTitle>Publishing Options</CardTitle>
352-
<CardDescription>
353-
Configure how and when your blog post will be published
354-
</CardDescription>
345+
<CardDescription></CardDescription>
355346
</CardHeader>
356347
<CardContent className="space-y-4">
357348
<div className="space-y-2">

apps/frontend/app/admin/dashboard/page.tsx

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ export default function AdminDashboardPage() {
174174
<h1 className="text-2xl font-bold text-gray-900">
175175
Admin Dashboard
176176
</h1>
177-
<p className="text-sm text-gray-600">Manage your blog posts</p>
177+
<p className="text-sm text-gray-600">Manage all blog posts</p>
178178
</div>
179179
<div className="flex items-center space-x-4">
180180
<Link href="/admin/dashboard/new">
@@ -202,11 +202,8 @@ export default function AdminDashboardPage() {
202202

203203
<Card>
204204
<CardHeader>
205-
<CardTitle>Blog Posts</CardTitle>
206-
<CardDescription>
207-
A list of all your blog posts. You can create, edit, or delete
208-
posts from here.
209-
</CardDescription>
205+
<CardTitle>List of Blog Posts</CardTitle>
206+
<CardDescription></CardDescription>
210207
</CardHeader>
211208
<CardContent>
212209
{isLoading ? (
@@ -220,7 +217,7 @@ export default function AdminDashboardPage() {
220217
<Link href="/admin/dashboard/new">
221218
<Button>
222219
<Plus className="h-4 w-4 mr-2" />
223-
Create Your First Post
220+
Write First Blog..
224221
</Button>
225222
</Link>
226223
</div>

apps/frontend/app/admin/login/page.tsx

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,6 @@ export default function AdminLoginPage() {
176176
<Shield className="h-4 w-4" />
177177
<AlertDescription>
178178
<strong>Authentication Challenge Received</strong>
179-
<br />
180-
Your browser will now sign this challenge cryptographically to
181-
prove your identity.
182179
</AlertDescription>
183180
</Alert>
184181

@@ -216,13 +213,6 @@ export default function AdminLoginPage() {
216213
</div>
217214
)}
218215

219-
{/* Security Notice */}
220-
<div className="text-xs text-muted-foreground space-y-1">
221-
<p>• Private keys never leave your device</p>
222-
<p>• All cryptographic operations happen client-side</p>
223-
<p>• Challenge-response prevents replay attacks</p>
224-
</div>
225-
226216
<div className="text-center">
227217
<Link
228218
href="/"

0 commit comments

Comments
 (0)