fix tab menu styles, remove test account pubkey from config

This commit is contained in:
austinkelsay 2025-04-24 12:56:24 -05:00
parent 06780ffaa5
commit b5b94e934a
No known key found for this signature in database
GPG Key ID: 5A763922E5BA08EE
3 changed files with 10 additions and 13 deletions

View File

@ -6,19 +6,17 @@ export default function MenuTab({ items, activeIndex, onTabChange, sidebarVisibl
return ( return (
<div className="w-[100%] relative"> <div className="w-[100%] relative">
<TabMenu <TabMenu
className="w-full bg-transparent border-none" className="w-full"
model={items} model={items}
activeIndex={activeIndex} activeIndex={activeIndex}
onTabChange={e => onTabChange(e.index)} onTabChange={e => onTabChange(e.index)}
pt={{ pt={{
tabmenu: { menu: { className: 'bg-transparent border-none my-2 py-1' },
menu: ({ context }) => ({ action: ({ context, parent }) => ({
className: 'bg-transparent border-none', className:
}), 'cursor-pointer select-none flex items-center relative no-underline overflow-hidden p-4 font-bold rounded-t-lg',
action: ({ context }) => ({ style: { top: '2px' },
className: 'bg-transparent border-none', })
}),
},
}} }}
/> />

View File

@ -11,8 +11,7 @@ const appConfig = {
], ],
authorPubkeys: [ authorPubkeys: [
'f33c8a9617cb15f705fc70cd461cfd6eaf22f9e24c33eabad981648e5ec6f741', 'f33c8a9617cb15f705fc70cd461cfd6eaf22f9e24c33eabad981648e5ec6f741',
'c67cd3e1a83daa56cff16f635db2fdb9ed9619300298d4701a58e68e84098345', 'c67cd3e1a83daa56cff16f635db2fdb9ed9619300298d4701a58e68e84098345'
'6260f29fa75c91aaa292f082e5e87b438d2ab4fdf96af398567b01802ee2fcd4',
], ],
customLightningAddresses: [ customLightningAddresses: [
{ {

View File

@ -515,9 +515,9 @@ const Course = () => {
return ( return (
<> <>
<div className="mx-auto px-8 max-mob:px-0 mb-12 mt-4"> <div className="mx-auto px-8 max-mob:px-0 mb-12 mt-2">
{/* Tab navigation using MenuTab component */} {/* Tab navigation using MenuTab component */}
<div className="z-10 bg-transparent border-b border-gray-700/30" <div className="z-10 bg-transparent"
style={{ style={{
top: `${navbarHeight}px`, top: `${navbarHeight}px`,
height: `${navbarHeight}px` height: `${navbarHeight}px`