Compare commits
5 Commits
eb0b679cf5
...
b3ffaf6794
| Author | SHA1 | Date | |
|---|---|---|---|
| b3ffaf6794 | |||
| 2758a6a8d7 | |||
| edd5322503 | |||
| ed2bafb8bd | |||
| aca60e08ed |
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 1010 B After Width: | Height: | Size: 578 B |
@@ -263,7 +263,7 @@ watch(
|
||||
class="nds2d-hints-container"
|
||||
style="opacity: 0"
|
||||
>
|
||||
<div class="nds2d-hint nds2d-hint-dpad">Arrows</div>
|
||||
<div class="nds2d-hint nds2d-hint-dpad">← ↑ → ↓</div>
|
||||
<div class="nds2d-hint nds2d-hint-x">{{ mapNDSToKey("X") }}</div>
|
||||
<div class="nds2d-hint nds2d-hint-a">{{ mapNDSToKey("A") }}</div>
|
||||
<div class="nds2d-hint nds2d-hint-b">{{ mapNDSToKey("B") }}</div>
|
||||
|
||||
@@ -266,7 +266,7 @@ const HINTS: Record<string, { label: string; offset: THREE.Vector3 }> = {
|
||||
offset: new THREE.Vector3(-0.75, 0.15, 0.0),
|
||||
},
|
||||
[CROSS_BUTTON]: {
|
||||
label: "Arrows",
|
||||
label: "← ↑ → ↓",
|
||||
offset: new THREE.Vector3(0.75, 2.3, 0.0),
|
||||
},
|
||||
};
|
||||
|
||||
@@ -56,8 +56,6 @@ const drawTextWithShadow2Lines = (
|
||||
};
|
||||
|
||||
onRender((ctx) => {
|
||||
assets.images.projects.topScreen.background.draw(ctx, 0, 0);
|
||||
|
||||
ctx.font = "16px Pokemon DP Pro";
|
||||
|
||||
const project = store.projects[store.currentProject];
|
||||
@@ -148,6 +146,9 @@ onRender((ctx) => {
|
||||
"black",
|
||||
);
|
||||
|
||||
drawTextWithShadow(ctx, "white", $t("projects.title"), 7, -1);
|
||||
drawTextWithShadow(ctx, "black", $t("projects.technologies"), 167, 143);
|
||||
|
||||
ctx.fillStyle = `rgba(0, 0, 0, ${store.isIntro ? store.intro.fadeOpacity : store.isOutro ? store.outro.fadeOpacity : 0})`;
|
||||
ctx.fillRect(0, 0, LOGICAL_WIDTH, LOGICAL_HEIGHT);
|
||||
});
|
||||
|
||||
@@ -41,7 +41,12 @@ const createAudio = (path: string) => {
|
||||
const node = audioContext.createBufferSource();
|
||||
node.buffer = buffer;
|
||||
node.connect(gain).connect(audioContext.destination);
|
||||
|
||||
if (audioContext.state === "suspended") {
|
||||
audioContext.resume().then(() => node.start());
|
||||
} else {
|
||||
node.start();
|
||||
}
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
@@ -18,7 +18,7 @@ en:
|
||||
- "Documentation"
|
||||
|
||||
fr:
|
||||
description: L'agrégateur des dataa transport
|
||||
description: L'agrégateur des data transport
|
||||
summary: Alternance
|
||||
tasks:
|
||||
- "Agrégation automatisée\\nd'incidents vers Jira"
|
||||
|
||||
@@ -209,6 +209,8 @@
|
||||
"backToHome": "Back to Home"
|
||||
},
|
||||
"projects": {
|
||||
"title": "PROJECTS AND EXPERIENCES",
|
||||
"technologies": "Technologies",
|
||||
"linkConfirmationPopup": {
|
||||
"yes": "yes",
|
||||
"no": "no",
|
||||
|
||||
@@ -209,6 +209,8 @@
|
||||
"backToHome": "Retour à l'accueil"
|
||||
},
|
||||
"projects": {
|
||||
"title": "PROJETS ET EXPÉRIENCES",
|
||||
"technologies": "Technologies",
|
||||
"linkConfirmationPopup": {
|
||||
"yes": "oui",
|
||||
"no": "non",
|
||||
|
||||
Reference in New Issue
Block a user