Skip to content

Commit

Permalink
Add ahatool AI
Browse files Browse the repository at this point in the history
  • Loading branch information
ahaapple committed Dec 18, 2024
1 parent 8d4324f commit e6de18f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
16 changes: 8 additions & 8 deletions frontend/components/layout/hero-landing.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { PageGenUrl, StorySnapUrl } from '@/config';
import { AhaToolUrl, PageGenUrl, StorySnapUrl } from '@/config';
import { getTranslations } from 'next-intl/server';
import Link from 'next/link';
import Image from 'next/image';
Expand All @@ -10,7 +10,7 @@ export async function HeroLanding() {
const PageGenElement = (
<Link href={PageGenUrl} target="_blank">
<div className="rounded-full px-6 py-2 flex items-center gap-2 hover:bg-primary/10 transition-all duration-300">
<Image src="/logo.png" alt="Penguin" width={30} height={30} className="size-6" />
<Image src="/logo.png" alt="PageGen" width={30} height={30} className="size-6" />
<span>PageGen - AI Page Generator</span>
<span className="ml-2 bg-gradient-to-r from-blue-500 to-purple-500 text-white px-4 py-1 rounded-full text-sm font-medium hover:shadow-lg transition-all">
Try Free Now
Expand All @@ -19,13 +19,13 @@ export async function HeroLanding() {
</Link>
);

const StorySnapElement = (
<Link href={StorySnapUrl} target="_blank">
const AhaToolElement = (
<Link href={AhaToolUrl} target="_blank">
<div className="rounded-full px-6 py-2 flex items-center gap-2 hover:bg-primary/10 transition-all duration-300">
<Image src="/penguin.png" alt="Penguin" width={30} height={30} className="size-6" />
<span>Transform Images into Stories with AI</span>
<Image src="/ahatool.png" alt="Ahatool" width={30} height={30} className="size-6" />
<span>Discover the Best AI Tools Daily</span>
<span className="ml-2 bg-gradient-to-r from-blue-500 to-purple-500 text-white px-4 py-1 rounded-full text-sm font-medium hover:shadow-lg transition-all">
Try Free Now
Free Submit Your Tool
</span>
</div>
</Link>
Expand All @@ -35,7 +35,7 @@ export async function HeroLanding() {
<div className="flex flex-col items-center text-center space-y-4">
<h1 className="text-balance text-4xl md:text-5xl font-bold">{t('hero')}</h1>
<h2 className="hidden ">MemFree - Hybrid AI Search</h2>
{isPageGen ? <>{PageGenElement}</> : <>{StorySnapElement}</>}
{isPageGen ? <>{PageGenElement}</> : <>{AhaToolElement}</>}
</div>
</section>
);
Expand Down
1 change: 1 addition & 0 deletions frontend/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {

const site_url = 'https://www.memfree.me';
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';
Expand Down
Binary file added frontend/public/ahatool.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e6de18f

Please sign in to comment.