-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP navbar component and new routes v2/
- Loading branch information
1 parent
c01d1bc
commit a350638
Showing
19 changed files
with
407 additions
and
14 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
'use client' | ||
|
||
import LogoNavbar from '@/components/atoms/LogoNavbar' | ||
import OnboardingSlider from '@/components/atoms/OnboardingSlider' | ||
import useDeviceType from '@/hooks/useDeviceType' | ||
|
||
const Onboarding = () => { | ||
const { isDesktop, isTablet, isMobile } = useDeviceType() | ||
console.log(isDesktop, isTablet, isMobile) | ||
return ( | ||
<div className="h-screen"> | ||
<div className="flex flex-col h-screen"> | ||
<LogoNavbar /> | ||
<OnboardingSlider /> | ||
</div> | ||
</div> | ||
) | ||
} | ||
|
||
export default Onboarding |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// components/LoginButton.tsx | ||
import React from 'react' | ||
|
||
interface LoginButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> { | ||
className?: string | ||
} | ||
|
||
const LoginButton: React.FC<LoginButtonProps> = ({ className = '', children, ...props }) => { | ||
return ( | ||
<button className={`bg-primary-500 text-white py-2 px-4 rounded-md active:scale-95 transition-transform duration-150 ${className}`} {...props}> | ||
{children} | ||
</button> | ||
) | ||
} | ||
|
||
export default LoginButton |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
export const MENU_LIST = [ | ||
{ | ||
name: 'Discover', | ||
path: '/discover', | ||
}, | ||
{ | ||
name: 'Community', | ||
path: '/community', | ||
}, | ||
{ | ||
name: 'About Us', | ||
path: '/about', | ||
}, | ||
{ | ||
name: 'UPGRADE', | ||
path: '/upgrade', | ||
}, | ||
] |
Oops, something went wrong.