-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from DaniloMurer/develop
Develop
- Loading branch information
Showing
31 changed files
with
569 additions
and
347 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
FROM node:22.3.0-slim as base | ||
FROM node:22.3.0-slim AS base | ||
EXPOSE 3000 | ||
ENV NODE_ENV=production | ||
WORKDIR /src | ||
#RUN npm install yarn | ||
|
||
FROM base as build | ||
FROM base AS build | ||
EXPOSE 3000 | ||
COPY . . | ||
RUN npm install --production=false | ||
RUN npm run build | ||
|
||
FROM base as run | ||
FROM base AS run | ||
ENV PORT=$PORT | ||
|
||
COPY --from=build /src/.output /src/.output | ||
|
||
CMD [ "node", ".output/server/index.mjs" ] | ||
CMD [ "node", ".output/server/index.mjs" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
export interface Experience { | ||
id: number; | ||
position: string; | ||
company: string; | ||
timeFrame: string; | ||
responsibilities: string; | ||
} | ||
|
||
export interface Technology { | ||
id: number, | ||
name: string; | ||
logoClass: string; | ||
experience: string; | ||
description: string; | ||
} | ||
|
||
export class ExperienceDto implements Experience { | ||
id: number; | ||
position: string; | ||
company: string; | ||
timeFrame: string; | ||
responsibilities: string; | ||
|
||
constructor(position: string, company: string, timeFrame: string, responsibilities: string) { | ||
this.id = 0; | ||
this.position = position; | ||
this.company = company; | ||
this.timeFrame = timeFrame; | ||
this.responsibilities = responsibilities; | ||
} | ||
} | ||
|
||
export class TechnologyDto implements Technology { | ||
id: number; | ||
name: string; | ||
logoClass: string; | ||
experience: string; | ||
description: string; | ||
|
||
constructor(name: string, logoClass: string, experience: string, description: string) { | ||
this.id = 0; | ||
this.name = name; | ||
this.logoClass = logoClass; | ||
this.experience = experience; | ||
this.description = description; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ | |
<template> | ||
<div class="hero bg-base-300 lg:w-max rounded-2xl shadow-2xl"> | ||
<div class="hero-content flex-col lg:flex-row p-10"> | ||
<!-- <span class="iconify logos--kubernetes iconify-color text-9xl"/>--> | ||
<div class="avatar placeholder"> | ||
<div class="bg-secondary text-neutral-content w-36 rounded-full"> | ||
<span class="text-3xl">Churrer</span> | ||
|
@@ -17,19 +16,17 @@ | |
The developer you were looking for all along! | ||
</p> | ||
<p class="py-6 flex gap-3 content-center"> | ||
<span class="iconify carbon--email text-2xl text-accent"/><a class="link-accent" | ||
href="mailto:[email protected]">[email protected]</a> | ||
<span class="iconify carbon--email text-2xl text-accent" /><a class="link-accent" | ||
href="mailto:[email protected]">[email protected]</a> | ||
</p> | ||
<p class="py-6 flex gap-3 content-center"> | ||
<span class="iconify logos--github-icon text-accent w-6 h-6"/><a class="link-accent" | ||
href="https://github.com/DaniloMurer">See | ||
my work</a> | ||
<span class="iconify logos--github-icon text-accent w-6 h-6" /><a class="link-accent" | ||
href="https://github.com/DaniloMurer">See | ||
my work</a> | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<style scoped> | ||
</style> | ||
<style scoped></style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<script setup lang="ts"> | ||
defineProps(['data', 'tableTitle']) | ||
</script> | ||
<template> | ||
<h1 class="font-bold">{{ tableTitle }}</h1> | ||
<div> | ||
<table class="table table-zebra"> | ||
<thead> | ||
<tr> | ||
<slot name="table-header" /> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr v-for="item in data"> | ||
<slot name="table-row" :item="item" /> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { useAuthStore } from '~/store/auth'; | ||
|
||
export default defineNuxtRouteMiddleware((to, from) => { | ||
const token = useAuthStore().token; | ||
if (!token) { | ||
return navigateTo('/') | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.