Skip to content

Commit

Permalink
added another actual project
Browse files Browse the repository at this point in the history
  • Loading branch information
HannesGitH committed Jan 26, 2024
1 parent 7122e09 commit 2ed4291
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 6 deletions.
Binary file added src/lib/assets/projects/vibration/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/lib/assets/projects/vibration/preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 5 additions & 4 deletions src/lib/components/projects/project.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -189,10 +189,11 @@
border: 2px solid $primary;
border-radius: 20px;
& img#logo{
width: 10rem;
height: 10rem;
transform: translateZ(30px);
margin: calc($std-margin / 2);
width: 8rem;
height: 8rem;
transform: translateZ(30px);
border-radius: 20px;
}
& h3 {
transform: translateZ(30px);
Expand Down
6 changes: 6 additions & 0 deletions src/lib/components/projects/vibration.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<script lang="ts">
import Description from "./description.svelte";
const i18nBaseName = 'projects.vibration';
</script>

<Description {i18nBaseName}/>
17 changes: 15 additions & 2 deletions src/lib/data/projects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,23 @@ const passCheck = {
}


import vibrationDescriptionComponent from '$lib/components/projects/vibration.svelte';
import vibrationIcon from '$lib/assets/projects/vibration/icon.png';
import vibrationPreview from '$lib/assets/projects/vibration/preview.png';

const vibration = {
name: 'haptic pattern', //later calls: $_('projects.passcheck.name')
iconUrl: vibrationIcon,
previewUrl: vibrationPreview,
description: vibrationDescriptionComponent,
link: 'https://play.google.com/store/apps/details?id=hannepps.tools.vibrationtest',
relevantSkillNames: ['Android', 'Flutter', 'Git', 'GitHub', 'VS Code', 'Dart', ],
}


const shownProjects : ProjectData[] = [
passCheck,
passCheck,
passCheck,
vibration,
]

export default shownProjects;
Expand Down
6 changes: 6 additions & 0 deletions src/lib/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
"duration" : "3 days",
"complexity" : "very small",
"description": "A {complexity} Progressive Web App made with Svelte, that evaluates how secure a given password is. Creating this or something similar takes me around {duration}"
},
"vibration" : {
"name": "haptic patterns",
"duration" : "1-2 weeks",
"complexity" : "small",
"description": "A {complexity} Cross-Platform App made with Flutter, that lets you create custom vibration patterns. Creating this or something similar takes me around {duration}"
}
},
"skills": { "title": "Skills" },
Expand Down

0 comments on commit 2ed4291

Please sign in to comment.