Skip to content

update ui responsiveness #180

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions src/components/servicepage/Hero.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const Hero = ({ blok }) => {
<span className="text-[#FFFFFFB2] w-[100%] lg:w-auto text-[1rem] lg:text-[1.2rem] font-[400]">
{render(blok.Hero[0].hero_subtitle)}
</span>
<div className="flex lg:items-center gap-3 lg:gap-4 mt-[2rem] lg:mt-[3.5rem]">
<div className="flex lg:justify-start justify-center lg:items-center gap-3 lg:gap-4 mt-[2rem] lg:mt-[3.5rem] mb-[2rem] lg:mb-[0rem]">
{blok.Hero[0].cta_buttons.map((cta) => (
<a
key={cta._uid}
Expand All @@ -58,10 +58,9 @@ const Hero = ({ blok }) => {
</div>
</div>
</div>
<div>
<div className="w-[90%] max-w-[560px] aspect-video mx-auto">
<iframe
width="560"
height="315"
className="w-full h-full max-h-[315px]"
src={blok.Hero[0].hero_embed.url}
title="YouTube video player"
frameBorder="0"
Expand Down
6 changes: 3 additions & 3 deletions src/pages/AIwarp/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function PageHeader ({ blok }) {
<span className='text-[#FFFFFFB2] w-[100%] lg:w-auto text-[1rem] lg:text-[1.2rem] font-[400]'>
{render(blok.hero[0].hero_subtitle2)}
</span>
<div className='flex lg:items-center gap-3 lg:gap-4 mt-[2rem] lg:mt-[3.5rem]'>
<div className='flex lg:justify-start justify-center lg:items-center gap-3 lg:gap-4 mt-[2rem] lg:mt-[3.5rem] mb-[2rem] lg:mb-[0rem]'>
{blok.hero[0].cta_buttons.map((cta) => (
<a
key={cta._uid}
Expand All @@ -85,8 +85,8 @@ function PageHeader ({ blok }) {
</div>
</div>
</div>
<div className=''>
<img src={blok.hero[0].hero_image} alt='hero_image' />
<div className='w-[95%] max-w-[560px] aspect-video mx-auto'>
<img className='w-full h-full max-h-[315px]' src={blok.hero[0].hero_image} alt='hero_image' />
</div>
</div>
</header>
Expand Down
7 changes: 3 additions & 4 deletions src/pages/Composer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function PageHeader({ blok }) {
<span className="text-[#FFFFFFB2] md:w-[100%] lg:w-auto text-[1rem] lg:text-[1.2rem] font-[400]">
{render(blok.hero[0].hero_subtitle)}
</span>
<div className="flex lg:items-center gap-3 lg:gap-4 mt-[2rem] lg:mt-[3.5rem]">
<div className="flex lg:justify-start justify-center lg:items-center gap-3 lg:gap-4 mt-[2rem] lg:mt-[3.5rem] mb-[2rem] lg:mb-[0rem]">
{blok.hero[0].cta_buttons.map((cta) => (
<a
key={cta._uid}
Expand All @@ -80,10 +80,9 @@ function PageHeader({ blok }) {
</div>
</div>
</div>
<div className="">
<div className="w-[90%] max-w-[560px] aspect-video mx-auto">
<iframe
width="560"
height="315"
className="w-full h-full max-h-[315px]"
src={blok.hero[0].hero_embed.url}
title="YouTube video player"
frameBorder="0"
Expand Down
7 changes: 3 additions & 4 deletions src/pages/Database/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function PageHeader({ blok }) {
<span className="text-[#FFFFFFB2] w-[100%] lg:w-auto text-[1rem] lg:text-[1.2rem] font-[400]">
{render(blok.hero[0].hero_subtitle)}
</span>
<div className="flex lg:items-center gap-3 lg:gap-4 mt-[2rem] lg:mt-[3.5rem]">
<div className="flex lg:justify-start justify-center lg:items-center gap-3 lg:gap-4 mt-[2rem] lg:mt-[3.5rem] mb-[2rem] lg:mb-[0rem]">
{blok.hero[0].cta_buttons.map((cta) => (
<a
key={cta._uid}
Expand All @@ -80,10 +80,9 @@ function PageHeader({ blok }) {
</div>
</div>
</div>
<div className="">
<div className="w-[90%] max-w-[560px] aspect-video mx-auto">
<iframe
width="560"
height="315"
className="w-full h-full max-h-[315px]"
src={blok.hero[0].hero_embed.url}
title="YouTube video player"
frameBorder="0"
Expand Down
7 changes: 3 additions & 4 deletions src/pages/Stackables/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function PageHeader({ blok }) {
<span className="text-[#FFFFFFB2] w-[100%] lg:w-auto text-[1rem] lg:text-[1.2rem] font-[400]">
{render(blok.hero[0].hero_subtitle2)}
</span>
<div className="flex lg:items-center gap-3 lg:gap-4 mt-[2rem] lg:mt-[3.5rem]">
<div className="flex lg:justify-start justify-center lg:items-center gap-3 lg:gap-4 mt-[2rem] lg:mt-[3.5rem] mb-[2rem] lg:mb-[0rem]">
{blok.hero[0].cta_buttons.map((cta) => (
<a
key={cta._uid}
Expand All @@ -86,10 +86,9 @@ function PageHeader({ blok }) {
</div>
</div>
</div>
<div className="">
<div className="w-[90%] max-w-[560px] aspect-video mx-auto">
<iframe
width="560"
height="315"
className="w-full h-full max-h-[315px]"
src={blok.hero[0].hero_embed.url}
title="YouTube video player"
frameBorder="0"
Expand Down
7 changes: 3 additions & 4 deletions src/pages/caching/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function PageHeader({ blok }) {
{blok.cache_hero[0].hero_subtitle}
</p>

<div className="mt-8 flex gap-4">
<div className="flex lg:justify-start justify-center lg:items-center gap-3 lg:gap-4 mt-[2rem] lg:mt-[3.5rem] mb-[2rem] lg:mb-[0rem]">
{blok.cache_hero[0].cta_buttons.map((cta) => (
<a
key={cta._uid}
Expand All @@ -91,10 +91,9 @@ function PageHeader({ blok }) {
</div>
</div>

<div className="flex items-center justify-center">
<div className="w-[90%] max-w-[560px] aspect-video mx-auto">
<iframe
width="560"
height="315"
className="w-full h-full max-h-[315px]"
src={blok.cache_hero[0].hero_embed.url}
title="YouTube video player"
frameBorder="0"
Expand Down