Skip to content

Commit

Permalink
Add some semantic tags 💡.
Browse files Browse the repository at this point in the history
  • Loading branch information
gmarty committed Apr 21, 2024
1 parent 3499840 commit 7d1282e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/components/ColumnListHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const ColumnListHeader = ({ className, children, ...props }) => {
className,
)}
{...props}>
{children}
<h2>{children}</h2>
</li>
);
};
Expand Down
2 changes: 1 addition & 1 deletion src/components/ColumnListItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const ColumnListItem = ({ path, selected, className, children, ...props }) => {
) : (
<li
className={clsx(
'bg-slate-700 py-1 text-slate-200 hover:bg-slate-600 hover:text-slate-100',
'py-1 hover:bg-slate-600 hover:text-slate-100',
className,
)}
{...props}>
Expand Down
6 changes: 3 additions & 3 deletions src/components/PrimaryColumn.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const PrimaryColumn = ({ children }) => (
<ol className="shrink-0 overflow-y-auto bg-slate-700 text-xs md:text-sm">
{children}
</ol>
<nav className="shrink-0 overflow-y-auto text-nowrap bg-slate-700 text-xs text-slate-200 md:text-sm">
<ol>{children}</ol>
</nav>
);

export default PrimaryColumn;
6 changes: 3 additions & 3 deletions src/components/SecondaryColumn.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const SecondaryColumn = ({ children }) => (
<ol className="shrink-0 overflow-y-auto bg-slate-200 text-xs md:text-sm">
{children}
</ol>
<nav className="shrink-0 overflow-y-auto text-nowrap bg-slate-200 text-xs md:text-sm">
<ol>{children}</ol>
</nav>
);

export default SecondaryColumn;

0 comments on commit 7d1282e

Please sign in to comment.