Skip to content

Commit

Permalink
Merge pull request #4501 from brave-intl/fix/contribution-page-ii
Browse files Browse the repository at this point in the history
Further fixes for the contribution page, some nala corrections and up…
  • Loading branch information
jlbyrne committed Sep 9, 2024
2 parents 16d57c0 + 540b91e commit 0413dc0
Show file tree
Hide file tree
Showing 12 changed files with 200 additions and 213 deletions.
255 changes: 128 additions & 127 deletions nextjs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"typecheck": "tsc --noEmit --incremental false"
},
"dependencies": {
"@brave/leo": "github:brave/leo#862f4d19a6a52906d097f2366cd4208a11c9bfc1",
"@brave/leo": "github:brave/leo#4596893bbc1f7bbf1ef4d2e0ddca63b570cb997f",
"@fontsource/poppins": "5.0.12",
"@fontsource/inter": "5.0.17",
"@fontsource/dm-mono": "5.0.19",
Expand Down
2 changes: 1 addition & 1 deletion nextjs/scripts/create-local-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const nextAllowPageRoutes = [
'publishers/u2f_registrations/new',
'publishers/home',
'publishers/contribution_page',
'c/*'
'/c/*'
];
const routeMatch = [
nextAllowPageRoutes.map((r) => `ja/${r}`).join('|'),
Expand Down
9 changes: 4 additions & 5 deletions nextjs/src/app/[locale]/c/layout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ export default function PublicChannelLayout({ children }) {
const t = useTranslations();

return (
<div>
<Head>
<title>test</title>
</Head>
<div className='flex flex-col h-screen'>
<div className={`${styles['header']}`}>
<div className='container mx-auto'>
<Image
Expand All @@ -27,7 +24,9 @@ export default function PublicChannelLayout({ children }) {
/>
</div>
</div>
{children}
<div className='flex-grow'>
{children}
</div>
<div className={`${styles['footer']} small-regular`}>
<div className='container mx-auto flex justify-between'>
<div className='flex'>
Expand Down
Loading

0 comments on commit 0413dc0

Please sign in to comment.