Files
app
components
AppealBans.tsx
AppealCard.tsx
Fallback.tsx
Forbidden.tsx
FormGenerator.tsx
GameAppealCard.tsx
GameModManagementModal.tsx
InactivityNoticeCard.tsx
Login.tsx
Navigation.tsx
NewAppealBan.tsx
NewGameBan.tsx
NewInactivityNotice.tsx
NewInfractionModal.tsx
NoJSAlert.tsx
ReportCard.tsx
Success.tsx
data
functions
public
.gitignore
.node-version
.prettierignore
OFL.txt
README.md
emotion-server.js
esbuild.config.js
index.css
index.d.ts
package-lock.json
package.json
remix.config.js
server.ts
theme.ts
tsconfig.json
car-crushers-portal/components/NoJSAlert.tsx

19 lines
352 B
TypeScript

import {
Alert,
AlertDescription,
AlertIcon,
AlertTitle,
} from "@chakra-ui/react";
export default function () {
return (
<Alert status="error">
<AlertIcon />
<AlertTitle>JavaScript Disabled!</AlertTitle>
<AlertDescription>
Some features of this page may not work.
</AlertDescription>
</Alert>
);
}