Update variable declarations to use const instead of let

This commit is contained in:
Moe Poi ~ 2024-03-27 14:35:44 +07:00
parent 6227a75161
commit 1d142d8885
Signed by: moepoi
GPG key ID: EADBACA726DD4853
4 changed files with 65 additions and 65 deletions

View file

@ -1,5 +1,5 @@
export let emailAddress: string = 'moe@poi.lol'; export const emailAddress: string = 'moe@poi.lol';
export let publicKey: string = `-----BEGIN PGP PUBLIC KEY BLOCK----- export const publicKey: string = `-----BEGIN PGP PUBLIC KEY BLOCK-----
mDMEZa+LhhYJKwYBBAHaRw8BAQdAoBI6qbxs0VSL2hgo6+3CfSfBJYXeQgOhMv9h mDMEZa+LhhYJKwYBBAHaRw8BAQdAoBI6qbxs0VSL2hgo6+3CfSfBJYXeQgOhMv9h
4+KRcSS0Jk1pY2hhZWwgV2lsbGlhbSBKb25hdGhhbiA8bW9lQHBvaS5sb2w+iJYE 4+KRcSS0Jk1pY2hhZWwgV2lsbGlhbSBKb25hdGhhbiA8bW9lQHBvaS5sb2w+iJYE

View file

@ -9,79 +9,79 @@ export interface Project {
export const projects: Project[] = [ export const projects: Project[] = [
{ {
title: 'Nepgear Bot', title: 'Nepgear Bot',
image: 'assets/images/projects/nepgear.webp', image: 'assets/images/projects/nepgear.webp',
date: '23 November 2018', date: '23 November 2018',
categories: 'Bot', categories: 'Bot',
description: description:
'Telegram bot that allows you to search for your favorite Anime, Manga, Character with other useful features !!!', 'Telegram bot that allows you to search for your favorite Anime, Manga, Character with other useful features !!!',
url: 'https://t.me/NepgearBot' url: 'https://t.me/NepgearBot'
}, },
{ {
title: 'Whois Bot', title: 'Whois Bot',
image: 'assets/images/projects/whois.webp', image: 'assets/images/projects/whois.webp',
date: ' 3 September 2019', date: ' 3 September 2019',
categories: 'Bot', categories: 'Bot',
description: description:
'Telegram bot that provide Information about domain, ip, and web hosting.', 'Telegram bot that provide Information about domain, ip, and web hosting.',
url: 'https://t.me/WhoisBot' url: 'https://t.me/WhoisBot'
}, },
{ {
title: 'Moe API', title: 'Moe API',
image: 'assets/images/projects/moe-api.webp', image: 'assets/images/projects/moe-api.webp',
date: '8 November 2019', date: '8 November 2019',
categories: 'Web', categories: 'Web',
description: 'Powerful API with modern features !!!', description: 'Powerful API with modern features !!!',
url: 'https://moe.team/' url: 'https://moe.team/'
}, },
{ {
title: 'Toaru Stickers', title: 'Toaru Stickers',
image: 'assets/images/projects/toaru-stickers.webp', image: 'assets/images/projects/toaru-stickers.webp',
date: '13 May 2020', date: '13 May 2020',
categories: 'App', categories: 'App',
description: description:
'Toaru Stickers Application for Whatsapp. Build with Flutter :)', 'Toaru Stickers Application for Whatsapp. Build with Flutter :)',
url: 'https://github.com/moepoi/Toaru-Stickers' url: 'https://github.com/moepoi/Toaru-Stickers'
}, },
{ {
title: 'Neonime App', title: 'Neonime App',
image: 'assets/images/projects/neonime-app.webp', image: 'assets/images/projects/neonime-app.webp',
date: '5 August 2020', date: '5 August 2020',
categories: 'App', categories: 'App',
description: description:
'App for streaming & download anime (Indo sub). Build with Flutter :)', 'App for streaming & download anime (Indo sub). Build with Flutter :)',
url: 'https://github.com/moepoi/Neonime-App' url: 'https://github.com/moepoi/Neonime-App'
}, },
{ {
title: 'Easy Learn', title: 'Easy Learn',
image: 'assets/images/projects/easy-learn.webp', image: 'assets/images/projects/easy-learn.webp',
date: '15 August 2021', date: '15 August 2021',
categories: 'App', categories: 'App',
description: 'Learning app for kids.', description: 'Learning app for kids.',
url: 'https://github.com/Easy-Learn/App' url: 'https://github.com/Easy-Learn/App'
}, },
{ {
title: 'Nekoya Web', title: 'Nekoya Web',
image: 'assets/images/projects/nekoya-web.webp', image: 'assets/images/projects/nekoya-web.webp',
date: '22 November 2021', date: '22 November 2021',
categories: 'Web', categories: 'Web',
description: 'Web application for Nekoya ~', description: 'Web application for Nekoya ~',
url: 'https://github.com/Nekoya-Site/Web' url: 'https://github.com/Nekoya-Site/Web'
}, },
{ {
title: 'Nekoya App', title: 'Nekoya App',
image: 'assets/images/projects/nekoya-app.webp', image: 'assets/images/projects/nekoya-app.webp',
date: '30 May 2022', date: '30 May 2022',
categories: 'App', categories: 'App',
description: 'Native application for Nekoya ~', description: 'Native application for Nekoya ~',
url: 'https://github.com/Nekoya-Site/App' url: 'https://github.com/Nekoya-Site/App'
}, },
{ {
title: 'Kitchen Counts', title: 'Kitchen Counts',
image: 'assets/images/projects/kitchen-counts.webp', image: 'assets/images/projects/kitchen-counts.webp',
date: '6 October 2022', date: '6 October 2022',
categories: 'App', categories: 'App',
description: 'Stock management app for kitchen.', description: 'Stock management app for kitchen.',
url: 'https://github.com/moepoi/Kitchen_Counts' url: 'https://github.com/moepoi/Kitchen_Counts'
}, },
]; ];

View file

@ -2,7 +2,7 @@
import NavBar from '../lib/components/NavBar.svelte'; import NavBar from '../lib/components/NavBar.svelte';
import { projects, type Project } from '../lib/data/projects'; import { projects, type Project } from '../lib/data/projects';
let projectsData: Project[] = projects; const projectsData: Project[] = projects;
</script> </script>
<NavBar /> <NavBar />

View file

@ -2,11 +2,11 @@
import NavBar from '../lib/components/NavBar.svelte'; import NavBar from '../lib/components/NavBar.svelte';
import { experience, education, language, type Resume } from '../lib/data/resume'; import { experience, education, language, type Resume } from '../lib/data/resume';
let experienceData: Resume[] = experience; const experienceData: Resume[] = experience;
let educationData: Resume[] = education; const educationData: Resume[] = education;
let languageData: Resume[] = language; const languageData: Resume[] = language;
let resumeFile: string = '/assets/resume/Resume-Michael-William-Jonathan.pdf'; const resumeFile: string = '/assets/resume/Resume-Michael-William-Jonathan.pdf';
</script> </script>
<NavBar /> <NavBar />