Skip to content

Commit

Permalink
change title to name and specify column as property of FooterConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
irfankhan10 committed Oct 3, 2024
1 parent d203c5e commit ed1e978
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/custom/docs/components/footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@ export const Footer = () => {
</div>
</div>
<div className="grid grid-cols-1 gap-16 md:grid-cols-3 md:gap-24">
{footerConfig.map((col) => {
{footerConfig.columns.map((col) => {
return (
<div key={col.title} className="flex flex-col md:items-end">
<div key={col.name} className="flex flex-col md:items-end">
<span className="text-foreground text-left text-[0.675rem] font-semibold uppercase tracking-wide md:text-right">
{col.title}
{col.name}
</span>
<ul className="mt-3 flex flex-col gap-2 md:text-right">
{col.items.map((item) => {
Expand Down

0 comments on commit ed1e978

Please sign in to comment.