Skip to content

Commit

Permalink
fix: main title of homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
alarv committed Sep 24, 2024
1 parent fed4169 commit f274cba
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
import Card from "@/components/home/card";
import { DEPLOY_URL } from "@/lib/constants";
import { Github, Twitter } from "@/components/shared/icons";
import Image from "next/image";
import { nFormatter } from "@/lib/utils";
import { RocketLaunchIcon } from "@heroicons/react/24/solid";
import { DemoVideo } from "@/components/home/demo-video";
import Link from "next/link";
import { generateSharedMetadata } from "@/app/shared.metadata";
import { Metadata } from "next";
import Card from '@/components/home/card';
import { DEPLOY_URL } from '@/lib/constants';
import { Github, Twitter } from '@/components/shared/icons';
import Image from 'next/image';
import { nFormatter } from '@/lib/utils';
import { RocketLaunchIcon } from '@heroicons/react/24/solid';
import { DemoVideo } from '@/components/home/demo-video';
import Link from 'next/link';
import { generateSharedMetadata } from '@/app/shared.metadata';
import { Metadata } from 'next';

export const metadata: Metadata = generateSharedMetadata(
"Home",
"A presentation of Jaqpot features",
'Jaqpot: Deploy Models, Get Predictions via API',
'A presentation of Jaqpot features',
);

export default async function Home() {
const { stargazers_count: stars } = await fetch(
"https://api.github.com/repos/ntua-unit-of-control-and-informatics/jaqpotpy",
'https://api.github.com/repos/ntua-unit-of-control-and-informatics/jaqpotpy',
{
...(process.env.GITHUB_OAUTH_TOKEN && {
headers: {
Authorization: `Bearer ${process.env.GITHUB_OAUTH_TOKEN}`,
"Content-Type": "application/json",
'Content-Type': 'application/json',
},
}),
// data will revalidate every 24 hours
Expand All @@ -48,20 +48,20 @@ export default async function Home() {
</Link>
<h1
className="mg-auto animate-fade-up bg-gradient-to-r from-indigo-500 from-30% via-purple-500 via-35% to-pink-500 to-75% bg-clip-text text-center text-4xl font-bold tracking-[-0.02em] text-transparent opacity-0 drop-shadow-sm [text-wrap:balance] md:text-7xl md:leading-[5rem]"
style={{ animationDelay: "0.15s", animationFillMode: "forwards" }}
style={{ animationDelay: '0.15s', animationFillMode: 'forwards' }}
>
Build. Train. Deploy
</h1>
<p
className="mt-6 animate-fade-up text-center text-gray-500 opacity-0 [text-wrap:balance] md:text-xl"
style={{ animationDelay: "0.25s", animationFillMode: "forwards" }}
style={{ animationDelay: '0.25s', animationFillMode: 'forwards' }}
>
Upload, manage and deploy your machine learning model or use
open-source models, all accessible through our inference api
</p>
<div
className="mx-auto mt-6 flex animate-fade-up items-center justify-center space-x-5 opacity-0"
style={{ animationDelay: "0.3s", animationFillMode: "forwards" }}
style={{ animationDelay: '0.3s', animationFillMode: 'forwards' }}
>
<Link
className="group flex max-w-fit items-center justify-center space-x-2 rounded-full border border-black bg-black px-5 py-2 text-sm text-white transition-colors hover:bg-white hover:text-black"
Expand All @@ -80,7 +80,7 @@ export default async function Home() {
>
<Github />
<p>
<span className="hidden sm:inline-block">Star on</span> GitHub{" "}
<span className="hidden sm:inline-block">Star on</span> GitHub{' '}
<span className="font-semibold">{nFormatter(stars)}</span>
</p>
</Link>
Expand All @@ -102,16 +102,16 @@ export default async function Home() {
}
const features = [
{
title: "Empower your Machine Learning journey",
title: 'Empower your Machine Learning journey',
description:
"Build, train, and deploy machine learning models effortlessly with Python. Jaqpot handles the rest.",
'Build, train, and deploy machine learning models effortlessly with Python. Jaqpot handles the rest.',
large: true,
demo: <DemoVideo />,
},
{
title: "Flexible access and permissions",
title: 'Flexible access and permissions',
description:
"Control who can see and use your models. Keep them private, share with organizations, or make them public.",
'Control who can see and use your models. Keep them private, share with organizations, or make them public.',
demo: (
<Image
src="/lock-icon.png"
Expand All @@ -122,9 +122,9 @@ const features = [
),
},
{
title: "Seamless integration and deployment",
title: 'Seamless integration and deployment',
description:
"Deploy models with a user-friendly interface and access them programmatically via API.",
'Deploy models with a user-friendly interface and access them programmatically via API.',
demo: (
<Link
className="group flex max-w-fit items-center justify-center space-x-2 rounded-md border border-black bg-black px-5 py-2 text-sm text-white transition-colors hover:bg-white hover:text-black"
Expand All @@ -138,9 +138,9 @@ const features = [
),
},
{
title: "Always up-to-date and blazing fast",
title: 'Always up-to-date and blazing fast',
description:
"We ensure our platform and models are always up-to-date with the latest libraries and technologies, including Torch, scikit-learn, and ONNX runtime, providing you with blazing fast performance.",
'We ensure our platform and models are always up-to-date with the latest libraries and technologies, including Torch, scikit-learn, and ONNX runtime, providing you with blazing fast performance.',
demo: (
<div className="flex flex-wrap items-center justify-center justify-items-center gap-5 p-5">
<Image
Expand All @@ -165,9 +165,9 @@ const features = [
),
},
{
title: "Advanced Preprocessing and Featurization",
title: 'Advanced Preprocessing and Featurization',
description:
"Jaqpotpy provides robust preprocessing pipelines and various featurizers to enhance your machine learning models. Transform your data and gain deeper insights with ease deployed in the cloud.",
'Jaqpotpy provides robust preprocessing pipelines and various featurizers to enhance your machine learning models. Transform your data and gain deeper insights with ease deployed in the cloud.',
demo: (
<div className="grid grid-flow-col grid-rows-2 gap-10 p-10">
<span className="font-mono font-semibold">Featurizers</span>
Expand Down

0 comments on commit f274cba

Please sign in to comment.