Skip to content

Commit

Permalink
Remove featurebase
Browse files Browse the repository at this point in the history
  • Loading branch information
ahaapple committed Dec 22, 2024
1 parent fb871d6 commit b408203
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 83 deletions.
5 changes: 0 additions & 5 deletions frontend/app/[locale]/(search)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ interface MarketingLayoutProps {
children: React.ReactNode;
}

const Featurebase = dynamic(() => import('@/components/featurebase'), {
loading: () => <></>,
});

const OneTapComponent = dynamic(() => import('@/components/google-one-tap'), {
loading: () => <></>,
});
Expand All @@ -29,7 +25,6 @@ export default async function MarketingLayout({ children }: MarketingLayoutProps
<div className="flex flex-col flex-1 min-h-screen">
<MobileHeader user={user} />
{!user && <OneTapComponent user={user} />}
{user && <Featurebase user={user} />}
<main className="relative flex h-lvh overflow-hidden">
<SidebarDesktop />
<SidebarOpen user={user} />
Expand Down
68 changes: 0 additions & 68 deletions frontend/components/featurebase.tsx

This file was deleted.

8 changes: 1 addition & 7 deletions frontend/components/layout/mobile-footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,7 @@ export function MobileFooter() {
</Link>
</Button> */}
<Button variant="ghost" size="icon" asChild>
<Link
data-featurebase-link
href="https://www.memfree.me/feedback"
target="_blank"
aria-label="MemFree Feedback"
data-umami-event="Mobile Feedback Click"
>
<Link href="https://www.memfree.me/feedback" target="_blank" aria-label="MemFree Feedback" data-umami-event="Mobile Feedback Click">
<Heart className="size-5 hover:text-primary" />
</Link>
</Button>
Expand Down
1 change: 0 additions & 1 deletion frontend/components/layout/product-footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export function ProductFooter() {
<span className="text-gray-300 hidden md:block">|</span>
<Link
className="font-semibold text-gray-800 dark:text-gray-300 hover:text-primary dark:hover:text-primary text-left md:text-center w-full md:w-auto"
data-featurebase-link
href={ReactShadcnUrl}
>
React Shadcn UI Preview
Expand Down
1 change: 0 additions & 1 deletion frontend/components/layout/simple-site-footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ export function SimpleSiteFooter() {
<span className="text-gray-300">|</span>
<Link
className="text-gray-600 dark:text-gray-300 hover:text-primary dark:hover:text-primary hover:font-semibold"
data-featurebase-link
href={siteConfig.links.feedback}
target="_blank"
aria-label="MemFree Feedback"
Expand Down
1 change: 0 additions & 1 deletion frontend/components/search/action-buttons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ const ActionButtons = ({ content, searchId, msgId, reload, searchType }) => {
<TooltipTrigger asChild>
<Link
href="/feedback"
data-featurebase-link
target="_blank"
rel="noreferrer"
className={cn(
Expand Down

0 comments on commit b408203

Please sign in to comment.