mirror of
https://github.com/Unkn0wnCat/KevinK.dev.js.git
synced 2025-06-07 05:02:07 +02:00
Port to TypeScript
This commit is contained in:
parent
01d3014e2f
commit
bc429f5d69
32 changed files with 419 additions and 105 deletions
13
src/templates/blogListing.module.scss.d.ts
vendored
Normal file
13
src/templates/blogListing.module.scss.d.ts
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
export const excerpt: string;
|
||||
export const list: string;
|
||||
export const meta: string;
|
||||
export const moreSoon: string;
|
||||
export const pageSwitcher: string;
|
||||
export const post: string;
|
||||
export const sectionBacklink: string;
|
||||
export const sectionBg: string;
|
||||
export const sectionCard: string;
|
||||
export const sectionImage: string;
|
||||
export const sectionList: string;
|
||||
export const sectionName: string;
|
||||
export const title: string;
|
|
@ -43,7 +43,7 @@ const BlogListing = ({ data, pageContext }) => {
|
|||
>
|
||||
<div className={styles.sectionImage}>
|
||||
<div className={styles.sectionBg}>
|
||||
<StaticImage src="https://source.unsplash.com/gf8e6XvG_3E/300x150"></StaticImage>
|
||||
<StaticImage src="https://source.unsplash.com/gf8e6XvG_3E/300x150" alt={t("blog.section.scambox.name")}></StaticImage>
|
||||
</div>
|
||||
<span className={styles.sectionName}>
|
||||
{t("blog.section.scambox.name")}
|
4
src/templates/blogPost.module.scss.d.ts
vendored
Normal file
4
src/templates/blogPost.module.scss.d.ts
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
export const chatBox: string;
|
||||
export const meta: string;
|
||||
export const noticeBox: string;
|
||||
export const postSection: string;
|
12
src/templates/project.module.scss.d.ts
vendored
Normal file
12
src/templates/project.module.scss.d.ts
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
export const fa: string;
|
||||
export const fab: string;
|
||||
export const fal: string;
|
||||
export const far: string;
|
||||
export const fas: string;
|
||||
export const headerBackground: string;
|
||||
export const headerInner: string;
|
||||
export const headerPlaceholder: string;
|
||||
export const linkList: string;
|
||||
export const projectAbout: string;
|
||||
export const projectHeader: string;
|
||||
export const projectLinks: string;
|
|
@ -79,6 +79,7 @@ const ProjectTemplate = ({ data }) => {
|
|||
}
|
||||
style={{ width: "100%", height: "100%" }}
|
||||
objectFit="cover"
|
||||
alt={projectName}
|
||||
></GatsbyImage>
|
||||
</div>
|
||||
<header>
|
Loading…
Add table
Add a link
Reference in a new issue