Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
189 changes: 0 additions & 189 deletions frontend/figma/company to spec_figma design.svg

This file was deleted.

289 changes: 0 additions & 289 deletions frontend/figma/figma_design_all.svg

This file was deleted.

9 changes: 6 additions & 3 deletions frontend/spec-trackr-app/src/com_sp.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ const ComSp = ({ onSpecTabClick }) => {
</Form.Control>
);

// 직업 카테고리 선택 시 관련 회사/직무 목록 가져오기
useEffect(() => {
if (selectedJobCategory) {
axios
Expand All @@ -80,6 +81,7 @@ const ComSp = ({ onSpecTabClick }) => {
}
}, [selectedJobCategory]);

// 회사 선택 시 해당 회사에 맞는 직무만 필터링
useEffect(() => {
if (selectedCompany) {
const filteredPositions = rawOptions.filter(item => item.company_name === selectedCompany);
Expand All @@ -93,6 +95,7 @@ const ComSp = ({ onSpecTabClick }) => {
}
}, [selectedCompany, rawOptions, selectedJobCategory]);

// 직무 선택 시 해당 직무를 포함한 회사만 필터링
useEffect(() => {
if (selectedPosition) {
const filteredCompanies = rawOptions.filter(item => item.detail_job === selectedPosition);
Expand All @@ -110,6 +113,7 @@ const ComSp = ({ onSpecTabClick }) => {
}
}, [selectedPosition, rawOptions, selectedJobCategory]);

// 직업 카테고리 + 회사 + 직무 모두 선택 시 채용공고 불러오기
useEffect(() => {
if (selectedJobCategory && selectedCompany && selectedPosition) {
axios
Expand All @@ -131,7 +135,6 @@ const ComSp = ({ onSpecTabClick }) => {
}
}, [selectedJobCategory, selectedCompany, selectedPosition]);

// --- 렌더링 ---
return (
<Container className="mb-5">
<div style={{
Expand All @@ -145,7 +148,7 @@ const ComSp = ({ onSpecTabClick }) => {
<Button
variant="outline-dark"
style={{ display: "flex", alignItems: "center", gap: 6, fontWeight: 500 }}
onClick={() => { window.location.href = "http://localhost:3001"; }}
onClick={() => { window.location.href = "http://localhost:3003"; }}
>
<FaArrowLeft style={{ fontSize: 18 }} />
메인으로
Expand All @@ -159,7 +162,7 @@ const ComSp = ({ onSpecTabClick }) => {
</div>
</div>

{/* 버튼: 100% 가로, 반반, 붙어 있도록 */}
{/* 상단 탭 버튼 */}
<Row className="mb-4" style={{ marginLeft: 0, marginRight: 0 }}>
<Col xs={6} className="p-0">
<Button
Expand Down
3 changes: 1 addition & 2 deletions frontend/spec-trackr-app/src/sp_com.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ const SpCom = ({ onCompanyTabClick }) => {
}
: initialSpec;

// --- 렌더링 ---
return (
<Container className="mb-5">
<div style={{
Expand All @@ -158,7 +157,7 @@ const SpCom = ({ onCompanyTabClick }) => {
<Button
variant="outline-dark"
style={{ display: "flex", alignItems: "center", gap: 6, fontWeight: 500 }}
onClick={() => { window.location.href = "http://localhost:3001"; }}
onClick={() => { window.location.href = "http://localhost:3003"; }}
>
<FaArrowLeft style={{ fontSize: 18 }} />
메인으로
Expand Down
15 changes: 0 additions & 15 deletions frontend/tableau_visualization_example/App.js

This file was deleted.

18 changes: 0 additions & 18 deletions frontend/tableau_visualization_example/TableauEmbed.js

This file was deleted.

Loading