Skip to content

Commit

Permalink
deploy ready
Browse files Browse the repository at this point in the history
  • Loading branch information
Doctor4548 committed Jun 3, 2024
1 parent 095783f commit fcdff24
Show file tree
Hide file tree
Showing 18 changed files with 25 additions and 126 deletions.
8 changes: 4 additions & 4 deletions app/(auth)/sign-in/[[...sign-in]]/page.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { SignIn } from '@clerk/nextjs';
//import { SignIn } from '@clerk/nextjs';


const page = () => {
const Sign_In_page = () => {
return (

<SignIn />
<div>SignIn page</div>
)
}

export default page
export default Sign_In_page
50 changes: 6 additions & 44 deletions app/(auth)/sign-up/[[...sign-up]]/page.tsx
Original file line number Diff line number Diff line change
@@ -1,49 +1,11 @@
'use client'
import { SignUp } from '@clerk/nextjs';
import React from 'react';
import dark from '@/public/assets/Ellipse_dark.png';
import light from '@/public/assets/Ellipse_light.png';
import Image from 'next/image';
//import { SignUp } from '@clerk/nextjs';

const page = () => {

const [data, setData] = React.useState({
goal: '',
work: '',
company: {
name: '',
industry: '',
location: ''
}
})
const Sign_Up_page = () => {
return (

const [progress, setProgress] = React.useState(4);

return (
<>
<div className='h-[70vh] w-[30vw] rounded-lg border border-gray-200'>
{
progress === 0 &&
<div className='flex flex-col items-center'>
<div className='flex flex-row gap-7 my-10'>
<Image alt='' src={light}/>
<Image alt='' src={dark}/>
<Image alt='' src={dark}/>
</div>
<h3 className='text-xl font-bold mb-10'>What is your goal?</h3>

<select className='w-2/3 h-10 border border-gray-200 text-center'>
<option className='h-10'>--select--</option>
</select>
</div>
}
{
progress > 3 && <SignUp />
}
</div>

</>
)
<div>SignIn page</div>
)
}

export default page
export default Sign_Up_page
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 0 additions & 2 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,12 @@ export default function RootLayout({
children: React.ReactNode;
}>) {
return (
<ClerkProvider>
<html lang="en">
<Provider>
<body className={inter.className}>
{children}
</body>
</Provider>
</html>
</ClerkProvider>
);
}
39 changes: 0 additions & 39 deletions app/page.tsx

This file was deleted.

28 changes: 14 additions & 14 deletions components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const Header = () => {
<div className="w-full p-3 pl-5 flex flex-row items-center sm:border-none border-b border-gray-300">
{/*DestTop vision */}
<div className="min-w-10">
<Link href='/root' className='block'>
<Link href='/' className='block'>
<Image
src={three_um_logo}
alt='company logo'
Expand All @@ -30,15 +30,15 @@ const Header = () => {
</div>

<div className='sm:flex flex-1 flex-row justify-center items-center gap-16 mr-10 hidden'>
<Link href='/root/company'
<Link href='/company'
className={pathName.includes('company') ? 'border-b-2 border-blue-500 p-5' : 'p-5'} >Company</Link>
<Link href='/root/ecosystem'
<Link href='/ecosystem'
className={pathName.includes('ecosystem') ? 'border-b-2 border-blue-500 p-5' : 'p-5'}>Ecosystem</Link>
<Link href='/root/community'
<Link href='/community'
className={pathName.includes('community') ? 'border-b-2 border-blue-500 p-5' : 'p-5'}>Community</Link>
<Link href='/root/resources'
<Link href='/resources'
className={pathName.includes('resources') ? 'border-b-2 border-blue-500 p-5' : 'p-5'} >Resources</Link>
<Link href='/root/started'
<Link href='/started'
className={pathName.includes('started') ? 'border-b-2 border-blue-500 p-5' : 'rounded-full bg-blue-900 text-white py-1 px-6'} >Get Started</Link>

</div>
Expand All @@ -52,7 +52,7 @@ const Header = () => {
toggle &&
<nav className='fixed top-0 left-0 w-full h-full z-20 bg-white' >
<div className='flex flex-row p-3 pl-5 mb-0 border-b border-gray-200 items-center'>
<Link href='/root' className='block'>
<Link href='/' className='block'>
<Image
src={three_um_logo}
alt='company logo'
Expand All @@ -70,44 +70,44 @@ const Header = () => {

<div className='flex flex-col items-center gap-2 h-8/12 mb-5'>
<Link
href='/root'
href='/'
onClick={() => { setToggle((old) => (!old)) }}
className={`${pathName === '/root' ? 'text-blue-500 bg-blue-100' : ''} hover:bg-gray-200 w-full text-center py-1 px-2 my-0`} >
HOME
</Link>
<Link
href='/root/company'
href='/company'
onClick={() => { setToggle((old) => (!old)) }}
className={`${pathName.includes('company') ? 'text-blue-500 bg-blue-100' : ''} hover:bg-gray-200 w-full text-center py-1 px-2 my-0`} >
COMPANY
</Link>
<Link
href='/root/ecosystem'
href='/ecosystem'
onClick={() => { setToggle((old) => (!old)) }}
className={`${pathName.includes('ecosystem') ? 'text-blue-500 bg-blue-100' : ''} hover:bg-gray-200 w-full text-center py-1 px-2 my-0`} >
ECOSYSTEM</Link>
<Link
href='/root/community'
href='/community'
onClick={() => { setToggle((old) => (!old)) }}
className={`${pathName.includes('community') ? 'text-blue-500 bg-blue-100' : ''} hover:bg-gray-200 w-full text-center py-1 px-2 my-0`} >
COMMUNITY
</Link>
<Link
href='/root/resources'
href='/resources'
onClick={() => { setToggle((old) => (!old)) }}
className={`${pathName.includes('resource') ? 'text-blue-500 bg-blue-100' : ''} hover:bg-gray-200 w-full text-center py-1 px-2 my-0`} >
RESOURCE
</Link>
<Link
href='/root/legald'
href='/legald'
onClick={() => { setToggle((old) => (!old)) }}
className={`${pathName.includes('legal') ? 'text-blue-500 bg-blue-100' : ''} hover:bg-gray-200 w-full text-center py-1 px-2 my-0`} >
LEGAL
</Link>
</div>

<div className='flex flex-col pt-5 gap-3 items-center border-t border-gray-200'>
<Link href='/root/started'
<Link href='/started'
className={pathName.includes('started') ? 'border-b-2 border-blue-500 p-5' : 'rounded-full bg-blue-700 text-white py-1 px-6'} >Get Started</Link>
<Link href='/sign-in' className='text-blue-500'>LOGIN</Link>
</div>
Expand Down
2 changes: 1 addition & 1 deletion components/home_components/Describe.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const Describe = () => {
title='ABQ Protocol'
content=' 3UM Finance simplifies finance by combining traditional, decentralized, and digital financial tools in one platform. It allows users to easily manage, create, and invest in various financial products using the latest in blockchain and AI technology.'
/>}
<Link href='/root/ecosystem' className='bg-white mt-4 cursor-pointer border-[2px] border-blue-700 text-gradient rounded-full px-8 py-1'>VIEW MORE</Link>
<Link href='/ecosystem' className='bg-white mt-4 cursor-pointer border-[2px] border-blue-700 text-gradient rounded-full px-8 py-1'>VIEW MORE</Link>


</div>
Expand Down
21 changes: 0 additions & 21 deletions middleware.ts

This file was deleted.

1 change: 0 additions & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: "export", // <=== enables static exports
reactStrictMode: true,
};

export default nextConfig;

0 comments on commit fcdff24

Please sign in to comment.