Skip to content

Commit

Permalink
💄 seeds/new の backgroundImage 追加
Browse files Browse the repository at this point in the history
  • Loading branch information
ROTO0504 committed Oct 25, 2024
1 parent 97389a7 commit 1951f35
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/routes/_auth/seeds/new/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { createFileRoute } from "@tanstack/react-router";
import { styled as p } from "panda/jsx";
import { useEffect, useState } from "react";
import { useForm } from "react-hook-form";
import wakaba from "@/assets/svg/background/wakaba.svg";
import { Button } from "@/components/cva/Button";
import { svaField } from "@/components/sva/field";
import { fetchAddressFromLocation } from "@/lib/services/address";
Expand All @@ -18,6 +19,7 @@ type Param = {
lat: number;
lon: number;
};

const field = svaField();
export const Route = createFileRoute("/_auth/seeds/new/")({
component: () => {
Expand Down Expand Up @@ -91,7 +93,15 @@ export const Route = createFileRoute("/_auth/seeds/new/")({
};

return (
<p.div>
<p.div
style={{
backgroundImage: `url(${wakaba})`,
backgroundSize: "200px",
backgroundPosition: "90% bottom",
backgroundRepeat: "no-repeat",
}}
width="100%"
>
<p.div py={50}>
<p.div p={30}>
<p.h2
Expand Down

0 comments on commit 1951f35

Please sign in to comment.