aboutsummaryrefslogtreecommitdiff
path: root/components/Breadcrumbs
diff options
context:
space:
mode:
authorflu0r1ne <flu0r1ne@flu0r1ne.net>2021-07-21 04:42:31 -0500
committerflu0r1ne <flu0r1ne@flu0r1ne.net>2021-07-21 04:42:58 -0500
commite424680fc013c291bd7eea4dc63b96401e5126a8 (patch)
treeb39227c50b2c365c49694fa4f86b2630d428ebc2 /components/Breadcrumbs
parent437268370661087dbe31323efb18dfe1a518da33 (diff)
downloadhomepage-e424680fc013c291bd7eea4dc63b96401e5126a8.tar.xz
homepage-e424680fc013c291bd7eea4dc63b96401e5126a8.zip
Added a timestamp and sorts posts by timestamp
Diffstat (limited to 'components/Breadcrumbs')
-rw-r--r--components/Breadcrumbs/breadcrumbs.module.scss2
-rw-r--r--components/Breadcrumbs/index.tsx4
2 files changed, 3 insertions, 3 deletions
diff --git a/components/Breadcrumbs/breadcrumbs.module.scss b/components/Breadcrumbs/breadcrumbs.module.scss
index 104eec2..6facea4 100644
--- a/components/Breadcrumbs/breadcrumbs.module.scss
+++ b/components/Breadcrumbs/breadcrumbs.module.scss
@@ -12,4 +12,4 @@
.divider {
margin: 0 0.3rem;
-} \ No newline at end of file
+}
diff --git a/components/Breadcrumbs/index.tsx b/components/Breadcrumbs/index.tsx
index ed650e3..c5a17b8 100644
--- a/components/Breadcrumbs/index.tsx
+++ b/components/Breadcrumbs/index.tsx
@@ -9,7 +9,7 @@ export type BreadcrumbsProps = {
};
const Breadcrumbs : FC<BreadcrumbsProps> = ({children, className, ...props}) => (
- <div className={clsx(styles.breadcrumbs, className)} {...props}>
+ <span className={clsx(styles.breadcrumbs, className)} {...props}>
{Children.map(children, (child, index) => {
return (
<>
@@ -22,7 +22,7 @@ const Breadcrumbs : FC<BreadcrumbsProps> = ({children, className, ...props}) =>
</>
);
})}
- </div>
+ </span>
);
const Crumb : FC = ({children, ...props}) => (