mirror of
https://github.com/AustinKelsay/plebdevs.git
synced 2025-06-03 07:42:03 +00:00
fix tab menu styles, remove test account pubkey from config
This commit is contained in:
parent
06780ffaa5
commit
b5b94e934a
@ -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' },
|
||||
})
|
||||
}}
|
||||
/>
|
||||
|
||||
|
@ -11,8 +11,7 @@ const appConfig = {
|
||||
],
|
||||
authorPubkeys: [
|
||||
'f33c8a9617cb15f705fc70cd461cfd6eaf22f9e24c33eabad981648e5ec6f741',
|
||||
'c67cd3e1a83daa56cff16f635db2fdb9ed9619300298d4701a58e68e84098345',
|
||||
'6260f29fa75c91aaa292f082e5e87b438d2ab4fdf96af398567b01802ee2fcd4',
|
||||
'c67cd3e1a83daa56cff16f635db2fdb9ed9619300298d4701a58e68e84098345'
|
||||
],
|
||||
customLightningAddresses: [
|
||||
{
|
||||
|
@ -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`
|
||||
|
Loading…
x
Reference in New Issue
Block a user