-
Notifications
You must be signed in to change notification settings - Fork 0
Create Week10 Mission1 #126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| <!doctype html> | ||
| <!doctype html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8" /> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| { | ||
| { | ||
| "name": "tailwind-react-starter", | ||
| "version": "0.0.0", | ||
| "scripts": { | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| module.exports = { | ||
| plugins: { | ||
| tailwindcss: {}, | ||
| autoprefixer: {}, | ||
| autoprefixer: {}, | ||
| }, | ||
| } | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| import { | ||
| import { | ||
| RouterProvider, | ||
| createBrowserRouter, | ||
| redirect, | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| import { Injectable } from '@nestjs/common'; | ||
|
|
||
| export interface User { | ||
| id: string; | ||
| email: string; | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| import { useState } from "react"; | ||
| import { useState } from "react"; | ||
|
|
||
| interface MovieCardProps { | ||
| movie: any; | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| import React from "react"; | ||
|
|
||
| interface SearchFormProps { | ||
| query: string; | ||
| setQuery: (v: string) => void; | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
|
|
||
| export const LOCAL_STORAGE_KEY = { | ||
| accessToken: 'accessToken', | ||
| refreshToken: 'refreshToken', | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
|
|
||
| @tailwind base; | ||
| @tailwind components; | ||
| @tailwind utilities; | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
|
|
||
| import Navbar from "../components/Navbar"; | ||
| import { Outlet } from "react-router-dom"; | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,7 +3,7 @@ import { useParams } from "react-router-dom"; | |
| import axios from "axios"; | ||
| import LoadingSpinner from "./LoadingSpinner"; | ||
| import NotFoundPage from "./NotFoundPage"; | ||
|
|
||
| const MovieDetailPage = (): JSX.Element => { | ||
| const { movieId } = useParams(); | ||
| const [movieDetails, setMovieDetails] = useState<any>(null); | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. νμ¬ MovieDetailPage.tsxμ useFetchMovies.tsxμμ |
||
|
|
||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. MoviePage.tsxμμ renderedSearchResultsμλ§ |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,7 +6,7 @@ const MyPage = () => { | |
| const [nickname, setNickname] = useState(""); | ||
| const navigate = useNavigate(); | ||
|
|
||
| // localStorageμμ μ μ μ 보 λ‘λ | ||
| / | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. μ΄ λΆλΆ μ€μμΈ κ² κ°μλ° |
||
| useEffect(() => { | ||
| const storedEmail = localStorage.getItem("signup_email") || ""; | ||
| const storedNickname = localStorage.getItem("signup_nickname") || ""; | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,4 +5,4 @@ const PopularPage = (): JSX.Element => { | |
| }; | ||
|
|
||
| export default PopularPage; | ||
|
|
||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. νμ¬ UIμ λ‘μ§μ΄ ν νμΌμ λͺ¨λ λ€μ΄κ° μλ νμ΄μ§λ€μ΄ κ½€ μλλ°, πΌ Standard Missionμ λ°λΌ μ»΄ν¬λνΈλ₯Ό κΈ°λ₯ λ¨μλ‘ λΆλ¦¬ν΄μ κ΄λ¦¬νλ©΄ κ°λ μ±, μ¬μ¬μ©μ±, μ μ§λ³΄μ μΈ‘λ©΄μμ ν¨μ¬ μ’μ κ² κ°μ΅λλ€! λν μ¬μ©λμ§ μλ μ»΄ν¬λνΈ λ° νμ΄μ§ νμΌλ€λ μ κ±°νμ¬ νλ‘μ νΈ κ΅¬μ‘°λ₯Ό λͺ νν νλ©΄ μ’μ κ² κ°μ΅λλ€! |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,3 +9,4 @@ export default { | |
| }, | ||
| plugins: [], | ||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| { | ||
| { | ||
| "compilerOptions": { | ||
| "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo", | ||
| "target": "ES2020", | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| { | ||
| { | ||
| "files": [], | ||
| "references": [ | ||
| { "path": "./tsconfig.app.json" }, | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
πChallenge λ―Έμ μ λ°λΌ νλ‘μ νΈ μ 체μ μ±λ₯ μ΅μ νλ UX κ°μ μλ λμ ν΄λ³΄μΈμ! μ½λ νμ§ μΈ‘λ©΄μμλ μ€λ³΅ μ κ±°, μ± μ λΆλ¦¬, μμΈ μ²λ¦¬ κ°μ λ±μ ν΅ν΄ κ°λ μ±κ³Ό μ μ§λ³΄μμ±μ΄ μ’μ μ½λλ‘ λ¦¬ν©ν λ§ ν΄λ³΄λ©΄ μ΄λ¨κΉμ π