diff --git a/api/github-issues.js b/api/github-issues.js index e6ee938c..964d9790 100644 --- a/api/github-issues.js +++ b/api/github-issues.js @@ -3,12 +3,12 @@ export default async function githubIssues(request, response) { response.status(500).send({ message: "Github access token not set" }); } - const repos = ["deepset-ai/trial-repo", "deepset-ai/haystack-home"]; + const repos = ["deepset-ai/haystack"]; try { const fetchPromises = repos.map(async (repo) => { const res = await fetch( - `https://api.github.com/repos/${repo}/issues?state=all`, + `https://api.github.com/repos/${repo}/issues?state=all&labels=hacktoberfest`, { method: "GET", headers: { diff --git a/content/pages/hacktoberfest.md b/content/pages/hacktoberfest.md index b09f435e..7f88800c 100644 --- a/content/pages/hacktoberfest.md +++ b/content/pages/hacktoberfest.md @@ -19,7 +19,7 @@ hero: image2: /images/hacktoberfest-2.png comingSoon: - enabled: true + enabled: false text: You will find eligible issues for Hacktoberfest 2023 here once the party starts, stay tuned! 🎉 button: url: https://github.com/deepset-ai/haystack/contribute diff --git a/themes/haystack/assets/sass/components/_github-issues.scss b/themes/haystack/assets/sass/components/_github-issues.scss index 65ad9ce9..40b3c011 100644 --- a/themes/haystack/assets/sass/components/_github-issues.scss +++ b/themes/haystack/assets/sass/components/_github-issues.scss @@ -17,6 +17,9 @@ gap: 0.5rem; width: 100%; margin-top: 2rem; + max-width: 1100px; + margin-left: auto; + margin-right: auto; .issue { width: 100%; @@ -45,7 +48,7 @@ gap: 1rem; @include lg { - width: 60%; + width: 70%; flex-shrink: 0; } } @@ -84,7 +87,7 @@ @include lg { flex-wrap: nowrap; - width: 40%; + width: 30%; padding-left: 1rem; margin-top: 0; } diff --git a/themes/haystack/assets/sass/pages/_grid-page.scss b/themes/haystack/assets/sass/pages/_grid-page.scss index 4b29ffe9..ca45888b 100644 --- a/themes/haystack/assets/sass/pages/_grid-page.scss +++ b/themes/haystack/assets/sass/pages/_grid-page.scss @@ -242,6 +242,9 @@ justify-content: space-between; align-items: center; gap: 1rem; + max-width: 1100px; + margin-left: auto; + margin-right: auto; .filters { display: flex; diff --git a/themes/haystack/layouts/partials/github-issues-list.html b/themes/haystack/layouts/partials/github-issues-list.html index 2022e0cd..cd299bdb 100644 --- a/themes/haystack/layouts/partials/github-issues-list.html +++ b/themes/haystack/layouts/partials/github-issues-list.html @@ -84,7 +84,7 @@ {{/* Repo */}} const issueRepo = document.createElement("div"); issueRepo.classList.add("issue-repo"); - issueRepo.innerHTML = `[repo] ${issue.repo}`; + issueRepo.innerHTML = `${issue.repo}`; repoContainer.appendChild(issueRepo); {{/* State */}}