Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2e1d40a

Browse files
Moved all components to the components folder
1 parent 777ed55 commit 2e1d40a

File tree

14 files changed

+17
-95
lines changed

14 files changed

+17
-95
lines changed

‎src/app/head.jsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ export default function Head() {
77
<link rel="icon" href="/favicon.ico" />
88
<script
99
async
10-
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-2595649066418748"
11-
crossorigin="anonymous"
10+
src={`https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=${process.env.NEXT_PUBLIC_GOOGLE_ADSENSE}`}
11+
crossOrigin="anonymous"
1212
></script>
1313
</>
1414
);

‎src/app/questions/[qid]/page.jsx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { getQuestion, getSimilarQuestions } from "@/utils/controllers";
2-
import QuestionNavigator from "./QuestionNavigator";
3-
import { QuestionBody } from "./QuestionBody";
4-
import { SolutionWrapper } from "./SolutionWrapper";
2+
import QuestionNavigator from "@components/QuestionNavigator";
3+
import { QuestionBody } from "@components/QuestionBody";
4+
import { SolutionWrapper } from "@components/SolutionWrapper";
55
import { notFound } from "next/navigation";
66
import isInteger from "@/utils/isInteger";
77
isInteger;

‎src/app/questions/head.jsx‎

Lines changed: 0 additions & 10 deletions
This file was deleted.

‎src/app/questions/page.jsx‎

Lines changed: 0 additions & 63 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.

‎src/app/questions/[qid]/QuestionBody.jsx‎ renamed to ‎src/components/QuestionBody.jsx‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
import React from "react";
21
import PopoverButton from "./Popover";
32
import ReactHtmlParser from "react-html-parser";
4-
import TopicTag from "@/components/TopicTags";
3+
import TopicTag from "./TopicTags";
54
import QuestionBodyAccordian from "./QuestionBodyAccordian";
65

76
export const QuestionBody = ({

‎src/app/questions/[qid]/QuestionBodyAccordian.jsx‎ renamed to ‎src/components/QuestionBodyAccordian.jsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
AccordionBody,
88
} from "@material-tailwind/react";
99
import Link from "next/link";
10-
import TopicTag from "@/components/TopicTags";
10+
import TopicTag from "./TopicTags";
1111

1212
export default function QuestionBodyAccordian({ similarQuestions, topicTags }) {
1313
const [open, setOpen] = useState(0);
File renamed without changes.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /