Skip to content

Commit

Permalink
feat: configure renovate
Browse files Browse the repository at this point in the history
  • Loading branch information
adarshaacharya committed Oct 8, 2023
1 parent 4aa9063 commit ce86dbf
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
9 changes: 9 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"semanticCommits": "enabled",
"rebaseWhen": "conflicted",
"labels": ["dependencies"],
"updateInternalDeps": true,
"rangeStrategy": "bump",
"schedule": ["every weekend"]
}
5 changes: 4 additions & 1 deletion src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { allBlogs } from "contentlayer/generated";
import { BlogCard } from "@/components/blog-card";
import React from "react";
import { LINKS } from "@/lib/constants";
import Link from "next/link";

export default function Home() {
const blogs = allBlogs.slice(0, 2).sort((a, b) => {
Expand Down Expand Up @@ -84,7 +85,9 @@ export default function Home() {
<ul>
{blogs.map((blog) => (
<li key={blog.slug} className="py-2">
<BlogCard blog={blog} key={blog.slug} />
<Link href={`/blog/${blog.slug}`}>
<BlogCard blog={blog} key={blog.slug} />
</Link>
</li>
))}
</ul>
Expand Down
4 changes: 2 additions & 2 deletions src/components/project-card.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { GitHubIcon } from "@/components/icons";
import { SocialLink } from "@/components/social-link";
import { PROJECTS } from "@/data/projects";
import { WEB_APPS } from "@/data/projects";
import Image from "next/image";

type Props = {
project: (typeof PROJECTS)[number];
project: (typeof WEB_APPS)[number];
};

export const ProjectCard = ({ project }: Props) => {
Expand Down

0 comments on commit ce86dbf

Please sign in to comment.