Skip to content

Commit

Permalink
fix: 배경 이미지 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ymj07168 committed May 23, 2024
1 parent 52c8b65 commit cfeaa3b
Show file tree
Hide file tree
Showing 5 changed files with 103 additions and 6 deletions.
Binary file added src/assets/images/background2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
100 changes: 100 additions & 0 deletions src/assets/images/yearActiveCircle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/yearActiveCircle2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 2 additions & 4 deletions src/components/Experience/YearCircle.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from "react";
import { motion } from "framer-motion";
import styled from "styled-components";
import yearCircle from "../../assets/images/yearActiveCircle.png";
import yearCircle from "../../assets/images/yearActiveCircle2.png";
import { useRecoilState } from "recoil";
import {
deleteState,
Expand Down Expand Up @@ -144,9 +144,7 @@ const YearCircleContainer = styled(motion.div)<{ isActive: boolean }>`
align-items: center;
justify-content: center;
background: ${({ isActive: isSelected }) =>
isSelected
? `url(${yearCircle})`
: (props) => props.theme.colors.neutral200};
isSelected ? `url(${yearCircle})` :"#E5E6FF"};
background-size: cover;
top: -40px;
cursor: pointer;
Expand Down
3 changes: 1 addition & 2 deletions src/pages/ExperiencePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
subTagState,
yearState,
} from "../store/selectedStore";
import backgroundImg from "../assets/images/background.jpg";
import backgroundImg from "../assets/images/background2.jpg";
import MainButton from "../components/common/MainButton";
import { Plus } from "../assets";
import KeywordTab from "../components/Experience/KeywordTab";
Expand Down Expand Up @@ -185,7 +185,6 @@ const MainContainer = styled.div`
flex-direction: row;
align-items: center;
justify-content: center;
// background-color: #fbfbfd;
position: relative;
background: url(${backgroundImg});
background-size: cover;
Expand Down

0 comments on commit cfeaa3b

Please sign in to comment.