You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AGENTS.md
+104-1Lines changed: 104 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -667,6 +667,7 @@ export default async function Page({
667
667
24. Never install icon libraries — use shared icons.tsx with raw SVG paths
668
668
25. Always await params and searchParams in dynamic route pages (Next.js 15)
669
669
26. seed scripts go in scripts/ folder and are gitignored — never commit them
670
+
27. Mobile-first responsive design always. Use Tailwind breakpoints in this order: base (mobile) → md (tablet 768px) → lg (desktop 1024px). Never design desktop-first and patch mobile after.
670
671
671
672
---
672
673
@@ -884,4 +885,106 @@ export async function GET() {
884
885
885
886
---
886
887
887
-
*Last updated: May 2026*
888
+
## 21. Responsive Design Rules
889
+
890
+
### Core principle
891
+
**Mobile-first always.** Every component is designed for mobile (375px) first, then enhanced for larger screens using Tailwind breakpoints. Never write desktop styles first and try to patch mobile after.
892
+
893
+
### Breakpoints
894
+
```
895
+
base → 0px+ mobile phones (375px target)
896
+
sm → 640px+ large phones / small tablets (use sparingly)
897
+
md → 768px+ tablets
898
+
lg → 1024px+ desktop (most layout changes happen here)
899
+
xl → 1280px+ large desktop (use sparingly)
900
+
```
901
+
902
+
### Layout rules per section
903
+
904
+
**Navbar:**
905
+
```
906
+
mobile: hamburger menu, logo left, menu button right
907
+
lg: full nav links visible, logo left, CTA button right
908
+
```
909
+
910
+
**Hero section:**
911
+
```
912
+
mobile: single column, text stacked, Kody mascot hidden
913
+
lg: two columns — text left (flex-1), Kody right (w-80)
914
+
```
915
+
916
+
**Products section:**
917
+
```
918
+
mobile: single column, full width cards
919
+
lg: max-w-xl cards, left-aligned — do not stretch to full width
920
+
```
921
+
922
+
**Latest Releases & Recognition:**
923
+
```
924
+
mobile: grid-cols-1 (single column)
925
+
md: grid-cols-2
926
+
lg: grid-cols-3
927
+
gap: gap-6 at all breakpoints
928
+
```
929
+
930
+
**About page — two-column sections:**
931
+
```
932
+
mobile: stacked — heading above, body below
933
+
lg: flex-row — heading left (w-1/3), body right (flex-1)
934
+
```
935
+
936
+
**Team section (home page):**
937
+
```
938
+
mobile: grid-cols-1
939
+
md: grid-cols-3
940
+
```
941
+
942
+
**Team page (/team):**
943
+
```
944
+
mobile: grid-cols-1
945
+
md: grid-cols-2
946
+
lg: grid-cols-3
947
+
```
948
+
949
+
**Contact page:**
950
+
```
951
+
mobile: stacked — info above, form below
952
+
lg: two columns — info left (w-1/3), form right (flex-1)
953
+
```
954
+
955
+
**Footer:**
956
+
```
957
+
mobile: stacked — logo+tagline, then nav columns, then bottom bar
958
+
lg: logo+tagline left, nav columns right, bottom bar as row
959
+
```
960
+
961
+
### Typography scaling
962
+
```
963
+
H1 hero: text-4xl md:text-5xl lg:text-7xl
964
+
H2 section: text-2xl md:text-3xl lg:text-[40px]
965
+
H3: text-xl md:text-2xl
966
+
Body: text-base (16px) — never scale down on mobile
967
+
```
968
+
969
+
### What hides or shows at different breakpoints
970
+
```
971
+
Kody mascot in Hero: hidden on mobile, block on lg
972
+
Full nav links: hidden on mobile, flex on lg
973
+
Hamburger menu: flex on mobile, hidden on lg
974
+
Two-column layouts: stack on mobile, side-by-side on lg
975
+
```
976
+
977
+
### Testing checklist
978
+
Before committing any visual design work, test at these widths:
979
+
- 375px — iPhone SE (smallest target)
980
+
- 390px — iPhone 14
981
+
- 768px — iPad portrait
982
+
- 1024px — iPad landscape / small desktop
983
+
- 1280px — standard desktop
984
+
- 1440px — large desktop
985
+
986
+
Use browser DevTools responsive mode. Never ship a change that breaks any of these widths.
Copy file name to clipboardExpand all lines: README.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,12 @@
2
2
3
3
Official company website and internal CMS for **CODEDDEVS TECHNOLOGY LTD**.
4
4
5
-
This site presents CODEDDEVS as a product-driven technology company building AI-first software for African markets. The public site is aimed at investors, press, and partners. The admin dashboard is used to manage products, updates, team members, careers, messages, applications, and uploaded media.
- This site presents CODEDDEVS as a product-driven technology company building AI-first software for African markets. The public site is aimed at investors, press, and partners. The admin dashboard is used to manage products, updates, team members, careers, messages, applications, and uploaded media.
0 commit comments