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
2 changes: 1 addition & 1 deletion src/app/_components/LandingPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { useEffect } from "react";
import { createNewUser } from "@/utils/createNewUser";
import { Info } from "lucide-react";
import Button from "@/components/Button";
import Logo from "../../../../public/logo/logo.svg";
import Logo from "@/assets/logo/logo.svg";

export default function LandingPage({
routing,
Expand Down
2 changes: 1 addition & 1 deletion src/app/map/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use client";

import Bad from "../../../public/icons/emoji_bad.svg";
import Bad from "@/assets/icons/emoji_bad.svg";
import Image from "next/image";

export default function MapPage() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { CustomOverlayMap, MapMarker } from "react-kakao-maps-sdk";
import { RecommendationResponse } from "@/lib/type";
import Image from "next/image";
import Temp from "../../../../../public/images/temp.jpg";
import Temp from "@/assets/images/temp.jpg";
Copy link
Contributor

Choose a reason for hiding this comment

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

@는 무슨 문법인가용

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@는 절대 경로 alias에요! src 폴더를 기준으로 경로를 작성해주면 됩니다!
상대 경로로 작성하게 되면 볼 때 헷갈리기도 하고, 유지보수도 어려워서 절대 경로를 사용하는 걸로 다시 변경했습니다.


interface RecommendationMarkerProps extends RecommendationResponse {
onClick?: () => void;
Expand Down
6 changes: 3 additions & 3 deletions src/app/recommend/_components/NavBar.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Image from "next/image";
import Logo from "../../../../public/logo/logo_simple.svg";
import LogoDev from "../../../../public/logo/logo_dev.png";
import LogoKR from "../../../../public/logo/logo_kr.png";
import Logo from "@/assets/logo/logo_simple.svg";
import LogoDev from "@/assets/logo/logo_dev.png";
import LogoKR from "@/assets/logo/logo_kr.png";

export default function NavBar() {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { getCity } from "@/utils/getCity";
import { CATEGORY } from "@/constants/spaceData";
import { MapPin } from "lucide-react";
import Image from "next/image";
import Temp from "../../../../../public/images/temp.jpg";
import Temp from "@/assets/images/temp.jpg";

export default function SpaceCard({
title,
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
4 changes: 2 additions & 2 deletions src/constants/transitionData.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import MoodFinder from "../../public/images/mood_finder.png";
import CummuteRecommendation from "../../public/images/commute_recommendation.png";
import MoodFinder from "@/assets/images/mood_finder.png";
import CummuteRecommendation from "@/assets/images/commute_recommendation.png";

export const transitionData = {
toMood: {
Expand Down