Skip to content

Commit

Permalink
Merge pull request #19 from NUSComputingDev/KAN-20-Link-Within-Button
Browse files Browse the repository at this point in the history
KAN-20 Link Bugs
  • Loading branch information
Respirayson authored Mar 8, 2024
2 parents 7ba23b4 + 58dcdde commit af90959
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/layout/NavigationMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function NavigationMenu() {
'About': '/about',
'Events': '/events',
'Resources': '/resources',
'Photos': '/photos',
'Photos': 'https://www.flickr.com/photos/137141057@N04/albums/',
};

return (
Expand Down
2 changes: 1 addition & 1 deletion src/pages/home/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ section {
;
}

.section-description>button {
.section-description>*>button {
@apply
mt-4
px-6
Expand Down
12 changes: 6 additions & 6 deletions src/pages/home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ function Home() {
There&#39;s always something <span>new</span> to look forward to.
Keep an eye out for the latest Computing Club <span>events</span>!
</p>
<button>
<Link to='./'>Events</Link>
</button>
<Link to='./events'>
<button>Events</button>
</Link>
</div>
</section>

Expand All @@ -56,9 +56,9 @@ function Home() {
Set yourself up for <span>academic success</span> with our
<span> study planner</span>!
</p>
<button>
<Link to='./'>Study Planner</Link>
</button>
<Link to='./resources'>
<button>Resources</button>
</Link>
</div>
<img src='planner_graphic.svg' className='section-graphic'></img>
</section>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/resources/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ function Resources() {
link='https://nusfastpay.nus.edu.sg/ccmerch/menu'
></FolderLink>
<FolderLink
label='Others'
link='/'
label='Feedback'
link='https://feedback.nuscomputing.com/'
></FolderLink>
</div>
</div>
Expand Down

0 comments on commit af90959

Please sign in to comment.