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

Images wont work for packages #1

Open
hossam1231 opened this issue Oct 29, 2023 · 0 comments
Open

Images wont work for packages #1

hossam1231 opened this issue Oct 29, 2023 · 0 comments
Labels
unexpected Something isn't working as it should

Comments

@hossam1231
Copy link
Collaborator

`// import Image from "next/image";
import { Button } from "../button/button";
import { Container } from "../extra_components/container";
// The code doesnt like images use svg
// import background from "../extra_components/images/background-newsletter.jpg";

function ArrowRightIcon(
props: React.ComponentPropsWithoutRef<"svg">
): JSX.Element {
return (
<svg aria-hidden="true" viewBox="0 0 24 24" {...props}>


);
}

export function EmailRegister(): JSX.Element {
return (



<div
style={{ borderRadius: 50 }}
className="relative -mx-4 overflow-hidden bg-indigo-50 px-4 py-20 sm:-mx-6 sm:px-6 md:mx-0 md:rounded-5xl md:px-16 xl:px-24 xl:py-36"
>
{/* <img
className="absolute left-1/2 top-0 translate-x-[-10%] translate-y-[-45%] lg:translate-x-[-32%]"
src={background}
alt=""
width={919}
height={1351}
// unoptimized
/> */}



Stay up to date



Get updates on all of our events and be the first to get
notified when tickets go on sale.



`

The component renders without the image

@hossam1231 hossam1231 added invalid This doesn't seem right unexpected Something isn't working as it should and removed invalid This doesn't seem right labels Oct 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
unexpected Something isn't working as it should
Projects
None yet
Development

No branches or pull requests

1 participant