Skip to content

Commit

Permalink
お知らせ追加
Browse files Browse the repository at this point in the history
  • Loading branch information
shari-sushi committed Dec 14, 2024
1 parent 068c509 commit 2150afa
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 6 deletions.
2 changes: 1 addition & 1 deletion t0016Go/interfaces/v1/controllers/update_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ package controllers

// 手動でmerge, buildしてる限りは、apiをbuildし直す日時をメモする(たまに忘れる)
// 曲名1文字対応、等
const LastUpdateData = "2024/11/23 15"
const LastUpdateData = "2024/12/15 4時 fix:ローカルdb接続不具合"
34 changes: 34 additions & 0 deletions t0016Next/myapp/src/features/notice/notice.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,40 @@ type NoticeItem = {
};

const NoticeItems: NoticeItem[] = [
{
data: "2024-12-15",
content:
"TOPページ : 自動再生される曲が「最近登録された50曲」から選択されるように",
},
{
data: "2024-12-14",
content: (
<div className="inline">
{"全体 : "}
<span className="underline font-bold">表のクリックできる場所</span>
(VTuber名や曲名 urlコピーアイコン
<svg
xmlns="http://www.w3.org/2000/svg"
height={14}
width={14}
viewBox="0 0 512 512"
className={"inline fill-[#B7A692] stroke-"}
>
<rect x="115.774" y="335.487" width="194.387" height="18.588"></rect>
<rect x="115.774" y="260.208" width="194.387" height="18.527"></rect>
<rect x="115.774" y="184.862" width="194.387" height="18.588"></rect>
<path
className=""
d="M385.112,396.188V39.614c0-2.294-0.197-4.603-0.592-6.768C381.3,14.19,365.006,0,345.438,0H184.686 c-11.561,0-22.598,4.603-30.741,12.747L53.637,112.986c-8.151,8.22-12.747,19.249-12.747,30.818v252.384 c0,21.802,17.806,39.607,39.683,39.607h264.864C367.308,435.795,385.112,417.99,385.112,396.188z M170.634,27.529v89.074 c0,9.662-3.745,13.399-13.339,13.399H68.222L170.634,27.529z M63.163,396.188V149.775h106.02c3.486,0,6.768-0.85,9.655-2.362 c4.079-2.036,7.361-5.324,9.328-9.328c1.519-2.894,2.302-6.115,2.302-9.526V22.272h154.97c7.156,0,13.331,4.33,15.959,10.574 c0.92,2.104,1.376,4.337,1.376,6.768v356.574c0,9.518-7.748,17.342-17.335,17.342H80.574 C70.98,413.53,63.163,405.706,63.163,396.188z"
></path>
<path d="M431.488,76.205h-26.732l1.375,22.272h25.356c9.594,0,17.349,7.748,17.349,17.342v356.573 c0,9.519-7.755,17.342-17.349,17.342H166.562c-7.163,0-13.339-4.406-15.968-10.581c-0.85-2.097-1.374-4.33-1.374-6.761V456.89 h-22.272v15.503c0,2.294,0.198,4.589,0.593,6.761c3.22,18.588,19.515,32.846,39.022,32.846h264.926 c21.877,0,39.622-17.805,39.622-39.607V115.82C471.11,93.943,453.365,76.205,431.488,76.205z"></path>
</svg>
等) にカーソルを合わせると
<span className="font-bold">太字</span>
<span className="underline">下線</span>を表示
</div>
),
},
{
data: "2024-11-23",
content: (
Expand Down
10 changes: 5 additions & 5 deletions t0016Next/myapp/src/pages/test/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { ContextType } from "@/types/server";
import { TestLink } from "./multi";
import { checkLoggedin } from "@/util/webStrage/cookie";

const lastUpdatedAtString = "2024.11.23";
const lastUpdatedAtString = "2024.12.15";

const pageName = "test";
const pageNum = 0;
Expand All @@ -41,10 +41,10 @@ type TopPage = {
};

const TopPage = ({ posts, isSignin }: TopPage) => {
const vtubers = posts?.vtubers || [{} as ReceivedVtuber];
const movies = posts?.vtubers_movies || [{} as ReceivedMovie];
const karaokes = posts?.vtubers_movies_karaokes || [{} as ReceivedKaraoke];
const latestKaraokes = posts?.latest_karaokes || [{} as ReceivedKaraoke];
const vtubers: ReceivedVtuber[] = posts?.vtubers || [];
const movies: ReceivedMovie[] = posts?.vtubers_movies || [];
const karaokes: ReceivedKaraoke[] = posts?.vtubers_movies_karaokes || [];
const latestKaraokes: ReceivedKaraoke[] = posts?.latest_karaokes || [];
const [start, setStart] = useState<number>(ConvertStringToTime("00:06:45"));
const [currentMovieId, setCurrentMovieId] = useState<string>("AlHRqSsF--8");

Expand Down

0 comments on commit 2150afa

Please sign in to comment.