-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UpEase-Framework Section #5
base: main
Are you sure you want to change the base?
Changes from all commits
cc9bc64
4963b6e
b1be237
e397e69
c384699
685c173
fccaa57
bad89ac
3daab94
1c1bf45
ed30df1
1ec486d
ebb918c
53eb82e
267c720
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,10 +5,11 @@ import * as React from 'react'; | |
|
||
import AmsPlatform from '@/app/sections/ams-section'; | ||
import Contact from '@/app/sections/contact-section'; | ||
import FrameworkSection from '@/app/sections/framework-section'; | ||
import Hero from '@/app/sections/hero-section'; | ||
import IntroductionAms from '@/app/sections/introduction-ams-section'; | ||
import IntroductionFramework from '@/app/sections/introduction-framework-section'; | ||
import IntroductionSla from '@/app/sections/introduction-sla-section'; | ||
import Pricing from '@/app/sections/pricing-section'; | ||
import StudentApp from '@/app/sections/sla-section'; | ||
/** | ||
* SVGR Support | ||
|
@@ -28,26 +29,32 @@ export default function HomePage() { | |
<section id='upease-section-1'> | ||
<Hero /> | ||
</section> | ||
<div className='spacer' style={{ height: '100vh' }}></div> | ||
<section className='bg-black ' id='upease-section-2'> | ||
<div className='spacer z-0 h-screen'></div> | ||
<section className=' bg-black' id='upease-section-2'> | ||
<IntroductionFramework /> | ||
</section> | ||
<section className=' bg-black' id='upease-section-3'> | ||
<FrameworkSection /> | ||
</section> | ||
<section className=' bg-black' id='upease-section-3'> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Duplicate ID 'upease-section-3' used for multiple sections. Consider using unique IDs for each section to avoid potential issues with CSS and JavaScript. |
||
<IntroductionSla /> | ||
</section> | ||
<section className='bg-black' id='upease-section-3'> | ||
<section className='bg-black' id='upease-section-4'> | ||
<StudentApp /> | ||
</section> | ||
<section className='bg-black ' id='upease-section-4'> | ||
<section className=' bg-black' id='upease-section-5'> | ||
<IntroductionAms /> | ||
</section> | ||
<section className='bg-black' id='upease-section-5'> | ||
<section className='bg-black' id='upease-section-6'> | ||
<AmsPlatform /> | ||
</section> | ||
<section | ||
{/* <section | ||
className='bg-gradient-to-b from-[#F2F2F2] to-white ' | ||
id='upease-section-6' | ||
> | ||
<Pricing />s | ||
</section> | ||
<section className='bg-white' id='upease-section-7'> | ||
</section> */} | ||
<section className='z-50 bg-white' id='upease-section-7'> | ||
<Contact /> | ||
</section> | ||
</main> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,19 @@ | ||
import Image from 'next/image'; | ||
// import Image from 'next/image'; | ||
import React from 'react'; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove commented-out imports if they are no longer needed. This helps in keeping the codebase clean and maintainable. Also applies to: 6-6, 8-8 |
||
import Tilt from 'react-parallax-tilt'; | ||
|
||
import styles from '@/styles/ams-section.module.css'; | ||
import NavbarBlack from '@/components/Navbarblack'; | ||
import { MacbookScroll } from '@/components/ui/macbook-scroll'; | ||
// import Tilt from 'react-parallax-tilt'; | ||
|
||
import { cn } from '@/lib/utils'; | ||
// import styles from '@/styles/ams-section.module.css'; | ||
|
||
import NavbarBlack from '@/components/Navbarblack'; | ||
// import { cn } from '@/lib/utils'; | ||
|
||
// import NavbarBlack from '@/components/Navbarblack'; | ||
export default function StudentApp() { | ||
return ( | ||
<div> | ||
<NavbarBlack /> | ||
{/* | ||
<div className={styles.gridmain}> | ||
<Tilt className={cn(styles.gridmobile, ' relative')}> | ||
<Image | ||
|
@@ -89,6 +92,19 @@ export default function StudentApp() { | |
</div> | ||
</div> | ||
</div> | ||
</div> */} | ||
<NavbarBlack /> | ||
<div className='w-full overflow-hidden'> | ||
<MacbookScroll | ||
title={ | ||
<span> | ||
Showcase the Students Section in <br />{' '} | ||
<span className='text-primary-600 text-5xl'>UpEase Console</span> | ||
</span> | ||
} | ||
src='/images/STUDENT.svg' | ||
showGradient={false} | ||
/> | ||
</div> | ||
</div> | ||
); | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
import React from 'react'; | ||
|
||
import { Graph } from '@/components/Graph'; | ||
import NavbarBlack from '@/components/Navbarblack'; | ||
|
||
// import { StickyScroll } from '@/components/ui/Sticky-scroll-reveal'; | ||
|
||
export default function FrameworkSection() { | ||
const products = [ | ||
{ | ||
title: 'UpEase Console', | ||
description: | ||
'lorem ipsum dolor sit amet consectetur adipisicing elit sed do eiusmod tempor incididunt ut labore et dolore magna aliqua', | ||
}, | ||
{ | ||
title: 'Student App', | ||
description: '', | ||
}, | ||
{ | ||
title: 'Your App', | ||
description: | ||
'lorem ipsum dolor sit amet consectetur adipisicing elit sed do eiusmod tempor incididunt ut labore et dolore magna aliqua', | ||
}, | ||
{ | ||
title: 'Copilot Stack', | ||
description: | ||
'lorem ipsum dolor sit amet consectetur adipisicing elit sed do eiusmod tempor incididunt ut labore et dolore magna aliqua', | ||
}, | ||
{ | ||
title: 'UpEase Framework', | ||
description: | ||
'lorem ipsum dolor sit amet consectetur adipisicing elit sed do eiusmod tempor incididunt ut labore et dolore magna aliqua', | ||
}, | ||
{ | ||
title: 'University Data Model', | ||
description: '', | ||
}, | ||
{ | ||
title: 'Microsoft EDU', | ||
description: | ||
'lorem ipsum dolor sit amet consectetur adipisicing elit sed do eiusmod tempor incididunt ut labore et dolore magna aliqua', | ||
}, | ||
{ | ||
title: 'Office Apps', | ||
description: '', | ||
}, | ||
{ | ||
title: 'Microsoft AD', | ||
description: '', | ||
}, | ||
{ | ||
title: 'Multi Tenant', | ||
description: '', | ||
}, | ||
]; | ||
|
||
return ( | ||
<div className='h-full w-full pb-40 lg:px-20'> | ||
<NavbarBlack /> | ||
{/* <customHeroParallax products={products} />{' '} */} | ||
<Graph products={products} /> | ||
</div> | ||
); | ||
} |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -4,6 +4,7 @@ import React from 'react'; | |||||
|
||||||
import { AceButton } from '@/components/buttons/acebutton'; | ||||||
import { HoverBorderGradient } from '@/components/buttons/acehoverbutton'; | ||||||
import { Boxes } from '@/components/ui/background-boxes'; | ||||||
|
||||||
function TextPrimary(children: React.ReactNode) { | ||||||
return <span className='text-[var(--color-primary-600)]'>{children}</span>; | ||||||
|
@@ -31,6 +32,26 @@ export default function Hero() { | |||||
const opacity = useTransform(scrollYProgress, [0, 0.5], [1, 0]); | ||||||
const translateY = useTransform(scrollYProgress, [0, 0.5], [0, -100]); | ||||||
|
||||||
const handleClick2 = () => { | ||||||
const targetElement = document.getElementById('upease-section-2'); | ||||||
if (targetElement) { | ||||||
targetElement.scrollIntoView({ | ||||||
behavior: 'smooth', | ||||||
block: 'start', | ||||||
}); | ||||||
} | ||||||
}; | ||||||
|
||||||
const handleClick7 = () => { | ||||||
const targetElement = document.getElementById('upease-section-7'); | ||||||
if (targetElement) { | ||||||
targetElement.scrollIntoView({ | ||||||
behavior: 'smooth', | ||||||
block: 'start', | ||||||
}); | ||||||
} | ||||||
}; | ||||||
|
||||||
return ( | ||||||
<motion.div | ||||||
ref={targetRef} | ||||||
|
@@ -44,38 +65,40 @@ export default function Hero() { | |||||
top: 0, | ||||||
left: 0, | ||||||
width: '100%', | ||||||
zIndex: -10, | ||||||
overflowX: 'hidden', | ||||||
}} | ||||||
className='relative -z-10 h-screen' | ||||||
className='relative z-0 h-full' | ||||||
> | ||||||
<div | ||||||
className='layout relative flex min-h-screen flex-col items-center justify-center py-12 text-center' | ||||||
style={{ paddingTop: '100px' }} | ||||||
> | ||||||
<Boxes /> | ||||||
{/* <Logo className='w-16' /> */} | ||||||
<div className='justify-center text-center'> | ||||||
<HoverBorderGradient | ||||||
containerClassName='rounded-full' | ||||||
as='button' | ||||||
className='flex items-center space-x-2 bg-white text-black' | ||||||
className='z-50 flex items-center space-x-2 bg-white text-black' | ||||||
> | ||||||
Read: Introducing UpEase | ||||||
<button onClick={handleClick2}>Read: Introducing UpEase</button> | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Specify the button type to prevent unintended form submissions. - <button onClick={handleClick2}>Read: Introducing UpEase</button>
+ <button type="button" onClick={handleClick2}>Read: Introducing UpEase</button> Committable suggestion
Suggested change
ToolsBiome
|
||||||
</HoverBorderGradient> | ||||||
</div> | ||||||
|
||||||
<p className='mt-4 max-w-4xl text-4xl font-bold md:text-6xl'> | ||||||
<p className='z-30 mt-4 max-w-5xl text-4xl font-bold md:text-7xl'> | ||||||
{/* Data driven solutions to empower {TextPrimary('educators')}, engage{' '} | ||||||
{TextPrimary('students')} and bring {TextPrimary('intelligence')}! */} | ||||||
A {TextPrimary('Copilot')} for higher education | ||||||
</p> | ||||||
<p className='mt-4 max-w-3xl text-xl font-normal'> | ||||||
<p className='z-30 mt-4 max-w-3xl text-xl font-semibold'> | ||||||
We provide data driven solutions to empower{' '} | ||||||
{TextHighlight('educators')}, engage {TextHighlight('students')} and | ||||||
bring {TextHighlight('intelligence')}! | ||||||
</p> | ||||||
<div className='relative mt-8'> | ||||||
<AceButton className='relative bg-[var(--color-primary-600)] font-semibold text-white '> | ||||||
<AceButton | ||||||
className='relative z-30 bg-[var(--color-primary-600)] font-semibold text-white ' | ||||||
onClick={handleClick7} | ||||||
> | ||||||
Start a Conversation | ||||||
</AceButton> | ||||||
<Image | ||||||
|
@@ -88,7 +111,7 @@ export default function Hero() { | |||||
</div> | ||||||
</div> | ||||||
|
||||||
<div | ||||||
{/* <div | ||||||
style={{ | ||||||
position: 'absolute', | ||||||
top: 0, | ||||||
|
@@ -97,8 +120,8 @@ export default function Hero() { | |||||
height: '100%', | ||||||
zIndex: -1, | ||||||
}} | ||||||
> | ||||||
{typeof window !== 'undefined' && | ||||||
> */} | ||||||
{/* {typeof window !== 'undefined' && | ||||||
[...Array(Math.ceil(window.innerWidth / 50))].map((_, index) => ( | ||||||
<div | ||||||
key={index} | ||||||
|
@@ -111,10 +134,10 @@ export default function Hero() { | |||||
backgroundColor: '#A9A9A9', | ||||||
}} | ||||||
/> | ||||||
))} | ||||||
))} */} | ||||||
|
||||||
{/* Horizontal inclined lines */} | ||||||
{typeof window !== 'undefined' && | ||||||
{/* Horizontal inclined lines */} | ||||||
{/* {typeof window !== 'undefined' && | ||||||
[...Array(Math.ceil(window.innerHeight / 50))].map((_, index) => ( | ||||||
<div | ||||||
key={`horizontal-${index}`} | ||||||
|
@@ -129,8 +152,8 @@ export default function Hero() { | |||||
transformOrigin: 'top right', | ||||||
}} | ||||||
/> | ||||||
))} | ||||||
</div> | ||||||
))} */} | ||||||
{/* </div> */} | ||||||
</motion.div> | ||||||
); | ||||||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use a self-closing tag for the div element since it has no children.
Committable suggestion
Tools
Biome