Skip to content

Commit

Permalink
Merge pull request #164 from Team-INSERT/pwa
Browse files Browse the repository at this point in the history
PWA
  • Loading branch information
Ubinquitous authored Nov 15, 2024
2 parents 7bda6c1 + 26a636d commit cf0a60f
Show file tree
Hide file tree
Showing 6 changed files with 5,882 additions and 1 deletion.
Binary file added app/icon512_maskable.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 app/icon512_rounded.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions app/manifest.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import type { MetadataRoute } from "next";

const manifest: () => MetadataRoute.Manifest = () => {
const titleText = "부마위키";
const descriptionText = "여러분이 가꾸어 나가는 역사의 고서";

return {
name: titleText,
short_name: titleText,
description: descriptionText,
start_url: "/",
display: "standalone",
background_color: "#ffffff",
theme_color: "#274168",
icons: [
{
src: "/icon512_rounded.png",
sizes: "192x192",
type: "image/png",
},
{
src: "/icon512_rounded.png",
sizes: "512x512",
type: "image/png",
},
],
};
};

export default manifest;
2 changes: 1 addition & 1 deletion components/(modal)/Confirm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const Confirm = ({ icon, content, onConfirm }: Props) => {

return (
<div className={styles.container}>
{<RoundLogo /> || icon}
{icon || <RoundLogo />}
<div className={styles.contents}>{content}</div>
<div className={styles.buttonBox}>
<button className={styles.button.cancel} onClick={closeModal}>
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"jotai": "^2.7.0",
"moment": "^2.30.1",
"next": "14.1.4",
"next-pwa": "^5.6.0",
"next-remove-imports": "^1.0.12",
"prettier": "^3.2.5",
"react": "^18",
Expand Down
Loading

0 comments on commit cf0a60f

Please sign in to comment.