-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add more works/experiences and changes some UI
- Loading branch information
Showing
19 changed files
with
161 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
// @ts-expect-error no types for this dependencies | ||
import MarkdownIt from "markdown-it"; | ||
// @ts-expect-error no types for this dependencies | ||
import texmath from "markdown-it-texmath"; | ||
// @ts-expect-error no types for this dependencies | ||
import katex from "katex"; | ||
import hljs from "highlight.js"; | ||
// @ts-expect-error no types for this dependencies | ||
import hljs_svelte from "highlightjs-svelte"; | ||
|
||
|
||
hljs_svelte(hljs); | ||
const markdown: MarkdownIt = MarkdownIt({ | ||
html: true, | ||
breaks: false, | ||
highlight: (str: string, lang: string) => { | ||
if (lang && hljs.getLanguage(lang)) { | ||
try { | ||
return ( | ||
`<pre class="hljs relative"><u class="absolute top-1 right-2 rounded-md">${lang}</u><code>` + | ||
hljs.highlight(str, { | ||
language: lang, | ||
ignoreIllegals: true, | ||
}).value + | ||
"</code></pre>" | ||
); | ||
} catch (e) { | ||
console.log(e); | ||
} | ||
} | ||
return ( | ||
'<pre class="hljs"><code>' + | ||
markdown.utils.escapeHtml(str) + | ||
"</code></pre>" | ||
); | ||
}, | ||
}); | ||
|
||
markdown.use(texmath, { | ||
engine: katex, | ||
}); | ||
|
||
export default markdown; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
end: March 2023 | ||
title: A(ir)Wareness Application | ||
tags: | ||
- Mobile | ||
- Flutter | ||
links: | ||
- href: https://github.com/AreYouWorking/Air-pollution-awareness | ||
text: Code | ||
body: >- | ||
Write a Flutter application for taking picture to add | ||
and air quality information overlay similar to how Instagram work. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
end: Febuary 2024 | ||
title: Compiler for Basic Functional Language | ||
tags: | ||
- Compiler | ||
- OCaml | ||
body: >- | ||
Write a compiler using menhir and OCaml to compile a basic functional language from compiler class. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
start: December 2022 | ||
end: March 2024 | ||
title: Fuzzy Logic in Market Trading Decision Support System | ||
tags: | ||
- Backend | ||
- Fuzzy Logic | ||
- Rust | ||
body: >- | ||
My bachelor's thesis about how we can improve the effectiveness of various technical indicators | ||
in trading by using fuzzy logic, particle swarm optimization and other statistical methods. | ||
I'm involves in developing | ||
- Backend using Actix on Rust. | ||
- Frontend using SvelteKit. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
end: December 2023 | ||
title: Participated in ICPC Hue City Regional Contest 2023 | ||
tags: | ||
- Competitve Programming | ||
- Python | ||
body: >- | ||
Participated in ACM ICPC Hue City Regional Contest 2023 which is | ||
an algorithmic programming contest for college students. | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
end: October 2023 | ||
title: 877th world ranking on IEEEXtreme 17 | ||
tags: | ||
- Competitve Programming | ||
- Python | ||
body: >- | ||
IEEEXtreme is a global challenge in which teams of IEEE Student members compete | ||
in a 24-hour time span against each other to solve a set of programming problems. | ||
I joined this event and got 877th world ranking and 1st in Thailand ranking. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
end: March 2022 | ||
title: KitKatCarin (LITIENGINE based Java game) | ||
tags: | ||
- Game | ||
- Java | ||
body: >- | ||
- A simulation game where the player has to bring antibodies to battle viruses. | ||
Both of them act according to a specific genetic code. Genetic code can be determined using | ||
a specific grammar. | ||
- Use Java to create a game based on LITIENGINE, by writing game state management logic, | ||
a parser for antibodies and viruses genetic code, and more game related things. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,12 @@ | |
import { getCollection } from "astro:content"; | ||
import MainLayout from "../../layouts/MainLayout.astro"; | ||
import Collapsible from "../../components/Collapsible.astro"; | ||
import markdown from "../../components/markdown"; | ||
const works = (await getCollection("works")).sort((a, b) => b.data.year - a.data.year); | ||
const works = (await getCollection("works")) | ||
.sort((a, b) => b.data.end.valueOf() - a.data.end.valueOf()); | ||
const formatOptions = { year: 'numeric', month: 'short' }; | ||
--- | ||
|
||
<MainLayout title="About | Tanat" description="About page"> | ||
|
@@ -25,12 +29,12 @@ const works = (await getCollection("works")).sort((a, b) => b.data.year - a.data | |
<a | ||
target="_blank" | ||
href="https://www.linkedin.com/in/tanat-tangun-46b38a201/" | ||
class="hover:text-blue-600">Linkedin</a | ||
class="hover:text-blue-600">LinkedIn</a | ||
> | ||
<a href="mailto:[email protected]">[email protected]</a> | ||
</div> | ||
|
||
<h1 class="mt-10 text-2xl font-semibold">Some of my works</h1> | ||
<h1 class="mt-10 text-2xl font-semibold">Some of my works/experiences</h1> | ||
<div class="mt-6 flex flex-col space-y-4"> | ||
{ | ||
works.map((work) => ( | ||
|
@@ -41,6 +45,11 @@ const works = (await getCollection("works")).sort((a, b) => b.data.year - a.data | |
> | ||
<div> | ||
<h1 class="text-xl">{work.data.title}</h1> | ||
<h2 class="text-white/[.8]"> | ||
{work.data.start | ||
&& work.data.start.toLocaleDateString('en-US', formatOptions) + ' - '} | ||
{work.data.end.toLocaleDateString('en-US', formatOptions)} | ||
</h2> | ||
<div class="mt-2 flex flex-shrink space-x-2"> | ||
{work.data.tags.map((tag) => ( | ||
<div | ||
|
@@ -93,7 +102,9 @@ const works = (await getCollection("works")).sort((a, b) => b.data.year - a.data | |
))} | ||
</div> | ||
} | ||
<p>{work.data.body}</p> | ||
<div class="prose prose-zinc dark:prose-invert pt-1"> | ||
<Fragment set:html={markdown.render(work.data.body)}/> | ||
</div> | ||
</div> | ||
</Collapsible> | ||
)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,5 +4,7 @@ export default { | |
theme: { | ||
extend: {}, | ||
}, | ||
plugins: [], | ||
plugins: [ | ||
require('@tailwindcss/typography'), | ||
], | ||
} |