Skip to content

Commit

Permalink
Reformat using Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed May 30, 2023
1 parent f55b33e commit 9121e17
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions assets/css/carousel.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
object-fit: cover;
}

[data-bs-theme=dark] .carousel .carousel-control-prev-icon, [data-bs-theme=dark] .carousel .carousel-control-next-icon {
[data-bs-theme="dark"] .carousel .carousel-control-prev-icon,
[data-bs-theme="dark"] .carousel .carousel-control-next-icon {
color: white;
filter: invert(0);
}
}
4 changes: 2 additions & 2 deletions layouts/page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const getToc = async (toc, content) => {
exports.default = async (data) => {
const toc = await getToc(data.toc, data.content);
return (
<article>
<article>
{toc && toc.length ? (
<>
<TocButton />
Expand All @@ -61,6 +61,6 @@ exports.default = async (data) => {
) : null}

<Raw html={data.content} />
</article>
</article>
);
};
2 changes: 1 addition & 1 deletion layouts/web.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ exports.default = async ({ site, quote, nav, collections, page, content }) => (
)}

<div class="container mt-4 mb-5 px-md-0 flex-shrink-0">
{page.url == "/" ? (await (<Carousel folder="homepage" />)) : null }
{page.url == "/" ? await (<Carousel folder="homepage" />) : null}
<div class="row">
<div class="col-lg-1 col-xl-2" />
<main class="col-lg-7 col-xl-6">
Expand Down

0 comments on commit 9121e17

Please sign in to comment.