@turnipxenon/pineapple 3.0.0-alpha.9 → 3.1.0-alpha.1
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/dist/components/blog_template/BlogTemplate.svelte +2 -2
- package/dist/components/blog_template/BlogTemplate.svelte.d.ts +1 -1
- package/dist/components/blog_template/BlogTemplateInner.svelte +1 -1
- package/dist/components/blog_template/BlogTemplateInner.svelte.d.ts +1 -1
- package/dist/components/dialog_manager/DialogManager.d.ts +2 -1
- package/dist/components/dialog_manager/DialogMangerInit.d.ts +2 -15
- package/dist/components/dialog_manager/DialogMangerInit.js +8 -2
- package/dist/components/dialog_manager/IDialogManager.d.ts +39 -0
- package/dist/components/dialog_manager/IDialogManager.js +4 -0
- package/dist/components/dialog_manager/behavior_tree/line_processors/commands/JumpCommand.d.ts +3 -0
- package/dist/components/dialog_manager/behavior_tree/line_processors/commands/JumpCommand.js +15 -3
- package/dist/components/dialog_overlay/DialogOverlay.svelte +155 -36
- package/dist/components/layouts/SeaweedBaseLayout.svelte +0 -6
- package/dist/components/pineapple/PineappleBaseLayout.svelte +2 -21
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -3
- package/dist/styles/app.css +9 -14
- package/dist/ui/components/ModalBase.svelte +74 -74
- package/dist/ui/components/SocialSection.svelte +6 -2
- package/dist/ui/components/accordion/PinyaAccordion.svelte +20 -20
- package/dist/ui/components/accordion/PinyaAccordionItem.svelte +28 -28
- package/dist/ui/elements/CodeBlock/CodeBlock.svelte +64 -64
- package/dist/ui/elements/ImageIcon.svelte +53 -53
- package/dist/ui/elements/{pinya-button/component.svelte → PinyaButton/PinyaButton.svelte} +4 -3
- package/dist/ui/elements/PinyaButton/PinyaButton.svelte.d.ts +4 -0
- package/dist/ui/elements/{pinya-button/props.d.ts → PinyaButton/PinyaButtonProps.d.ts} +1 -0
- package/dist/ui/elements/PinyaButton/index.d.ts +2 -0
- package/dist/ui/elements/PinyaButton/index.js +2 -0
- package/dist/ui/elements/{pinya-card/component.svelte → PinyaCard/PinyaCard.svelte} +21 -20
- package/dist/ui/elements/PinyaCard/PinyaCard.svelte.d.ts +7 -0
- package/dist/ui/elements/PinyaCard/index.d.ts +2 -0
- package/dist/ui/elements/PinyaCard/index.js +2 -0
- package/dist/ui/elements/Placeholder.svelte +17 -17
- package/dist/ui/elements/TextLink.svelte +16 -16
- package/dist/ui/elements/index.d.ts +2 -2
- package/dist/ui/elements/index.js +2 -2
- package/dist/ui/elements/pinya-combobox/PinyaCombobox.svelte +34 -34
- package/dist/ui/elements/pinya-combobox/PinyaComboboxProps.d.ts +1 -0
- package/dist/ui/elements/text-chip/TextChip.svelte +14 -14
- package/dist/{components/navigation_component → ui/modules/NavigationMenu}/NavigationControl.svelte +24 -20
- package/dist/{components/navigation_component/NavigationComponent.svelte → ui/modules/NavigationMenu/NavigationMenu.svelte} +69 -43
- package/dist/{components/navigation_component/NavigationComponent.svelte.d.ts → ui/modules/NavigationMenu/NavigationMenu.svelte.d.ts} +6 -6
- package/dist/{components/navigation_component → ui/modules/NavigationMenu}/PageMeta.d.ts +4 -4
- package/dist/ui/modules/NavigationMenu/index.d.ts +2 -0
- package/dist/ui/modules/NavigationMenu/index.js +2 -0
- package/dist/ui/modules/index.d.ts +1 -1
- package/dist/ui/modules/index.js +1 -1
- package/dist/ui/modules/modals/general-settings/GeneralSettingsModal.svelte +109 -109
- package/dist/ui/modules/modals/general-settings/LanguagePicker.svelte +42 -37
- package/dist/ui/modules/projects/Hepcat.svelte +6 -4
- package/dist/ui/modules/projects/Hepcat.svelte.d.ts +1 -1
- package/dist/ui/modules/projects/Pengi.svelte +61 -59
- package/dist/ui/modules/projects/Pengi.svelte.d.ts +1 -1
- package/dist/ui/modules/projects/Soulwork.svelte +7 -5
- package/dist/ui/modules/projects/ThisWebpage.svelte +19 -16
- package/dist/ui/modules/projects/ThisWebpage.svelte.d.ts +1 -1
- package/dist/ui/templates/{pinya-page-layout/component.svelte → PinyaPageLayout/PinyaPageLayout.svelte} +1 -1
- package/dist/ui/templates/PinyaPageLayout/PinyaPageLayout.svelte.d.ts +9 -0
- package/dist/ui/templates/PinyaPageLayout/index.d.ts +2 -0
- package/dist/ui/templates/PinyaPageLayout/index.js +2 -0
- package/dist/ui/templates/{pinya-page-layout → PinyaPageLayout}/runes.svelte.d.ts +3 -0
- package/dist/ui/templates/PinyaPageLayout/runes.svelte.js +4 -0
- package/dist/ui/{modules/seaweed → templates/SeaweedLayout}/ChumBucket.svelte +1 -1
- package/dist/{template/seaweed → ui/templates/SeaweedLayout}/CreateUrlForm.svelte +2 -2
- package/dist/ui/templates/{seaweed-layout → SeaweedLayout}/EntryGroup.svelte +65 -88
- package/dist/ui/templates/SeaweedLayout/EntryOrderConfig.svelte.d.ts +9 -0
- package/dist/ui/templates/{seaweed-layout → SeaweedLayout}/ProjectComponentProps.d.ts +1 -0
- package/dist/ui/templates/{seaweed-layout → SeaweedLayout}/ProjectGroupConfig.svelte +316 -316
- package/dist/ui/templates/{seaweed-layout → SeaweedLayout}/ProjectGroupConfig.svelte.d.ts +1 -1
- package/dist/ui/templates/{seaweed-layout → SeaweedLayout}/SeaweedLayout.md +3 -3
- package/dist/ui/templates/{seaweed-layout → SeaweedLayout}/SeaweedLayout.svelte +278 -276
- package/dist/ui/templates/{seaweed-layout → SeaweedLayout}/props.d.ts +2 -2
- package/dist/ui/templates/confirmation-modal/component.svelte +46 -46
- package/dist/ui/templates/index.d.ts +2 -2
- package/dist/ui/templates/index.js +2 -2
- package/package.json +3 -2
- package/src/lib/styles/app.css +9 -14
- package/dist/components/navigation_component/index.d.ts +0 -2
- package/dist/components/navigation_component/index.js +0 -3
- package/dist/template/seaweed/ParseQueryTerms.d.ts +0 -1
- package/dist/template/seaweed/ParseQueryTerms.js +0 -23
- package/dist/template/seaweed/RunChaos.d.ts +0 -1
- package/dist/template/seaweed/RunChaos.js +0 -41
- package/dist/template/seaweed/SeaweedTemplate.svelte +0 -336
- package/dist/template/seaweed/SeaweedTemplate.svelte.d.ts +0 -32
- package/dist/template/seaweed/SeaweedTemplateData.d.ts +0 -30
- package/dist/template/seaweed/SeaweedTemplateData.js +0 -79
- package/dist/template/seaweed/entries/ChefWings.svelte +0 -45
- package/dist/template/seaweed/entries/ChefWings.svelte.d.ts +0 -7
- package/dist/template/seaweed/entries/CustomizedYarnspinner.svelte +0 -40
- package/dist/template/seaweed/entries/CustomizedYarnspinner.svelte.d.ts +0 -7
- package/dist/template/seaweed/entries/EntryProps.d.ts +0 -16
- package/dist/template/seaweed/entries/EntryProps.js +0 -5
- package/dist/template/seaweed/entries/Hepcat.svelte +0 -64
- package/dist/template/seaweed/entries/Hepcat.svelte.d.ts +0 -7
- package/dist/template/seaweed/entries/Pengi.svelte +0 -57
- package/dist/template/seaweed/entries/Pengi.svelte.d.ts +0 -7
- package/dist/template/seaweed/entries/Soulwork.svelte +0 -54
- package/dist/template/seaweed/entries/Soulwork.svelte.d.ts +0 -7
- package/dist/template/seaweed/entries/ThisWebpage.svelte +0 -55
- package/dist/template/seaweed/entries/ThisWebpage.svelte.d.ts +0 -7
- package/dist/template/seaweed/entries/WorkExperience.svelte +0 -130
- package/dist/template/seaweed/entries/WorkExperience.svelte.d.ts +0 -8
- package/dist/template/seaweed/entries/Workset.svelte +0 -57
- package/dist/template/seaweed/entries/Workset.svelte.d.ts +0 -7
- package/dist/template/seaweed/entry_order_config/EntryOrderConfig.d.ts +0 -1
- package/dist/template/seaweed/entry_order_config/EntryOrderConfig.js +0 -8
- package/dist/template/seaweed/entry_order_config/EntryOrderConfig.svelte +0 -297
- package/dist/template/seaweed/entry_order_config/EntryOrderConfig.svelte.d.ts +0 -12
- package/dist/template/seaweed/entry_order_config/entry-order-config.postcss +0 -35
- package/dist/template/seaweed/index.d.ts +0 -4
- package/dist/template/seaweed/index.js +0 -4
- package/dist/template/seaweed/seaweed.postcss +0 -125
- package/dist/ui/elements/pinya-button/component.svelte.d.ts +0 -4
- package/dist/ui/elements/pinya-button/index.d.ts +0 -2
- package/dist/ui/elements/pinya-button/index.js +0 -2
- package/dist/ui/elements/pinya-card/component.svelte.d.ts +0 -7
- package/dist/ui/elements/pinya-card/index.d.ts +0 -2
- package/dist/ui/elements/pinya-card/index.js +0 -2
- package/dist/ui/modules/seaweed/index.d.ts +0 -3
- package/dist/ui/modules/seaweed/index.js +0 -4
- package/dist/ui/templates/pinya-page-layout/component.svelte.d.ts +0 -9
- package/dist/ui/templates/pinya-page-layout/index.d.ts +0 -2
- package/dist/ui/templates/pinya-page-layout/index.js +0 -2
- package/dist/ui/templates/pinya-page-layout/runes.svelte.js +0 -3
- package/dist/ui/templates/seaweed-layout/EntryOrderConfig2.svelte.d.ts +0 -9
- /package/dist/ui/elements/{pinya-button/props.js → PinyaButton/PinyaButtonProps.js} +0 -0
- /package/dist/ui/elements/{pinya-card/props.d.ts → PinyaCard/PinyaCardProps.d.ts} +0 -0
- /package/dist/{template/seaweed/ToastSettings.js → ui/elements/PinyaCard/PinyaCardProps.js} +0 -0
- /package/dist/{components/navigation_component → ui/modules/NavigationMenu}/NavigationControl.svelte.d.ts +0 -0
- /package/dist/{components/navigation_component → ui/modules/NavigationMenu}/PageMeta.js +0 -0
- /package/dist/ui/{modules/seaweed → templates/SeaweedLayout}/ChumBucket.svelte.d.ts +0 -0
- /package/dist/{template/seaweed → ui/templates/SeaweedLayout}/CreateUrlForm.svelte.d.ts +0 -0
- /package/dist/ui/templates/{seaweed-layout → SeaweedLayout}/EntryGroup.svelte.d.ts +0 -0
- /package/dist/ui/templates/{seaweed-layout/EntryOrderConfig2.svelte → SeaweedLayout/EntryOrderConfig.svelte} +0 -0
- /package/dist/ui/templates/{seaweed-layout → SeaweedLayout}/ProjectComponentProps.js +0 -0
- /package/dist/ui/templates/{seaweed-layout → SeaweedLayout}/SeaweedLayout.svelte.d.ts +0 -0
- /package/dist/{template/seaweed → ui/templates/SeaweedLayout}/ToastSettings.d.ts +0 -0
- /package/dist/ui/{elements/pinya-card/props.js → templates/SeaweedLayout/ToastSettings.js} +0 -0
- /package/dist/ui/templates/{seaweed-layout → SeaweedLayout}/index.d.ts +0 -0
- /package/dist/ui/templates/{seaweed-layout → SeaweedLayout}/index.js +0 -0
- /package/dist/ui/templates/{seaweed-layout → SeaweedLayout}/props.js +0 -0
|
@@ -1,297 +0,0 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
import {
|
|
3
|
-
type ComponentMeta,
|
|
4
|
-
type EntryGroup,
|
|
5
|
-
type SeaweedTemplateData
|
|
6
|
-
} from "../SeaweedTemplateData";
|
|
7
|
-
import { removeProxyWrapperOnString } from "./EntryOrderConfig";
|
|
8
|
-
import ComboBoxWithButton from "../../../components/combo_box/ComboBoxWithButton.svelte";
|
|
9
|
-
import CloseIcon from "../../../assets/icons/close.svg";
|
|
10
|
-
import UpwardIcon from "../../../assets/icons/arrow-upward.svg";
|
|
11
|
-
|
|
12
|
-
interface Props {
|
|
13
|
-
seaweedTemplateData: SeaweedTemplateData;
|
|
14
|
-
seaweedEntries: EntryGroup[];
|
|
15
|
-
orderUrl: string;
|
|
16
|
-
updateUrl: (data: SeaweedTemplateData) => void;
|
|
17
|
-
getAllEntryFromGlobal: () => Map<string, ComponentMeta>;
|
|
18
|
-
getEntryFromGlobal: (s: string) => ComponentMeta | undefined;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
let {
|
|
22
|
-
seaweedTemplateData,
|
|
23
|
-
seaweedEntries = $bindable(),
|
|
24
|
-
orderUrl = $bindable(),
|
|
25
|
-
updateUrl,
|
|
26
|
-
getAllEntryFromGlobal,
|
|
27
|
-
getEntryFromGlobal
|
|
28
|
-
}: Props = $props();
|
|
29
|
-
|
|
30
|
-
const updateOrderQuery = () => {
|
|
31
|
-
orderUrl = "order=" + seaweedEntries.map(g => {
|
|
32
|
-
const groupUrl = g.items.map(
|
|
33
|
-
e => removeProxyWrapperOnString(e.name)
|
|
34
|
-
).join("|");
|
|
35
|
-
return `${g.name}:${groupUrl}:${g.gridClass}`;
|
|
36
|
-
}).join(",");
|
|
37
|
-
updateUrl(seaweedTemplateData);
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
const addEntry = (group: EntryGroup): ((selected: string) => void) => {
|
|
41
|
-
return (selected: string) => {
|
|
42
|
-
const c = getEntryFromGlobal(selected);
|
|
43
|
-
if (c) {
|
|
44
|
-
group.items.push(c);
|
|
45
|
-
seaweedEntries = seaweedEntries;
|
|
46
|
-
updateOrderQuery();
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
const swapEntry = (index: number, group: EntryGroup, shouldDecrement: boolean): (() => void) => {
|
|
51
|
-
return () => {
|
|
52
|
-
let newIndex = index;
|
|
53
|
-
if (shouldDecrement && index >= 1) {
|
|
54
|
-
newIndex--;
|
|
55
|
-
} else if (!shouldDecrement && index <= group.items.length - 2) {
|
|
56
|
-
newIndex++;
|
|
57
|
-
} else {
|
|
58
|
-
return;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
const tempVar = group.items[newIndex];
|
|
62
|
-
group.items[newIndex] = group.items[index];
|
|
63
|
-
group.items[index] = tempVar;
|
|
64
|
-
seaweedEntries = seaweedEntries;
|
|
65
|
-
updateOrderQuery();
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
const swapGroups = (index: number, shouldDecrement: boolean): (() => void) => {
|
|
69
|
-
return () => {
|
|
70
|
-
let newIndex = index;
|
|
71
|
-
if (shouldDecrement && index >= 1) {
|
|
72
|
-
newIndex--;
|
|
73
|
-
} else if (!shouldDecrement && index <= seaweedEntries.length - 2) {
|
|
74
|
-
newIndex++;
|
|
75
|
-
} else {
|
|
76
|
-
return;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
const tempVar = seaweedEntries[newIndex];
|
|
80
|
-
seaweedEntries[newIndex] = seaweedEntries[index];
|
|
81
|
-
seaweedEntries[index] = tempVar;
|
|
82
|
-
seaweedEntries = seaweedEntries;
|
|
83
|
-
updateOrderQuery();
|
|
84
|
-
};
|
|
85
|
-
};
|
|
86
|
-
|
|
87
|
-
// todo: add group; we might not need it now
|
|
88
|
-
// const addGroup = (group: EntryGroup): (() => void) => {
|
|
89
|
-
// return () => {
|
|
90
|
-
// seaweedEntries.push({
|
|
91
|
-
// name: "",
|
|
92
|
-
// items: [],
|
|
93
|
-
// gridClass: GroupGridClass.Projects.toString()
|
|
94
|
-
// });
|
|
95
|
-
// updateOrderQuery();
|
|
96
|
-
// };
|
|
97
|
-
// };
|
|
98
|
-
|
|
99
|
-
const removeGroup = (group: EntryGroup): (() => void) => {
|
|
100
|
-
return () => {
|
|
101
|
-
const index = seaweedEntries.indexOf(group);
|
|
102
|
-
if (index === -1) {
|
|
103
|
-
return;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
seaweedEntries.splice(index, 1);
|
|
107
|
-
seaweedEntries = seaweedEntries;
|
|
108
|
-
updateOrderQuery();
|
|
109
|
-
};
|
|
110
|
-
};
|
|
111
|
-
const removeEntry = (entry: ComponentMeta, group: EntryGroup): (() => void) => {
|
|
112
|
-
return () => {
|
|
113
|
-
for (let i = group.items.length - 1; i >= 0; i--) {
|
|
114
|
-
if (group.items[i].name === entry.name) {
|
|
115
|
-
group.items.splice(i, 1);
|
|
116
|
-
seaweedEntries = seaweedEntries;
|
|
117
|
-
updateOrderQuery();
|
|
118
|
-
break;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
};
|
|
122
|
-
};
|
|
123
|
-
|
|
124
|
-
const allDefaultEntries = Array.from(getAllEntryFromGlobal().keys());
|
|
125
|
-
</script>
|
|
126
|
-
|
|
127
|
-
<br>
|
|
128
|
-
<h2>Site ordering</h2>
|
|
129
|
-
<blockquote>Sorry! This part of the website is still WIP, but here it is anyway. As long as it functions</blockquote>
|
|
130
|
-
|
|
131
|
-
<!-- formatting: group1:entry1|entry2,group2:entry3
|
|
132
|
-
: <= separates the group header, the entries, and the class
|
|
133
|
-
| <= separates each entries
|
|
134
|
-
, <= separates each group
|
|
135
|
-
-->
|
|
136
|
-
<div class="advanced-setting-list">
|
|
137
|
-
{#each seaweedEntries as group, groupIndex}
|
|
138
|
-
<div class="entry-group card">
|
|
139
|
-
|
|
140
|
-
<div class="-header">
|
|
141
|
-
<button title={`Remove ${group.name}`}
|
|
142
|
-
onclick={removeGroup(group)}>
|
|
143
|
-
<img class="img-icon" src={CloseIcon} alt={`Remove ${group.name}`}>
|
|
144
|
-
</button>
|
|
145
|
-
|
|
146
|
-
<button title={`Move group ${group.name} upwards`}
|
|
147
|
-
onclick={swapGroups(groupIndex, true)}
|
|
148
|
-
disabled="{groupIndex === 0}">
|
|
149
|
-
<img class="img-icon" src={UpwardIcon} alt={`Move group ${group.name} upwards`}>
|
|
150
|
-
</button>
|
|
151
|
-
|
|
152
|
-
<button title={`Move group ${group.name} downwards`}
|
|
153
|
-
disabled={groupIndex === seaweedEntries.length - 1}
|
|
154
|
-
onclick={swapGroups(groupIndex, false)}>
|
|
155
|
-
<img class="img-icon flipped-vertically" src={UpwardIcon} alt={`Move group ${group.name} downwards`}>
|
|
156
|
-
</button>
|
|
157
|
-
|
|
158
|
-
<h2>{group.name}</h2>
|
|
159
|
-
</div>
|
|
160
|
-
|
|
161
|
-
<table class="advanced-setting-list table">
|
|
162
|
-
<thead>
|
|
163
|
-
<tr>
|
|
164
|
-
<th>Entries</th>
|
|
165
|
-
</tr>
|
|
166
|
-
</thead>
|
|
167
|
-
<tbody>
|
|
168
|
-
{#each group.items as entry, entryIndex}
|
|
169
|
-
<tr class="entry-row">
|
|
170
|
-
<td class="-entry">
|
|
171
|
-
|
|
172
|
-
<button title={`Remove ${entry.name}`}
|
|
173
|
-
onclick={removeEntry(entry, group)}>
|
|
174
|
-
<img class="img-icon" src={CloseIcon} alt={`Remove ${entry.name}`}>
|
|
175
|
-
</button>
|
|
176
|
-
|
|
177
|
-
<button title={`Move ${entry.name} upwards`}
|
|
178
|
-
onclick={swapEntry(entryIndex, group, true)}
|
|
179
|
-
disabled="{entryIndex === 0}">
|
|
180
|
-
<img class="img-icon" src={UpwardIcon} alt={`Move ${entry.name} upwards`}>
|
|
181
|
-
</button>
|
|
182
|
-
|
|
183
|
-
<button title={`Move ${entry.name} downwards`}
|
|
184
|
-
disabled={entryIndex === group.items.length - 1}
|
|
185
|
-
onclick={swapEntry(entryIndex, group, false)}>
|
|
186
|
-
<img class="img-icon flipped-vertically" src={UpwardIcon} alt={`Move ${entry.name} downwards`}>
|
|
187
|
-
</button>
|
|
188
|
-
<div class="entry-name">
|
|
189
|
-
{entry.name}
|
|
190
|
-
</div>
|
|
191
|
-
</td>
|
|
192
|
-
</tr>
|
|
193
|
-
{/each}
|
|
194
|
-
</tbody>
|
|
195
|
-
|
|
196
|
-
<tfoot>
|
|
197
|
-
<tr>
|
|
198
|
-
<td>
|
|
199
|
-
<ComboBoxWithButton stringItems={allDefaultEntries}
|
|
200
|
-
onClick={addEntry(group)}></ComboBoxWithButton>
|
|
201
|
-
</td>
|
|
202
|
-
</tr>
|
|
203
|
-
</tfoot>
|
|
204
|
-
</table>
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
</div>
|
|
208
|
-
{/each}
|
|
209
|
-
</div>
|
|
210
|
-
|
|
211
|
-
<style>
|
|
212
|
-
.advanced-setting-list {
|
|
213
|
-
display: flex;
|
|
214
|
-
flex-direction: column;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
.btn-group-header {
|
|
218
|
-
@apply preset-filled-tertiary-500;
|
|
219
|
-
display: flex;
|
|
220
|
-
align-items: center;
|
|
221
|
-
margin-bottom: 0.5lh;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
.btn-group-entry {
|
|
225
|
-
@apply ;
|
|
226
|
-
display: flex;
|
|
227
|
-
padding: 0;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
.btn-group-entry > div {
|
|
231
|
-
padding: 1em;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
.flipped-vertically {
|
|
235
|
-
transform: rotate(180deg);
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
.entry-group {
|
|
239
|
-
border-radius: var(--theme-rounded-container);
|
|
240
|
-
background-color: rgb(var(--color-surface-600));
|
|
241
|
-
margin-top: 1.5lh;
|
|
242
|
-
margin-bottom: 0.5lh;
|
|
243
|
-
padding: 0.5lh 0.5em;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
.entry-row {
|
|
247
|
-
display: flex;
|
|
248
|
-
align-items: center;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
.entry-name {
|
|
252
|
-
grow: 1;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
tr, td, th {
|
|
256
|
-
width: 100%;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
tfoot > tr {
|
|
260
|
-
display: flex;
|
|
261
|
-
}
|
|
262
|
-
.btn-group > button {
|
|
263
|
-
padding: 0.3em 0.75em;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
.btn-group-header > h2 {
|
|
267
|
-
font-weight: bolder;
|
|
268
|
-
padding-top: 1lh;
|
|
269
|
-
padding-bottom: 1lh;
|
|
270
|
-
margin-bottom: 0;
|
|
271
|
-
padding-inline-start: 1em;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
.dark .btn-group-header > h2 {
|
|
275
|
-
color: rgb(var(--theme-font-color-dark));
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
.dark .entry-group {
|
|
279
|
-
background-color: rgb(var(--color-surface-800));
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
tbody tr:nth-child(odd) {
|
|
283
|
-
background-color: rgb(var(--color-surface-500));
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
.dark tbody tr:nth-child(odd) {
|
|
287
|
-
background-color: rgb(var(--color-surface-900));
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
tbody tr:nth-child(even) {
|
|
291
|
-
background-color: rgb(var(--color-surface-200));
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
.dark tbody tr:nth-child(even) {
|
|
295
|
-
background-color: rgb(var(--color-surface-800));
|
|
296
|
-
}
|
|
297
|
-
</style>
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { type ComponentMeta, type EntryGroup, type SeaweedTemplateData } from "../SeaweedTemplateData";
|
|
2
|
-
interface Props {
|
|
3
|
-
seaweedTemplateData: SeaweedTemplateData;
|
|
4
|
-
seaweedEntries: EntryGroup[];
|
|
5
|
-
orderUrl: string;
|
|
6
|
-
updateUrl: (data: SeaweedTemplateData) => void;
|
|
7
|
-
getAllEntryFromGlobal: () => Map<string, ComponentMeta>;
|
|
8
|
-
getEntryFromGlobal: (s: string) => ComponentMeta | undefined;
|
|
9
|
-
}
|
|
10
|
-
declare const EntryOrderConfig: import("svelte").Component<Props, {}, "seaweedEntries" | "orderUrl">;
|
|
11
|
-
type EntryOrderConfig = ReturnType<typeof EntryOrderConfig>;
|
|
12
|
-
export default EntryOrderConfig;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
.btn-group > button {
|
|
2
|
-
padding: 0.3em 0.75em;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.btn-group-header > h2 {
|
|
6
|
-
font-weight: bolder;
|
|
7
|
-
padding-top: 1lh;
|
|
8
|
-
padding-bottom: 1lh;
|
|
9
|
-
margin-bottom: 0;
|
|
10
|
-
padding-inline-start: 1em;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.dark .btn-group-header > h2 {
|
|
14
|
-
color: rgb(var(--theme-font-color-dark));
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.dark .entry-group {
|
|
18
|
-
background-color: rgb(var(--color-surface-800));
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
tbody tr:nth-child(odd) {
|
|
22
|
-
background-color: rgb(var(--color-surface-500));
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.dark tbody tr:nth-child(odd) {
|
|
26
|
-
background-color: rgb(var(--color-surface-900));
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
tbody tr:nth-child(even) {
|
|
30
|
-
background-color: rgb(var(--color-surface-200));
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.dark tbody tr:nth-child(even) {
|
|
34
|
-
background-color: rgb(var(--color-surface-800));
|
|
35
|
-
}
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
main {
|
|
2
|
-
width: 100%;
|
|
3
|
-
overflow: visible;
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
justify-content: center;
|
|
7
|
-
align-items: center;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.section-card {
|
|
11
|
-
padding: 3em;
|
|
12
|
-
max-width: 800px;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.game-card, .project-card {
|
|
16
|
-
width: 100vw;
|
|
17
|
-
max-width: 36em;
|
|
18
|
-
margin-bottom: 3em;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.game-card > video {
|
|
22
|
-
border-top-left-radius: 1em;
|
|
23
|
-
border-top-right-radius: 1em;
|
|
24
|
-
max-height: 24em;
|
|
25
|
-
width: 100%;
|
|
26
|
-
object-fit: cover;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
#migrante-alberta, .game-card > img, .project-card > img {
|
|
30
|
-
border-top-left-radius: 1em;
|
|
31
|
-
border-top-right-radius: 1em;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
#migrante-alberta {
|
|
35
|
-
width: 100%;
|
|
36
|
-
object-fit: cover;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.game-button {
|
|
40
|
-
@apply btn preset-filled-primary-500;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.game-button > img {
|
|
44
|
-
max-height: 1lh;
|
|
45
|
-
/* todo: consider night mode day mode */
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.two-column-separated {
|
|
49
|
-
display: flex;
|
|
50
|
-
justify-content: space-between;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.more-section {
|
|
54
|
-
padding: 1em;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.greater-about-div {
|
|
58
|
-
display: flex;
|
|
59
|
-
flex-direction: column;
|
|
60
|
-
max-width: 36em;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.experience-and-about-div {
|
|
64
|
-
display: flex;
|
|
65
|
-
gap: 2em;
|
|
66
|
-
flex-wrap: wrap;
|
|
67
|
-
justify-content: center;
|
|
68
|
-
align-items: flex-start;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.game-card-body, .project-card-body {
|
|
72
|
-
padding: 1em;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.game-card-body > blockquote {
|
|
76
|
-
margin-bottom: 0.7lh;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.game-card-body > h1, .project-card-body > h2 {
|
|
80
|
-
text-align: center;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.game-link-section {
|
|
84
|
-
display: flex;
|
|
85
|
-
flex-direction: row;
|
|
86
|
-
justify-content: center;
|
|
87
|
-
gap: 1em;
|
|
88
|
-
margin-top: 1em;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.games-section, .projects-section {
|
|
92
|
-
display: flex;
|
|
93
|
-
flex-wrap: wrap;
|
|
94
|
-
gap: 2em;
|
|
95
|
-
justify-content: center;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.projects-section {
|
|
99
|
-
align-items: flex-start;
|
|
100
|
-
/*justify-content: flex-start;*/
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.long-btn-image {
|
|
104
|
-
max-height: 1lh;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.itch-promo {
|
|
108
|
-
padding: 4em;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
#hepcat-video {
|
|
112
|
-
object-position: 0 0;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.title-card {
|
|
116
|
-
width: clamp(360px, 80vw, 800px);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
[class*='qt-'] {
|
|
120
|
-
font-weight: var(--qt-font-weight);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.accordion-header {
|
|
124
|
-
margin-top: 0.25em;
|
|
125
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* When with texts, wrap the text content inside a div so flex wont apply
|
|
3
|
-
*/
|
|
4
|
-
import type { PinyaCardProps } from "./props";
|
|
5
|
-
declare const Component: import("svelte").Component<PinyaCardProps, {}, "">;
|
|
6
|
-
type Component = ReturnType<typeof Component>;
|
|
7
|
-
export default Component;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { Snippet } from "svelte";
|
|
2
|
-
type $$ComponentProps = {
|
|
3
|
-
children: Snippet;
|
|
4
|
-
appBarLead?: Snippet;
|
|
5
|
-
footer?: Snippet;
|
|
6
|
-
};
|
|
7
|
-
declare const Component: import("svelte").Component<$$ComponentProps, {}, "appBarLead">;
|
|
8
|
-
type Component = ReturnType<typeof Component>;
|
|
9
|
-
export default Component;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { ProjectGroup, SnippetMeta } from "../index";
|
|
2
|
-
interface Props {
|
|
3
|
-
layout: ProjectGroup[];
|
|
4
|
-
orderUrl: string;
|
|
5
|
-
allEntries: SnippetMeta[];
|
|
6
|
-
}
|
|
7
|
-
declare const EntryOrderConfig2: import("svelte").Component<Props, {}, "orderUrl" | "layout">;
|
|
8
|
-
type EntryOrderConfig2 = ReturnType<typeof EntryOrderConfig2>;
|
|
9
|
-
export default EntryOrderConfig2;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|