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
9 changes: 9 additions & 0 deletions frontend/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,19 @@ import QuantBot from './pages/QuantBot';

import OAuthSuccess from './pages/OAuthSuccess.jsx';

import Main from './pages/external/Main.jsx';
import Intro from './pages/external/Intro.jsx';
import Leaders from './pages/external/Leaders.jsx';
import Portfolio from './pages/external/Portfolio.jsx';

function App() {
return (
<>
<Routes>
<Route path="/main" element={<Main />} />
<Route path="/main/intro" element={<Intro />} />
<Route path="/main/leaders" element={<Leaders />} />
<Route path="/main/portfolio" element={<Portfolio />} />
<Route path="/login" element={<Login />} />
<Route path="/signup" element={<SignUp />} />
<Route path="/oauth/success" element={<OAuthSuccess />} />
Expand Down
Binary file added frontend/src/assets/external-detail-image.png
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 frontend/src/assets/external-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontend/src/assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions frontend/src/pages/external/External.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
.container {
width: 100vw;
height: 100vh;
display: flex;
flex-direction: column;
}

.header {
background: url('../../assets/external-detail-image.png') center no-repeat;
height: 25%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 8px;
}

.title {
font-weight: 700;
font-size: 36px;
line-height: 100%;
color: #ffffff;
}

.divider {
width: 250px;
}
15 changes: 15 additions & 0 deletions frontend/src/pages/external/Intro.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import styles from './External.module.css';

const Intro = () => {
return (
<div className={styles.container}>
<div className={styles.header}>
<span className={styles.title}>동아리 소개</span>
<hr className={styles.divider} />
</div>
<div className={styles.info}></div>
</div>
);
};

export default Intro;
15 changes: 15 additions & 0 deletions frontend/src/pages/external/Leaders.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import styles from './External.module.css';

const Leaders = () => {
return (
<div className={styles.container}>
<div className={styles.header}>
<span className={styles.title}>임원진 소개</span>
<hr className={styles.divider} />
</div>
<div className={styles.info}></div>
</div>
);
};

export default Leaders;
37 changes: 37 additions & 0 deletions frontend/src/pages/external/Main.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
import styles from './Main.module.css';
import image from '../../assets/external-image.png';
import Logo from '../../assets/logo.png';
import { Link } from 'react-router-dom';

const Main = () => {
return (
<div className={styles.container}>
<img src={image} alt="메인 사진" className={styles.image} />
<nav className={styles.menu}>
<ul>
<li>
<Link to="/main/intro">동아리 소개</Link>
</li>
<li>
<Link to="/main/leaders">임원소개</Link>
</li>
Comment on lines +15 to +17
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

텍스트 불일치: "임원소개" vs "임원진 소개"

네비게이션 링크 텍스트가 "임원소개"이지만, Leaders.jsx 페이지의 실제 제목은 "임원진 소개"입니다. 일관성을 위해 동일한 텍스트를 사용하세요.

           <li>
-            <Link to="/main/leaders">임원소개</Link>
+            <Link to="/main/leaders">임원진 소개</Link>
           </li>
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
<li>
<Link to="/main/leaders">임원소개</Link>
</li>
<li>
<Link to="/main/leaders">임원진 소개</Link>
</li>
🤖 Prompt for AI Agents
In frontend/src/pages/external/Main.jsx around lines 15 to 17, the navigation
link text reads "임원소개" while the Leaders.jsx page title is "임원진 소개"; update the
Link text to exactly match the page title ("임원진 소개") to ensure consistency in
the UI; locate the <Link to="/main/leaders"> element and replace its inner text
with "임원진 소개", then run a quick UI check to confirm the navigation label now
matches the Leaders page title.

<li>
<Link to="/main/portfolio">운용 포트폴리오</Link>
</li>
<li>
<Link to="/">웹사이트</Link>
</li>
</ul>
</nav>
<div className={styles.info}>
<img src={Logo} alt="로고" className={styles.logo} />
<h1 className={styles.title}>Sejong Investment Scholars Club</h1>
<h2 className={styles.subTitle}>
세투연과 세상을 읽고 미래에 투자하라
</h2>
</div>
</div>
);
};

export default Main;
71 changes: 71 additions & 0 deletions frontend/src/pages/external/Main.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
.container {
position: relative;
width: 100vw;
height: 100vh;
overflow: hidden;
display: flex;
flex-direction: column;
}

.image {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: -1;
}

.menu {
margin-top: 55px;
margin-left: 108px;
box-sizing: border-box;
}

.menu ul {
display: flex;
gap: 80px;
list-style: none;
}

.menu a {
text-decoration: none;
color: #fff;
font-size: 18px;
font-weight: 600;
line-height: 120%;
letter-spacing: -0.556px;
}

.info {
margin-top: 150px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 40px;
}

.logo {
width: 106px;
height: 105px;
}

.title {
font-weight: 700;
font-size: 80px;
line-height: 100%;
letter-spacing: 0%;
color: #ffffff;
margin: 0;
}

.subTitle {
font-weight: 600;
font-size: 32px;
line-height: 146%;
letter-spacing: 0%;
color: #ffffff;
margin: 0;
}
15 changes: 15 additions & 0 deletions frontend/src/pages/external/Portfolio.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import styles from './External.module.css';

const Portfolio = () => {
return (
<div className={styles.container}>
<div className={styles.header}>
<span className={styles.title}>운용 포트폴리오</span>
<hr className={styles.divider} />
</div>
<div className={styles.info}></div>
</div>
);
};

export default Portfolio;