Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ catalogs:
turbo: ^2.5.8
setup:
dotenv: ^17.2.3
dotenv-caster: ^2.1.23
dotenv-caster: ^2.2.1

ignoredBuiltDependencies:
- '@swc/core'
Expand Down
30 changes: 30 additions & 0 deletions products/frontend/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,33 @@
margin: 0;
padding: 0;
}

:root {
--text-xs: calc(1rem * 8 / 10);
--text-sm: calc(1rem * 8 / 9);
--text-base: calc(1rem * 8 / 8);
--text-lg: calc(1rem * 8 / 7);
--text-xl: calc(1rem * 8 / 6);
--text-2xl: calc(1rem * 8 / 5);
--text-3xl: calc(1rem * 8 / 4);
--text-4xl: calc(1rem * 8 / 3);
--text-5xl: calc(1rem * 8 / 2);
--text-6xl: calc(1rem * 8 / 1);

--color-base: #b09757;
--color-error: #de474a;
--color-disabled: #a3a3a3;

--background-color-base: #001c32;

--space-xs: calc(0.5rem * 1);
--space-sm: calc(0.5rem * 2);
--space-base: calc(0.5rem * 3);
--space-lg: calc(0.5rem * 5);
--space-xl: calc(0.5rem * 8);
--space-2xl: calc(0.5rem * 13);
--space-3xl: calc(0.5rem * 21);
--space-4xl: calc(0.5rem * 34);
--space-5xl: calc(0.5rem * 55);
--space-6xl: calc(0.5rem * 89);
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
.warningMessageWrapper {
width: 100%;
margin: 0 auto;
}

.container {
width: fit-content;
margin: 0 auto;
padding: var(--space-lg) 0;
}

.content {
text-align: center;
margin: var(--space-base) 0 0 0;
color: var(--color-error);
}

.loader {
display: grid;
grid-template-columns: repeat(5, 20px);
gap: 20px;
width: fit-content;
margin: 0 auto;
}

.box {
width: 20px;
height: 20px;
background-color: var(--color-error);
animation: fade 1s infinite ease-in-out;
}

@keyframes fade {
0%,
100% {
opacity: 0.2;
}
50% {
opacity: 1;
}
}

.box:nth-child(2n) {
animation-delay: 0s;
}
.box:nth-child(2n + 1) {
animation-delay: 0.6s;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { type FC } from 'react';
// css
import styles from './WarningMessage.module.css';

const WarningMessage: FC = () => {
return (
<div className={styles.warningMessageWrapper}>
<div className={styles.container}>
<div className={styles.loader}>
<span className={styles.box}></span>
<span className={styles.box}></span>
<span className={styles.box}></span>
<span className={styles.box}></span>
<span className={styles.box}></span>
</div>
<p className={styles.content}>
Pay Crewは、サービスを終了しました。そのため、予告なくデータを消滅させる可能性があります。 これらを含む「Pay
Crew」の利用について、一切の責任を負いかねますのでご了承ください
Comment on lines +17 to +18
Copy link

Copilot AI Jan 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The service name is inconsistent within the warning message. Line 17 uses "Pay Crew" (with a space), while line 17-18 uses "Pay Crew" again but the component title in the main page uses "PayCrew" (without space) as seen in the Root component. Consider using consistent naming throughout the application, likely "PayCrew" to match the branding shown in the header.

Suggested change
Pay Crewは、サービスを終了しました。そのため、予告なくデータを消滅させる可能性があります。 これらを含む「Pay
Crew」の利用について、一切の責任を負いかねますのでご了承ください
PayCrewは、サービスを終了しました。そのため、予告なくデータを消滅させる可能性があります。 これらを含む「PayCrew」の利用について、一切の責任を負いかねますのでご了承ください

Copilot uses AI. Check for mistakes.
Copy link

Copilot AI Jan 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The warning message text is missing a period (。) at the end of the sentence. Japanese sentences should end with proper punctuation.

Suggested change
Crew」の利用について、一切の責任を負いかねますのでご了承ください
Crew」の利用について、一切の責任を負いかねますのでご了承ください

Copilot uses AI. Check for mistakes.
</p>
</div>
</div>
);
};

export default WarningMessage;
3 changes: 2 additions & 1 deletion products/frontend/src/routes/Root/components/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export { default as DeleteHistory } from './DeleteHistory/DeleteHistory';
export { default as HistoryForm } from './HistoryForm/HistoryForm';
export { default as History } from './History/History';
export { default as ReminderTest } from './ReminderTest/ReminderTest.tsx'
export { default as ReminderTest } from './ReminderTest/ReminderTest';
export { default as WarningMessage } from './WarningMessage/WarningMessage';
4 changes: 2 additions & 2 deletions products/frontend/src/routes/Root/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// import { Link } from 'react-router';
import { HistoryForm, History } from './components';
import { HistoryForm, History, WarningMessage } from './components';
import styles from './index.module.css';
import type { FC } from 'react';

Expand All @@ -19,7 +19,7 @@ const Root: FC = () => {
</div>
</div>

{/* <Link to="/receipt" className={styles.ReceiptLink}>レシートから入力</Link> */}
<WarningMessage />

<HistoryForm />

Expand Down
Loading