Skip to content

Commit

Permalink
remove ethlondon
Browse files Browse the repository at this point in the history
  • Loading branch information
sashaaldrick committed Oct 30, 2023
1 parent 158febb commit 2da00e9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 100 deletions.
2 changes: 1 addition & 1 deletion src/components/Layout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ export function Layout({ children, title, tableOfContents, lastUpdated }) {
let router = useRouter()
let isHomePage = router.pathname === '/'

let tabPaths = ['tutorials', 'office-hours', 'ethlondon']
let tabPaths = ['tutorials', 'office-hours']
let isTabHomePage =
tabPaths.some((basePath) => router.pathname.endsWith(basePath)) ||
isHomePage
Expand Down
22 changes: 0 additions & 22 deletions src/components/TabLinks.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ export function TabLinks({ isHomePage }) {
className={`px-4 py-2 ${
!router.pathname.includes('tutorials') &&
!router.pathname.includes('office-hours') &&
!router.pathname.includes('ethlondon') &&
!isHomePage
? 'text-blue-400'
: 'text-white'
Expand Down Expand Up @@ -90,27 +89,6 @@ export function TabLinks({ isHomePage }) {
</h2>
)}
</Link>
<Link
href="/ethlondon"
className={`px-4 py-2 ${
router.pathname.includes('/ethlondon')
? 'text-blue-400'
: 'text-white'
}`}
>
{isLargeScreen ? (
<div className="hover:text-gray-300 dark:hover:text-gray-500">
ETHLondon
</div>
) : (
<h2
className="font-display font-medium text-slate-900 hover:text-blue-400 dark:text-white"
style={{ fontSize: '1.3em' }}
>
ETHLondon
</h2>
)}
</Link>
</div>
)

Expand Down
77 changes: 0 additions & 77 deletions src/pages/ethlondon/index.md

This file was deleted.

0 comments on commit 2da00e9

Please sign in to comment.