|
|
|
@ -6,6 +6,7 @@ import { |
|
|
|
|
GetShapesConfig, |
|
|
|
|
defaultGetShapesConfig, |
|
|
|
|
} from "@/components/ShapesBackground"; |
|
|
|
|
import { capitalize } from "@/utils"; |
|
|
|
|
|
|
|
|
|
import styles from "./ArchivePage.module.css"; |
|
|
|
|
|
|
|
|
@ -41,7 +42,3 @@ ArchivePage.getShapesConfig = ((width, height) => { |
|
|
|
|
? ({} as ShapesConfig) |
|
|
|
|
: defaultGetShapesConfig(width, height); |
|
|
|
|
}) as GetShapesConfig; |
|
|
|
|
|
|
|
|
|
function capitalize(str: string) { |
|
|
|
|
return str.slice(0, 1).toUpperCase() + str.slice(1); |
|
|
|
|
} |
|
|
|
|