Skip to content

Commit 48439e4

Browse files
committed
fix: files missing from git
1 parent c978045 commit 48439e4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+2550
-0
lines changed

.idea/.gitignore

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/developer-tools.xml

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/mikn.dev.iml

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/app/[locale]/about/page.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { AiOutlineLoading3Quarters } from "react-icons/ai";
2+
3+
export default async function Home() {
4+
return (
5+
<div className="flex min-h-screen items-center justify-center p-4">
6+
<AiOutlineLoading3Quarters className="w-12 h-12 animate-spin text-white" />
7+
</div>
8+
);
9+
}

src/app/[locale]/contact/page.tsx

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
import Link from "next/link";
2+
3+
import { useTranslations } from "next-intl";
4+
5+
import { IoMdMail } from "react-icons/io";
6+
import {
7+
MdPhone,
8+
MdSupportAgent,
9+
MdMonetizationOn,
10+
MdWarning,
11+
} from "react-icons/md";
12+
import { FaDiscord } from "react-icons/fa";
13+
14+
export default function Home() {
15+
const t = useTranslations("contact");
16+
return (
17+
<main>
18+
<div
19+
className={`flex flex-col space-y-5 justify-center items-center mt-10`}
20+
>
21+
<h1 className="text-4xl lg:text-6xl text-white">
22+
{t("title")}
23+
</h1>
24+
<div className="card card-bordered w-full min-h-20 bg-inherit border-primary border-4 mt-5">
25+
<div className="card-body text-center text-gray-400">
26+
<div className="flex flex-row justify-center items-center space-x-5">
27+
<IoMdMail className="w-12 h-12 text-primary" />
28+
<h3 className="text-3xl text-white">{t("mail")}</h3>
29+
</div>
30+
<div className="flex flex-col lg:flex-row justify-center items-center lg:space-x-3 space-y-3 lg:space-y-0">
31+
<div
32+
className={
33+
"flex flex-row justify-center items-center space-x-3 tooltip tooltip-warning"
34+
}
35+
data-tip={t("general-support")}
36+
>
37+
<MdSupportAgent className="w-8 h-8 text-primary" />
38+
<h3 className="text-xl">[email protected]</h3>
39+
</div>
40+
<div
41+
className={
42+
"flex flex-row justify-center items-center space-x-3 tooltip tooltip-warning"
43+
}
44+
data-tip={t("billing-support")}
45+
>
46+
<MdMonetizationOn className="w-8 h-8 text-primary" />
47+
<h3 className="text-xl">[email protected]</h3>
48+
</div>
49+
<div
50+
className={
51+
"flex flex-row justify-center items-center space-x-3 tooltip tooltip-warning"
52+
}
53+
data-tip={t("abuse-reports")}
54+
>
55+
<MdWarning className="w-8 h-8 text-primary" />
56+
<h3 className="text-xl">[email protected]</h3>
57+
</div>
58+
</div>
59+
</div>
60+
</div>
61+
<div className="card card-bordered w-full min-h-20 bg-inherit border-primary border-4">
62+
<div className="card-body text-center text-gray-400">
63+
<div className="flex flex-row justify-center items-center space-x-5">
64+
<MdPhone className="w-12 h-12 text-primary" />
65+
<h3 className="text-3xl text-white">
66+
{t("phone")}
67+
</h3>
68+
</div>
69+
<div className="flex flex-row justify-center items-center space-x-5">
70+
<h3 className="text-xl">+81 090-9276-3628</h3>
71+
</div>
72+
</div>
73+
</div>
74+
<div className="card card-bordered w-full min-h-20 bg-inherit border-primary border-4">
75+
<div className="card-body text-center text-gray-400">
76+
<div className="flex flex-row justify-center items-center space-x-5">
77+
<FaDiscord className="w-12 h-12 text-primary" />
78+
<h3 className="text-3xl text-white">
79+
{t("discord")}
80+
</h3>
81+
</div>
82+
<div className="flex flex-row justify-center items-center space-x-5">
83+
<Link href={"https://discord.gg/2892hjFQn8"}>
84+
<button className={"btn btn-primary"}>
85+
{t("join")}
86+
</button>
87+
</Link>
88+
</div>
89+
</div>
90+
</div>
91+
<h1 className={"text-gray-400"}>{t("phone-disclaimer")}</h1>
92+
</div>
93+
</main>
94+
);
95+
}

src/app/[locale]/cost/page.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { AiOutlineLoading3Quarters } from "react-icons/ai";
2+
3+
export default async function Home() {
4+
return (
5+
<div className="flex min-h-screen items-center justify-center p-4">
6+
<AiOutlineLoading3Quarters className="w-12 h-12 animate-spin text-white" />
7+
</div>
8+
);
9+
}

src/app/[locale]/layout.tsx

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
import type { Metadata } from "next";
2+
import localFont from "next/font/local";
3+
import { CSPostHogProvider } from "@/components/posthog";
4+
import { Toaster } from "sonner";
5+
import { NextIntlClientProvider } from "next-intl";
6+
import { getMessages } from "next-intl/server";
7+
import { notFound } from "next/navigation";
8+
import { routing } from "@/i18n/routing";
9+
import { ReactNode } from "react";
10+
import "../globals.css";
11+
12+
const hsr = localFont({ src: "../../assets/fonts/HSR.woff2" });
13+
14+
export const metadata: Metadata = {
15+
title: "MikanDev",
16+
description: "We make cool stuff to make life easier 🍊",
17+
openGraph: {
18+
images: ["https://mikn.dev/og-homepage.png"],
19+
},
20+
};
21+
22+
interface LocaleLayoutProps {
23+
children: ReactNode;
24+
params: Promise<{ locale: string }>;
25+
}
26+
27+
export function generateStaticParams() {
28+
return routing.locales.map((locale) => ({ locale }));
29+
}
30+
31+
export default async function LocaleLayout({
32+
children,
33+
params,
34+
}: LocaleLayoutProps) {
35+
const { locale } = await params;
36+
37+
// Ensure that the incoming `locale` is valid
38+
if (!routing.locales.includes(locale as any)) {
39+
notFound();
40+
}
41+
42+
// Providing all messages to the client
43+
// side is the easiest way to get started
44+
const messages = await getMessages();
45+
return (
46+
<html className={hsr.className} lang={locale} data-theme={"mikn"}>
47+
<body>
48+
<NextIntlClientProvider messages={messages}>
49+
<CSPostHogProvider>
50+
{children}
51+
<Toaster richColors />
52+
</CSPostHogProvider>
53+
</NextIntlClientProvider>
54+
</body>
55+
</html>
56+
);
57+
}

0 commit comments

Comments
 (0)