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

fix: restore missing transparent section of background art #37

Merged
merged 3 commits into from
Nov 27, 2023
Merged
Show file tree
Hide file tree
Changes from 2 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
13 changes: 12 additions & 1 deletion apps/site/src/app/(home)/sections/Landing/Landing.module.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
.landingBackground {
background-image: url("~@/assets/backgrounds/landing-background.jpg");
background-position: center;
background-repeat: no-repeat;
background-size: cover;
mask-image: url("~@/assets/backgrounds/landing-background-mask.png");
mask-position: center;
mask-repeat: no-repeat;
mask-size: cover;
}

.fogLeft,
.fogRight {
animation-delay: 1.5s;
animation-delay: 2s;
animation-duration: 4s;
animation-fill-mode: forwards;
animation-timing-function: ease;
Expand Down
8 changes: 1 addition & 7 deletions apps/site/src/app/(home)/sections/Landing/Landing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,14 @@ import { View } from "@/components/canvas/View";
import Button from "@/lib/components/Button/Button";
import Fireflies from "../../components/Fireflies";

import landingBackground from "@/assets/backgrounds/landing-background.jpg";
import fogLeft from "@/assets/images/fog-left.png";
import fogRight from "@/assets/images/fog-right.png";

import styles from "./Landing.module.css";

const Landing = () => {
return (
<section
style={{
backgroundImage: `url(${landingBackground.src})`,
}}
className="bg-cover bg-no-repeat bg-center"
>
<section className={styles.landingBackground}>
<View className="absolute w-full h-full">
<Suspense fallback={null}>
<Fireflies />
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/site/src/assets/backgrounds/landing-background.jpg
samderanova marked this conversation as resolved.
Show resolved Hide resolved
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading