Skip to content

Commit

Permalink
[Warning] Dev/add マージ禁止 (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
akiy2009 authored Feb 23, 2025
1 parent 6f0fe58 commit ba7c6ef
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/sitemap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,9 @@ export default function sitemap(): MetadataRoute.Sitemap {
url: "https://gakuseibot.pkopko.jp/tos",
priority: 1,
},
{
url: "https://gakuseibot.pkopko.jp/sponsor",
priority: 1,
},
];
}
38 changes: 38 additions & 0 deletions src/app/sponsor/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
import { NextPage } from "next";
import React from "react";
import { Metadata } from "next";
import ReactMarkdown from "react-markdown";

export const metadata: Metadata = {
title: "スポンサー",
description: "当プロジェクトを支援してくださるスポンサーのご紹介",
};

const sponsorDescription = `
当プロジェクトを支援してくださるスポンサーの皆様に心より感謝申し上げます。
## 現在のスポンサー
- 高専キャリア様(VPS提供元)
高専キャリア様は、高専生のサポートを行ったりOB/OGとのコミュニティを運営している団体です。
高専生に向けたイベントやコンテスト、講座を実施しています。
このBOTは、高専キャリア様の活動の一つでさくらインターネット様と提供している「みらいサーバー(VPS)」を使用しています。
`;

const SponsorsPage: NextPage = () => {
return (
<main className="flex min-h-screen flex-col items-center bg-white text-black space-y-4">
<section
id="sponsors"
className="flex flex-col items-center justify-center flex-1 w-full space-y-6 px-3 text-center"
>
<h1 className="text-3xl md:text-4xl font-bold">スポンサー</h1>
<div className="w-full max-w-2xl text-left">
<ReactMarkdown className="text-base md:text-lg space-y-4">{sponsorDescription}</ReactMarkdown>
</div>
</section>
</main>
);
};

export default SponsorsPage;
4 changes: 4 additions & 0 deletions src/components/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ const Header = () => {
label: "お問い合わせ",
link: "/contact",
},
{
label: "スポンサー",
link: "/sponsor",
},
];
return (
<header className="flex flex-col justify-center items-center bg-[url('/img/header.webp')] bg-center bg-cover text-white w-full text-black">
Expand Down

0 comments on commit ba7c6ef

Please sign in to comment.