Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
JadeMin committed Jun 21, 2024
1 parent 7ee5d4b commit 4b3a926
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/app/components/footer/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use client';

import CONFIG from "@/config.json";
import $ from "@/config.json";

import "./index.css";

Expand All @@ -10,7 +10,7 @@ export default function Footer() {
return (
<footer>
<div id="link">
<a href={`${CONFIG.homepage}/privacy`}>개인정보처리방침</a>
<a href={`${$.ENTRY_PATH}/privacy`}>개인정보처리방침</a>
{/* <div className="divider">|</div>
<Link href="/service">서비스소개</Link> */}
</div>
Expand Down
8 changes: 4 additions & 4 deletions src/app/components/navbar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
FaUserCircle, FaSignInAlt, FaUserPlus
} from 'react-icons/fa';

import CONFIG from "@/config.json";
import $ from "@/config.json";

import { randomKeyword } from "./randomKeyword.ts";

Expand All @@ -19,7 +19,7 @@ export default function Navbar() {
return (
<nav>
<div id="logo">
<a href={`${CONFIG.homepage}/`}>
<a href={`${$.ENTRY_PATH}/`}>
<img
src={logo.src}
alt="Logo"
Expand All @@ -45,11 +45,11 @@ export default function Navbar() {
{/* <Link href="/my" id="my">
<FaUserCircle size={30}/>
</Link> */}
<a href={`${CONFIG.homepage}/login`} id="login">
<a href={`${$.ENTRY_PATH}/login`} id="login">
<FaSignInAlt/> 로그인
</a>
<div className="divider">|</div>
<a href={`${CONFIG.homepage}/register`} id="register">
<a href={`${$.ENTRY_PATH}/register`} id="register">
<FaUserPlus/> 회원가입
</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/config.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"homepage": "/holytechnics"
"ENTRY_PATH": "/holytechnics"
}

0 comments on commit 4b3a926

Please sign in to comment.