diff --git a/src/assets/capri25.png b/src/assets/capri25.png new file mode 100644 index 0000000..161a43c Binary files /dev/null and b/src/assets/capri25.png differ diff --git a/src/assets/j27.png b/src/assets/j27.png new file mode 100644 index 0000000..1ac8eb9 Binary files /dev/null and b/src/assets/j27.png differ diff --git a/src/components/BoatPreviewComponent.vue b/src/components/BoatPreviewComponent.vue index d20d6fb..f22ff6f 100644 --- a/src/components/BoatPreviewComponent.vue +++ b/src/components/BoatPreviewComponent.vue @@ -1,47 +1,21 @@ @@ -53,3 +27,9 @@ defineProps({ boats: Array, }); + + diff --git a/src/components/models.ts b/src/components/models.ts index 718c361..aa1d883 100644 --- a/src/components/models.ts +++ b/src/components/models.ts @@ -3,6 +3,7 @@ export interface Boat { name: string; class: string; year: number; + imgsrc: string; } export interface test { diff --git a/src/pages/BoatPage.vue b/src/pages/BoatPage.vue index 1712760..220bdb1 100644 --- a/src/pages/BoatPage.vue +++ b/src/pages/BoatPage.vue @@ -14,18 +14,21 @@ const boats = ref([ name: 'ProjectX', class: 'J/27', year: 1981, + imgsrc: '/src/assets/j27.png', }, { id: 2, name: 'Take5', class: 'J/27', year: 1985, + imgsrc: '/src/assets/j27.png', }, { id: 3, name: 'WeeBeestie', class: 'Capri 25', year: 1989, + imgsrc: '/src/assets/capri25.png', }, ]); diff --git a/src/router/navlinks.ts b/src/router/navlinks.ts index 36687a4..237b3c4 100644 --- a/src/router/navlinks.ts +++ b/src/router/navlinks.ts @@ -1,4 +1,10 @@ export const links = [ + { + name: 'Home', + to: '/', + icon: 'home', + front_links: false, + }, { name: 'Profile', to: 'profile',