code stringlengths 41 34.3k | lang stringclasses 8
values | review stringlengths 1 4.74k |
|---|---|---|
@@ -1,7 +1,12 @@
package christmas;
+import christmas.controller.EventController;
+
public class Application {
public static void main(String[] args) {
- // TODO: ํ๋ก๊ทธ๋จ ๊ตฌํ
+ AppConfig appConfig = new AppConfig();
+ EventController christmasEventController = appConfig.getChristmasEventContro... | Java | christmasEventController๊ฐ ๋จ์ผ ๋ฉ์๋๋ก ๋ชจ๋ ๋น์ฆ๋์ค ๋ก์ง์ ๋ด๋นํ๊ณ ์์ด์.
์ด๋ ๊ฒ ์ค๊ณํ๋ฉด Controller Layer ๋จ์ ํ
์คํธ = ํตํฉ ํ
์คํธ๋ก
์ดํดํ ์ ์์ ๊ฒ ๊ฐ์๋ฐ, ์ ์ ํ ํ
์คํธ ๋ฐฉ๋ฒ์ผ์ง ๊ถ๊ธํด์ |
@@ -0,0 +1,30 @@
+package christmas.model.domain.dto;
+
+import christmas.model.domain.order.RequestOrder;
+import java.util.Collections;
+import java.util.List;
+
+public class RequestOrdersDto {
+
+ private final List<RequestOrder> requestOrders;
+ private final String ordersMessage;
+ private final int tota... | Java | DTO๊ฐ RequestOrder๋ผ๋ ๋ชจ๋ธ์ ํ๋๊ฐ ์์ฒด์ ๊ทธ๋๋ก ๊ฐ๊ณ ์๋ ๊ฒ ๊ฐ์์!
์ด๋ ๊ฒ ์ค๊ณํ์ ์ด์ ๊ฐ ์์๊น์? |
@@ -0,0 +1,45 @@
+package christmas.model.domain.event.benefit.totaldiscount;
+
+import christmas.model.domain.date.Date;
+import christmas.model.domain.event.benefit.DiscountBenefit;
+import christmas.model.domain.event.discount.Discount;
+import christmas.model.domain.event.discount.ChristmasDiscountStrategies;
+impo... | Java | ์ ์ฒด์ ์ผ๋ก ์์๊ด๊ณ๋ฅผ ์ ํ์ฉํด, ๋ฉ์๋ ์ค๋ฒ๋ผ์ด๋ฉ๊น์ง ์์๊ฒ ํ์ฉํ์ ๋ถ๋ถ์ด ๊ต์ฅํ ์ธ์๊น์์ด์!
์ ๋ ์์ง๋์ ๊ฒฐํฉ๋๋ฅผ ๊ณ ๋ คํ๋ฉฐ, ์์ ์ค๊ณ๋ฅผ ๊ณ ๋ฏผํด ๋ด์ผ๊ฒ ์ด์!
์ ๋ฐฐ์ฐ๊ณ ๊ฐ๋๋ค :) |
@@ -5,13 +5,15 @@
import com.somemore.domains.review.dto.response.ReviewDetailResponseDto;
import com.somemore.domains.review.dto.response.ReviewDetailWithNicknameResponseDto;
import com.somemore.domains.review.usecase.ReviewQueryUseCase;
+import com.somemore.global.auth.annotation.RoleId;
import com.somemore.globa... | Java | ๋น๋ ๋ก์ง์ ์ปจ๋์
ํด๋์ค์ of ์ ์ ๋ฉ์๋์์ ์งํํ๋ฉด ๋ ๊น๋ํ ๊ฒ ๊ฐ์์~
๊ตณ์ด ์์ ํ ํ์๋ ์๋ค๊ณ ์๊ฐํฉ๋๋ค! |
@@ -1,35 +1,34 @@
package com.somemore.domains.review.service;
-import com.somemore.domains.center.usecase.query.CenterQueryUseCase;
+import static com.somemore.global.exception.ExceptionMessage.NOT_EXISTS_REVIEW;
+
import com.somemore.domains.review.domain.Review;
import com.somemore.domains.review.dto.condition.... | Java | ๋ฉ์๋๋ก ์ฝ๋๋ฅผ ํฌ์ฅํ๋ฉด ๊ฐ๋
์ฑ์ด ๋ ์ข์ ๊ฒ ๊ฐ์์~ |
@@ -1,35 +1,34 @@
package com.somemore.domains.review.service;
-import com.somemore.domains.center.usecase.query.CenterQueryUseCase;
+import static com.somemore.global.exception.ExceptionMessage.NOT_EXISTS_REVIEW;
+
import com.somemore.domains.review.domain.Review;
import com.somemore.domains.review.dto.condition.... | Java | ๋ณต์ํ ์ ์ ํฉํ ๋ฆฌ ๋ฉ์๋ |
@@ -0,0 +1,50 @@
+export const THE_DATE = {
+ first: 1,
+ end: 31,
+ christmas: 25,
+};
+
+export const WEEK = {
+ sunday: 3,
+ monday: 4,
+ tuesday: 5,
+ wednesday: 6,
+ thursday: 0,
+ friday: 1,
+ saturday: 2,
+};
+
+export const MENU_NUMBER = {
+ minimum: 1,
+ maximum: 20,
+};
+
+export const ALL_MENU = ... | JavaScript | ์์๋ฅผ ๋ถ๋ณํ๋ ๊ฐ์ผ๋ก ์ฌ์ฉํ๊ธฐ ์ํด Object.freeze ๋ฉ์๋๋ฅผ ํตํด ๊ด๋ฆฌํ์
จ๋ค๋ฉด ์ข์ง ์์์๊น์?
์์ฑํ์ ์ฝ๋์์๋ ์์์ ๊ฐ์ด ๋ณ๊ฒฝ๋ ์ํ์ด ์์ด๋ณด์
๋๋ค ! |
@@ -0,0 +1,44 @@
+import MenuSlider from "../domain/MenuSlider.js";
+import MenuList from "../domain/MenuList.js";
+import Date from "../domain/Date.js";
+import OutputView from "../views/OutputView.js";
+import InputView from "../views/InputView.js";
+
+class ChristmasPromotion {
+ #date;
+ #menuList;
+
+ construct... | JavaScript | ํน์ ์์ฑ์์์ ๊ฐ์ ๋ฐ๋ก ์ด๊ธฐํ ํด์ฃผ์๋ ์ด์ ๊ฐ ์์๊น์?
์์ฑ์์์ ๊ฐ์ ์ด๊ธฐํํ๋ ๊ฒฝ์ฐ์๋ ๊ฐ ์ธ์คํด์ค๊ฐ ์์ฑ๋๋ ์์ ์ ์ด๋ ํ ๊ฐ์ ๊ธฐ๋ณธ๊ฐ์ผ๋ก ๊ฐ์ ธ์ํ ๋์๋ง ์์ฑ์์์ ๊ฐ์ ํ ๋นํ๋ค๊ณ ์๊ฐํ๋๋ฐ, ์์ฑํ์ ์ฝ๋๊ฐ์ ๊ฒฝ์ฐ์๋ ํด๋์ค ํ๋์ ์ ์ธํ์ค ๋ ๊ธฐ๋ณธ๊ฐ์ ์ง์ ํด์ฃผ์
๋ ๊ด์ฐฎ์ง ์์์๊น ์๊ฐํฉ๋๋ค! |
@@ -0,0 +1,44 @@
+import MenuSlider from "../domain/MenuSlider.js";
+import MenuList from "../domain/MenuList.js";
+import Date from "../domain/Date.js";
+import OutputView from "../views/OutputView.js";
+import InputView from "../views/InputView.js";
+
+class ChristmasPromotion {
+ #date;
+ #menuList;
+
+ construct... | JavaScript | while๋ฌธ์ ์ข
๋ฃ ์กฐ๊ฑด์ด ๋ฐ๋ก ์๋ ๊ฒ ๊ฐ์ ์ง๋ฌธ ๋จ๊น๋๋ค!
์ฌ๋ฐ๋ฅธ ๊ฐ์ด ์
๋ ฅ๋์์ ๋์๋ while๋ฌธ์ด ์ข
๋ฃ๋๋๊ฑด๊ฐ์? |
@@ -0,0 +1,44 @@
+import MenuSlider from "../domain/MenuSlider.js";
+import MenuList from "../domain/MenuList.js";
+import Date from "../domain/Date.js";
+import OutputView from "../views/OutputView.js";
+import InputView from "../views/InputView.js";
+
+class ChristmasPromotion {
+ #date;
+ #menuList;
+
+ construct... | JavaScript | play ๋ฉ์๋์์ 12์ ํ ์ธ ์ด๋ฒคํธ์ ํ๋ก๊ทธ๋จ ํ๋ฆ์ ๋ช
ํํ๊ฒ ๋ณผ ์ ์์ด์ ์ข์ ๊ฒ ๊ฐ์ต๋๋ค ๐ |
@@ -0,0 +1,47 @@
+import Discount from "./Discount.js";
+import { BADGE_PRICE, LEAST_AMOUNT } from "../constants/constant.js";
+
+class Benefit {
+ static getGiftMenu(menuList) {
+ return menuList.getTotalAmount() >= 120000 ? "์ดํ์ธ 1๊ฐ" : "์์";
+ }
+
+ static getBenefitsDetail(date, menuList) {
+ if (menuList.ge... | JavaScript | ๊ฐ์ฒด๊ฐ์ ๊ฒฐํฉ๋๊ฐ ๋์ ํํ์ธ ๊ฒ ๊ฐ์ต๋๋ค !
ํํ์์ธ๋ผ๋ ๋ฐฐ์ด ์์ฒด๋ฅผ ์ธ์๋ก ์ ๋ฌํ๋ ๊ฒ๋ณด๋ค๋ ๋ฐฐ์ด์์ ํ์ํ ๋ฐ์ดํฐ๋ฅผ ์ฐพ์์ ๋ฉ์๋์ ์ธ์๋ก ์ ๋ฌํ์ผ๋ฉด ๋ ์ข์ง ์์์๊น ๊ฐ์ธ์ ์ผ๋ก ์๊ฐํฉ๋๋ค :)
๋ ์ฝ๋์์ ๋ณด์์ ๋ ์ธ์๋ก ์ ๋ฌ๋๋ ๋ ์ง(date)๋ง๋ค ๋ค๋ฅธ ํํ์ด ์ ์ฉ๋๋ ํํ์ธ ๊ฒ ๊ฐ์ต๋๋ค.
๊ฐ์ธ์ ์ผ๋ก ์ด๋ฐ ๊ฒฝ์ฐ์ ํด๋์ค์ ์ ์ ๋ฉ์๋๋ก ์ ์ธํด์ ์ธ์๋ก ์ ๋ฌ๋ฐ์์ ์ฌ์ฉํ๊ธฐ๋ณด๋ค๋ ์ธ์คํด์ค๋ฅผ ์์ฑํ๋ ์์ ์ ๊ธฐ๋ณธ ๊ฐ์ผ๋ก ์ค์ ๋ ์ ์๋๋ก ์์ฑ์์ date๋ฅผ ์ ๋ฌ๋ฐ์ ๋ฐ์ดํฐ๋ฅผ ํ์ฉํ๋ ๋ฐฉ์์ผ๋ก ์ฝ๋๋ฅผ ์์ฑํ์ ๊ฒ ๊ฐ์ต๋๋ค :) |
@@ -0,0 +1,47 @@
+import Discount from "./Discount.js";
+import { BADGE_PRICE, LEAST_AMOUNT } from "../constants/constant.js";
+
+class Benefit {
+ static getGiftMenu(menuList) {
+ return menuList.getTotalAmount() >= 120000 ? "์ดํ์ธ 1๊ฐ" : "์์";
+ }
+
+ static getBenefitsDetail(date, menuList) {
+ if (menuList.ge... | JavaScript | ํด๋์ค์ ๋ฉ์๋๋ค์ ์ ์ ๋ฉ์๋๋ก ์ ์ธํด์ฃผ์ ์ด์ ๊ฐ ์์๊น์? |
@@ -0,0 +1,34 @@
+import { ERROR_MESSAGE } from "../constants/message.js";
+import { THE_DATE, WEEK } from "../constants/constant.js";
+
+class Date {
+ #theDate;
+
+ constructor(input) {
+ this.validDate(input);
+ this.#theDate = input;
+ }
+ validDate(input) {
+ const isNumber = /^[1-9]\d*$/;
+ if (!(... | JavaScript | ๊ฐ์ ๊ฒ์ฆํ๋ ๋ฉ์๋์ ๊ฒฝ์ฐ์๋ '#' prefix๋ฅผ ํตํด private method๋ก ์ ์ธํด ํ์ฉํ๋ ๊ฒ ๊ฐ์ฒด์ ์บก์ํ์ ๋์์ด ๋ ๊ฒ ๊ฐ์ต๋๋ค :) |
@@ -0,0 +1,55 @@
+import { WEEK, CHAMPAGNE_PRICE } from "../constants/constant.js";
+
+class Discount {
+ static addChristmasDiscount(benefitsDetail, date) {
+ if (date.getChristmasDiscount() !== 0) {
+ benefitsDetail.push(`ํฌ๋ฆฌ์ค๋ง์ค ๋๋ฐ์ด ํ ์ธ: -${date.getChristmasDiscount().toLocaleString("ko-KR")}์`);
+ }
+ }
+... | JavaScript | Discount ํด๋์ค๊ฐ ์ฌ๋ฌ๊ฐ์ ์ฑ
์์ ๊ฐ์ง๊ณ ์๋ ๊ฒ ๊ฐ์ต๋๋ค.
๊ฐ์ธ์ ์ผ๋ก Discount ํด๋์ค๋ ํ ์ธ ๊ธ์ก๋ง์ ๊ณ์ฐํ๊ณ OutputView์์ ๋ฌธ์์ด๋ก ํ ์ธ ํํ ์ ๋ณด๋ฅผ ๋ด์์ ๋ณด์ฌ์ฃผ์ด์ผ ํ๋ค๊ณ ์๊ฐํ๋๋ฐ, ์ด ํด๋์ค์์ ํ ์ธ ํํ ์ ๋ณด ์์ฒด๋ฅผ ๋ฐํํ์ ์ด์ ๊ฐ ์์ผ์ ๊ฐ์?? |
@@ -0,0 +1,47 @@
+import { MENU_NUMBER, ALL_MENU } from "../constants/constant.js";
+import { ERROR_MESSAGE } from "../constants/message.js";
+
+class Menu {
+ #name;
+ #number;
+ #price;
+
+ constructor(name, number) {
+ this.validMenuName(name);
+ this.validMenuNumber(number);
+ this.#name = name;
+ t... | JavaScript | ๋ฉ์๋์์ map ๋ฉ์๋์ include ๋ฉ์๋๋ฅผ ํตํด ์ ๋ฌ๋ฐ์ ๋ฉ๋ด๊ฐ ์กด์ฌํ๋ ๋ฉ๋ด์ธ์ง ํ์ธํ๊ณ ์๋ ๊ฒ ๊ฐ์ต๋๋ค !
์ด ๊ฒฝ์ฐ์๋ some ๋ฉ์๋๋ฅผ ํ์ฉํด์ ๊ฐ๋จํ๊ฒ ํํํ ์ ์์ ๊ฒ ๊ฐ์ต๋๋ค!
```js
if (!ALL_MENU.some((menu) => menu.name === name)) {
throw new Error(ERROR_MESSAGE.errorMenu);
}
``` |
@@ -0,0 +1,27 @@
+import InputView from "../views/InputView.js";
+import Menu from "./Menu.js";
+import { ERROR_MESSAGE } from "../constants/message.js";
+
+class MenuSlider {
+ static async getSlideMenu() {
+ const menus = await InputView.readMenu();
+ const splitMenus = menus.split(",");
+ const menuList = ... | JavaScript | ๋ฉ๋ด ํ์ ๊ฒ์ฌํ๋ ๋ฉ์๋๊ฐ ์ง๊ด์ ์ด์ ์ดํดํ๊ธฐ๊ฐ ํธํ ๊ฒ ๊ฐ์ต๋๋ค ๋ฐฐ์๊ฐ๋๋ค๐ |
@@ -0,0 +1,50 @@
+export const THE_DATE = {
+ first: 1,
+ end: 31,
+ christmas: 25,
+};
+
+export const WEEK = {
+ sunday: 3,
+ monday: 4,
+ tuesday: 5,
+ wednesday: 6,
+ thursday: 0,
+ friday: 1,
+ saturday: 2,
+};
+
+export const MENU_NUMBER = {
+ minimum: 1,
+ maximum: 20,
+};
+
+export const ALL_MENU = ... | JavaScript | ๊ณผ์ ๋ฅผ ์ํํ๋ฉด์ object.freeze๋ฅผ ์ฌ์ฉํ ์ง ๋ง์ง ๊ณ ๋ฏผ์ ํด๋ดค๋๋ฐ ์ญ์ ์ฌ์ฉํ๋๊ฒ ์ข์์ ๊ฒ ๊ฐ๋ค์!
๋ค์๋ถํฐ๋ ์ฌ์ฉํด์ ๊ด๋ฆฌํด ๋ด์ผ๊ฒ ์ด์! ๊ฐ์ฌํฉ๋๋ค! |
@@ -0,0 +1,113 @@
+[ํจ๊ป ์๋ผ๊ธฐ ์ ์์ผ๋ก ๊ฐ๋ ๊ธธ]
+
+2. ํจ๊ป
+
+2-6) ํํฅ์ ์ ๊ทผ์ ํจ์
+
+"๋น์ ๋ฌธ๊ฐ์ผ์๋ก ์์ ์ด ๋ง๋ ์ ์ด์ ์ธ์ด ๊ณํ์ ์ง์ฐฉํ์ต๋๋ค. ์คํ๋ ค ์ ๋ฌธ๊ฐ์ผ์๋ก ์์ ์ ๊ณํ์ ์์ ํ ํ์๊ฐ ๋ง์์ต๋๋ค."
+
+์ ๋ ๊ธฐ๋ฅ์ ๊ฐ๋ฐํ ๋, ์์ ์ ๋ถํฐ ์ต๋ํ ์ธ์ธํ๊ฒ ๊ณํ์ ์ง๊ณ ๊ณํํ๋๋ก ์งํํ๋ ค๊ณ ํ๋ ์คํ์ผ์ด์๋๋ฐ
+
+๋ญ๊ฐ ํญ์ ์๋ฌด๋ฆฌ ๊ผผ๊ผผํ๊ฒ ์ง๋ ค๊ณ ํด๋ ๋ง์ ์ค์ ๋ก ๊ตฌํ์ ๋ค์ด๊ฐ๋ฉด ์์ ํ ๋ถ๋ถ์ด ๊ณ์ํด์ ๋ณด์ด๋๊ตฐ์
+
+์ฒ์ ์งฐ๋ ๊ณํ์์ ์กฐ๊ธ์ฉ ์์ ๋ ์๋ก '๋ด๊ฐ ์ข ๋ ์ ์คํ ์๊ฐํ์ด์ผํ๋? ์์ง ๋ถ์กฑํ๊ตฌ๋' ํ๊ณ ... | Unknown | ์ด๋ค ์๋๋ฆฌ์ค๋ก ํด๋น ๊ธฐ๋ฅ์ด ์๋ํ๊ฒ ๋๋์ง ๋จผ์ ์๊ฐํ๋ ๊ฒ ๊ฐ์ต๋๋ค. ๊ทธ๋ฆฌ๊ณ ๋น์ทํ ๊ธฐ๋ฅ์ ๋ํด์ ๋ค๋ฅธ ๋ถ๋ค์ ์ด๋ค ์์ผ๋ก ์ฌ์ฉํ๊ณ ์๋์ง๋ ์ฐพ์๋ณผ ์ ์์ผ๋ฉด ์ฌ์ญค๋ณด๊ฑฐ๋ ๊ตฌ๊ธ๋ง์ ํฉ๋๋ค!
์์ฆ์๋ ๋ง๋ค๊ณ ๋์ ํด๋น ์ฝ๋์ ํผํฌ๋จผ์ค๋ ๊ฐ์ ํ ์ ์๋์ง ๊ณ ๋ฏผํ๊ณ ์์ต๋๋ค. ์ด ๋ถ๋ถ์ ์ ๋ ๋๋ฌด ์ ๋ชฐ๋ผ์ ํ๋ฉด์ ์ ๋ชจ๋ฅด๊ฒ ์ผ๋ฉด ์ฐพ์๋ณด๊ฑฐ๋ ์ฌ์ญค๋ณด๋ฉด์ ํ๊ณ ์์ด์.. |
@@ -0,0 +1,113 @@
+[ํจ๊ป ์๋ผ๊ธฐ ์ ์์ผ๋ก ๊ฐ๋ ๊ธธ]
+
+2. ํจ๊ป
+
+2-6) ํํฅ์ ์ ๊ทผ์ ํจ์
+
+"๋น์ ๋ฌธ๊ฐ์ผ์๋ก ์์ ์ด ๋ง๋ ์ ์ด์ ์ธ์ด ๊ณํ์ ์ง์ฐฉํ์ต๋๋ค. ์คํ๋ ค ์ ๋ฌธ๊ฐ์ผ์๋ก ์์ ์ ๊ณํ์ ์์ ํ ํ์๊ฐ ๋ง์์ต๋๋ค."
+
+์ ๋ ๊ธฐ๋ฅ์ ๊ฐ๋ฐํ ๋, ์์ ์ ๋ถํฐ ์ต๋ํ ์ธ์ธํ๊ฒ ๊ณํ์ ์ง๊ณ ๊ณํํ๋๋ก ์งํํ๋ ค๊ณ ํ๋ ์คํ์ผ์ด์๋๋ฐ
+
+๋ญ๊ฐ ํญ์ ์๋ฌด๋ฆฌ ๊ผผ๊ผผํ๊ฒ ์ง๋ ค๊ณ ํด๋ ๋ง์ ์ค์ ๋ก ๊ตฌํ์ ๋ค์ด๊ฐ๋ฉด ์์ ํ ๋ถ๋ถ์ด ๊ณ์ํด์ ๋ณด์ด๋๊ตฐ์
+
+์ฒ์ ์งฐ๋ ๊ณํ์์ ์กฐ๊ธ์ฉ ์์ ๋ ์๋ก '๋ด๊ฐ ์ข ๋ ์ ์คํ ์๊ฐํ์ด์ผํ๋? ์์ง ๋ถ์กฑํ๊ตฌ๋' ํ๊ณ ... | Unknown | ์ ๋ ํผํฌ๋จผ์ค ์ ์๊ฐ ๋น ์ ๋ฌธ๊ฐ๋ก ๊ตฌ์ฑ๋ ํ๋ณด๋ค ๋ฌด๊ณํ์์ ์ํ ์ ๋ฌธ๊ฐ๊ฐ ๋ ๋ฎ์๋ค๋๊ฒ ์์ธ์์ด์ |
@@ -0,0 +1,113 @@
+[ํจ๊ป ์๋ผ๊ธฐ ์ ์์ผ๋ก ๊ฐ๋ ๊ธธ]
+
+2. ํจ๊ป
+
+2-6) ํํฅ์ ์ ๊ทผ์ ํจ์
+
+"๋น์ ๋ฌธ๊ฐ์ผ์๋ก ์์ ์ด ๋ง๋ ์ ์ด์ ์ธ์ด ๊ณํ์ ์ง์ฐฉํ์ต๋๋ค. ์คํ๋ ค ์ ๋ฌธ๊ฐ์ผ์๋ก ์์ ์ ๊ณํ์ ์์ ํ ํ์๊ฐ ๋ง์์ต๋๋ค."
+
+์ ๋ ๊ธฐ๋ฅ์ ๊ฐ๋ฐํ ๋, ์์ ์ ๋ถํฐ ์ต๋ํ ์ธ์ธํ๊ฒ ๊ณํ์ ์ง๊ณ ๊ณํํ๋๋ก ์งํํ๋ ค๊ณ ํ๋ ์คํ์ผ์ด์๋๋ฐ
+
+๋ญ๊ฐ ํญ์ ์๋ฌด๋ฆฌ ๊ผผ๊ผผํ๊ฒ ์ง๋ ค๊ณ ํด๋ ๋ง์ ์ค์ ๋ก ๊ตฌํ์ ๋ค์ด๊ฐ๋ฉด ์์ ํ ๋ถ๋ถ์ด ๊ณ์ํด์ ๋ณด์ด๋๊ตฐ์
+
+์ฒ์ ์งฐ๋ ๊ณํ์์ ์กฐ๊ธ์ฉ ์์ ๋ ์๋ก '๋ด๊ฐ ์ข ๋ ์ ์คํ ์๊ฐํ์ด์ผํ๋? ์์ง ๋ถ์กฑํ๊ตฌ๋' ํ๊ณ ... | Unknown | ์.. ๋ณตํฉ์ ์ธ ๊ฒ ๊ฐ์์. ์ฌ๋ ๋ ์ฌ๋์ผ๋ก์์ ํธ๊ฐ๋์(?)๊ณผ ์
๋ฌด์ ์ธ ์ ์ , ๊ทธ๋ฆฌ๊ณ ํผํฌ๋จผ์ค๊ฐ ์ด๋์ ๋ ๋์์ผ ๊ฐ๋ฅํ ๊ฒ ๊ฐ์์. ์ฐ์ ํธ๊ฐ๋์์ด ์ข ์งํ๋๋ฉด ์๋ก ์ด๋ ค์ด ๋ถ๋ถ์ด๋ ํ๋ ๋ถ๋ถ๋ค์ ํจ๊ป ๊ณ ๋ฏผ๋ ํด๋ณด๊ณ ๋ ํ์ ์ฃผ๋ ๊ณผ์ ์์๋ ์์ฐ์ค๋ฌ์ธ ๊ฒ ๊ฐ์์ |
@@ -0,0 +1,113 @@
+[ํจ๊ป ์๋ผ๊ธฐ ์ ์์ผ๋ก ๊ฐ๋ ๊ธธ]
+
+2. ํจ๊ป
+
+2-6) ํํฅ์ ์ ๊ทผ์ ํจ์
+
+"๋น์ ๋ฌธ๊ฐ์ผ์๋ก ์์ ์ด ๋ง๋ ์ ์ด์ ์ธ์ด ๊ณํ์ ์ง์ฐฉํ์ต๋๋ค. ์คํ๋ ค ์ ๋ฌธ๊ฐ์ผ์๋ก ์์ ์ ๊ณํ์ ์์ ํ ํ์๊ฐ ๋ง์์ต๋๋ค."
+
+์ ๋ ๊ธฐ๋ฅ์ ๊ฐ๋ฐํ ๋, ์์ ์ ๋ถํฐ ์ต๋ํ ์ธ์ธํ๊ฒ ๊ณํ์ ์ง๊ณ ๊ณํํ๋๋ก ์งํํ๋ ค๊ณ ํ๋ ์คํ์ผ์ด์๋๋ฐ
+
+๋ญ๊ฐ ํญ์ ์๋ฌด๋ฆฌ ๊ผผ๊ผผํ๊ฒ ์ง๋ ค๊ณ ํด๋ ๋ง์ ์ค์ ๋ก ๊ตฌํ์ ๋ค์ด๊ฐ๋ฉด ์์ ํ ๋ถ๋ถ์ด ๊ณ์ํด์ ๋ณด์ด๋๊ตฐ์
+
+์ฒ์ ์งฐ๋ ๊ณํ์์ ์กฐ๊ธ์ฉ ์์ ๋ ์๋ก '๋ด๊ฐ ์ข ๋ ์ ์คํ ์๊ฐํ์ด์ผํ๋? ์์ง ๋ถ์กฑํ๊ตฌ๋' ํ๊ณ ... | Unknown | ใ
ใ
ใ
ใ
ํ .. ^^ ใ
ใ
|
@@ -0,0 +1,113 @@
+[ํจ๊ป ์๋ผ๊ธฐ ์ ์์ผ๋ก ๊ฐ๋ ๊ธธ]
+
+2. ํจ๊ป
+
+2-6) ํํฅ์ ์ ๊ทผ์ ํจ์
+
+"๋น์ ๋ฌธ๊ฐ์ผ์๋ก ์์ ์ด ๋ง๋ ์ ์ด์ ์ธ์ด ๊ณํ์ ์ง์ฐฉํ์ต๋๋ค. ์คํ๋ ค ์ ๋ฌธ๊ฐ์ผ์๋ก ์์ ์ ๊ณํ์ ์์ ํ ํ์๊ฐ ๋ง์์ต๋๋ค."
+
+์ ๋ ๊ธฐ๋ฅ์ ๊ฐ๋ฐํ ๋, ์์ ์ ๋ถํฐ ์ต๋ํ ์ธ์ธํ๊ฒ ๊ณํ์ ์ง๊ณ ๊ณํํ๋๋ก ์งํํ๋ ค๊ณ ํ๋ ์คํ์ผ์ด์๋๋ฐ
+
+๋ญ๊ฐ ํญ์ ์๋ฌด๋ฆฌ ๊ผผ๊ผผํ๊ฒ ์ง๋ ค๊ณ ํด๋ ๋ง์ ์ค์ ๋ก ๊ตฌํ์ ๋ค์ด๊ฐ๋ฉด ์์ ํ ๋ถ๋ถ์ด ๊ณ์ํด์ ๋ณด์ด๋๊ตฐ์
+
+์ฒ์ ์งฐ๋ ๊ณํ์์ ์กฐ๊ธ์ฉ ์์ ๋ ์๋ก '๋ด๊ฐ ์ข ๋ ์ ์คํ ์๊ฐํ์ด์ผํ๋? ์์ง ๋ถ์กฑํ๊ตฌ๋' ํ๊ณ ... | Unknown | ์ ๋ ์ ๋ถํ๋๋ฆด๊ฒ์!! |
@@ -0,0 +1,113 @@
+[ํจ๊ป ์๋ผ๊ธฐ ์ ์์ผ๋ก ๊ฐ๋ ๊ธธ]
+
+2. ํจ๊ป
+
+2-6) ํํฅ์ ์ ๊ทผ์ ํจ์
+
+"๋น์ ๋ฌธ๊ฐ์ผ์๋ก ์์ ์ด ๋ง๋ ์ ์ด์ ์ธ์ด ๊ณํ์ ์ง์ฐฉํ์ต๋๋ค. ์คํ๋ ค ์ ๋ฌธ๊ฐ์ผ์๋ก ์์ ์ ๊ณํ์ ์์ ํ ํ์๊ฐ ๋ง์์ต๋๋ค."
+
+์ ๋ ๊ธฐ๋ฅ์ ๊ฐ๋ฐํ ๋, ์์ ์ ๋ถํฐ ์ต๋ํ ์ธ์ธํ๊ฒ ๊ณํ์ ์ง๊ณ ๊ณํํ๋๋ก ์งํํ๋ ค๊ณ ํ๋ ์คํ์ผ์ด์๋๋ฐ
+
+๋ญ๊ฐ ํญ์ ์๋ฌด๋ฆฌ ๊ผผ๊ผผํ๊ฒ ์ง๋ ค๊ณ ํด๋ ๋ง์ ์ค์ ๋ก ๊ตฌํ์ ๋ค์ด๊ฐ๋ฉด ์์ ํ ๋ถ๋ถ์ด ๊ณ์ํด์ ๋ณด์ด๋๊ตฐ์
+
+์ฒ์ ์งฐ๋ ๊ณํ์์ ์กฐ๊ธ์ฉ ์์ ๋ ์๋ก '๋ด๊ฐ ์ข ๋ ์ ์คํ ์๊ฐํ์ด์ผํ๋? ์์ง ๋ถ์กฑํ๊ตฌ๋' ํ๊ณ ... | Unknown | ์ ๋ ๋ฌด์ธ๊ฐ ๋ง์ ํ ๋ '์ ์ด ์ด์ผ๊ธฐ๋ฅผ ์ง๊ธ ํด๋ ๋๋ ๊ฑด๊ฐ, ์ ์ ํ ์ํฉ์ด ๋ง๋?' ์๊ฐํ๊ฒ ๋๋ ๊ฒ ๊ฐ์์. ์ ๋ ์ ๋ฐ์๊ฐ ์ด๋ฐ ์ง๋ฌธ์ ํด๋ ๋ ๊น ๊ณ ๋ฏผ์ ๋ง์ด ํฉ๋๋ค.. |
@@ -0,0 +1,113 @@
+[ํจ๊ป ์๋ผ๊ธฐ ์ ์์ผ๋ก ๊ฐ๋ ๊ธธ]
+
+2. ํจ๊ป
+
+2-6) ํํฅ์ ์ ๊ทผ์ ํจ์
+
+"๋น์ ๋ฌธ๊ฐ์ผ์๋ก ์์ ์ด ๋ง๋ ์ ์ด์ ์ธ์ด ๊ณํ์ ์ง์ฐฉํ์ต๋๋ค. ์คํ๋ ค ์ ๋ฌธ๊ฐ์ผ์๋ก ์์ ์ ๊ณํ์ ์์ ํ ํ์๊ฐ ๋ง์์ต๋๋ค."
+
+์ ๋ ๊ธฐ๋ฅ์ ๊ฐ๋ฐํ ๋, ์์ ์ ๋ถํฐ ์ต๋ํ ์ธ์ธํ๊ฒ ๊ณํ์ ์ง๊ณ ๊ณํํ๋๋ก ์งํํ๋ ค๊ณ ํ๋ ์คํ์ผ์ด์๋๋ฐ
+
+๋ญ๊ฐ ํญ์ ์๋ฌด๋ฆฌ ๊ผผ๊ผผํ๊ฒ ์ง๋ ค๊ณ ํด๋ ๋ง์ ์ค์ ๋ก ๊ตฌํ์ ๋ค์ด๊ฐ๋ฉด ์์ ํ ๋ถ๋ถ์ด ๊ณ์ํด์ ๋ณด์ด๋๊ตฐ์
+
+์ฒ์ ์งฐ๋ ๊ณํ์์ ์กฐ๊ธ์ฉ ์์ ๋ ์๋ก '๋ด๊ฐ ์ข ๋ ์ ์คํ ์๊ฐํ์ด์ผํ๋? ์์ง ๋ถ์กฑํ๊ตฌ๋' ํ๊ณ ... | Unknown | ์์ 0๋ถํฐ ํ ๋๋ ๊ธฐํ์ ์ ์ฒด ๋ด์ฉ์ ๋ณด๋ฉด์ ํ์ํ ๊ธฐ๋ฅ ๋ฆฌ์คํธ๋ฅผ ๋์ดํฉ๋๋ค. ๊ทธ๋ฆฌ๊ณ ํ์ ๊ธฐ๋ฅ ๋ฆฌ์คํธ๋ค์ ๊ธฐ์ค์ผ๋ก ์ ์ฒด ์ค๊ณ๋ฅผ ๊ทธ๋ฆฌ๊ณ ๊ฐ๋ฐ์ ์์ํฉ๋๋ค.
์ด๋ฏธ ์ด๋์ ๋ ์งํ ๋ ํ๋ก์ ํธ์์ ์ถ๊ฐ ๊ธฐ๋ฅ ๊ฐ๋ฐ์ ๋ฐ์์ ๋๋ ํด๋น ๊ธฐ๋ฅ์ ์ด๋ป๊ฒ ๊ฐ๋ฐ์ ํ ์ง, ์ด๋ค ๋ก์ง์ด ํ์ํ์ง ์๊ฐ์ ํด๋ณด๊ณ ๋ฐ๋ก ๋ถ์ฌ๋ณด๋ ๋ฐฉ์์ผ๋ก ๊ฐ๋ฐํฉ๋๋ค. |
@@ -0,0 +1,113 @@
+[ํจ๊ป ์๋ผ๊ธฐ ์ ์์ผ๋ก ๊ฐ๋ ๊ธธ]
+
+2. ํจ๊ป
+
+2-6) ํํฅ์ ์ ๊ทผ์ ํจ์
+
+"๋น์ ๋ฌธ๊ฐ์ผ์๋ก ์์ ์ด ๋ง๋ ์ ์ด์ ์ธ์ด ๊ณํ์ ์ง์ฐฉํ์ต๋๋ค. ์คํ๋ ค ์ ๋ฌธ๊ฐ์ผ์๋ก ์์ ์ ๊ณํ์ ์์ ํ ํ์๊ฐ ๋ง์์ต๋๋ค."
+
+์ ๋ ๊ธฐ๋ฅ์ ๊ฐ๋ฐํ ๋, ์์ ์ ๋ถํฐ ์ต๋ํ ์ธ์ธํ๊ฒ ๊ณํ์ ์ง๊ณ ๊ณํํ๋๋ก ์งํํ๋ ค๊ณ ํ๋ ์คํ์ผ์ด์๋๋ฐ
+
+๋ญ๊ฐ ํญ์ ์๋ฌด๋ฆฌ ๊ผผ๊ผผํ๊ฒ ์ง๋ ค๊ณ ํด๋ ๋ง์ ์ค์ ๋ก ๊ตฌํ์ ๋ค์ด๊ฐ๋ฉด ์์ ํ ๋ถ๋ถ์ด ๊ณ์ํด์ ๋ณด์ด๋๊ตฐ์
+
+์ฒ์ ์งฐ๋ ๊ณํ์์ ์กฐ๊ธ์ฉ ์์ ๋ ์๋ก '๋ด๊ฐ ์ข ๋ ์ ์คํ ์๊ฐํ์ด์ผํ๋? ์์ง ๋ถ์กฑํ๊ตฌ๋' ํ๊ณ ... | Unknown | ์ ๊ฐ์ธ์ ์ธ ์ฒ ์ง์ธ๋ฐ์, ๋ฌด์์ ์ฝ๋ฉ๋ถํฐ ํ์ง ์์ผ๋ ค๊ณ ํฉ๋๋ค.
๋น ์ข
์ด๋ฅผ ํ์ฅ ๊ฐ์ง๊ณ ์์ ๋จผ์ ์๊ตฌ์ฌํญ์ด ๋ฌด์์ธ์ง๋ฅผ ์ค์ค๋ก ์ฌ์ ์ ํด๋ด
๋๋ค.
๊ธฐํ์ ๋ฐ๋ผ์ ๋จ์ ๋์ด์ด ๊ฐ๋ฅํ ๋๊ฐ ์๊ณ ๋๋ ํ๋ก์ธ์ค๋ก ์๊ตฌ์ฌํญ์ ์ ๋ฆฌํ ๋๊ฐ ์๋ ๊ฒ ๊ฐ์์.
๊ทธ๋ ๊ฒ ์๊ตฌ์ฌํญ์ ๋ํ ์ ๋ฆฌ๊ฐ ๋๋๋ฉด ํ์ํ ํด๋์ค๋ฅผ ์ ์ํ๊ธฐ ์์ํฉ๋๋ค.
์ด๋ ๋ชจ๋ ๊ฑธ ๋ค ์๋ฒฝํ๊ฒ ํ๊ธฐ๋ ๋น์ฐ ๋ถ๊ฐ๋ฅ์ ๊ฐ๊น๊ธฐ ๋๋ฌธ์ ์ต๋ํ ๊ผญ ํ์ํ ๊ฒ ๊ฐ์ ํด๋์ค ์์ฑ๊ณผ ๋ฉ์๋์ ๋ํด์๋ง ์ ์๋ฅผ ํ๊ณ ๋์ด๊ฐ๋๋ค.
์๋ ๊ฒ ์๊ตฌ์ฌํญ ๋ถ์๊ณผ ๊ฐ๋จํ ์ค๊ณ ๊ณผ์ ์ ๋๋ธ ๋ค์์ ๋ณธ๊ฒฉ์ ์ผ๋ก ๊ตฌํ์ ํ๋ ค๊ณ ๋์ด๊ฐ์.
๊ทธ๋ฌ๋ค๋ณด... |
@@ -0,0 +1,113 @@
+[ํจ๊ป ์๋ผ๊ธฐ ์ ์์ผ๋ก ๊ฐ๋ ๊ธธ]
+
+2. ํจ๊ป
+
+2-6) ํํฅ์ ์ ๊ทผ์ ํจ์
+
+"๋น์ ๋ฌธ๊ฐ์ผ์๋ก ์์ ์ด ๋ง๋ ์ ์ด์ ์ธ์ด ๊ณํ์ ์ง์ฐฉํ์ต๋๋ค. ์คํ๋ ค ์ ๋ฌธ๊ฐ์ผ์๋ก ์์ ์ ๊ณํ์ ์์ ํ ํ์๊ฐ ๋ง์์ต๋๋ค."
+
+์ ๋ ๊ธฐ๋ฅ์ ๊ฐ๋ฐํ ๋, ์์ ์ ๋ถํฐ ์ต๋ํ ์ธ์ธํ๊ฒ ๊ณํ์ ์ง๊ณ ๊ณํํ๋๋ก ์งํํ๋ ค๊ณ ํ๋ ์คํ์ผ์ด์๋๋ฐ
+
+๋ญ๊ฐ ํญ์ ์๋ฌด๋ฆฌ ๊ผผ๊ผผํ๊ฒ ์ง๋ ค๊ณ ํด๋ ๋ง์ ์ค์ ๋ก ๊ตฌํ์ ๋ค์ด๊ฐ๋ฉด ์์ ํ ๋ถ๋ถ์ด ๊ณ์ํด์ ๋ณด์ด๋๊ตฐ์
+
+์ฒ์ ์งฐ๋ ๊ณํ์์ ์กฐ๊ธ์ฉ ์์ ๋ ์๋ก '๋ด๊ฐ ์ข ๋ ์ ์คํ ์๊ฐํ์ด์ผํ๋? ์์ง ๋ถ์กฑํ๊ตฌ๋' ํ๊ณ ... | Unknown | ์ผ๋จ ์
๊ณ์ "ํ๊ธ" ๊ทธ๋ฐ ๋๋๊น์ง ์๋์ด๋ ์ด๋ ์ ๋ ์ค๋ ฅ์ ๋ณด์ฌ์ฃผ๊ณ ์ธ์ ์ ๋ฐ๋ ํ์๊ฐ ํ์๋ค์๊ฒ ์ ๋ขฐ๊ฐ์ ์๋ ๋ฐฉ๋ฒ ์ค ํ๋๋ผ๊ณ ๋ด
๋๋ค. ๋ฌผ๋ก ์ ๋นํ ์ํํธ ์คํฌ๋ ์ฅ์ฐฉํ๋ฉด ๋งค์ฐ ์ข๊ณ ์, ํ์๋ค์๊ฒ ์ ๋ขฐ๊ฐ์ ์๊ณ ์ฑ
์๊ฐ ๊น์ง ๋ณด์ฌ์ฃผ๋ฉด ํ์ ์ฌ๋ฆฌ์ ์์ ๊ฐ์ ์ค๋ค๊ณ ์๊ฐํฉ๋๋ค. |
@@ -0,0 +1,113 @@
+[ํจ๊ป ์๋ผ๊ธฐ ์ ์์ผ๋ก ๊ฐ๋ ๊ธธ]
+
+2. ํจ๊ป
+
+2-6) ํํฅ์ ์ ๊ทผ์ ํจ์
+
+"๋น์ ๋ฌธ๊ฐ์ผ์๋ก ์์ ์ด ๋ง๋ ์ ์ด์ ์ธ์ด ๊ณํ์ ์ง์ฐฉํ์ต๋๋ค. ์คํ๋ ค ์ ๋ฌธ๊ฐ์ผ์๋ก ์์ ์ ๊ณํ์ ์์ ํ ํ์๊ฐ ๋ง์์ต๋๋ค."
+
+์ ๋ ๊ธฐ๋ฅ์ ๊ฐ๋ฐํ ๋, ์์ ์ ๋ถํฐ ์ต๋ํ ์ธ์ธํ๊ฒ ๊ณํ์ ์ง๊ณ ๊ณํํ๋๋ก ์งํํ๋ ค๊ณ ํ๋ ์คํ์ผ์ด์๋๋ฐ
+
+๋ญ๊ฐ ํญ์ ์๋ฌด๋ฆฌ ๊ผผ๊ผผํ๊ฒ ์ง๋ ค๊ณ ํด๋ ๋ง์ ์ค์ ๋ก ๊ตฌํ์ ๋ค์ด๊ฐ๋ฉด ์์ ํ ๋ถ๋ถ์ด ๊ณ์ํด์ ๋ณด์ด๋๊ตฐ์
+
+์ฒ์ ์งฐ๋ ๊ณํ์์ ์กฐ๊ธ์ฉ ์์ ๋ ์๋ก '๋ด๊ฐ ์ข ๋ ์ ์คํ ์๊ฐํ์ด์ผํ๋? ์์ง ๋ถ์กฑํ๊ตฌ๋' ํ๊ณ ... | Unknown | ์ ๋ ์ด ๊ฒฐ๊ณผ๋ฅผ ๋ณด๋ฉด์ ์ ๋ฌธ๊ฐ ์ง๋จ์ ์์ฑ(?)์ ์ด๋์ ๋ ๊นจ๋ฌ์ ์ ์๊ฒ ๋์์ด์.
์ ๋ฌธ๊ฐ์๊ฒ๋ ์ ๋ง ์์ง์ฌ์ง ๊ฐ์ด๋๊ฐ ํ์ํด ๋ณด์ฌ์.
๋ง์น ๊ธฐํ์ ์์ด ๊ฐ๋ฐํ๋ผ๊ณ ํ์ ๋ ๋๋ผ๋ ์ ๋ง๊ณผ ๋น์ทํ์ง ์์๊น์? |
@@ -0,0 +1,113 @@
+[ํจ๊ป ์๋ผ๊ธฐ ์ ์์ผ๋ก ๊ฐ๋ ๊ธธ]
+
+2. ํจ๊ป
+
+2-6) ํํฅ์ ์ ๊ทผ์ ํจ์
+
+"๋น์ ๋ฌธ๊ฐ์ผ์๋ก ์์ ์ด ๋ง๋ ์ ์ด์ ์ธ์ด ๊ณํ์ ์ง์ฐฉํ์ต๋๋ค. ์คํ๋ ค ์ ๋ฌธ๊ฐ์ผ์๋ก ์์ ์ ๊ณํ์ ์์ ํ ํ์๊ฐ ๋ง์์ต๋๋ค."
+
+์ ๋ ๊ธฐ๋ฅ์ ๊ฐ๋ฐํ ๋, ์์ ์ ๋ถํฐ ์ต๋ํ ์ธ์ธํ๊ฒ ๊ณํ์ ์ง๊ณ ๊ณํํ๋๋ก ์งํํ๋ ค๊ณ ํ๋ ์คํ์ผ์ด์๋๋ฐ
+
+๋ญ๊ฐ ํญ์ ์๋ฌด๋ฆฌ ๊ผผ๊ผผํ๊ฒ ์ง๋ ค๊ณ ํด๋ ๋ง์ ์ค์ ๋ก ๊ตฌํ์ ๋ค์ด๊ฐ๋ฉด ์์ ํ ๋ถ๋ถ์ด ๊ณ์ํด์ ๋ณด์ด๋๊ตฐ์
+
+์ฒ์ ์งฐ๋ ๊ณํ์์ ์กฐ๊ธ์ฉ ์์ ๋ ์๋ก '๋ด๊ฐ ์ข ๋ ์ ์คํ ์๊ฐํ์ด์ผํ๋? ์์ง ๋ถ์กฑํ๊ตฌ๋' ํ๊ณ ... | Unknown | ์ผ๋จ ๋ณธ์ธ ์ค์ค๋ก๊ฐ ์ฌ๋ฆฌ์ ์ผ๋ก ์์ ์ ์ธ ๊ฒ ์ค์ํ ๊ฒ ๊ฐ์์.
๋ ์์ ์ด ์ฌ๋ฆฌ์ ์ผ๋ก ๋ถ์์ ํ๋ฉด ์ ๊ธฐํ ํ์์ด ๋ํ๋๋๋ฐ ๋ด ์ฃผ๋ณ์ ์๋ ์ฌ๋๋ค์ ์ฌ์ํ ํ๋ ํ๋์ ์ ๊ฒฝ์ ์ฐ๊ฒ ๋๊ณ ๊ดํ ์๋๋ฐฉ์ด ์ฌ๋ฆฌ์ ์ผ๋ก ๋ถ์ํด ๋ณด์ด๋ ๋ฏํ ์ฐฉ๊ฐ(?)์ ๋น ์ง๋ ๊ฒฝ์ฐ๊ฐ ์ข
์ข
์๋ ๊ฒ ๊ฐ์ต๋๋ค(์ ์ ์๋๋ฐฉ์ ๋ณ ๋ฌธ์ ๊ฐ ์์์๋ ๋ถ๊ตฌํ๊ตฌ์).
๋๋ถ์ด ์ค์ค๋ก ์ฌ๋ฆฌ์ ์ผ๋ก ์์ ์ด ๋์ด ์์ผ๋ฉด ๊ทธ๊ฒ์ด ์ฃผ๋ณ ์ฌ๋๋ค์๊ฒ๋ ์ํฅ์ด ๊ฐ๋ค๊ณ ์๊ฐํด์.
์ค์ค๋ก๊ฐ ์ฌ๋ฆฌ์ ์ผ๋ก ์์ ๋๊ธฐ ์ํ ๋ฐฉ๋ฒ์ ์ด๋ ค๊ฐ์ง๊ฐ ์๊ฒ ์ง๋ง ๊ฐ์ฅ ํต์ฌ์ ์์กด๊ฐ์ธ ๊ฒ ๊ฐ์ต๋๋ค! |
@@ -0,0 +1,113 @@
+[ํจ๊ป ์๋ผ๊ธฐ ์ ์์ผ๋ก ๊ฐ๋ ๊ธธ]
+
+2. ํจ๊ป
+
+2-6) ํํฅ์ ์ ๊ทผ์ ํจ์
+
+"๋น์ ๋ฌธ๊ฐ์ผ์๋ก ์์ ์ด ๋ง๋ ์ ์ด์ ์ธ์ด ๊ณํ์ ์ง์ฐฉํ์ต๋๋ค. ์คํ๋ ค ์ ๋ฌธ๊ฐ์ผ์๋ก ์์ ์ ๊ณํ์ ์์ ํ ํ์๊ฐ ๋ง์์ต๋๋ค."
+
+์ ๋ ๊ธฐ๋ฅ์ ๊ฐ๋ฐํ ๋, ์์ ์ ๋ถํฐ ์ต๋ํ ์ธ์ธํ๊ฒ ๊ณํ์ ์ง๊ณ ๊ณํํ๋๋ก ์งํํ๋ ค๊ณ ํ๋ ์คํ์ผ์ด์๋๋ฐ
+
+๋ญ๊ฐ ํญ์ ์๋ฌด๋ฆฌ ๊ผผ๊ผผํ๊ฒ ์ง๋ ค๊ณ ํด๋ ๋ง์ ์ค์ ๋ก ๊ตฌํ์ ๋ค์ด๊ฐ๋ฉด ์์ ํ ๋ถ๋ถ์ด ๊ณ์ํด์ ๋ณด์ด๋๊ตฐ์
+
+์ฒ์ ์งฐ๋ ๊ณํ์์ ์กฐ๊ธ์ฉ ์์ ๋ ์๋ก '๋ด๊ฐ ์ข ๋ ์ ์คํ ์๊ฐํ์ด์ผํ๋? ์์ง ๋ถ์กฑํ๊ตฌ๋' ํ๊ณ ... | Unknown | ์ค...?! ํน์ ์๋ฐ์คํฌ๋ฆฝํธ ์ธ๊ฐ์ ๋๋ |
@@ -0,0 +1,113 @@
+[ํจ๊ป ์๋ผ๊ธฐ ์ ์์ผ๋ก ๊ฐ๋ ๊ธธ]
+
+2. ํจ๊ป
+
+2-6) ํํฅ์ ์ ๊ทผ์ ํจ์
+
+"๋น์ ๋ฌธ๊ฐ์ผ์๋ก ์์ ์ด ๋ง๋ ์ ์ด์ ์ธ์ด ๊ณํ์ ์ง์ฐฉํ์ต๋๋ค. ์คํ๋ ค ์ ๋ฌธ๊ฐ์ผ์๋ก ์์ ์ ๊ณํ์ ์์ ํ ํ์๊ฐ ๋ง์์ต๋๋ค."
+
+์ ๋ ๊ธฐ๋ฅ์ ๊ฐ๋ฐํ ๋, ์์ ์ ๋ถํฐ ์ต๋ํ ์ธ์ธํ๊ฒ ๊ณํ์ ์ง๊ณ ๊ณํํ๋๋ก ์งํํ๋ ค๊ณ ํ๋ ์คํ์ผ์ด์๋๋ฐ
+
+๋ญ๊ฐ ํญ์ ์๋ฌด๋ฆฌ ๊ผผ๊ผผํ๊ฒ ์ง๋ ค๊ณ ํด๋ ๋ง์ ์ค์ ๋ก ๊ตฌํ์ ๋ค์ด๊ฐ๋ฉด ์์ ํ ๋ถ๋ถ์ด ๊ณ์ํด์ ๋ณด์ด๋๊ตฐ์
+
+์ฒ์ ์งฐ๋ ๊ณํ์์ ์กฐ๊ธ์ฉ ์์ ๋ ์๋ก '๋ด๊ฐ ์ข ๋ ์ ์คํ ์๊ฐํ์ด์ผํ๋? ์์ง ๋ถ์กฑํ๊ตฌ๋' ํ๊ณ ... | Unknown | ์ ๋ ๋ง์ด ๊ฒช๊ณ ์๋ ํ์์ด๋ผ ๊ณต๊ฐ ๋ฐฑ๋ง๊ฐ ๋๋ฅด๊ณ ๊ฐ๋๋ค..! |
@@ -0,0 +1,113 @@
+[ํจ๊ป ์๋ผ๊ธฐ ์ ์์ผ๋ก ๊ฐ๋ ๊ธธ]
+
+2. ํจ๊ป
+
+2-6) ํํฅ์ ์ ๊ทผ์ ํจ์
+
+"๋น์ ๋ฌธ๊ฐ์ผ์๋ก ์์ ์ด ๋ง๋ ์ ์ด์ ์ธ์ด ๊ณํ์ ์ง์ฐฉํ์ต๋๋ค. ์คํ๋ ค ์ ๋ฌธ๊ฐ์ผ์๋ก ์์ ์ ๊ณํ์ ์์ ํ ํ์๊ฐ ๋ง์์ต๋๋ค."
+
+์ ๋ ๊ธฐ๋ฅ์ ๊ฐ๋ฐํ ๋, ์์ ์ ๋ถํฐ ์ต๋ํ ์ธ์ธํ๊ฒ ๊ณํ์ ์ง๊ณ ๊ณํํ๋๋ก ์งํํ๋ ค๊ณ ํ๋ ์คํ์ผ์ด์๋๋ฐ
+
+๋ญ๊ฐ ํญ์ ์๋ฌด๋ฆฌ ๊ผผ๊ผผํ๊ฒ ์ง๋ ค๊ณ ํด๋ ๋ง์ ์ค์ ๋ก ๊ตฌํ์ ๋ค์ด๊ฐ๋ฉด ์์ ํ ๋ถ๋ถ์ด ๊ณ์ํด์ ๋ณด์ด๋๊ตฐ์
+
+์ฒ์ ์งฐ๋ ๊ณํ์์ ์กฐ๊ธ์ฉ ์์ ๋ ์๋ก '๋ด๊ฐ ์ข ๋ ์ ์คํ ์๊ฐํ์ด์ผํ๋? ์์ง ๋ถ์กฑํ๊ตฌ๋' ํ๊ณ ... | Unknown | ์ ์์ผ์ ์ ์์ผ์ค๋ฝ๊ฒ ๊นจ๋ซ๊ณ ๋ฐฐ์ด ๊ฒฐ๋ก ์ธ ๊ฒ ๊ฐ์ต๋๋ค๐ |
@@ -0,0 +1,105 @@
+package com.study.domain;
+
+import com.study.enums.Rank;
+import com.study.enums.RankMap;
+import com.study.utils.InputValidation;
+
+import java.util.*;
+import java.util.stream.Collectors;
+import java.util.stream.IntStream;
+
+public class LottoMachine {
+
+ private final int lottoTotalTicketC... | Java | Lottos ์ผ๊ธ์ปฌ๋ ์
์์ ๋ก๋๋ฅผ ๊บผ๋ด์, ๊ฐ๊ฐ์ Lotto๋ก๋ถํฐ Rank๋ฅผ ๋ง๋ค์ด RankMap์ ๋ฃ๊ณ ์๊ตฐ์.
์ผ๊ธ์ปฌ๋ ์
์ ๋ง๋์ ์ด์ ๋ฅผ ํ ๋ฒ ๋ ๊ณ ๋ฏผํด๋ณด์๋ฉด ์ข์ ๊ฒ ๊ฐ์์. java Collection์ ํ ๋ฒ ๊ฐ์ธ๊ณ , ๋ค๋ฅธ ์ด๋ฆ์ ๋ถ์ฌ์ฃผ๊ธฐ๋ง ํ๋ฉด ์ผ๊ธ์ปฌ๋ ์
์ผ๋ก ์๊ฐํด๋ ์ข์๊น์? java Collection์ ๊ฐ์ธ๋ ์ด์ ๋ ๋ฌด์์ธ๊ฐ์?
Lottos๋ก ๊ฐ์ผ collection์ ๋๋๋ก ๋ฐ์ผ๋ก ๊บผ๋ด์ง ์๊ณ ํด๊ฒฐํ ์ ์๋ ๋ฐฉ๋ฒ์ ์๋์? |
@@ -0,0 +1,18 @@
+package com.study.enums;
+
+import java.util.EnumMap;
+
+public class RankMap extends EnumMap<Rank, Integer> {
+
+ {
+ put(Rank.FIRST_PLACE, 0);
+ put(Rank.SECOND_PLACE, 0);
+ put(Rank.THIRD_PLACE, 0);
+ put(Rank.FOURTH_PLACE, 0);
+ put(Rank.FIFTH_PLACE, 0);
+ ... | Java | Java Collection์ ์์๋ฐ๊ณ ์๊ตฐ์. RankMap์ EnumMap๊ณผ ๋ฌด์จ ์ฐจ์ด๊ฐ ์๋์?
์ด๋ ๊ฒ ์์ ๋ฐ์ ์ด์ ๊ฐ ๋ฌด์์ธ๊ฐ์? |
@@ -0,0 +1,105 @@
+package com.study.domain;
+
+import com.study.enums.Rank;
+import com.study.enums.RankMap;
+import com.study.utils.InputValidation;
+
+import java.util.*;
+import java.util.stream.Collectors;
+import java.util.stream.IntStream;
+
+public class LottoMachine {
+
+ private final int lottoTotalTicketC... | Java | LottoMachine์ด ๋๋ฌด ๋ง์ ์ญํ ์ ๋ด๋นํ๊ณ ์๋ ๊ฒ ๊ฐ์์.
๊ธฐ๋ฅ๊ณผ ์ญํ ์ ๋ง๊ฒ ๊ฐ์ฒด๋ฅผ ์กฐ๊ธ ๋ ๋ถ๋ฆฌํด๋ณด๋ ๊ฒ์ ์ด๋ค๊ฐ์? |
@@ -61,7 +61,10 @@ class Nav extends React.Component {
</a>
<a href="/">
<div className="profile-image">
- <img src="images/profile/me.jpeg" alt="me" />
+ <img
+ src="/images/hyunchanpark//images/user-icon.jpg"
+ al... | JavaScript | a๋งํฌ ์ฌ์ฉํ์ ๊ฒ ๋ง์ด ๋ณด์
๋๋ค!
a ๋งํฌ๋์ Link๋ฅผ ์ฌ์ฉํ๋๊ฒ ์ข์๋ณด์
๋๋ค! |
@@ -0,0 +1,121 @@
+import React from 'react';
+import { Link } from 'react-router-dom';
+import { withRouter } from 'react-router';
+import './Login.scss';
+
+const REGEXP = {
+ emailRegExp:
+ /[a-zA-Z0-9.-_+!]+@[a-zA-Z0-9]+\.[a-zA-Z0-9]{2,}(?:.[a-zA-Z0-9]{2,3})?/,
+ passwordRegExp: /[a-zA-Z0-9]{5,100}/,
+};
+
+cl... | JavaScript | ์ ๊ท์ ํํ์ ์ฌ์ฉํด์ ์ด๋ฐ์์ผ๋ก ํ
์คํธ ๋๋ฆด ์ ์๊ตฐ์ ์ฐธ๊ณ ํ๊ฒ ์ต๋๋ค !! ๐ |
@@ -0,0 +1,92 @@
+[
+ {
+ "id": 1,
+ "userName": "wecode",
+ "city": "KAYTRANADA",
+ "userImgSrc": "/images/hyunchanpark/images/insta-mini.jpg",
+ "feedImgSrc": "https://images.unsplash.com/photo-1621419079793-73020baef9eb?ixid=MnwxMjA3fDB8MHxlZGl0b3JpYWwtZmVlZHw0fHx8ZW58MHx8fHw%3D&ixlib=rb-1.2.1&auto=f... | Unknown | json ๋ฐ์ดํฐ๋ฅผ ๋ค์ํ๊ฒ ํ์ฉํ์
์ ๋ณด๊ธฐ ์ข์ต๋๋ค! |
@@ -0,0 +1,121 @@
+import React from 'react';
+import { Link } from 'react-router-dom';
+import { withRouter } from 'react-router';
+import './Login.scss';
+
+const REGEXP = {
+ emailRegExp:
+ /[a-zA-Z0-9.-_+!]+@[a-zA-Z0-9]+\.[a-zA-Z0-9]{2,}(?:.[a-zA-Z0-9]{2,3})?/,
+ passwordRegExp: /[a-zA-Z0-9]{5,100}/,
+};
+
+cl... | JavaScript | ๋น๊ตฌ์กฐํ ํ ๋น์ ๋ฐ๋ก ํด์ฃผ์
จ๋๋ฐ ์ฌ์ฉ์ ์ํ๊ณ ๊ณ์ญ๋๋ค!
ํจ์๋ ๋น๊ตฌ์กฐํ ํ ๋น ๊ฐ๋ฅํด๋ณด์
๋๋ค ! |
@@ -0,0 +1,43 @@
+import React from 'react';
+import { Link } from 'react-router-dom';
+
+class Comment extends React.Component {
+ render() {
+ const { feedId, comment, onRemoveComment, onToggleLike } = this.props;
+
+ return (
+ <>
+ <div className="comment" id={comment.id}>
+ <div classNa... | JavaScript | ๋น๊ตฌ์กฐํ ํ ๋น ๋ณด๊ธฐ ์ข์ต๋๋ค ๐ |
@@ -0,0 +1,47 @@
+import React, { Component } from 'react';
+import { Link } from 'react-router-dom';
+import Comment from './Comment';
+
+class CommentList extends Component {
+ render() {
+ const { feedId, commentList, onToggleLike, onRemoveComment } = this.props;
+
+ return (
+ <>
+ <div>
+ ... | JavaScript | ์ฌ์ฉ์ ์ํ์๋ ์ฝ๋๋ฉด ์ญ์ ๋ฅผ ํด์ฃผ์๋๊ฒ ์ข์ ๋ณด์
๋๋ค! |
@@ -0,0 +1,47 @@
+import React, { Component } from 'react';
+import { Link } from 'react-router-dom';
+import Comment from './Comment';
+
+class CommentList extends Component {
+ render() {
+ const { feedId, commentList, onToggleLike, onRemoveComment } = this.props;
+
+ return (
+ <>
+ <div>
+ ... | JavaScript | ์ข์์ ๊น์ง ๊ตฌํํ์ ๊ฑด๊ฐ์ ๐ฅ |
@@ -0,0 +1,47 @@
+import React, { Component } from 'react';
+import { Link } from 'react-router-dom';
+import Comment from './Comment';
+
+class CommentList extends Component {
+ render() {
+ const { feedId, commentList, onToggleLike, onRemoveComment } = this.props;
+
+ return (
+ <>
+ <div>
+ ... | JavaScript | json๋ฐ์ดํฐ๋ฅผ ๋ณต์ฌํด์ ์ด๋ ๊ฒ ์ฌ์ฉ๋ ๊ฐ๋ฅํ๊ตฐ์ ์ฐธ๊ณ ํ๊ฒ ์ต๋๋ค~ |
@@ -0,0 +1,47 @@
+import React, { Component } from 'react';
+import { Link } from 'react-router-dom';
+import Comment from './Comment';
+
+class CommentList extends Component {
+ render() {
+ const { feedId, commentList, onToggleLike, onRemoveComment } = this.props;
+
+ return (
+ <>
+ <div>
+ ... | JavaScript | key๋ฐ๋ก id๋ฐ๋ก ๋ฐ์ดํฐ๋ฅผ ์ ๋ฌํด์ฃผ์ ๊ฑฐ ๋๋ฌด ์ข์๊ฑฐ ๊ฐ๋ค์! ๐๐ป |
@@ -0,0 +1,150 @@
+import React, { Component } from 'react';
+import { Link } from 'react-router-dom';
+import CommentInput from './CommentInput';
+import CommentList from './CommentList';
+
+class Feed extends Component {
+ render() {
+ const { feed, onSubmitCommentForm, onRemoveComment, onToggleLike } =
+ th... | JavaScript | ์ฌ์ฉํ์ง ์๋ console.log ๋ฐ๊ฒฌ~ ๐ธ |
@@ -0,0 +1,156 @@
+@import '../Styles/common.scss';
+
+.entire-container {
+ @include flex-set(row, center, center);
+ width: 100%;
+ height: 100vh;
+ background-color: $background-default-color;
+
+ .entire {
+ width: 350px;
+ background-color: $background-default-color;
+
+ .entire_top {
+ height: ... | Unknown | sass nesting ์ฌ์ฉ ๊น๋, ๊ฐ๊ฒฐ ๊ฐ๋
์ฑ ๐ |
@@ -0,0 +1,150 @@
+import React, { Component } from 'react';
+import { Link } from 'react-router-dom';
+import CommentInput from './CommentInput';
+import CommentList from './CommentList';
+
+class Feed extends Component {
+ render() {
+ const { feed, onSubmitCommentForm, onRemoveComment, onToggleLike } =
+ th... | JavaScript | Boolean ๋ฐ์ดํฐ ํ์
์ ํ์ฉ์ ํ๋ํ๋ ๊ผผ๊ผผํ๊ฒ ์์ฃผ ํ์ ์ ๐๐ป ๋ฐ์~~~ |
@@ -0,0 +1,212 @@
+import React from 'react';
+import { Link } from 'react-router-dom';
+import Nav from '../../../Components/Nav/Nav';
+import FeedList from './FeedList';
+import './Main.scss';
+
+class Main extends React.Component {
+ render() {
+ return (
+ <>
+ <Nav />
+ <div className="main-... | JavaScript | ๋ฆฌ์กํธ ์ธ๋ผ์ธ ์คํ์ผ๋ก ๊พธ๋ฏธ๋๋ฒ ๊น๋จน๊ณ ์์๋๋ฐ ์ฐธ๊ณ ํ๊ฒ ์ต๋๋ค~ |
@@ -0,0 +1,212 @@
+import React from 'react';
+import { Link } from 'react-router-dom';
+import Nav from '../../../Components/Nav/Nav';
+import FeedList from './FeedList';
+import './Main.scss';
+
+class Main extends React.Component {
+ render() {
+ return (
+ <>
+ <Nav />
+ <div className="main-... | JavaScript | ์๊ธฐ ์ฝ๋๋ ์ ์ฒด๋ก a๋งํฌ๋ฅผ ์ฃผ์
จ์ต๋๋ค Link๋ก ์ฃผ์๋ฉด ์ข์๊ฑฐ ๊ฐ์ต๋๋ค |
@@ -0,0 +1,47 @@
+import React, { Component } from 'react';
+import { Link } from 'react-router-dom';
+import Comment from './Comment';
+
+class CommentList extends Component {
+ render() {
+ const { feedId, commentList, onToggleLike, onRemoveComment } = this.props;
+
+ return (
+ <>
+ <div>
+ ... | JavaScript | formํ๊ทธ์ submit์ ์ถ๊ฐํ์
์ ์ํฐํค๋ฅผ ์ณ๋ ์
๋ ฅ์ด ๊ฐ๋ฅํ๊ฒ ํ์ ๋ณด๊ธฐ ์ข์ต๋๋ค!
์ด๋ ๊ฒ ํ๋ฉด ๋ฐ๋ก ์ํฐํค ํจ์๋ฅผ ๋ง๋ค์ง ์์๋ ๋๋๊น ์ข์๊ฑฐ ๊ฐ์ต๋๋ค ! |
@@ -0,0 +1,47 @@
+import React, { Component } from 'react';
+import { Link } from 'react-router-dom';
+import Comment from './Comment';
+
+class CommentList extends Component {
+ render() {
+ const { feedId, commentList, onToggleLike, onRemoveComment } = this.props;
+
+ return (
+ <>
+ <div>
+ ... | JavaScript | ์๋์......์ญ์ ๊น์ง ๊ตฌํํ์ต๋๋ค. ใ
ใ
|
@@ -61,7 +61,10 @@ class Nav extends React.Component {
</a>
<a href="/">
<div className="profile-image">
- <img src="images/profile/me.jpeg" alt="me" />
+ <img
+ src="/images/hyunchanpark//images/user-icon.jpg"
+ al... | JavaScript | [์ฐธ๊ณ ](https://stackoverflow.com/questions/43087007/react-link-vs-a-tag-and-arrow-function)
`<a>`๋ ์ฌ์ฉํ๋ฉด ์๋ก๊ณ ์นจ ํ๋ ๊ฒ์ฒ๋ผ html์ ์๋ก ๋ค ๋ฐ์ ์ค๋ ๋ฐ๋ฉด, `<Link>`๋ฅผ ์ฌ์ฉํ๋ฉด ์ปดํฌ๋ํธ๋ง ๋ฐ๊ฟ์ค๋๋ค. ๋ ๋๋ง ์ต์ ํ๋ฅผ ์ํด์ `<Link>` ์ฌ์ฉํด์ฃผ์ธ์! |
@@ -22,6 +22,7 @@ nav {
.title {
margin: 0;
font-size: 30px;
+ font-weight: 400;
font-family: 'Lobster', cursive;
}
@@ -44,5 +45,30 @@ nav {
font-weight: 300;
}
}
+
+ .path-icon {
+ display: flex;
+
+ a {
+ margin-left: 24px;
+ backgr... | Unknown | font-weight:400์ด ๊ธฐ๋ณธ์์ฑ์ธ๋ฐ ๋ฐ๋ก ๋ถ์ฌํ์ ์ด์ ๊ฐ ์๋์? |
@@ -0,0 +1,121 @@
+import React from 'react';
+import { Link } from 'react-router-dom';
+import { withRouter } from 'react-router';
+import './Login.scss';
+
+const REGEXP = {
+ emailRegExp:
+ /[a-zA-Z0-9.-_+!]+@[a-zA-Z0-9]+\.[a-zA-Z0-9]{2,}(?:.[a-zA-Z0-9]{2,3})?/,
+ passwordRegExp: /[a-zA-Z0-9]{5,100}/,
+};
+
+cl... | JavaScript | ์ด ๊ฐ์ ์ปดํฌ๋ํธ๋ด๋ถ์ ๊ฐ์ผ๋ก ๊ฐ์ง๊ณ ์๋๊ฒ ์ข์๋ณด์ด๋๋ฐ ์ปดํฌ๋ํธ ๋ฐ๊นฅ์์ ์ ์ธํ์ ์ด์ ๊ฐ ์๋์? |
@@ -0,0 +1,121 @@
+import React from 'react';
+import { Link } from 'react-router-dom';
+import { withRouter } from 'react-router';
+import './Login.scss';
+
+const REGEXP = {
+ emailRegExp:
+ /[a-zA-Z0-9.-_+!]+@[a-zA-Z0-9]+\.[a-zA-Z0-9]{2,}(?:.[a-zA-Z0-9]{2,3})?/,
+ passwordRegExp: /[a-zA-Z0-9]{5,100}/,
+};
+
+cl... | JavaScript | ```suggestion
return reg.test(value)
```
test method์ return๊ฐ ์์ฒด๊ฐ boolean์ด๊ธฐ ๋๋ฌธ์ ์์ ๊ฐ์ด ๊ฐ๊ฒฐํ๊ฒ ํํ ๊ฐ๋ฅํด๋ณด์
๋๋ค! |
@@ -0,0 +1,121 @@
+import React from 'react';
+import { Link } from 'react-router-dom';
+import { withRouter } from 'react-router';
+import './Login.scss';
+
+const REGEXP = {
+ emailRegExp:
+ /[a-zA-Z0-9.-_+!]+@[a-zA-Z0-9]+\.[a-zA-Z0-9]{2,}(?:.[a-zA-Z0-9]{2,3})?/,
+ passwordRegExp: /[a-zA-Z0-9]{5,100}/,
+};
+
+cl... | JavaScript | ๊ธฐ๋ฅ๋ณ ํจ์ ๋ถ๋ฆฌํ๊ณ ์ ์ฌํ์ฉํ์ ๊ฒ ๊ฐ์ต๋๋ค!๐ |
@@ -0,0 +1,121 @@
+import React from 'react';
+import { Link } from 'react-router-dom';
+import { withRouter } from 'react-router';
+import './Login.scss';
+
+const REGEXP = {
+ emailRegExp:
+ /[a-zA-Z0-9.-_+!]+@[a-zA-Z0-9]+\.[a-zA-Z0-9]{2,}(?:.[a-zA-Z0-9]{2,3})?/,
+ passwordRegExp: /[a-zA-Z0-9]{5,100}/,
+};
+
+cl... | JavaScript | validateInputData ๋ฅผ ํธ์ถํ๊ณ ๊ณ์์ง๋ง ์ด ํจ์๋ ์คํ๋๊ธฐ๋ง ํ๊ณ ๋ฆฌํด๊ฐ์ ์ด๋์๋ ํ์ฉํ์ง ์๊ณ ์๋ ๊ฒ ๊ฐ์ต๋๋ค!
์ค์ง์ ์ผ๋ก ์ด๋ค ์๋ฏธ๋ ์๋ ์ฝ๋๊ฐ์ต๋๋ค! |
@@ -0,0 +1,121 @@
+import React from 'react';
+import { Link } from 'react-router-dom';
+import { withRouter } from 'react-router';
+import './Login.scss';
+
+const REGEXP = {
+ emailRegExp:
+ /[a-zA-Z0-9.-_+!]+@[a-zA-Z0-9]+\.[a-zA-Z0-9]{2,}(?:.[a-zA-Z0-9]{2,3})?/,
+ passwordRegExp: /[a-zA-Z0-9]{5,100}/,
+};
+
+cl... | JavaScript | `const {name, value} = e.target;` ์ผ๋ก ๊ตฌ์กฐ๋ถํดํด์ ์ฌ์ฉํ์๋ฉด ์ข ๋ ๊ฐ๊ฒฐํ๊ฒ ๋ค์! |
@@ -0,0 +1,121 @@
+import React from 'react';
+import { Link } from 'react-router-dom';
+import { withRouter } from 'react-router';
+import './Login.scss';
+
+const REGEXP = {
+ emailRegExp:
+ /[a-zA-Z0-9.-_+!]+@[a-zA-Z0-9]+\.[a-zA-Z0-9]{2,}(?:.[a-zA-Z0-9]{2,3})?/,
+ passwordRegExp: /[a-zA-Z0-9]{5,100}/,
+};
+
+cl... | JavaScript | ๐
state๊ฐ๋ ๊ตฌ์กฐ๋ถํดํด์ ์ฌ์ฉํ๋ฉด ์ข ๋ ๊ฐ๊ฒฐํด๋ณด์ผ ๊ฒ ๊ฐ์ต๋๋ค! |
@@ -0,0 +1,121 @@
+import React from 'react';
+import { Link } from 'react-router-dom';
+import { withRouter } from 'react-router';
+import './Login.scss';
+
+const REGEXP = {
+ emailRegExp:
+ /[a-zA-Z0-9.-_+!]+@[a-zA-Z0-9]+\.[a-zA-Z0-9]{2,}(?:.[a-zA-Z0-9]{2,3})?/,
+ passwordRegExp: /[a-zA-Z0-9]{5,100}/,
+};
+
+cl... | JavaScript | ๊ฑด์ฐ๋์ด ๋ฆฌ๋ทฐ ์ ๋จ๊ฒจ์ฃผ์
จ๋ค์ ํ์ธํ๊ณ ๋ฐ์ํด๋ณด์ธ์!๐ |
@@ -0,0 +1,121 @@
+import React from 'react';
+import { Link } from 'react-router-dom';
+import { withRouter } from 'react-router';
+import './Login.scss';
+
+const REGEXP = {
+ emailRegExp:
+ /[a-zA-Z0-9.-_+!]+@[a-zA-Z0-9]+\.[a-zA-Z0-9]{2,}(?:.[a-zA-Z0-9]{2,3})?/,
+ passwordRegExp: /[a-zA-Z0-9]{5,100}/,
+};
+
+cl... | JavaScript | ์ ์ด์ boolean์ ๋ฆฌํดํ๋ ํจ์์ด๊ธฐ ๋๋ฌธ์ not ์ฐ์ฐ์๋ฅผ ํ์ฉํด์
```suggestion
const isDisabled = !this.validateInputData(userId, userPw)
```
button tag์์ ํ๋ฒ๋ง ์ฌ์ฉ๋๋ ๊ฐ์ด๋ผ๋ฉด ๋ฐ๋ก ๋ณ์์ ์ธ ํ ๋น๊ณผ์ ๊ฑฐ์น ํ์ ์์ด ๋ฒํผ ํ๊ทธ ๋ด์ ๋ฐ๋ก ์ ์ด์ค๋ ๋ ๊ฒ ๊ฐ์ต๋๋ค! |
@@ -0,0 +1,121 @@
+import React from 'react';
+import { Link } from 'react-router-dom';
+import { withRouter } from 'react-router';
+import './Login.scss';
+
+const REGEXP = {
+ emailRegExp:
+ /[a-zA-Z0-9.-_+!]+@[a-zA-Z0-9]+\.[a-zA-Z0-9]{2,}(?:.[a-zA-Z0-9]{2,3})?/,
+ passwordRegExp: /[a-zA-Z0-9]{5,100}/,
+};
+
+cl... | JavaScript | ```suggestion
disabled={!this.validateInputData(userId, userPw)}
```
์์ ๋ฌ์๋๋ฆฐ ์ฝ๋ฉํธ์ ์ด์ด์ง๋ ๋ด์ฉ์
๋๋ค! |
@@ -0,0 +1,156 @@
+@import '../Styles/common.scss';
+
+.entire-container {
+ @include flex-set(row, center, center);
+ width: 100%;
+ height: 100vh;
+ background-color: $background-default-color;
+
+ .entire {
+ width: 350px;
+ background-color: $background-default-color;
+
+ .entire_top {
+ height: ... | Unknown | ์ปดํฌ๋ํธ ์ด๋ฆ์ผ๋ก nesting ์ ์ฉํด์ฃผ์ธ์!
์ด๋ ๊ฒ ๋๋ฉด ๋ค๋ฅธ ์ปดํฌ๋ํธ๋ค์ ์คํ์ผ์๋ ์ํฅ์ ๋ฏธ์น ์ ์์ต๋๋ค! |
@@ -0,0 +1,156 @@
+@import '../Styles/common.scss';
+
+.entire-container {
+ @include flex-set(row, center, center);
+ width: 100%;
+ height: 100vh;
+ background-color: $background-default-color;
+
+ .entire {
+ width: 350px;
+ background-color: $background-default-color;
+
+ .entire_top {
+ height: ... | Unknown | ๊ณตํต์ ์ผ๋ก ์ ์ฉ๋์ด์ผ ํ๋ ์์ฑ์ด๋ผ๋ฉด common์ ๋ฃ์ด์ฃผ์๋ ๊ฒ ๋ง์ต๋๋ค! |
@@ -0,0 +1,156 @@
+@import '../Styles/common.scss';
+
+.entire-container {
+ @include flex-set(row, center, center);
+ width: 100%;
+ height: 100vh;
+ background-color: $background-default-color;
+
+ .entire {
+ width: 350px;
+ background-color: $background-default-color;
+
+ .entire_top {
+ height: ... | Unknown | mixin ์ ํ์ฉํด์ฃผ์
จ๋ค์! |
@@ -0,0 +1,12 @@
+package develop.baminchan;
+
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+
+@SpringBootApplication
+public class SidedishApplication {
+
+ public static void main(String[] args) {
+ SpringApplication.run(SidedishApplication... | Java | Security ์ค์ ์ด ๋ณ๋ ํด๋์ค๋ก ๋
๋ฆฝํ๋ฉด ์กฐ๊ธ ๋ ์ข์ ๊ฒ ๊ฐ๋ค์. |
@@ -0,0 +1,75 @@
+package develop.baminchan.controller;
+
+import develop.baminchan.dto.BanchanDto;
+import develop.baminchan.dto.CategoryDto;
+import develop.baminchan.dto.banchan.BanchanDetailDto;
+import develop.baminchan.entity.Banchan;
+import develop.baminchan.service.BanchanService;
+import org.springframework.h... | Java | `@PathVariable` ์์ path variable name์ ์ค์ ํ ์ ์๋ ํ๋๊ฐ ์์ ๊ฑฐ๋ผ ์๊ฐํฉ๋๋ค.
์ด๋ ํ ์๊ฐ์๋ ์๋ฐ์ ๊ธฐ๋ณธ์ ์ฝ๋ฉ ์ปจ๋ฒค์
์ ๊ณ์ ์ค์ํด์ฃผ์ธ์. |
@@ -0,0 +1,24 @@
+package develop.baminchan.controller;
+
+public class Message {
+ public static final int OK = 200;
+ public static final int BAD_REQUEST = 400;
+ public static final int NOT_FOUND = 404;
+ public static final int INTERNAL_SERVER_ERROR = 500;
+
+ private int statusCode;
+ private Obj... | Java | `enum` ์ผ๋ก ๊ด๋ฆฌํด๋ณด์๋ฉด ์ด๋จ๊น์? |
@@ -0,0 +1,78 @@
+package develop.baminchan.dto;
+
+import com.fasterxml.jackson.annotation.JsonInclude;
+import develop.baminchan.entity.Banchan;
+
+import java.util.Set;
+
+import static develop.baminchan.dto.util.StringConvertor.convertToSet;
+
+@JsonInclude(JsonInclude.Include.NON_NULL)
+public class BanchanDto {
+... | Java | `@JsonProperty` ๋ฅผ ํตํด JSON field์ ์ด๋ฆ ์ ํด์ฃผ์๋ฉด ๋ ๊ฒ ๊ฐ์์.
์ธ๋์ค์ฝ์ด๋ ์๋ฐ ์ฝ๋์ ์์์ผ๋ฉด ํฉ๋๋ค. |
@@ -0,0 +1,78 @@
+package develop.baminchan.dto;
+
+import com.fasterxml.jackson.annotation.JsonInclude;
+import develop.baminchan.entity.Banchan;
+
+import java.util.Set;
+
+import static develop.baminchan.dto.util.StringConvertor.convertToSet;
+
+@JsonInclude(JsonInclude.Include.NON_NULL)
+public class BanchanDto {
+... | Java | `private` ์ผ๋ก ๊ฐ๋ ค๋จ์ผ๋ฏ๋ก ๋ชจ๋ ํ๋์ ํด๋นํ๋ ํ๋ผ๋ฉํฐ๋ฅผ ๋ค ์ ์ธํด์ฃผ์
๋ ๋ฉ๋๋ค.
๋ ๊ทธ๋ ๊ฒ ํด์ผ ์ถํ ํ์ฅ์ฑ ์ธก๋ฉด์์๋ ์ข์ ๊ฑฐ๋ผ ์๊ฐํฉ๋๋ค.
`Banchan` ์ ๋ฐ์์ ํ๋์ฉ ์ ๋ณด๋ฅผ ๊บผ๋ด๋ ์ฑ
์์ `.of()` ์๊ฒ ๋งก๊ธฐ๊ณ ์์ฑ์์์ ๋จ์ ๊ฐ ํ ๋น์ ์ง์คํ๋ฉด ์ด๋จ๊น์. |
@@ -0,0 +1,45 @@
+package develop.baminchan.dto;
+
+import develop.baminchan.entity.Category;
+import org.springframework.data.annotation.Id;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class CategoryDto {
+ @Id
+ private int id;
+
+ private String category_id;
+ private String name;
+
... | Java | DTO์ธ๋ฐ `@Id`.... ๊ด์ฐฎ์๊น์? |
@@ -0,0 +1,20 @@
+package develop.baminchan.dto.util;
+
+import java.util.Arrays;
+import java.util.HashSet;
+import java.util.Set;
+
+public class StringConvertor {
+ private StringConvertor() {
+ }
+
+ public static Set<String> convertToSet(String column) {
+ if (column == null) {
+ return ... | Java | [์ด ๋งํฌ](https://docs.spring.io/spring-data/jdbc/docs/current/reference/html/#jdbc.custom-converters) ๋ฅผ ์ฐธ๊ณ ํด์ฃผ์๊ณ ํ์ค ์คํ์ ๋ง๋ ํด๋์ค๋ก ์ ํ์ ๋ถํ๋๋ฆด๊ฒ์. |
@@ -0,0 +1,35 @@
+package develop.baminchan.entity;
+
+import org.springframework.data.annotation.Id;
+
+public class Order {
+ @Id
+ private Long id;
+
+ private String client_id;
+ private String detail_hash;
+ private int quantity;
+
+ public Order(Long id, String client_id, String detail_hash, int... | Java | ๊ตณ์ด ์ฝ์ด๋ฅผ ์ฌ์ฉํ์ค ํ์๋ ์์ด ๋ณด์ด๊ธฐ๋ ํฉ๋๋ค.
ํ
์ด๋ธ ์์๋ ์ด ์ด๋ฆ์ผ๋ก ์นผ๋ผ์ด ๋ค์ด๊ฐ์๋์? ๊ทธ๋ ๋ค๋ฉด ํ ๋ค์์ธ `quantity` ๋ก์ ์ ํ์ ์ ์๋๋ฆฝ๋๋ค. |
@@ -0,0 +1,57 @@
+package develop.baminchan.service;
+
+import develop.baminchan.dto.BanchanDto;
+import develop.baminchan.dto.CategoryDto;
+import develop.baminchan.entity.Banchan;
+import develop.baminchan.entity.Category;
+import develop.baminchan.repository.BanchanRepository;
+import develop.baminchan.repository.Ca... | Java | `logger` ์ฌ์ฉํด์ฃผ์ธ์. |
@@ -0,0 +1,57 @@
+package develop.baminchan.service;
+
+import develop.baminchan.dto.BanchanDto;
+import develop.baminchan.dto.CategoryDto;
+import develop.baminchan.entity.Banchan;
+import develop.baminchan.entity.Category;
+import develop.baminchan.repository.BanchanRepository;
+import develop.baminchan.repository.Ca... | Java | `.stream().map()` ์ฌ์ฉ์ผ๋ก ์์ for loop์ด๋ ์ฌ๊ธฐ๊น์ง ์์จ ์ ์์ด ๋ณด์
๋๋ค. |
@@ -0,0 +1,57 @@
+package develop.baminchan.service;
+
+import develop.baminchan.dto.BanchanDto;
+import develop.baminchan.dto.CategoryDto;
+import develop.baminchan.entity.Banchan;
+import develop.baminchan.entity.Category;
+import develop.baminchan.repository.BanchanRepository;
+import develop.baminchan.repository.Ca... | Java | ์ฌ๊ธฐ๋ `.stream().map()` ์ผ๋ก ๋ฐ๊ฟ ์ ์์ต๋๋ค. |
@@ -0,0 +1,20 @@
+package develop.baminchan.dto.util;
+
+import java.util.Arrays;
+import java.util.HashSet;
+import java.util.Set;
+
+public class StringConvertor {
+ private StringConvertor() {
+ }
+
+ public static Set<String> convertToSet(String column) {
+ if (column == null) {
+ return ... | Java | ๋ฐ์ดํฐ ๋ณํ์ ์ํ ์ปจ๋ฒํฐ์ ๋ํ ํ์ค ์คํ์ด ์์๊ตฐ์..์คํ๋ง ๋ฌธ์ ์ ์ฒด์ ์ผ๋ก ๊ผญ ํ๋ฒ ์ฝ์ด๋ด์ผ๊ฒ ๋ค์.
๊ฐ์ฌํฉ๋๋ค. |
@@ -0,0 +1,94 @@
+package develop.baminchan.entity;
+
+import develop.baminchan.entity.banchan.BanchanDetail;
+import org.springframework.data.annotation.Id;
+import org.springframework.data.relational.core.mapping.Embedded;
+
+public class Banchan {
+ @Id
+ private Long id;
+
+ private String detail_hash;
+ ... | Java | ๋ค๋ฅธ ๋ฆฌ๋ทฐ์์ ์ด๋ฐ ๋ฅ์ ์์ฑ์๋ฅผ ๊ต์ฅํ ์ซ์ดํ์ ๋ค๊ณ ํ์๋๋ฐ ์ฌ๊ธฐ๋ ๋๊ฐ์ ๋ถ๋ถ ๋ง๋์? |
@@ -0,0 +1,80 @@
+import React from 'react';
+import Comment from './Comment';
+import './CommentList.scss';
+
+class CommentList extends React.Component {
+ constructor(props) {
+ super(props);
+ this.state = {
+ commentInput: '',
+ newComment: [],
+ nickname: '',
+ commentList: [],
+ c... | JavaScript | ๋น๊ตฌ์กฐํ ํ ๋น์ ์ ์ฉํ๋ฉด ๋ ์ข์ ๊ฒ ๊ฐ์ต๋๋ค. |
@@ -0,0 +1,23 @@
+import React from 'react';
+import './Comment.scss';
+
+class NewComment extends React.Component {
+ render() {
+ // const newArray = this.props.newComment.map((commentarray, index) => (
+ // <li key={index}>
+ // <span className="newCommentid">{this.props.nickname}</span>
+ // ... | JavaScript | - state ๋ฅผ ์ฌ์ฉํ์ง ์๋๋ค๋ฉด, constructor ์ ์ ์ธ์ด ํ์ ์์ต๋๋ค! |
@@ -0,0 +1,15 @@
+.comment {
+ .newComment {
+ margin-bottom: 5px;
+ }
+
+ .newCommentid {
+ font-weight: bold;
+ margin-bottom: 0;
+ }
+
+ .newComments {
+ font-weight: normal;
+ margin-left: 5px;
+ }
+} | Unknown | - `.comment` ์๋๋ก ๋ค์คํ
ํด์ฃผ์ธ์! |
@@ -0,0 +1,80 @@
+import React from 'react';
+import Comment from './Comment';
+import './CommentList.scss';
+
+class CommentList extends React.Component {
+ constructor(props) {
+ super(props);
+ this.state = {
+ commentInput: '',
+ newComment: [],
+ nickname: '',
+ commentList: [],
+ c... | JavaScript | - ๊ตฌ์กฐ ๋ถํด ํ ๋น ํด์ฃผ์ธ์!
```suggestion
inputToComment = () => {
const { comment, commentInput } = this.state;
this.setState({
id: 'wecode_bootcamp',
comment: comment.concat(commentInput),
});
};
``` |
@@ -0,0 +1,23 @@
+import React from 'react';
+import './Comment.scss';
+
+class NewComment extends React.Component {
+ render() {
+ // const newArray = this.props.newComment.map((commentarray, index) => (
+ // <li key={index}>
+ // <span className="newCommentid">{this.props.nickname}</span>
+ // ... | JavaScript | - ์ปดํฌ๋ํธ์ ๋์ผํ๊ฒ ํด๋์ค๋ค์ ์ง์ด์ฃผ์๊ณ , ์ฒซ๊ธ์๋ฅผ ๋๋ฌธ์๋ก ์์ฑํ๋ ์ปจ๋ฒค์
์ ์ปดํฌ๋ํธ๋ฅผ ๋ค์ด๋ฐ ํ๊ธฐ ์ํ ์ปจ๋ฒค์
์
๋๋ค!
```suggestion
<div className="comment">
``` |
@@ -0,0 +1,80 @@
+import React from 'react';
+import Comment from './Comment';
+import './CommentList.scss';
+
+class CommentList extends React.Component {
+ constructor(props) {
+ super(props);
+ this.state = {
+ commentInput: '',
+ newComment: [],
+ nickname: '',
+ commentList: [],
+ c... | JavaScript | - id ๋ผ๋ ๊ฐ์ ๋ฌด์จ ์ฉ๋๋ฅผ ์ํด ์์ฑํด ์ฃผ์ ๊ฑธ๊น์? id ๋ ๊ผญ ํ์ํ ๋ถ๋ถ์ด ์๋๋ผ๋ฉด ์ฌ์ฉ์ ์ง์ํด์ฃผ์ธ์! id ๊ฐ์ ํ๋ก์ ํธ ๋ด์์ ์ ์ผํด์ผ ํฉ๋๋ค.
- id ๋ฅผ ์ฌ์ฉํ๋ ๊ฒฝ์ฐ๋ ์๋ฅผ ๋ค์ด, google map api ๋ฅผ ์ฌ์ฉํด์ ์ง๋๋ฅผ ๊ทธ๋ฆด๋, ์ง๋๋ฅผ ๊ทธ๋ฆด html element ๋ฅผ ํน์ ํ ๋ ์ฌ์ฉ๋๊ณค ํฉ๋๋ค. |
@@ -0,0 +1,80 @@
+import React from 'react';
+import Comment from './Comment';
+import './CommentList.scss';
+
+class CommentList extends React.Component {
+ constructor(props) {
+ super(props);
+ this.state = {
+ commentInput: '',
+ newComment: [],
+ nickname: '',
+ commentList: [],
+ c... | JavaScript | - ์ฌ๊ธฐ๋ id ๋ฅผ ์ฌ์ฉํ์ง ์๋๋ฐ ๋ถํ์ํ๊ฒ ์ฌ์ฉํ๋ ๊ฒ ๊ฐ์ต๋๋ค! ์ง์์ฃผ์ธ์~ |
@@ -1,13 +1,92 @@
import React from 'react';
+import { withRouter } from 'react-router-dom';
+import './Login.scss';
class LoginAh extends React.Component {
+ constructor(props) {
+ super(props);
+ this.state = {
+ idInput: '',
+ pwInput: '',
+ };
+ }
+
+ loginTest = () => {
+ fetch('users/... | JavaScript | - constructor ์ ์ธ์ ๊ฐ์ฅ ์์ ์์น์์ผ์ฃผ์ธ์! |
@@ -1,13 +1,92 @@
import React from 'react';
+import { withRouter } from 'react-router-dom';
+import './Login.scss';
class LoginAh extends React.Component {
+ constructor(props) {
+ super(props);
+ this.state = {
+ idInput: '',
+ pwInput: '',
+ };
+ }
+
+ loginTest = () => {
+ fetch('users/... | JavaScript | - defaultColor ์ disabled ๋ state ๋ก ๊ด๋ฆฌํ๊ธฐ์๋ ๋ถ์ ์ ํ ๊ฐ ๊ฐ์ต๋๋ค. idInput ๊ณผ pwInput ๋ฅผ ์ฌ์ฉํด์ ๊ณ์ฐํ ์ ์๋ ๊ฐ์ด๊ธฐ ๋๋ฌธ์
๋๋ค!
- ์ด๋ค ๊ธฐ์ค์ผ๋ก state ๋ฅผ ๋ง๋ค์ด์ผ ํ๋์ง์ ๋ํด์๋ ์๋ ๋ฌธ์๋ฅผ ์ฐธ๊ณ ํด์ฃผ์ธ์!
- https://ko.reactjs.org/docs/thinking-in-react.html#step-3-identify-the-minimal-but-complete-representation-of-ui-state
- state ๋ก ๊ด๋ฆฌํ ํ์๊ฐ ์๋ ๊ฐ๋ค์ state ๋ฅผ ๋ง๋ค์ง ์๋๋ก ํด์ฃผ์ธ์. ... |
@@ -1,13 +1,92 @@
import React from 'react';
+import { withRouter } from 'react-router-dom';
+import './Login.scss';
class LoginAh extends React.Component {
+ constructor(props) {
+ super(props);
+ this.state = {
+ idInput: '',
+ pwInput: '',
+ };
+ }
+
+ loginTest = () => {
+ fetch('users/... | JavaScript | - ๊ตฌ์กฐ ๋ถํด ํ ๋น ํ์ฉํด ์ฃผ์๋ฉด ๋ ์ข์ ๊ฒ ๊ฐ์ต๋๋ค!
```suggestion
const { name, value } = event.target;
this.setState({
[name]: value,
});
``` |
@@ -1,13 +1,92 @@
import React from 'react';
+import { withRouter } from 'react-router-dom';
+import './Login.scss';
class LoginAh extends React.Component {
+ constructor(props) {
+ super(props);
+ this.state = {
+ idInput: '',
+ pwInput: '',
+ };
+ }
+
+ loginTest = () => {
+ fetch('users/... | JavaScript | - defaultColor ์ disabled ๋ฅผ state ์์ ๊ด๋ฆฌํ์ง ์๋๋ก ํ๋ค๋ฉด, ์ด ๋ก์ง ๋ถ๋ถ์ ๋ ์ด์ ํ์ ์์ ๊ฒ ๊ฐ์ต๋๋ค. |
@@ -1,13 +1,92 @@
import React from 'react';
+import { withRouter } from 'react-router-dom';
+import './Login.scss';
class LoginAh extends React.Component {
+ constructor(props) {
+ super(props);
+ this.state = {
+ idInput: '',
+ pwInput: '',
+ };
+ }
+
+ loginTest = () => {
+ fetch('users/... | JavaScript | - idInput ๊ณผ pwInput ์ ์ฌ์ฉํด์ ๋ฐ๋ก ๊ฐ์ ๊ณ์ฐํ ์ ์์ต๋๋ค. ์ฝ๋๋ ๋ค์๊ณผ ๊ฐ์ต๋๋ค. ์ฐธ๊ณ ํด์ฃผ์ธ์!
- inline ์คํ์ผ๋ง์ ์ฃผ์๋ ๊ฒ์ ๊ผญ ํ์ํ ๊ฒฝ์ฐ๊ฐ ์๋๋ผ๋ฉด ์ง์ํด์ฃผ์๊ณ , className ์ ๋์ ์ผ๋ก ๋ถ์ฌํ๋ ๊ฒ์ผ๋ก ์คํ์ผ๋ง ํด์ฃผ์ธ์!
- inline ์คํ์ผ๋ง์ ์ฌ์ฉํ์๋ ๊ฒฝ์ฐ๋, ์ฌ๋ผ์ด๋๋ฅผ ๊ตฌํ๊ณผ ๊ฐ์ด ์คํ์ผ๋ง์ด ๋งค์ฐ ๋ง์ด ์ง์์ ์ผ๋ก ๋ณํด์ผ ํ๋ ์ํฉ์ ์ฌ์ฉํด ์ฃผ์๋ ๊ฒ๋๋ค!
```jsx
render () {
const { idInput, pwInput } = this.state;
isButtonActive = id... |
@@ -0,0 +1,46 @@
+@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');
+@import '../../../styles/variable.scss';
+
+.Login {
+ .container {
+ width: 2000px;
+ max-width: 100vw;
+
+ .loginContainer {
+ width: 350px;
+ height: 400px;
+ margin: 25vh auto;
+ border: 2p... | Unknown | - common.scss ์ ์ ํฉํ๋ ๊ฒ ๊ฐ์ต๋๋ค! |
@@ -0,0 +1,46 @@
+@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');
+@import '../../../styles/variable.scss';
+
+.Login {
+ .container {
+ width: 2000px;
+ max-width: 100vw;
+
+ .loginContainer {
+ width: 350px;
+ height: 400px;
+ margin: 25vh auto;
+ border: 2p... | Unknown | - mixin ์ variable.scss ์ ๊ฐ์ ๋ณ๋์ ํ์ผ์ ํ๋ ๋ ๋ง๋ค์ด์ ๊ทธ๊ณณ์์ ์ผ๊ด์ ์ผ๋ก ๊ด๋ฆฌํด์ฃผ์ธ์! |
@@ -0,0 +1,46 @@
+@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');
+@import '../../../styles/variable.scss';
+
+.Login {
+ .container {
+ width: 2000px;
+ max-width: 100vw;
+
+ .loginContainer {
+ width: 350px;
+ height: 400px;
+ margin: 25vh auto;
+ border: 2p... | Unknown | - ์คํ์ผ๋ง์ ๋ถ์ฌํ๊ธฐ ์ํจ์ผ๋ก๋ className ์ผ๋ก๋ ์ถฉ๋ถํฉ๋๋ค. id ๋ฅผ ์ฌ์ฉํ์ค ์ด์ ๊ฐ ์์ต๋๋ค. |
@@ -1,13 +1,108 @@
import React from 'react';
+import { withRouter } from 'react-router-dom';
+import Nav from '../../../components/Nav/Nav';
+import CommentList from '../Comment/CommentList';
+import './Main.scss';
class MainAh extends React.Component {
render() {
return (
- <div>
- <p>๋ช
์ฑ</p>
+... | JavaScript | - ๋ฐ๋ณต์ ์ธ ๊ตฌ์กฐ๊ฐ ๋ณด์ด๋ค์! ๊ทธ๋ฆฌ๊ณ ์ฌ์ค ์ด ๋ถ๋ถ์ ๋ฐฑ์๋์์ ์ ๋ณด๋ฅผ ๋ฐ์์์ ํ๋ฉด์ ๊ทธ๋ฆฌ๋ ๊ฒ์ด๋ฏ๋ก, ๋ชฉ์
๋ฐ์ดํฐ๋ฅผ ๊ตฌ์ฑํ์
์ map ํจ์๋ฅผ ์ฌ์ฉํ์ฌ ๊ตฌํํด์ฃผ์๋๊ฒ ์ข์ ๊ฒ ๊ฐ์ต๋๋ค! |
@@ -1,13 +1,108 @@
import React from 'react';
+import { withRouter } from 'react-router-dom';
+import Nav from '../../../components/Nav/Nav';
+import CommentList from '../Comment/CommentList';
+import './Main.scss';
class MainAh extends React.Component {
render() {
return (
- <div>
- <p>๋ช
์ฑ</p>
+... | JavaScript | - ์ฌ๊ธฐ๋ ์์ ๋์ผํฉ๋๋ค! |
@@ -0,0 +1,201 @@
+body {
+ margin: 0;
+}
+@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');
+
+.MainAh {
+ .mainContainer {
+ display: flex;
+ position: relative;
+ justify-content: center;
+ width: 2000px;
+ max-width: 100vw;
+ height: 2000px;
+ background-color: #fa... | Unknown | - reset.scss ์ ์ ํฉํด ๋ณด์ด๋ค์! |
@@ -0,0 +1,80 @@
+import React from 'react';
+import Comment from './Comment';
+import './CommentList.scss';
+
+class CommentList extends React.Component {
+ constructor(props) {
+ super(props);
+ this.state = {
+ commentInput: '',
+ newComment: [],
+ nickname: '',
+ commentList: [],
+ c... | JavaScript | ์ ์ฉ์๋ฃ~! ๋ค์ฌ๋ ์ต๊ณ ! |
@@ -0,0 +1,23 @@
+import React from 'react';
+import './Comment.scss';
+
+class NewComment extends React.Component {
+ render() {
+ // const newArray = this.props.newComment.map((commentarray, index) => (
+ // <li key={index}>
+ // <span className="newCommentid">{this.props.nickname}</span>
+ // ... | JavaScript | ์ง์ ์ต๋๋ค! |
@@ -0,0 +1,15 @@
+.comment {
+ .newComment {
+ margin-bottom: 5px;
+ }
+
+ .newCommentid {
+ font-weight: bold;
+ margin-bottom: 0;
+ }
+
+ .newComments {
+ font-weight: normal;
+ margin-left: 5px;
+ }
+} | Unknown | ์์ ํ์ต๋๋ค! |
@@ -0,0 +1,80 @@
+import React from 'react';
+import Comment from './Comment';
+import './CommentList.scss';
+
+class CommentList extends React.Component {
+ constructor(props) {
+ super(props);
+ this.state = {
+ commentInput: '',
+ newComment: [],
+ nickname: '',
+ commentList: [],
+ c... | JavaScript | ์ ์ฉํ์ต๋๋ค. ๊ตฌ์กฐ ๋ถํด ํ ๋น์ด ์ต์ํ์ง์์ ์จ์ผํ ๊ณณ์ ์ ๊ตฌ๋ถํ์ง ๋ชปํ๋๊ฒ ๊ฐ์ต๋๋ค.. ใ
|
@@ -0,0 +1,23 @@
+import React from 'react';
+import './Comment.scss';
+
+class NewComment extends React.Component {
+ render() {
+ // const newArray = this.props.newComment.map((commentarray, index) => (
+ // <li key={index}>
+ // <span className="newCommentid">{this.props.nickname}</span>
+ // ... | JavaScript | ์ ์ด๋ฐ ์ค์๋ฅผ ... ์์ ํ์ต๋๋ค! |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.