Address PR comments
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
bd29b986c4
commit
98717fafbc
|
@ -2,6 +2,11 @@
|
||||||
margin-bottom: calc(40rem / 16);
|
margin-bottom: calc(40rem / 16);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.page > h1 {
|
||||||
|
border-bottom: calc(1rem / 16) solid var(--primary-heading);
|
||||||
|
padding-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
.list {
|
.list {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
|
@ -6,6 +6,7 @@ import {
|
||||||
GetShapesConfig,
|
GetShapesConfig,
|
||||||
defaultGetShapesConfig,
|
defaultGetShapesConfig,
|
||||||
} from "@/components/ShapesBackground";
|
} from "@/components/ShapesBackground";
|
||||||
|
import { capitalize } from "@/utils";
|
||||||
|
|
||||||
import styles from "./ArchivePage.module.css";
|
import styles from "./ArchivePage.module.css";
|
||||||
|
|
||||||
|
@ -41,7 +42,3 @@ ArchivePage.getShapesConfig = ((width, height) => {
|
||||||
? ({} as ShapesConfig)
|
? ({} as ShapesConfig)
|
||||||
: defaultGetShapesConfig(width, height);
|
: defaultGetShapesConfig(width, height);
|
||||||
}) as GetShapesConfig;
|
}) as GetShapesConfig;
|
||||||
|
|
||||||
function capitalize(str: string) {
|
|
||||||
return str.slice(0, 1).toUpperCase() + str.slice(1);
|
|
||||||
}
|
|
||||||
|
|
|
@ -13,6 +13,7 @@ import {
|
||||||
getEventYears,
|
getEventYears,
|
||||||
getEventTermsByYear,
|
getEventTermsByYear,
|
||||||
} from "@/lib/events";
|
} from "@/lib/events";
|
||||||
|
import { capitalize } from "@/utils";
|
||||||
|
|
||||||
import styles from "./index.module.css";
|
import styles from "./index.module.css";
|
||||||
|
|
||||||
|
@ -154,7 +155,3 @@ export const getStaticPaths: GetStaticPaths<Params> = async () => {
|
||||||
fallback: false,
|
fallback: false,
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
function capitalize(str: string) {
|
|
||||||
return str.slice(0, 1).toUpperCase() + str.slice(1);
|
|
||||||
}
|
|
||||||
|
|
|
@ -17,6 +17,7 @@ import {
|
||||||
getNewsYears,
|
getNewsYears,
|
||||||
News,
|
News,
|
||||||
} from "@/lib/news";
|
} from "@/lib/news";
|
||||||
|
import { capitalize } from "@/utils";
|
||||||
|
|
||||||
import styles from "./[term].module.css";
|
import styles from "./[term].module.css";
|
||||||
|
|
||||||
|
@ -89,7 +90,3 @@ export const getStaticPaths: GetStaticPaths<Params> = async () => {
|
||||||
fallback: false,
|
fallback: false,
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
function capitalize(str: string) {
|
|
||||||
return str.slice(0, 1).toUpperCase() + str.slice(1);
|
|
||||||
}
|
|
||||||
|
|
|
@ -23,7 +23,8 @@
|
||||||
"paths": {
|
"paths": {
|
||||||
"@/components/*": ["components/*"],
|
"@/components/*": ["components/*"],
|
||||||
"@/lib/*": ["lib/*"],
|
"@/lib/*": ["lib/*"],
|
||||||
"@/hooks/*": ["hooks/*"]
|
"@/hooks/*": ["hooks/*"],
|
||||||
|
"@/utils": ["utils"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"include": ["next-env.d.ts", "types.d.ts", "**/*.ts", "**/*.tsx"],
|
"include": ["next-env.d.ts", "types.d.ts", "**/*.ts", "**/*.tsx"],
|
||||||
|
|
Loading…
Reference in New Issue