Skip to content

Commit

Permalink
update page content
Browse files Browse the repository at this point in the history
  • Loading branch information
yuval-hazaz committed Feb 19, 2024
1 parent ee228d0 commit 6f4b800
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 27 deletions.
70 changes: 45 additions & 25 deletions components/Sections/CodeSmartPlayHard/Hero/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,37 +5,57 @@ import AppDashboard from '../../../../public/images/xbox.png';
const Hero = () => {
return (
<>
<div className="my-[80px] w-full flex flex-col gap-10 laptop:flex-row items-center justify-between text-center laptop:text-left">
<div className="flex flex-col gap-2 flex-1 items-center laptop:items-start">
<h1 className="text-5xl laptop:text-4xl desktop:text-7xl font-bold ">
Code. Deploy. Game&nbsp;On!
</h1>
<h2 className="text-lg laptop:text-2xl desktop:text-3xl font-semibold">
Boost your coding & gaming experience with Amplication.
</h2>
<div className="text-sm laptop:text-base large:text-lg text-white">
Join our exclusive MWC 2024 raffle and get the chance to win an Xbox
Series X!
<div className="my-[80px] w-full flex flex-col items-center justify-between text-center laptop:text-left ">
<div className="flex flex-col gap-10 laptop:flex-row justify-between flex-1 ">
<div className="flex flex-col gap-2 flex-1 items-center laptop:items-start">
<h1 className="text-5xl laptop:text-4xl desktop:text-7xl font-bold ">
Code. Deploy. Game&nbsp;On!
</h1>
<h2 className="text-lg laptop:text-2xl desktop:text-3xl font-semibold">
Boost your coding & gaming experience with Amplication.
</h2>
<div className="text-sm laptop:text-base large:text-lg text-white">
Join our exclusive MWC 2024 raffle and get the chance to win an
Xbox Series X!
</div>
<div className="hidden laptop:block">
<Form />
</div>
</div>
<Form />
</div>
<div className="flex-1 flex items-center justify-center ">
<div className="hero-blur max-w-[450px]">
<Image
src={AppDashboard}
alt={'Amplication platform'}
className="max-w-[200px]"
/>
<div
className="absolute w-[150px] h-[150px] rounded-full bg-purple
<div className="flex-1 flex items-center justify-center ">
<div className="hero-blur max-w-[450px]">
<Image
src={AppDashboard}
alt={'Amplication platform'}
className="max-w-[200px]"
/>
<div
className="absolute w-[150px] h-[150px] rounded-full bg-purple
right-[40px] top-[20px]"
>
<div className="rotate-12 flex items-center justify-center text-center text-xl font-bold absolute w-[120px] h-[120px] rounded-full bg-transparent border-2 border-solid border-white right-[15px] top-[15px]">
Win an Xbox!
>
<div className="rotate-12 flex items-center justify-center text-center text-xl font-bold absolute w-[120px] h-[120px] rounded-full bg-transparent border-2 border-solid border-white right-[15px] top-[15px]">
Win an Xbox!
</div>
</div>
</div>
</div>
<div className="block laptop:hidden">
<Form />
</div>
</div>
<div className="text-center flex flex-col items-center justify-center mt-20 ">
<div className="text-2xl laptop:text-4xl desktop:text-5xl font-bold ">
Code with Amplication and win big!
</div>

<div className="text-sm laptop:text-base large:text-lg text-white !mt-3 !mb-4 !max-w-[710px]">
Amplication automates backend creation, helping you deploy scalable
and reliable services faster and efficiently. Empower your business
with modern applications. Streamline and revolutionize your
development process.
</div>
</div>
<div className="hidden laptop:block w-full hero-blur--side"></div>
</div>
</>
);
Expand Down
6 changes: 5 additions & 1 deletion pages/code-smart-play-hard.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Hero from '../components/Sections/CodeSmartPlayHard/Hero';
import StartNow from '../components/Sections/Enterprise/StartNow';
import StartNow from '../components/Sections/About/StartNow';

import { NextSeo } from 'next-seo';
import { MainLayout } from '../layouts';
Expand All @@ -22,6 +22,10 @@ const CodeSmartPlayHard = () => {
<PageSection>
<Hero />
</PageSection>
<div className='amplication-base'>
<StartNow />
</div>




Expand Down
20 changes: 19 additions & 1 deletion styles/components.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.hero-blur {
@mixin hero-blur {
position: relative;
&::before {
content: '';
Expand All @@ -12,3 +12,21 @@
filter: blur(100px);
}
}

.hero-blur {
@include hero-blur;

&--side {
@include hero-blur;

&::before {
top: auto;
bottom: 100px;
left: -100px;
width: 100px;
height: 100px;
background: #4e1474;
filter: blur(50px);
}
}
}

0 comments on commit 6f4b800

Please sign in to comment.