Skip to content

Commit

Permalink
Update footer and header link
Browse files Browse the repository at this point in the history
  • Loading branch information
ahaapple committed Dec 24, 2024
1 parent 5e4cf7b commit 581c8bc
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 4 deletions.
6 changes: 3 additions & 3 deletions frontend/components/layout/product-footer.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { PageGenUrl, ReactShadcnUrl, SearchUrl } from '@/config';
import { PageGenUrl, ImageGenerateUrl, SearchUrl } from '@/config';
import Link from 'next/link';

export function ProductFooter() {
Expand All @@ -23,9 +23,9 @@ 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"
href={ReactShadcnUrl}
href={ImageGenerateUrl}
>
React Shadcn UI Preview
AI Image Generator
</Link>
</div>
</footer>
Expand Down
33 changes: 33 additions & 0 deletions frontend/components/layout/simple-site-footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,39 @@ export function SimpleSiteFooter() {
Doc
</Link>
<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"
href="/blog"
target="_blank"
aria-label="MemFree Docs"
data-umami-event="Doc Link Click"
prefetch={false}
>
Blog
</Link>
<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"
href="/changelog"
target="_blank"
aria-label="MemFree Docs"
data-umami-event="Doc Link Click"
prefetch={false}
>
ChangeLog
</Link>
<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"
href="/roadmap"
target="_blank"
aria-label="MemFree Docs"
data-umami-event="Doc Link Click"
prefetch={false}
>
Roadmap
</Link>
<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"
href={siteConfig.links.twitter}
Expand Down
6 changes: 5 additions & 1 deletion frontend/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const PageGenUrl = 'https://pagegen.ai';
export const AhaToolUrl = 'https://www.ahatool.ai';
export const StorySnapUrl = 'https://www.snapstoryai.com';
export const SearchUrl = 'https://www.memfree.me';
export const ReactShadcnUrl = 'https://reactshadcn.com';
export const ImageGenerateUrl = 'https://pagegen.ai/generate-image';

export const siteConfig: SiteConfig = {
name: 'MemFree',
Expand All @@ -36,6 +36,10 @@ export const siteConfig: SiteConfig = {

export const mainNavConfig: MarketingConfig = {
mainNav: [
{
title: 'AI Search',
href: '/',
},
{
title: 'Pricing',
href: '/pricing',
Expand Down

0 comments on commit 581c8bc

Please sign in to comment.