Skip to content

Commit

Permalink
fix(mobile style): fix programs section mobile style
Browse files Browse the repository at this point in the history
  • Loading branch information
hamidroohi92 committed Nov 21, 2024
1 parent 6e22977 commit 322755a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
10 changes: 5 additions & 5 deletions src/components/program.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
export default function Program() {
return (
<>
<div className="p-[60px] relative border-b-solid border-b-black border-b-[1px]">
<div className="absolute bg-black w-[25px] h-[25px] top-0 left-0" />
<div className="p-[50px_20px] sm:p-[60px] relative border-b-solid border-b-black border-b-[1px]">
<div className="absolute bg-black w-[15px] h-[15px] sm:w-[25px] sm:h-[25px] top-0 left-0" />
<h2 className="text-[50px] leading-[64px] font-bold">Programs</h2>
</div>
<div className="flex gap-[60px] border-b-solid border-b-[1px] border-b-black p-[60px]">
<div className="sm:flex gap-[60px] border-b-solid border-b-[1px] border-b-black p-[60px]">
<video
src="/videos/program1.mp4"
autoPlay
Expand Down Expand Up @@ -35,7 +35,7 @@ export default function Program() {
</a>
</div>
</div>
<div className="flex gap-[60px] border-b-solid border-b-[1px] border-b-black p-[60px]">
<div className="flex flex-col-reverse sm:flex-row gap-[60px] border-b-solid border-b-[1px] border-b-black p-[60px]">
<div className="flex flex-col gap-[20px] justify-center">
<h2 className="text-[30px] leading-[38px] font-[600]">Bug Bounty </h2>
<p className="text-[16px] leading-[26px]">
Expand Down Expand Up @@ -63,7 +63,7 @@ export default function Program() {
className="w-[436px] h-[436px]"
/>
</div>
<div className="flex gap-[60px] border-b-solid border-b-[1px] border-b-black p-[60px]">
<div className="sm:flex gap-[60px] border-b-solid border-b-[1px] border-b-black p-[60px]">
<video
src="/videos/program3.mp4"
autoPlay
Expand Down
16 changes: 8 additions & 8 deletions src/components/project.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
export default function Project() {
return (
<>
<div className="p-[60px] relative border-b-solid border-b-black border-b-[1px]">
<div className="absolute bg-black w-[25px] h-[25px] top-0 left-0" />
<div className="p-[50px_20px] sm:p-[60px] relative border-b-solid border-b-black border-b-[1px]">
<div className="absolute bg-black w-[15px] h-[15px] sm:w-[25px] sm:h-[25px] top-0 left-0" />
<h2 className="text-[50px] leading-[64px] font-bold">Project</h2>
</div>
<div className="flex border-b-solid border-b-[1px] border-b-black">
<div className="flex-grow flex-shrink-0 w-[50%] border-r-[1px] border-r-black border-r-solid p-[60px] h-full self-stretch">
<div className="sm:flex border-b-solid border-b-[1px] border-b-black">
<div className="flex-grow flex-shrink-0 sm:w-[50%] border-b-solid border-b-[1px] sm:border-b-0 border-b-black border-r-0 sm:border-r-[1px] border-r-black border-r-solid p-[100px_20px] sm:p-[60px] h-full self-stretch">
<div className="py-[15px] mb-[40px]">
<img
src="/images/darwinia.svg"
Expand Down Expand Up @@ -34,7 +34,7 @@ export default function Project() {
</a>
</div>
</div>
<div className="flex-grow flex-shrink-0 w-[50%] p-[60px] self-stretch">
<div className="flex-grow flex-shrink-0 sm:w-[50%] p-[100px_20px] sm:p-[60px] self-stretch">
<div className="py-[15px] mb-[40px]">
<img
src="/images/paralink.svg"
Expand Down Expand Up @@ -65,8 +65,8 @@ export default function Project() {
</div>
</div>
</div>
<div className="flex border-b-solid border-b-[1px] border-b-black">
<div className="flex-grow flex-shrink-0 w-[50%] border-r-[1px] border-r-black border-r-solid p-[60px] h-full">
<div className="sm:flex border-b-solid border-b-[1px] border-b-black">
<div className="flex-grow flex-shrink-0 sm:w-[50%] border-b-solid border-b-[1px] sm:border-b-0 border-b-black border-r-0 sm:border-r-[1px] border-r-black border-r-solid p-[100px_20px] sm:p-[60px] h-full">
<div className="py-[15px] mb-[40px]">
<img
src="/images/msgport.svg"
Expand Down Expand Up @@ -94,7 +94,7 @@ export default function Project() {
</a>
</div>
</div>
<div className="flex-grow flex-shrink-0 w-[50%] p-[60px] h-full">
<div className="flex-grow flex-shrink-0 sm:w-[50%] p-[100px_20px] sm:p-[60px] h-full">
<div className="py-[15px] mb-[40px]">
<img
src="/images/xapi.svg"
Expand Down

0 comments on commit 322755a

Please sign in to comment.