Skip to content

Commit b0c1646

Browse files
authored
Add this website as a project (#98)
* Support svg project icons * Add my own website as a project
1 parent 55971b6 commit b0c1646

File tree

3 files changed

+22
-11
lines changed

3 files changed

+22
-11
lines changed

projects.yml

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,15 @@
22

33
# === FEATURED
44

5-
- id: secd-machine
6-
name: SECD Machine
7-
blurb: An Online Interactive Compiler and Interpreter for the SECD Machine
8-
link: https://secd-machine.netlify.app/
9-
githubRepo: joshuanianji/secd-machine
5+
- id: personal-website
6+
name: My Personal Website
7+
blurb: The 6th iteration of my personal website, made with Elm and Elm-pages.
8+
link: https://joshuaji.com
9+
githubRepo: joshuanianji/joshuanianji.github.io
1010
languages:
1111
- Elm
12-
concepts:
13-
- Parsing
14-
- Virtual Machine
1512
displayType: featured
16-
mobile: false
13+
mobile: true
1714

1815
- id: gazprea
1916
name: Gazprea Compiler
@@ -43,6 +40,19 @@
4340

4441
# === HOME
4542

43+
- id: secd-machine
44+
name: SECD Machine
45+
blurb: An Online Interactive Compiler and Interpreter for the SECD Machine
46+
link: https://secd-machine.netlify.app/
47+
githubRepo: joshuanianji/secd-machine
48+
languages:
49+
- Elm
50+
concepts:
51+
- Parsing
52+
- Virtual Machine
53+
displayType: home
54+
mobile: false
55+
4656
- id: the-conversationalist
4757
name: The Conversationalist
4858
blurb: Meet your favourite celebrity. Talk to anime girls. We don't discriminate.
@@ -177,7 +187,7 @@
177187
- Elm
178188
concepts:
179189
- DataStructures
180-
displayType: home
190+
displayType: other
181191
mobile: false
182192

183193
- id: hiit-timer
Lines changed: 1 addition & 0 deletions
Loading

src/Project.elm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ addImagePath proj =
209209
|> Glob.capture (Glob.literal "proj_icons/")
210210
|> Glob.capture (Glob.literal proj.id)
211211
|> Glob.match (Glob.literal ".")
212-
|> Glob.capture (Glob.oneOf ( ( "png", "png" ), [ ( "jpg", "jpg" ), ( "jpeg", "jpeg" ), ( "webp", "webp" ) ] ))
212+
|> Glob.capture (Glob.oneOf ( ( "png", "png" ), [ ( "jpg", "jpg" ), ( "jpeg", "jpeg" ), ( "webp", "webp" ), ( "svg", "svg" ) ] ))
213213
|> Glob.toBackendTask
214214
|> BackendTask.andThen
215215
(\imgPaths ->

0 commit comments

Comments
 (0)