-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: manifest 작성 * feat: PWAServiceWorker 작성 * chore: gitignore 추가 * chore: icon 이미지 추가 * chore: appleSplashScreen 이미지 추가 * feat: appleSplashScreen 적용 * feat: 메타데이터 추가 및 수정 * chore: manifest 불필요한 옵션 제거 * chore: 중복되는 meta태그 제거 * fix: 최상단 상태바 버그 수정 * feat: pwa환경 수직 패딩값 추가 * feat: pwa에서 bottomNavigation pb값 추가 및 statusBarStyle 속성 제거 * fix: BottomNavigation 고정 height값 제거 * feat: pb-safe 속성 추가 * fix: apple-touch-icon 아이콘 버그 수정 * fix: BottomNavigation 비정상적으로 보이던 문제 해결 * fix: 컴포넌트들의 position이 동적으로 바뀌도록 수정 * chore: import문 절대경로로 수정 * chore: 불필요한 className 제거
- Loading branch information
Showing
55 changed files
with
345 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
BIN
+96.7 KB
public/images/splash-screens/11__iPad_Pro__10.5__iPad_Pro_landscape.png
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
BIN
+95.9 KB
public/images/splash-screens/11__iPad_Pro__10.5__iPad_Pro_portrait.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
BIN
+22.1 KB
.../splash-screens/4__iPhone_SE__iPod_touch_5th_generation_and_later_landscape.png
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
BIN
+22.2 KB
...s/splash-screens/4__iPhone_SE__iPod_touch_5th_generation_and_later_portrait.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
BIN
+77.2 KB
...h-screens/9.7__iPad_Pro__7.9__iPad_mini__9.7__iPad_Air__9.7__iPad_landscape.png
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
BIN
+78.2 KB
...sh-screens/9.7__iPad_Pro__7.9__iPad_mini__9.7__iPad_Air__9.7__iPad_portrait.png
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
BIN
+88.4 KB
public/images/splash-screens/iPhone_11_Pro_Max__iPhone_XS_Max_landscape.png
Oops, something went wrong.
Binary file added
BIN
+90.7 KB
public/images/splash-screens/iPhone_11_Pro_Max__iPhone_XS_Max_portrait.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+74 KB
...Phone_13_mini__iPhone_12_mini__iPhone_11_Pro__iPhone_XS__iPhone_X_landscape.png
Oops, something went wrong.
Binary file added
BIN
+74.4 KB
...iPhone_13_mini__iPhone_12_mini__iPhone_11_Pro__iPhone_XS__iPhone_X_portrait.png
Oops, something went wrong.
Binary file added
BIN
+94.8 KB
...lash-screens/iPhone_14_Plus__iPhone_13_Pro_Max__iPhone_12_Pro_Max_landscape.png
Oops, something went wrong.
Binary file added
BIN
+96.2 KB
...plash-screens/iPhone_14_Plus__iPhone_13_Pro_Max__iPhone_12_Pro_Max_portrait.png
Oops, something went wrong.
Binary file added
BIN
+79.2 KB
...ens/iPhone_14__iPhone_13_Pro__iPhone_13__iPhone_12_Pro__iPhone_12_landscape.png
Oops, something went wrong.
Binary file added
BIN
+81.7 KB
...eens/iPhone_14__iPhone_13_Pro__iPhone_13__iPhone_12_Pro__iPhone_12_portrait.png
Oops, something went wrong.
Binary file added
BIN
+95.5 KB
...lash-screens/iPhone_15_Pro_Max__iPhone_15_Plus__iPhone_14_Pro_Max_landscape.png
Oops, something went wrong.
Binary file added
BIN
+95.8 KB
...plash-screens/iPhone_15_Pro_Max__iPhone_15_Plus__iPhone_14_Pro_Max_portrait.png
Oops, something went wrong.
Binary file added
BIN
+80.3 KB
public/images/splash-screens/iPhone_15_Pro__iPhone_15__iPhone_14_Pro_landscape.png
Oops, something went wrong.
Binary file added
BIN
+83.5 KB
public/images/splash-screens/iPhone_15_Pro__iPhone_15__iPhone_14_Pro_portrait.png
Oops, something went wrong.
Binary file added
BIN
+71.3 KB
...reens/iPhone_8_Plus__iPhone_7_Plus__iPhone_6s_Plus__iPhone_6_Plus_landscape.png
Oops, something went wrong.
Binary file added
BIN
+72 KB
...creens/iPhone_8_Plus__iPhone_7_Plus__iPhone_6s_Plus__iPhone_6_Plus_portrait.png
Oops, something went wrong.
Binary file added
BIN
+28.5 KB
...h-screens/iPhone_8__iPhone_7__iPhone_6s__iPhone_6__4.7__iPhone_SE_landscape.png
Oops, something went wrong.
Binary file added
BIN
+30.2 KB
...sh-screens/iPhone_8__iPhone_7__iPhone_6s__iPhone_6__4.7__iPhone_SE_portrait.png
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
self.addEventListener('install', () => { | ||
console.log('Service worker installed'); | ||
}); | ||
|
||
self.addEventListener('activate', () => { | ||
console.log('Service worker activated'); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"name": "다독다독", | ||
"short_name": "다독다독", | ||
"description": "책에 대한 인사이트를 공유하고 소통하는 독서 소셜 플랫폼", | ||
"theme_color": "#FFA436", | ||
"background_color": "#FFFFFF", | ||
"display": "standalone", | ||
"scope": "./", | ||
"start_url": "./", | ||
"icons": [ | ||
{ | ||
"src": "images/icon-192x192.png", | ||
"sizes": "192x192", | ||
"type": "image/png", | ||
"purpose": "maskable any" | ||
}, | ||
{ | ||
"src": "images/icon-256x256.png", | ||
"sizes": "256x256", | ||
"type": "image/png", | ||
"purpose": "maskable any" | ||
}, | ||
{ | ||
"src": "images/icon-384x384.png", | ||
"sizes": "384x384", | ||
"type": "image/png", | ||
"purpose": "maskable any" | ||
}, | ||
{ | ||
"src": "images/icon-512x512.png", | ||
"sizes": "512x512", | ||
"type": "image/png", | ||
"purpose": "maskable any" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
'use client'; | ||
|
||
import { useEffect } from 'react'; | ||
|
||
const PWAServiceWorkerProvider = ({ | ||
children, | ||
}: { | ||
children: React.ReactNode; | ||
}) => { | ||
useEffect(() => { | ||
if ('serviceWorker' in navigator) { | ||
const registerWorker = async () => { | ||
const registration = await navigator.serviceWorker.register( | ||
'/pwaServiceWorker.js' | ||
); | ||
registration.waiting?.postMessage('SKIP_WAITING'); | ||
}; | ||
|
||
try { | ||
registerWorker(); | ||
console.log('register success!'); | ||
} catch (error) { | ||
console.error('register failed: ', error); | ||
} | ||
} | ||
}, []); | ||
|
||
return <>{children}</>; | ||
}; | ||
|
||
export default PWAServiceWorkerProvider; |
Oops, something went wrong.