@turnipxenon/pineapple 2.4.76 → 2.4.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.idea/workspace.xml +38 -31
- package/.svelte-kit/__package__/components/BlogTemplate.svelte +41 -0
- package/.svelte-kit/__package__/components/BlogTemplate.svelte.d.ts +19 -0
- package/.svelte-kit/__package__/components/index.d.ts +1 -0
- package/.svelte-kit/__package__/components/index.js +1 -0
- package/.svelte-kit/__package__/components/navigation_component/PageMeta.d.ts +37 -0
- package/.svelte-kit/__package__/components/overrideable_meta/OverridableMetaProps.d.ts +2 -0
- package/.svelte-kit/__package__/template/seaweed/SeaweedTemplate.svelte +3 -0
- package/.svelte-kit/__package__/template/seaweed/SeaweedTemplate.svelte.d.ts +1 -0
- package/.svelte-kit/__package__/template/seaweed/entries/WorkExperience.svelte +105 -105
- package/.svelte-kit/__package__/template/seaweed/entry_order_config/EntryOrderConfig.svelte +4 -4
- package/.svelte-kit/__package__/template/seaweed/entry_order_config/EntryOrderConfig.svelte.d.ts +3 -1
- package/.svelte-kit/ambient.d.ts +4 -0
- package/.svelte-kit/generated/server/internal.js +1 -1
- package/dist/components/BlogTemplate.svelte +41 -0
- package/dist/components/BlogTemplate.svelte.d.ts +19 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -0
- package/dist/components/navigation_component/PageMeta.d.ts +37 -0
- package/dist/components/overrideable_meta/OverridableMetaProps.d.ts +2 -0
- package/dist/template/seaweed/SeaweedTemplate.svelte +3 -0
- package/dist/template/seaweed/SeaweedTemplate.svelte.d.ts +1 -0
- package/dist/template/seaweed/entries/WorkExperience.svelte +105 -105
- package/dist/template/seaweed/entry_order_config/EntryOrderConfig.svelte +4 -4
- package/dist/template/seaweed/entry_order_config/EntryOrderConfig.svelte.d.ts +3 -1
- package/package.json +1 -1
- package/src/lib/components/BlogTemplate.svelte +44 -0
- package/src/lib/components/index.ts +9 -8
- package/src/lib/components/navigation_component/PageMeta.ts +43 -0
- package/src/lib/components/overrideable_meta/OverridableMetaProps.ts +2 -0
- package/src/lib/template/seaweed/SeaweedTemplate.svelte +3 -0
- package/src/lib/template/seaweed/entries/WorkExperience.svelte +115 -115
- package/src/lib/template/seaweed/entry_order_config/EntryOrderConfig.svelte +5 -5
- package/src/lib/template/seaweed/index.ts +4 -4
- package/src/routes/(pineapple)/pineapple/(extra-pages)/page1/+page.svelte +6 -5
- package/src/routes/(pineapple)/pineapple/(extra-pages)/page2/+page.svelte +6 -5
- package/src/routes/(pineapple)/pineapple/(extra-pages)/page3/page5/+page.svelte +6 -5
- package/src/routes/(seaweed)/portfolio/+page.svelte +2 -0
- package/vite.config.ts +1 -1
- package/docs/Workflow.md +0 -5
package/.idea/workspace.xml
CHANGED
|
@@ -4,14 +4,16 @@
|
|
|
4
4
|
<option name="autoReloadType" value="SELECTIVE" />
|
|
5
5
|
</component>
|
|
6
6
|
<component name="ChangeListManager">
|
|
7
|
-
<list default="true" id="accb6ba2-c343-4f84-ad30-6e2d71eceee5" name="Changes" comment="
|
|
8
|
-
<change
|
|
9
|
-
<change beforePath="$PROJECT_DIR$/
|
|
10
|
-
<change beforePath="$PROJECT_DIR$/src/lib/
|
|
11
|
-
<change beforePath="$PROJECT_DIR$/src/lib/
|
|
12
|
-
<change beforePath="$PROJECT_DIR$/src/lib/
|
|
13
|
-
<change beforePath="$PROJECT_DIR$/src/
|
|
14
|
-
<change beforePath="$PROJECT_DIR$/src/
|
|
7
|
+
<list default="true" id="accb6ba2-c343-4f84-ad30-6e2d71eceee5" name="Changes" comment="Extract GetEntryGlobal functions">
|
|
8
|
+
<change afterPath="$PROJECT_DIR$/src/lib/components/BlogTemplate.svelte" afterDir="false" />
|
|
9
|
+
<change beforePath="$PROJECT_DIR$/docs/Workflow.md" beforeDir="false" />
|
|
10
|
+
<change beforePath="$PROJECT_DIR$/src/lib/components/index.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/lib/components/index.ts" afterDir="false" />
|
|
11
|
+
<change beforePath="$PROJECT_DIR$/src/lib/components/navigation_component/PageMeta.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/lib/components/navigation_component/PageMeta.ts" afterDir="false" />
|
|
12
|
+
<change beforePath="$PROJECT_DIR$/src/lib/components/overrideable_meta/OverridableMetaProps.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/lib/components/overrideable_meta/OverridableMetaProps.ts" afterDir="false" />
|
|
13
|
+
<change beforePath="$PROJECT_DIR$/src/routes/(pineapple)/pineapple/(extra-pages)/page1/+page.svelte" beforeDir="false" afterPath="$PROJECT_DIR$/src/routes/(pineapple)/pineapple/(extra-pages)/page1/+page.svelte" afterDir="false" />
|
|
14
|
+
<change beforePath="$PROJECT_DIR$/src/routes/(pineapple)/pineapple/(extra-pages)/page2/+page.svelte" beforeDir="false" afterPath="$PROJECT_DIR$/src/routes/(pineapple)/pineapple/(extra-pages)/page2/+page.svelte" afterDir="false" />
|
|
15
|
+
<change beforePath="$PROJECT_DIR$/src/routes/(pineapple)/pineapple/(extra-pages)/page3/page5/+page.svelte" beforeDir="false" afterPath="$PROJECT_DIR$/src/routes/(pineapple)/pineapple/(extra-pages)/page3/page5/+page.svelte" afterDir="false" />
|
|
16
|
+
<change beforePath="$PROJECT_DIR$/vite.config.ts" beforeDir="false" afterPath="$PROJECT_DIR$/vite.config.ts" afterDir="false" />
|
|
15
17
|
</list>
|
|
16
18
|
<option name="SHOW_DIALOG" value="false" />
|
|
17
19
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
@@ -64,6 +66,7 @@
|
|
|
64
66
|
<option value="ChumBucket" />
|
|
65
67
|
<option value="WorkExperience" />
|
|
66
68
|
<option value="TypeScript File" />
|
|
69
|
+
<option value="BlogTemplate" />
|
|
67
70
|
</list>
|
|
68
71
|
</option>
|
|
69
72
|
</component>
|
|
@@ -210,15 +213,15 @@
|
|
|
210
213
|
<item itemvalue="npm.dev --open" />
|
|
211
214
|
<item itemvalue="npm.to-dev" />
|
|
212
215
|
<item itemvalue="npm.dev-offline" />
|
|
213
|
-
<item itemvalue="npm.dev --open" />
|
|
214
216
|
<item itemvalue="npm.to-dev" />
|
|
217
|
+
<item itemvalue="npm.dev-offline" />
|
|
215
218
|
</list>
|
|
216
219
|
</recent_temporary>
|
|
217
220
|
</component>
|
|
218
221
|
<component name="SharedIndexes">
|
|
219
222
|
<attachedChunks>
|
|
220
223
|
<set>
|
|
221
|
-
<option value="bundled-js-predefined-1d06a55b98c1-
|
|
224
|
+
<option value="bundled-js-predefined-1d06a55b98c1-2e7d6887c066-JavaScript-WS-241.15989.47" />
|
|
222
225
|
</set>
|
|
223
226
|
</attachedChunks>
|
|
224
227
|
</component>
|
|
@@ -387,23 +390,11 @@
|
|
|
387
390
|
<workItem from="1713055651151" duration="721000" />
|
|
388
391
|
<workItem from="1713056429943" duration="1789000" />
|
|
389
392
|
<workItem from="1713062148811" duration="58000" />
|
|
390
|
-
<workItem from="1713062548290" duration="
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
<
|
|
394
|
-
<
|
|
395
|
-
<option name="number" value="00151" />
|
|
396
|
-
<option name="presentableId" value="LOCAL-00151" />
|
|
397
|
-
<option name="project" value="LOCAL" />
|
|
398
|
-
<updated>1712412027844</updated>
|
|
399
|
-
</task>
|
|
400
|
-
<task id="LOCAL-00152" summary="Extract all dependencies for updateUrl">
|
|
401
|
-
<option name="closed" value="true" />
|
|
402
|
-
<created>1712422241298</created>
|
|
403
|
-
<option name="number" value="00152" />
|
|
404
|
-
<option name="presentableId" value="LOCAL-00152" />
|
|
405
|
-
<option name="project" value="LOCAL" />
|
|
406
|
-
<updated>1712422241298</updated>
|
|
393
|
+
<workItem from="1713062548290" duration="4767000" />
|
|
394
|
+
<workItem from="1713067631329" duration="264000" />
|
|
395
|
+
<workItem from="1714244359244" duration="372000" />
|
|
396
|
+
<workItem from="1714252762932" duration="11000" />
|
|
397
|
+
<workItem from="1714365775212" duration="2167000" />
|
|
407
398
|
</task>
|
|
408
399
|
<task id="LOCAL-00153" summary="Extract EntryOrderConfig">
|
|
409
400
|
<option name="closed" value="true" />
|
|
@@ -781,7 +772,23 @@
|
|
|
781
772
|
<option name="project" value="LOCAL" />
|
|
782
773
|
<updated>1713065626944</updated>
|
|
783
774
|
</task>
|
|
784
|
-
<
|
|
775
|
+
<task id="LOCAL-00200" summary="Remove unused components">
|
|
776
|
+
<option name="closed" value="true" />
|
|
777
|
+
<created>1713065902296</created>
|
|
778
|
+
<option name="number" value="00200" />
|
|
779
|
+
<option name="presentableId" value="LOCAL-00200" />
|
|
780
|
+
<option name="project" value="LOCAL" />
|
|
781
|
+
<updated>1713065902296</updated>
|
|
782
|
+
</task>
|
|
783
|
+
<task id="LOCAL-00201" summary="Extract GetEntryGlobal functions">
|
|
784
|
+
<option name="closed" value="true" />
|
|
785
|
+
<created>1713066999084</created>
|
|
786
|
+
<option name="number" value="00201" />
|
|
787
|
+
<option name="presentableId" value="LOCAL-00201" />
|
|
788
|
+
<option name="project" value="LOCAL" />
|
|
789
|
+
<updated>1713066999084</updated>
|
|
790
|
+
</task>
|
|
791
|
+
<option name="localTasksCounter" value="202" />
|
|
785
792
|
<servers />
|
|
786
793
|
</component>
|
|
787
794
|
<component name="TypeScriptGeneratedFilesManager">
|
|
@@ -839,8 +846,6 @@
|
|
|
839
846
|
</option>
|
|
840
847
|
</component>
|
|
841
848
|
<component name="VcsManagerConfiguration">
|
|
842
|
-
<MESSAGE value="Add border-radius for advanced settings cards" />
|
|
843
|
-
<MESSAGE value="Fix pkg import for Chip" />
|
|
844
849
|
<MESSAGE value="Extract tailwind css utility class to local-chip" />
|
|
845
850
|
<MESSAGE value="Fix chip issue in Advanced Settings" />
|
|
846
851
|
<MESSAGE value="Remove tailwind reliance on Chip" />
|
|
@@ -864,6 +869,8 @@
|
|
|
864
869
|
<MESSAGE value="Add more exportable types from Seaweed Refactor export index files" />
|
|
865
870
|
<MESSAGE value="Fix exports" />
|
|
866
871
|
<MESSAGE value="Fix shouldAddFunNote reactivity" />
|
|
867
|
-
<
|
|
872
|
+
<MESSAGE value="Remove unused components" />
|
|
873
|
+
<MESSAGE value="Extract GetEntryGlobal functions" />
|
|
874
|
+
<option name="LAST_COMMIT_MESSAGE" value="Extract GetEntryGlobal functions" />
|
|
868
875
|
</component>
|
|
869
876
|
</project>
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
<script xmlns="http://www.w3.org/1999/html">import { Card } from "..";
|
|
2
|
+
export let pageMeta;
|
|
3
|
+
</script>
|
|
4
|
+
|
|
5
|
+
<Card>
|
|
6
|
+
<div slot="content" class="default-card">
|
|
7
|
+
<article>
|
|
8
|
+
<hgroup>
|
|
9
|
+
{#if pageMeta.title}
|
|
10
|
+
<h1>{pageMeta.title}</h1>
|
|
11
|
+
{/if}
|
|
12
|
+
{#if pageMeta.datePublished}
|
|
13
|
+
<p>Published: {pageMeta.datePublished}</p>
|
|
14
|
+
{/if}
|
|
15
|
+
{#if pageMeta.lastUpdated}
|
|
16
|
+
<p>Last updated: {pageMeta.lastUpdated}</p>
|
|
17
|
+
{/if}
|
|
18
|
+
{#if pageMeta.tags.length > 0}
|
|
19
|
+
<section id="article-tags">
|
|
20
|
+
Tags:
|
|
21
|
+
{#each pageMeta.tags as tag}
|
|
22
|
+
<span class="badge variant-filled">{tag}</span>
|
|
23
|
+
{/each}
|
|
24
|
+
</section>
|
|
25
|
+
{/if}
|
|
26
|
+
</hgroup>
|
|
27
|
+
|
|
28
|
+
<slot />
|
|
29
|
+
</article>
|
|
30
|
+
</div>
|
|
31
|
+
</Card>
|
|
32
|
+
|
|
33
|
+
<style>
|
|
34
|
+
hgroup {
|
|
35
|
+
margin-bottom: 1lh;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.badge {
|
|
39
|
+
margin-inline-end: 0.5em;
|
|
40
|
+
}
|
|
41
|
+
</style>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
|
+
import { type SimplePageMeta } from "..";
|
|
3
|
+
declare const __propDef: {
|
|
4
|
+
props: {
|
|
5
|
+
pageMeta: SimplePageMeta;
|
|
6
|
+
};
|
|
7
|
+
events: {
|
|
8
|
+
[evt: string]: CustomEvent<any>;
|
|
9
|
+
};
|
|
10
|
+
slots: {
|
|
11
|
+
default: {};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export type BlogTemplateProps = typeof __propDef.props;
|
|
15
|
+
export type BlogTemplateEvents = typeof __propDef.events;
|
|
16
|
+
export type BlogTemplateSlots = typeof __propDef.slots;
|
|
17
|
+
export default class BlogTemplate extends SvelteComponent<BlogTemplateProps, BlogTemplateEvents, BlogTemplateSlots> {
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -4,3 +4,4 @@ export { default as Chip } from "./chip/Chip.svelte";
|
|
|
4
4
|
export { default as PineappleSlideToggle } from "./PineappleSlideToggle.svelte";
|
|
5
5
|
export { default as SocialSection } from "./SocialSection.svelte";
|
|
6
6
|
export { default as ElementVisbilityDetector } from "./ElementVisbilityDetector.svelte";
|
|
7
|
+
export { default as BlogTemplate } from "./BlogTemplate.svelte";
|
|
@@ -5,3 +5,4 @@ export { default as Chip } from "./chip/Chip.svelte";
|
|
|
5
5
|
export { default as PineappleSlideToggle } from "./PineappleSlideToggle.svelte";
|
|
6
6
|
export { default as SocialSection } from "./SocialSection.svelte";
|
|
7
7
|
export { default as ElementVisbilityDetector } from "./ElementVisbilityDetector.svelte";
|
|
8
|
+
export { default as BlogTemplate } from "./BlogTemplate.svelte";
|
|
@@ -40,6 +40,43 @@ export interface PageMeta {
|
|
|
40
40
|
*/
|
|
41
41
|
title: string;
|
|
42
42
|
}
|
|
43
|
+
export interface SimplePageMeta {
|
|
44
|
+
datePublished?: string;
|
|
45
|
+
description?: string;
|
|
46
|
+
imageAlt?: string;
|
|
47
|
+
/**
|
|
48
|
+
* imageID is an ID that NavigationComponent can use to identify imported images
|
|
49
|
+
*
|
|
50
|
+
* To use imageID:
|
|
51
|
+
* 1. Add the imageID entry to the meta.json for the page
|
|
52
|
+
* 2. Create a typescript file with the variable ImageMap: Map<string, string>
|
|
53
|
+
* 3. Add a new entry with your imageID as key, and the image url as the value. Since this is
|
|
54
|
+
* Typescript, you can use import ImageUrl from "./path.png" as you would normally do.N
|
|
55
|
+
* 4. Add ImageMap as an argument to your NavigationComponent.
|
|
56
|
+
* Overall, this involves four files
|
|
57
|
+
* - Your navigation page: ./+page.svelte
|
|
58
|
+
* - Your image map typescript: ImageMap.ts
|
|
59
|
+
* - The page you want with an image represented in the navigation: ./topic1/+page.svelte
|
|
60
|
+
* - The meta for that page: ./topic1/meta.json
|
|
61
|
+
*
|
|
62
|
+
* imageID takes precedence over imageURL
|
|
63
|
+
*/
|
|
64
|
+
imageID?: string;
|
|
65
|
+
/**
|
|
66
|
+
* imageURL is only limited to absolute paths (includes files in static folder)
|
|
67
|
+
*
|
|
68
|
+
* if imageID is defined, this will be ignored
|
|
69
|
+
*/
|
|
70
|
+
imageUrl?: string;
|
|
71
|
+
lastUpdated?: string;
|
|
72
|
+
shouldGroup?: boolean;
|
|
73
|
+
shouldHide?: boolean;
|
|
74
|
+
tags: string[];
|
|
75
|
+
/**
|
|
76
|
+
* title defaults to the directory name if it's an empty string.
|
|
77
|
+
*/
|
|
78
|
+
title: string;
|
|
79
|
+
}
|
|
43
80
|
/**
|
|
44
81
|
* todo: doc
|
|
45
82
|
* @param parentList
|
|
@@ -17,6 +17,7 @@ import { Chip } from "../../index";
|
|
|
17
17
|
import ChumBucket from "./ChumBucket.svelte";
|
|
18
18
|
export let seaweedTemplateData;
|
|
19
19
|
export let projectFirstGroupedEntries;
|
|
20
|
+
export let getAllEntryFromGlobal;
|
|
20
21
|
export let getEntryFromGlobal;
|
|
21
22
|
export let letChaos = true;
|
|
22
23
|
export let name = "Turnip";
|
|
@@ -244,6 +245,8 @@ $:
|
|
|
244
245
|
<EntryOrderConfig bind:seaweedEntries={seaweedTemplateData.groupedEntries}
|
|
245
246
|
seaweedTemplateData={seaweedTemplateData}
|
|
246
247
|
bind:orderUrl={orderUrl}
|
|
248
|
+
getAllEntryFromGlobal={getAllEntryFromGlobal}
|
|
249
|
+
getEntryFromGlobal={getEntryFromGlobal}
|
|
247
250
|
updateUrl={updateUrl}></EntryOrderConfig>
|
|
248
251
|
|
|
249
252
|
<br>
|
|
@@ -6,6 +6,7 @@ declare const __propDef: {
|
|
|
6
6
|
props: {
|
|
7
7
|
seaweedTemplateData: SeaweedTemplateData;
|
|
8
8
|
projectFirstGroupedEntries: ReadonlyArray<EntryGroup>;
|
|
9
|
+
getAllEntryFromGlobal: () => Map<string, ComponentMeta>;
|
|
9
10
|
getEntryFromGlobal: (name: string) => undefined | ComponentMeta;
|
|
10
11
|
letChaos?: boolean | undefined;
|
|
11
12
|
name?: string | undefined;
|
|
@@ -5,109 +5,109 @@ import ElementVisibilityDetector from "../../../components/ElementVisbilityDetec
|
|
|
5
5
|
export let entryProps;
|
|
6
6
|
export let isVisible;
|
|
7
7
|
let { email, letChaos, linkedinSlug, name } = entryProps;
|
|
8
|
-
</script>
|
|
9
|
-
|
|
10
|
-
<div class="experience-and-about-div">
|
|
11
|
-
|
|
12
|
-
<div class="greater-about-div">
|
|
13
|
-
|
|
14
|
-
<Card includeDataNoSnippet={false}>
|
|
15
|
-
<section class="section-card" slot="content">
|
|
16
|
-
|
|
17
|
-
<h1>About</h1>
|
|
18
|
-
|
|
19
|
-
<p>
|
|
20
|
-
Hi! My name is {name}! I work as a software developer. Outside of that, I like making games, and
|
|
21
|
-
trying to do everything in between required to make one. I have some showcased below, our visit
|
|
22
|
-
my itch.io page for more of them.
|
|
23
|
-
</p>
|
|
24
|
-
<!-- todo: link the degree details idk -->
|
|
25
|
-
<p>
|
|
26
|
-
I also graduated with BS Computing Science, Specializing in Software Practice, and a
|
|
27
|
-
certificate in Computer Game Development at University of Alberta.
|
|
28
|
-
</p>
|
|
29
|
-
{#if entryProps.seaweedTemplateData.shouldAddFunNote}
|
|
30
|
-
<p>
|
|
31
|
-
I'm inspired by games like Harvest Moon: Friends of Mineral Town, Rune Factory 4, Theatrhythm,
|
|
32
|
-
Bravely Default: Flying Fairy, Boku no Natsuyasumi 2, and A Short Hike.
|
|
33
|
-
</p>
|
|
34
|
-
{/if}
|
|
35
|
-
|
|
36
|
-
<!-- todo: maybe put cute stuff here -->
|
|
37
|
-
<!-- </ToggleableContent>-->
|
|
38
|
-
</section>
|
|
39
|
-
</Card>
|
|
40
|
-
|
|
41
|
-
<Card>
|
|
42
|
-
<section class="section-card" slot="content">
|
|
43
|
-
<SocialSection email={email} linkedinSlug={linkedinSlug}></SocialSection>
|
|
44
|
-
<ElementVisibilityDetector bind:isVisible={isVisible}>
|
|
45
|
-
</ElementVisibilityDetector>
|
|
46
|
-
</section>
|
|
47
|
-
</Card>
|
|
48
|
-
|
|
49
|
-
</div>
|
|
50
|
-
|
|
51
|
-
<Card>
|
|
52
|
-
<section class="section-card" slot="content">
|
|
53
|
-
<h1>Experience</h1>
|
|
54
|
-
|
|
55
|
-
<h2>Highlight</h2>
|
|
56
|
-
<p>I like French Fries</p>
|
|
57
|
-
|
|
58
|
-
<h2>Software Engineer</h2>
|
|
59
|
-
<div class="two-column-separated">
|
|
60
|
-
<div>July 2023 – January 2024</div>
|
|
61
|
-
<div style="text-align: end">Control, Remote</div>
|
|
62
|
-
</div>
|
|
63
|
-
<ul>
|
|
64
|
-
<li>
|
|
65
|
-
Developed things
|
|
66
|
-
</li>
|
|
67
|
-
<li>
|
|
68
|
-
Woah
|
|
69
|
-
</li>
|
|
70
|
-
</ul>
|
|
71
|
-
<br>
|
|
72
|
-
|
|
73
|
-
<h2>Software Engineer Intern</h2>
|
|
74
|
-
<div class="two-column-separated">
|
|
75
|
-
<div>May 2022 – Aug 2022</div>
|
|
76
|
-
<div style="text-align: end">Pou Company</div>
|
|
77
|
-
</div>
|
|
78
|
-
<ul>
|
|
79
|
-
<li>
|
|
80
|
-
Stuff
|
|
81
|
-
</li>
|
|
82
|
-
<li>
|
|
83
|
-
Golang
|
|
84
|
-
</li>
|
|
85
|
-
</ul>
|
|
86
|
-
<br>
|
|
87
|
-
<!-- todo: turn off flashing when accordion is expanded -->
|
|
88
|
-
<Accordion>
|
|
89
|
-
<AccordionItem>
|
|
90
|
-
<div slot="summary">
|
|
91
|
-
<h2 class="accordion-header">More experience</h2>
|
|
92
|
-
</div>
|
|
93
|
-
<svelte:fragment slot="content">
|
|
94
|
-
<section class="more-section">
|
|
95
|
-
<h2>Software Engineer Intern</h2>
|
|
96
|
-
<div class="two-column-separated">
|
|
97
|
-
<div>May 2021 – Dec 2021</div>
|
|
98
|
-
<div style="text-align: end">Testing</div>
|
|
99
|
-
</div>
|
|
100
|
-
<ul>
|
|
101
|
-
<li>
|
|
102
|
-
Amazing
|
|
103
|
-
</li>
|
|
104
|
-
</ul>
|
|
105
|
-
<br>
|
|
106
|
-
</section>
|
|
107
|
-
</svelte:fragment>
|
|
108
|
-
</AccordionItem>
|
|
109
|
-
</Accordion>
|
|
110
|
-
</section>
|
|
111
|
-
</Card>
|
|
112
|
-
|
|
8
|
+
</script>
|
|
9
|
+
|
|
10
|
+
<div class="experience-and-about-div">
|
|
11
|
+
|
|
12
|
+
<div class="greater-about-div">
|
|
13
|
+
|
|
14
|
+
<Card includeDataNoSnippet={false}>
|
|
15
|
+
<section class="section-card" slot="content">
|
|
16
|
+
|
|
17
|
+
<h1>About</h1>
|
|
18
|
+
|
|
19
|
+
<p>
|
|
20
|
+
Hi! My name is {name}! I work as a software developer. Outside of that, I like making games, and
|
|
21
|
+
trying to do everything in between required to make one. I have some showcased below, our visit
|
|
22
|
+
my itch.io page for more of them.
|
|
23
|
+
</p>
|
|
24
|
+
<!-- todo: link the degree details idk -->
|
|
25
|
+
<p>
|
|
26
|
+
I also graduated with BS Computing Science, Specializing in Software Practice, and a
|
|
27
|
+
certificate in Computer Game Development at University of Alberta.
|
|
28
|
+
</p>
|
|
29
|
+
{#if entryProps.seaweedTemplateData.shouldAddFunNote}
|
|
30
|
+
<p>
|
|
31
|
+
I'm inspired by games like Harvest Moon: Friends of Mineral Town, Rune Factory 4, Theatrhythm,
|
|
32
|
+
Bravely Default: Flying Fairy, Boku no Natsuyasumi 2, and A Short Hike.
|
|
33
|
+
</p>
|
|
34
|
+
{/if}
|
|
35
|
+
|
|
36
|
+
<!-- todo: maybe put cute stuff here -->
|
|
37
|
+
<!-- </ToggleableContent>-->
|
|
38
|
+
</section>
|
|
39
|
+
</Card>
|
|
40
|
+
|
|
41
|
+
<Card>
|
|
42
|
+
<section class="section-card" slot="content">
|
|
43
|
+
<SocialSection email={email} linkedinSlug={linkedinSlug}></SocialSection>
|
|
44
|
+
<ElementVisibilityDetector bind:isVisible={isVisible}>
|
|
45
|
+
</ElementVisibilityDetector>
|
|
46
|
+
</section>
|
|
47
|
+
</Card>
|
|
48
|
+
|
|
49
|
+
</div>
|
|
50
|
+
|
|
51
|
+
<Card>
|
|
52
|
+
<section class="section-card" slot="content">
|
|
53
|
+
<h1>Experience</h1>
|
|
54
|
+
|
|
55
|
+
<h2>Highlight</h2>
|
|
56
|
+
<p>I like French Fries</p>
|
|
57
|
+
|
|
58
|
+
<h2>Software Engineer</h2>
|
|
59
|
+
<div class="two-column-separated">
|
|
60
|
+
<div>July 2023 – January 2024</div>
|
|
61
|
+
<div style="text-align: end">Control, Remote</div>
|
|
62
|
+
</div>
|
|
63
|
+
<ul>
|
|
64
|
+
<li>
|
|
65
|
+
Developed things
|
|
66
|
+
</li>
|
|
67
|
+
<li>
|
|
68
|
+
Woah
|
|
69
|
+
</li>
|
|
70
|
+
</ul>
|
|
71
|
+
<br>
|
|
72
|
+
|
|
73
|
+
<h2>Software Engineer Intern</h2>
|
|
74
|
+
<div class="two-column-separated">
|
|
75
|
+
<div>May 2022 – Aug 2022</div>
|
|
76
|
+
<div style="text-align: end">Pou Company</div>
|
|
77
|
+
</div>
|
|
78
|
+
<ul>
|
|
79
|
+
<li>
|
|
80
|
+
Stuff
|
|
81
|
+
</li>
|
|
82
|
+
<li>
|
|
83
|
+
Golang
|
|
84
|
+
</li>
|
|
85
|
+
</ul>
|
|
86
|
+
<br>
|
|
87
|
+
<!-- todo: turn off flashing when accordion is expanded -->
|
|
88
|
+
<Accordion>
|
|
89
|
+
<AccordionItem>
|
|
90
|
+
<div slot="summary">
|
|
91
|
+
<h2 class="accordion-header">More experience</h2>
|
|
92
|
+
</div>
|
|
93
|
+
<svelte:fragment slot="content">
|
|
94
|
+
<section class="more-section">
|
|
95
|
+
<h2>Software Engineer Intern</h2>
|
|
96
|
+
<div class="two-column-separated">
|
|
97
|
+
<div>May 2021 – Dec 2021</div>
|
|
98
|
+
<div style="text-align: end">Testing</div>
|
|
99
|
+
</div>
|
|
100
|
+
<ul>
|
|
101
|
+
<li>
|
|
102
|
+
Amazing
|
|
103
|
+
</li>
|
|
104
|
+
</ul>
|
|
105
|
+
<br>
|
|
106
|
+
</section>
|
|
107
|
+
</svelte:fragment>
|
|
108
|
+
</AccordionItem>
|
|
109
|
+
</Accordion>
|
|
110
|
+
</section>
|
|
111
|
+
</Card>
|
|
112
|
+
|
|
113
113
|
</div>
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
<script>import {
|
|
2
|
-
GetAllEntryFromGlobal,
|
|
3
|
-
GetEntryFromGlobal
|
|
4
2
|
} from "../SeaweedTemplateData";
|
|
5
3
|
import { removeProxyWrapperOnString } from "./EntryOrderConfig";
|
|
6
4
|
import ComboBoxWithButton from "../../../components/combo_box/ComboBoxWithButton.svelte";
|
|
@@ -11,6 +9,8 @@ export let seaweedTemplateData;
|
|
|
11
9
|
export let seaweedEntries;
|
|
12
10
|
export let orderUrl;
|
|
13
11
|
export let updateUrl;
|
|
12
|
+
export let getAllEntryFromGlobal;
|
|
13
|
+
export let getEntryFromGlobal;
|
|
14
14
|
const updateOrderQuery = () => {
|
|
15
15
|
orderUrl = "order=" + seaweedEntries.map((g) => {
|
|
16
16
|
const groupUrl = g.items.map(
|
|
@@ -22,7 +22,7 @@ const updateOrderQuery = () => {
|
|
|
22
22
|
};
|
|
23
23
|
const addEntry = (group) => {
|
|
24
24
|
return (selected) => {
|
|
25
|
-
const c =
|
|
25
|
+
const c = getEntryFromGlobal(selected);
|
|
26
26
|
if (c) {
|
|
27
27
|
group.items.push(c);
|
|
28
28
|
seaweedEntries = seaweedEntries;
|
|
@@ -87,7 +87,7 @@ const removeEntry = (entry, group) => {
|
|
|
87
87
|
}
|
|
88
88
|
};
|
|
89
89
|
};
|
|
90
|
-
const allDefaultEntries = Array.from(
|
|
90
|
+
const allDefaultEntries = Array.from(getAllEntryFromGlobal().keys());
|
|
91
91
|
</script>
|
|
92
92
|
|
|
93
93
|
<br>
|
package/.svelte-kit/__package__/template/seaweed/entry_order_config/EntryOrderConfig.svelte.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SvelteComponent } from "svelte";
|
|
2
|
-
import { type EntryGroup, type SeaweedTemplateData } from "../SeaweedTemplateData";
|
|
2
|
+
import { type ComponentMeta, type EntryGroup, type SeaweedTemplateData } from "../SeaweedTemplateData";
|
|
3
3
|
import "./entry-order-config.postcss";
|
|
4
4
|
declare const __propDef: {
|
|
5
5
|
props: {
|
|
@@ -7,6 +7,8 @@ declare const __propDef: {
|
|
|
7
7
|
seaweedEntries: EntryGroup[];
|
|
8
8
|
orderUrl: string;
|
|
9
9
|
updateUrl: (data: SeaweedTemplateData) => void;
|
|
10
|
+
getAllEntryFromGlobal: () => Map<string, ComponentMeta>;
|
|
11
|
+
getEntryFromGlobal: (s: string) => ComponentMeta | undefined;
|
|
10
12
|
};
|
|
11
13
|
events: {
|
|
12
14
|
[evt: string]: CustomEvent<any>;
|
package/.svelte-kit/ambient.d.ts
CHANGED
|
@@ -37,6 +37,8 @@ declare module '$env/static/private' {
|
|
|
37
37
|
export const COMSPEC: string;
|
|
38
38
|
export const DriverData: string;
|
|
39
39
|
export const EXEPATH: string;
|
|
40
|
+
export const FPS_BROWSER_APP_PROFILE_STRING: string;
|
|
41
|
+
export const FPS_BROWSER_USER_PROFILE_STRING: string;
|
|
40
42
|
export const GIT_XL_PATH: string;
|
|
41
43
|
export const GoLand: string;
|
|
42
44
|
export const GOPATH: string;
|
|
@@ -225,6 +227,8 @@ declare module '$env/dynamic/private' {
|
|
|
225
227
|
COMSPEC: string;
|
|
226
228
|
DriverData: string;
|
|
227
229
|
EXEPATH: string;
|
|
230
|
+
FPS_BROWSER_APP_PROFILE_STRING: string;
|
|
231
|
+
FPS_BROWSER_USER_PROFILE_STRING: string;
|
|
228
232
|
GIT_XL_PATH: string;
|
|
229
233
|
GoLand: string;
|
|
230
234
|
GOPATH: string;
|
|
@@ -21,7 +21,7 @@ export const options = {
|
|
|
21
21
|
app: ({ head, body, assets, nonce, env }) => "<!DOCTYPE html>\n<html lang=\"en\">\n\t<head>\n\t\t<meta charset=\"utf-8\" />\n\t\t<link rel=\"icon\" href=\"" + assets + "/favicon.png\" />\n\t\t<meta name=\"viewport\" content=\"width=device-width\" />\n\t\t" + head + "\n\t</head>\n\n\t<body data-sveltekit-preload-data=\"hover\" data-theme=\"crimson\">\n\t\t<div style=\"display: contents\" class=\"h-full overflow-hidden\">" + body + "</div>\n\t</body>\n</html>\n",
|
|
22
22
|
error: ({ status, message }) => "<!doctype html>\n<html lang=\"en\">\n\t<head>\n\t\t<meta charset=\"utf-8\" />\n\t\t<title>" + message + "</title>\n\n\t\t<style>\n\t\t\tbody {\n\t\t\t\t--bg: white;\n\t\t\t\t--fg: #222;\n\t\t\t\t--divider: #ccc;\n\t\t\t\tbackground: var(--bg);\n\t\t\t\tcolor: var(--fg);\n\t\t\t\tfont-family:\n\t\t\t\t\tsystem-ui,\n\t\t\t\t\t-apple-system,\n\t\t\t\t\tBlinkMacSystemFont,\n\t\t\t\t\t'Segoe UI',\n\t\t\t\t\tRoboto,\n\t\t\t\t\tOxygen,\n\t\t\t\t\tUbuntu,\n\t\t\t\t\tCantarell,\n\t\t\t\t\t'Open Sans',\n\t\t\t\t\t'Helvetica Neue',\n\t\t\t\t\tsans-serif;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tjustify-content: center;\n\t\t\t\theight: 100vh;\n\t\t\t\tmargin: 0;\n\t\t\t}\n\n\t\t\t.error {\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tmax-width: 32rem;\n\t\t\t\tmargin: 0 1rem;\n\t\t\t}\n\n\t\t\t.status {\n\t\t\t\tfont-weight: 200;\n\t\t\t\tfont-size: 3rem;\n\t\t\t\tline-height: 1;\n\t\t\t\tposition: relative;\n\t\t\t\ttop: -0.05rem;\n\t\t\t}\n\n\t\t\t.message {\n\t\t\t\tborder-left: 1px solid var(--divider);\n\t\t\t\tpadding: 0 0 0 1rem;\n\t\t\t\tmargin: 0 0 0 1rem;\n\t\t\t\tmin-height: 2.5rem;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t}\n\n\t\t\t.message h1 {\n\t\t\t\tfont-weight: 400;\n\t\t\t\tfont-size: 1em;\n\t\t\t\tmargin: 0;\n\t\t\t}\n\n\t\t\t@media (prefers-color-scheme: dark) {\n\t\t\t\tbody {\n\t\t\t\t\t--bg: #222;\n\t\t\t\t\t--fg: #ddd;\n\t\t\t\t\t--divider: #666;\n\t\t\t\t}\n\t\t\t}\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<div class=\"error\">\n\t\t\t<span class=\"status\">" + status + "</span>\n\t\t\t<div class=\"message\">\n\t\t\t\t<h1>" + message + "</h1>\n\t\t\t</div>\n\t\t</div>\n\t</body>\n</html>\n"
|
|
23
23
|
},
|
|
24
|
-
version_hash: "
|
|
24
|
+
version_hash: "1dmipqv"
|
|
25
25
|
};
|
|
26
26
|
|
|
27
27
|
export async function get_hooks() {
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
<script xmlns="http://www.w3.org/1999/html">import { Card } from "..";
|
|
2
|
+
export let pageMeta;
|
|
3
|
+
</script>
|
|
4
|
+
|
|
5
|
+
<Card>
|
|
6
|
+
<div slot="content" class="default-card">
|
|
7
|
+
<article>
|
|
8
|
+
<hgroup>
|
|
9
|
+
{#if pageMeta.title}
|
|
10
|
+
<h1>{pageMeta.title}</h1>
|
|
11
|
+
{/if}
|
|
12
|
+
{#if pageMeta.datePublished}
|
|
13
|
+
<p>Published: {pageMeta.datePublished}</p>
|
|
14
|
+
{/if}
|
|
15
|
+
{#if pageMeta.lastUpdated}
|
|
16
|
+
<p>Last updated: {pageMeta.lastUpdated}</p>
|
|
17
|
+
{/if}
|
|
18
|
+
{#if pageMeta.tags.length > 0}
|
|
19
|
+
<section id="article-tags">
|
|
20
|
+
Tags:
|
|
21
|
+
{#each pageMeta.tags as tag}
|
|
22
|
+
<span class="badge variant-filled">{tag}</span>
|
|
23
|
+
{/each}
|
|
24
|
+
</section>
|
|
25
|
+
{/if}
|
|
26
|
+
</hgroup>
|
|
27
|
+
|
|
28
|
+
<slot />
|
|
29
|
+
</article>
|
|
30
|
+
</div>
|
|
31
|
+
</Card>
|
|
32
|
+
|
|
33
|
+
<style>
|
|
34
|
+
hgroup {
|
|
35
|
+
margin-bottom: 1lh;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.badge {
|
|
39
|
+
margin-inline-end: 0.5em;
|
|
40
|
+
}
|
|
41
|
+
</style>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
|
+
import { type SimplePageMeta } from "..";
|
|
3
|
+
declare const __propDef: {
|
|
4
|
+
props: {
|
|
5
|
+
pageMeta: SimplePageMeta;
|
|
6
|
+
};
|
|
7
|
+
events: {
|
|
8
|
+
[evt: string]: CustomEvent<any>;
|
|
9
|
+
};
|
|
10
|
+
slots: {
|
|
11
|
+
default: {};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export type BlogTemplateProps = typeof __propDef.props;
|
|
15
|
+
export type BlogTemplateEvents = typeof __propDef.events;
|
|
16
|
+
export type BlogTemplateSlots = typeof __propDef.slots;
|
|
17
|
+
export default class BlogTemplate extends SvelteComponent<BlogTemplateProps, BlogTemplateEvents, BlogTemplateSlots> {
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -4,3 +4,4 @@ export { default as Chip } from "./chip/Chip.svelte";
|
|
|
4
4
|
export { default as PineappleSlideToggle } from "./PineappleSlideToggle.svelte";
|
|
5
5
|
export { default as SocialSection } from "./SocialSection.svelte";
|
|
6
6
|
export { default as ElementVisbilityDetector } from "./ElementVisbilityDetector.svelte";
|
|
7
|
+
export { default as BlogTemplate } from "./BlogTemplate.svelte";
|
package/dist/components/index.js
CHANGED
|
@@ -5,3 +5,4 @@ export { default as Chip } from "./chip/Chip.svelte";
|
|
|
5
5
|
export { default as PineappleSlideToggle } from "./PineappleSlideToggle.svelte";
|
|
6
6
|
export { default as SocialSection } from "./SocialSection.svelte";
|
|
7
7
|
export { default as ElementVisbilityDetector } from "./ElementVisbilityDetector.svelte";
|
|
8
|
+
export { default as BlogTemplate } from "./BlogTemplate.svelte";
|