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 (
<div className="w-[100%] relative">
<TabMenu
className="w-full bg-transparent border-none"
className="w-full"
model={items}
activeIndex={activeIndex}
onTabChange={e => onTabChange(e.index)}
pt={{
tabmenu: {
menu: ({ context }) => ({
className: 'bg-transparent border-none',
}),
action: ({ context }) => ({
className: 'bg-transparent border-none',
}),
},
menu: { className: 'bg-transparent border-none my-2 py-1' },
action: ({ context, parent }) => ({
className:
'cursor-pointer select-none flex items-center relative no-underline overflow-hidden p-4 font-bold rounded-t-lg',
style: { top: '2px' },
})
}}
/>

View File

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

View File

@ -515,9 +515,9 @@ const Course = () => {
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 */}
<div className="z-10 bg-transparent border-b border-gray-700/30"
<div className="z-10 bg-transparent"
style={{
top: `${navbarHeight}px`,
height: `${navbarHeight}px`