Skip to content
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

Develop #143

Merged
merged 5 commits into from
Apr 6, 2024
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
67 changes: 67 additions & 0 deletions DEMO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# 시연 영상

### 회원가입 - 로그인

<img src="./public/demo/join-login.gif">
<br>

### 로그인 - 로그아웃

<img src="./public/demo/login-logout.gif">
<br>

### 소셜 로그인(네이버, 구글)

<img src="./public/demo/login-naver.gif">
<img src="./public/demo/login-google.gif">
<br>

### 메인페이지 게시글 무한스크롤 - 필터(인기순)

<img src="./public/demo/scroll-popular.gif">
<br>

### 메인페이지 게시글 무한스크롤 - 필터(가격순) - 재정렬

<img src="./public/demo/scroll-realign.gif">
<br>

### 양도글 검색

<img src="./public/demo/search.gif">
<br>

### 양도글 작성

<img src="./public/demo/write.gif">
<br>

### 양도글 수정

<img src="./public/demo/edit.gif">
<br>

### 관심등록 - 관심삭제

<img src="./public/demo/like.gif">
<br>

### 댓글 작성 - 댓글 수정 - 댓글 삭제

<img src="./public/demo/comment.gif">
<br>

### 마이페이지 - 회원정보 수정

<img src="./public/demo/mypage.gif">
<br>

### 모바일사이즈 로그인 - 마이페이지

<img src="./public/demo/mobile.gif">
<br>

### 관리자 로그인 - 게시글 블라인드

<img src="./public/demo/admin.gif">
<br>
Binary file added public/demo/admin.gif
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 public/demo/comment.gif
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 public/demo/edit.gif
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 public/demo/join-login.gif
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 public/demo/like.gif
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 public/demo/login-google.gif
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 public/demo/login-logout.gif
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 public/demo/login-naver.gif
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 public/demo/mobile.gif
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 public/demo/mypage.gif
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 public/demo/scroll-popular.gif
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 public/demo/scroll-realign.gif
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 public/demo/search.gif
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 public/demo/write.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion src/components/SocialLogin/SocialLogin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ import styled from 'styled-components'
import { COLORS } from '@src/globalStyles'
import { SocialLoginGoogleIcon, SocialLoginNaverIcon } from '@src/constants/icons'

const SOCIAL_URL = import.meta.env.VITE_SOCIAL_URL

const SocialLogin = () => {
const socialLoginHandler = (e: React.MouseEvent<HTMLButtonElement>) => {
e.preventDefault()
const LINK = `https://field-passer.store/oauth2/authorization/${e.currentTarget.dataset.name}`
const LINK = SOCIAL_URL + e.currentTarget.dataset.name
window.location.replace(LINK)
}

Expand Down