From ca3f9b7f9f9d9b4496131d8f2b0f0f2a739836e5 Mon Sep 17 00:00:00 2001 From: Oktay Date: Sun, 3 Jul 2022 15:14:49 +0300 Subject: [PATCH] Scroll snap feature (#22) --- components/repo-card.js | 2 +- components/shot-card.js | 2 +- pages/index.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/repo-card.js b/components/repo-card.js index e7456b1..aa21c58 100644 --- a/components/repo-card.js +++ b/components/repo-card.js @@ -41,7 +41,7 @@ export default function RepoCard({ return (
diff --git a/components/shot-card.js b/components/shot-card.js index c5a2fa0..71f77c2 100644 --- a/components/shot-card.js +++ b/components/shot-card.js @@ -16,7 +16,7 @@ export default function ShotCard({ id, title, images, html_url, tags }) { return (
-
+
{repos.slice(0, 6).map(RepoCard)}
@@ -151,7 +151,7 @@ export default function Home({ repos, shots, homepage, seo }) {

-
+
{shots.slice(0, 6).map(ShotCard)}