Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions fundamentals/a11y/.vitepress/shared.mts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const sharedConfig = defineConfig({
head: [
[
"link",
{ rel: "icon", type: "image/x-icon", href: "/images/favicon.ico" }
{ rel: "icon", type: "image/x-icon", href: "/a11y/images/favicon.ico" }
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙇

],
[
"meta",
Expand All @@ -59,11 +59,11 @@ export const sharedConfig = defineConfig({
transformHead: ({ pageData }) => {
const head: HeadConfig[] = [];
const title =
pageData.frontmatter.title || pageData.title || "Bundling Fundamentals";
pageData.frontmatter.title || pageData.title || "A11y Fundamentals";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

const description =
pageData.frontmatter.description ||
pageData.description ||
"Practical Guide to Efficient Frontend Bundling";
"Complete Guide to Frontend Accessibility";

head.push(["meta", { property: "og:title", content: title }]);
head.push(["meta", { property: "og:description", content: description }]);
Expand Down
Binary file added fundamentals/a11y/public/images/favicon.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion fundamentals/code-quality/code/examples/item-edit-modal.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ function ItemEditModal({ open, items, recommendedItems, onConfirm, onClose }) {

return (
<Modal open={open} onClose={onClose}>
<ItemEditBody
<ItemEditBody
keyword={keyword}
onKeywordChange={setKeyword}
onClose={onClose}
Expand Down