Skip to content

Commit

Permalink
show test planner
Browse files Browse the repository at this point in the history
  • Loading branch information
Bahugunajii committed Dec 18, 2023
1 parent 3ae043d commit 9c21615
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 11 deletions.
7 changes: 6 additions & 1 deletion app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -185,11 +185,16 @@ export default function Home() {
</div>
))}
</div>) : (
<p className={`${infoMessageClass} pb-40`}>
<p className={`${infoMessageClass}`}>
Good Job! There are no more pending tests today.
</p>
)}
</div>
<div className="text-blue-500 underline pb-40 bg-heading text-center">
<Link href="https://docs.google.com/spreadsheets/d/1zIjYf4KUXkAHLiuWdtHp-l-5xa96obBtbQU0UvuOy7w/edit?usp=sharing" target="_blank">
Click on the link to see all upcoming Tests
</Link>
</div>
<BottomNavigationBar />
</main>)}
{/* ) : (
Expand Down
2 changes: 1 addition & 1 deletion components/BottomNavigationBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const BottomNavigationBar = () => {
)}
Library
</NavLink>
<NavLink href="/library" active={isActive('/')}>
<NavLink href="/" active={isActive('/')}>
<Image src={AvantiLogo} alt="Avanti Logo" className="w-12 h-12 absolute bottom-10 md:bottom-14 md:w-16 md:h-16 border-2 rounded-full" />
<span className="pt-8">Home</span>
</NavLink>
Expand Down
18 changes: 9 additions & 9 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ const nextConfig = {
serverActions: true,
},

async redirects() {
return [
{
source: '/',
destination: '/library',
permanent: false,
}
];
}
// async redirects() {
// return [
// {
// source: '/',
// destination: '/library',
// permanent: false,
// }
// ];
// }
};

module.exports = nextConfig;

0 comments on commit 9c21615

Please sign in to comment.