Skip to content

Commit

Permalink
Fix ArticleList import + don't pass blurWidth/blurHeight (temporarily)
Browse files Browse the repository at this point in the history
  • Loading branch information
kilemensi committed Sep 9, 2024
1 parent e7cbb35 commit da93af7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions apps/engineeringblog/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import type { Metadata } from "next";
import NavBar from "@/engineeringblog/components/NavBar";
import theme from "@/engineeringblog/theme";

// TODO: blurWidth/blueHeight https://github.com/vercel/next.js/issues/56511
import logoLight from "@/engineeringblog/assets/images/logo-light.png";

export const metadata: Metadata = {
Expand All @@ -19,8 +18,10 @@ export default function RootLayout({
}: Readonly<{
children: React.ReactNode;
}>) {
// TODO: blurWidth/blurHeight https://github.com/vercel/next.js/issues/56511
const { blurWidth, blurHeight, ...logoProps } = logoLight;
const logo = {
...logoLight,
...logoProps,
alt: "Technology | Code for Africa",
title: "Technology",
};
Expand Down
3 changes: 2 additions & 1 deletion apps/engineeringblog/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Section } from "@commons-ui/core";
import { ArticleList } from "@/engineeringblog/components/Article";

import ArticleList from "@/engineeringblog/components/ArticleList";
import { getAllContents } from "@/engineeringblog/utils";

export default async function index() {
Expand Down

0 comments on commit da93af7

Please sign in to comment.