Skip to content
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

Added light mode graphics and changed text color for light mode #45

Merged
merged 3 commits into from
Nov 4, 2024
Merged
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
Binary file added public/landing/lightLandingTrain.webp
Binary file not shown.
Binary file added public/landing/lightRectangle35.webp
Binary file not shown.
22 changes: 19 additions & 3 deletions src/components/home/Landing.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
import Image from "next/image";
import train from "/public/landing/landingpagetrain.webp";
import lightTrain from "/public/landing/lightLandingTrain.webp";
import lightRectangle35 from "/public/landing/lightRectangle35.webp";
import path from "/public/landing/landingpagetrainpath.webp";
import rectangle35 from "/public/landing/Rectangle35.webp";
import rectangle36 from "/public/landing/Rectangle36.webp";
import rectangle37 from "/public/landing/Rectangle37.webp";
import ellipse13 from "/public/landing/Ellipse13.webp";
const Landing = () => {
return (
<div className="flex h-screen w-screen flex-col bg-gradient-to-t from-blue-700 to-blue-950">
<div className="flex h-screen w-screen flex-col bg-gradient-to-t from-sky-100 to-sky-600 dark:from-blue-700 dark:to-blue-950">
<div>
<div className="h-1/8 flex flex-row justify-between p-4">
<div className="ml-4 h-8 w-24 bg-gray-300 text-center">
Expand All @@ -34,7 +36,7 @@ const Landing = () => {
src={rectangle37}
alt=""
/>
<p className="font-sans-serif w-full text-[4vw] text-yellow-300">
<p className="font-sans-serif w-full text-[4vw] text-blue-950 dark:text-yellow-300">
DEVELOPER STATION
</p>
</div>
Expand All @@ -47,8 +49,22 @@ const Landing = () => {
<Image className="absolute top-8 h-full w-full" src={train} alt="" />
</div>

<div className="relative h-1/2 dark:hidden">
<Image
className="absolute h-3/4 w-full"
src={lightRectangle35}
alt=""
/>
<Image className="relative top-48 h-5/6 w-full" src={path} alt="" />
<Image
className="absolute top-8 h-full w-full"
src={lightTrain}
alt=""
/>
</div>

<div className="flex h-1/4 flex-row pb-12">
<p className="ml-11 w-1/4 text-lg text-white">
<p className="ml-11 w-1/4 text-lg text-blue-950 dark:text-white">
Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem
Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum
Lorem Ipsum
Expand Down
Loading