Skip to content

Commit 57d12bc

Browse files
committed
A
Merge remote-tracking branch 'origin' into feat/#159
2 parents d3d84fd + 761fb63 commit 57d12bc

File tree

66 files changed

+563
-237
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+563
-237
lines changed

.github/workflows/chromatic.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: 'Chromatic'
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- develop
7+
8+
jobs:
9+
chromatic:
10+
name: Run Chromatic
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v4
15+
with:
16+
fetch-depth: 0
17+
- uses: actions/setup-node@v4
18+
with:
19+
node-version: 20
20+
- name: Install dependencies
21+
run: npm ci
22+
- name: Run Chromatic
23+
uses: chromaui/action@latest
24+
with:
25+
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}

.github/workflows/front_ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: 'front ci'
2-
on: pull_request
2+
on:
3+
pull_request:
4+
branches:
5+
- develop
36
jobs:
47
Component-test:
58
runs-on: ubuntu-latest

package-lock.json

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"storybook": "storybook dev -p 6006",
1212
"build-storybook": "storybook build",
1313
"test": "vitest",
14-
"test:run": "vitest run"
14+
"test:run": "vitest run",
15+
"chromatic": "chromatic --exit-zero-on-changes"
1516
},
1617
"dependencies": {
1718
"@heroicons/react": "^2.2.0",
@@ -50,6 +51,7 @@
5051
"@types/testing-library__react": "^10.0.1",
5152
"@vitejs/plugin-react-swc": "^3.5.0",
5253
"@vitest/ui": "^2.1.8",
54+
"chromatic": "^11.25.2",
5355
"eslint": "^9.17.0",
5456
"eslint-plugin-import": "^2.31.0",
5557
"eslint-plugin-jsx-a11y": "^6.10.2",

src/components/applyComponents/careersComponent/CareersComponent.styled.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,15 @@ export const CareerContainer = styled.div`
1010
gap: 15px;
1111
width: 100%;
1212
margin-bottom: 10px;
13+
14+
@media (max-width: 963px) {
15+
flex-direction: column;
16+
gap: 10px;
17+
}
1318
`;
1419

1520
export const AddButton = styled(Button)`
16-
width: 5%;
21+
width: 50px;
1722
padding: 10px;
1823
cursor: pointer;
1924
border: 1px solid ${({ theme }) => theme.color.border};

src/components/applyComponents/careersComponent/careersInputComponent/CareersComponentInput.styled.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,22 @@ export const CareerInput = styled.input`
3939
flex: 2;
4040
font-size: ${({ theme }) => theme.heading.small.fontSize};
4141
}
42+
43+
@media (max-width: 963px) {
44+
width: 100%;
45+
flex: 1;
46+
margin-bottom: 10px;
47+
48+
&:nth-child(1),
49+
&:nth-child(4) {
50+
flex: 1;
51+
}
52+
53+
&:nth-child(2),
54+
&:nth-child(3) {
55+
flex: 1;
56+
}
57+
}
4258
`;
4359

4460
export const FormError = styled.p`

src/components/applyComponents/phoneComponent/PhoneComponent.styled.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export const FormError = styled.p`
3333
font-size: 1rem;
3434
color: ${({ theme }) => theme.color.red};
3535
position: absolute;
36-
top: 100%;
37-
left: 0;
36+
top: 115%;
37+
left: 5px;
3838
white-space: nowrap;
3939
`;

src/components/common/Button/Button.styled.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,15 @@ export const CommonButton = styled.button<Omit<ButtonProps, 'children'>>`
77
color: ${({ theme, schema }) => theme.buttonScheme[schema].color};
88
background-color: ${({ theme, schema }) => theme.buttonScheme[schema].bg};
99
border-radius: ${({ theme, radius }) => theme.borderRadius[radius]};
10-
pointer-events: ${({ disabled }) => (disabled ? 'none' : 'auto')};
11-
cursor: ${({ disabled }) => (disabled ? 'none' : 'pointer')};
10+
cursor: ${({ disabled }) => (disabled ? 'not-allowed' : 'pointer')};
1211
1312
display: flex;
1413
justify-content: center;
1514
align-items: center;
15+
16+
&:disabled {
17+
cursor: not-allowed;
18+
opacity: 0.9;
19+
background-color: ${({ theme }) => theme.color.grey};
20+
}
1621
`;

src/components/common/header/Header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function Header() {
2323

2424
return (
2525
<S.HeaderContainer>
26-
<Link to={ROUTES.home}>
26+
<Link to={ROUTES.main}>
2727
<img src={Mainlogo} alt='logo' />
2828
</Link>
2929
<nav className='auth'>

src/components/common/infoCard/InfoCard.styled.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const Container = styled.div`
77
border: 2px solid #f0f0f0;
88
border-radius: ${({ theme }) => theme.borderRadius.large};
99
width: 80%;
10-
min-width: 530px;
10+
min-width: 500px;
1111
height: 80vh;
1212
padding-bottom: 1rem;
1313
position: relative;

0 commit comments

Comments
 (0)