Skip to content

Commit 2573a95

Browse files
committed
[Amir] showing logo on setup to give idea of continuation
1 parent 3b3e423 commit 2573a95

File tree

4 files changed

+24
-0
lines changed

4 files changed

+24
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import Image from 'next/image';
2+
import { motion } from 'framer-motion';
3+
import { itemVariants } from './types';
4+
5+
export const BodhiLogo = () => {
6+
return (
7+
<motion.div variants={itemVariants} className="text-center mb-8">
8+
<Image
9+
src="/bodhi-logo/bodhi-logo-240.svg"
10+
alt="Bodhi App Logo"
11+
width={80}
12+
height={80}
13+
className="mx-auto"
14+
priority
15+
/>
16+
</motion.div>
17+
);
18+
};

crates/bodhi/src/app/ui/setup/complete/page.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import { ArrowRight, BookOpen } from 'lucide-react';
99
import { useRouter } from 'next/navigation';
1010
import { useEffect, useState } from 'react';
1111
import { siDiscord, siGithub, siX, siYoutube } from 'simple-icons';
12+
import { BodhiLogo } from '@/app/ui/setup/BodhiLogo';
1213

1314
const containerVariants = {
1415
hidden: { opacity: 0 },
@@ -152,6 +153,7 @@ function SetupCompleteContent() {
152153
animate="visible"
153154
>
154155
{showConfetti && <Confetti />}
156+
<BodhiLogo />
155157

156158
{/* Completion Message */}
157159
<motion.div variants={itemVariants} className="text-center space-y-4">

crates/bodhi/src/app/ui/setup/download-models/page.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import {
1818
import { motion } from 'framer-motion';
1919
import { useRouter } from 'next/navigation';
2020
import { useEffect } from 'react';
21+
import { BodhiLogo } from '@/app/ui/setup/BodhiLogo';
2122

2223
export function ModelDownloadContent() {
2324
const router = useRouter();
@@ -57,6 +58,7 @@ export function ModelDownloadContent() {
5758
animate="visible"
5859
>
5960
<SetupProgress currentStep={3} totalSteps={4} />
61+
<BodhiLogo />
6062

6163
<motion.div variants={itemVariants}>
6264
<Card>

crates/bodhi/src/app/ui/setup/resource-admin/page.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import {
1212
} from '@/components/ui/card';
1313
import { ENDPOINT_APP_LOGIN } from '@/hooks/useQuery';
1414
import { motion } from 'framer-motion';
15+
import { BodhiLogo } from '@/app/ui/setup/BodhiLogo';
1516

1617
// Animation variants
1718
const containerVariants = {
@@ -45,6 +46,7 @@ function ResourceAdminContent() {
4546
animate="visible"
4647
>
4748
<SetupProgress currentStep={2} totalSteps={4} />
49+
<BodhiLogo />
4850

4951
<motion.div variants={itemVariants}>
5052
<Card>

0 commit comments

Comments
 (0)