Skip to content

Commit

Permalink
removing lots of stuff that would need to build
Browse files Browse the repository at this point in the history
  • Loading branch information
0xTranqui committed May 1, 2024
1 parent a06d8cc commit 1680b37
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion apps/site/app/(base)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default function BaseLayout({
return (
<section>
<div className="fixed top-[var(--header-height)] z-50 w-full">
<MarqueeWrapper />
{/* <MarqueeWrapper /> */}
</div>
<Flex className="px-5 pt-[104px]">
<div className="hidden md:w-[19%] md:block">
Expand Down
18 changes: 9 additions & 9 deletions apps/site/app/directory/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ export default async function Directory({
searchParams: { [key: string]: string | string[] | undefined }
}) {
let channels
let users
// let users

if (searchParams.view === 'user') {
users = await getAllFields({ field: 'name' })
// users = await getAllFields({ field: 'name' })
} else {
const data = await getMostRecentChannels()
channels = data.channels
Expand All @@ -26,9 +26,9 @@ export default async function Directory({
if (channels) {
channels.sort((a, b) => a.name.localeCompare(b.name))
}
if (users) {
users.sort((x: string, y: string) => x.localeCompare(y))
}
// if (users) {
// users.sort((x: string, y: string) => x.localeCompare(y))
// }

function checkIsPublic({ roleData }: { roleData: ChannelRoles[] }) {
for (let i = 0; i < roleData.length; ++i) {
Expand All @@ -40,13 +40,13 @@ export default async function Directory({
return (
<div className="pt-[104px]">
<div className="fixed top-[var(--header-height)] z-50 w-full">
<MarqueeWrapper />
{/* <MarqueeWrapper /> */}
</div>
<Flex className="px-5 pb-5 gap-y-[60px] flex-col md:flex-row md:gap-none">
<div className="md:w-[19%] md:block">
<Stack className="gap-y-[30px]">
<Typography>Filter</Typography>
<UserChannelToggle />
{/* <UserChannelToggle /> */}
</Stack>
</div>
<div className="w-full md:w-[78%]">
Expand Down Expand Up @@ -75,7 +75,7 @@ export default async function Directory({
})}
</Grid>
)}
{users && (
{/* {users && (
<Grid className="grid-cols-1 md:grid-cols-4 gap-y-[3px]">
{users.map((user: string) => (
<Link
Expand All @@ -87,7 +87,7 @@ export default async function Directory({
</Link>
))}
</Grid>
)}
)} */}
</div>

<div className="hidden md:w-[3%] md:block">{}</div>
Expand Down
2 changes: 1 addition & 1 deletion apps/site/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default function RootLayout({
<html lang="en" className={`${sfMono.variable}`} suppressHydrationWarning>
<body>
<Providers>
<Header />
{/* <Header /> */}
<NextTopLoader
color="#B4B4B4"
initialPosition={0.08}
Expand Down

0 comments on commit 1680b37

Please sign in to comment.