Skip to content

Commit

Permalink
Add GitHub link
Browse files Browse the repository at this point in the history
  • Loading branch information
limdingwen committed Aug 1, 2024
1 parent 563b220 commit 56aec83
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion site/.env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
NEXT_PUBLIC_SUPABASE_URL="TODO"
NEXT_PUBLIC_SUPABASE_ANON_KEY="TODO"
NEXT_PUBLIC_SITE_NAME="Parliament Summary"
NEXT_PUBLIC_ITEMS_PER_PAGE="20"
NEXT_PUBLIC_ITEMS_PER_PAGE="20"
NEXT_PUBLIC_REPOSITORY_URL="https://github.com/limdingwen/parliament-summary"
4 changes: 4 additions & 0 deletions site/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ export default function RootLayout({
const links = [
{ name: "Bills", href: "/bills" },
{ name: "Debates", href: "/debates" },
{
name: "GitHub",
href: process.env.NEXT_PUBLIC_REPOSITORY_URL!,
},
];

// noinspection HtmlRequiredTitleElement
Expand Down

0 comments on commit 56aec83

Please sign in to comment.