Skip to content

Commit 0ab9eff

Browse files
committed
style: improve css structure and adjust hero card padding
refactor blockquote styling in content-parser.css for better maintainability adjust padding values in HeroCard component for consistency remove redundant references section from blog posts
1 parent 48a572f commit 0ab9eff

File tree

4 files changed

+11
-22
lines changed

4 files changed

+11
-22
lines changed

src/contents/posts/en/prompting-not-role-but-culture.mdx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,3 @@ Here’s an example from my own tweet, where I showed how a simple image prompt
7171
You don’t need to be an expert to prompt well. You just need an instructional mindset. Because today, *how you talk to AI = how you shape your output.*
7272

7373
> Instead of hiring “a prompt engineer,” focus on building a **prompting culture** across your team. Teach people to think in instructions, not just outcomes. Because AI is only as good as **how we guide it**.
74-
75-
---
76-
77-
### References
78-
- [latent.space](https://www.latent.space)
79-
- [OpenAI Cookbook](https://github.com/openai/openai-cookbook)
80-
- [UX Collective - Prompting as UX](https://uxdesign.cc)

src/contents/posts/id/prompting-bukan-role-tapi-culture.mdx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,3 @@ Berikut contoh dari tweet gue sendiri, di mana prompt sederhana untuk image bisa
7171
Lu gak harus jadi expert buat bisa prompting. Cukup punya pola pikir instruktif. Karena hari ini, *cara lu ngobrol ke AI = cara lu ngatur hasil kerja*.
7272

7373
> Daripada rekrut “prompt engineer”, mending fokus bangun **budaya prompting** di dalam tim. Ajari orang untuk mikir pakai instruksi, bukan cuma ngejar hasil. Karena kualitas AI = seberapa bagus kita nge-brief dia.
74-
75-
---
76-
77-
### Referensi
78-
- [latent.space](https://www.latent.space)
79-
- [OpenAI Cookbook](https://github.com/openai/openai-cookbook)
80-
- [UX Collective - Prompting as UX](https://uxdesign.cc)

src/designs/styles/content-parser.css

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,14 @@
3131

3232
blockquote {
3333
@apply border-l-4 border-primary pl-4 italic;
34-
& p:first-of-type::before {
35-
@apply content-none;
36-
}
37-
& p:last-of-type::after {
38-
@apply content-none;
34+
p {
35+
@apply mt-0;
36+
&:first-of-type::before {
37+
@apply content-none;
38+
}
39+
&:last-of-type::after {
40+
@apply content-none;
41+
}
3942
}
4043
}
4144
}

src/packages/components/base/Displays/HeroCard.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ function HeroCard(_props: PropsWithChildren<CardProps>) {
1515
{...cardProps}
1616
className={cn([
1717
'base-container card-body shadow-xl rounded-3xl mx-auto',
18-
'py-6 px-7',
19-
'sm:py-9 sm:px-10',
20-
'md:py-11 md:px-14',
18+
'py-6 px-7!',
19+
'sm:py-8! sm:px-9!',
20+
'md:py-10! md:px-11!',
2121
'min-h-[500px]',
2222
className
2323
])}

0 commit comments

Comments
 (0)