Skip to content

Commit

Permalink
componentsディレクトリの位置を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
MurakawaTakuya committed Nov 29, 2024
1 parent ef0e4fc commit cf0e2b1
Show file tree
Hide file tree
Showing 14 changed files with 9 additions and 8 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ interface PostCardProps {
}

// 投稿を取得してPostCardに渡す
export default function Posts({ post }: PostCardProps) {
export default function PostCard({ post }: PostCardProps) {
console.log(post);
return (
<div className={styles.card}>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use client";
import { functionsEndpoint } from "@/app/firebase";
import { uploadImage } from "@/app/utils/Uploader";
import { uploadImage } from "@/utils/Uploader";
import Box from "@mui/material/Box";
import LinearProgress from "@mui/material/LinearProgress";
import Typography from "@mui/material/Typography";
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// 画像アップロードテスト用
"use client";
import { uploadImage } from "@/app/utils/Uploader";
import { uploadImage } from "@/utils/Uploader";
import Box from "@mui/material/Box";
import LinearProgress from "@mui/material/LinearProgress";
import Typography from "@mui/material/Typography";
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import Header from "@/Components/Header/Header";
import "@/styles/globals.scss";
import "@/utils/CloudMessaging/getNotification";
import { UserProvider } from "@/utils/UserContext";
import type { Metadata } from "next";
import Header from "./Components/Header/Header";
import "./firebase";

export const metadata: Metadata = {
Expand Down
9 changes: 5 additions & 4 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
import GoalModal from "@/Components/GoalModal/GoalModal";
import PostForm from "@/Components/PostForm/PostForm";
import Posts from "@/Components/Posts/Posts";
import UserForm from "@/Components/UserForm/UserForm";
import {
requestPermission,
revokePermission,
} from "@/utils/CloudMessaging/notificationController";
import Button from "@mui/material/Button";
import GoalModal from "./Components/GoalModal/GoalModal";
import PostForm from "./Components/PostForm/PostForm";
import Posts from "./Components/Posts/Posts";
import UserForm from "./Components/UserForm/UserForm";

export default function Top() {
return (
<>
<Posts />
asdf
<PostForm />
<UserForm />
<GoalModal />
Expand Down
File renamed without changes.

0 comments on commit cf0e2b1

Please sign in to comment.