Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
75669682ab | ||
|
|
36c4ad1579 | ||
|
|
b79b0162d1 | ||
|
|
e05598b860 | ||
|
|
d5fbec27dd | ||
|
|
55c41a1103 |
+1
-2
@@ -6,7 +6,6 @@ COPY package*.json ./
|
||||
|
||||
RUN npm ci
|
||||
COPY . .
|
||||
RUN n
|
||||
RUN npx nuxt build
|
||||
|
||||
FROM node:lts-alpine AS production-stage
|
||||
@@ -14,7 +13,7 @@ WORKDIR /app
|
||||
COPY --from=build-stage /app/.output/ /app
|
||||
COPY --from=build-stage /app/node_modules/ /app/node_modules
|
||||
|
||||
ENV NUXT_PUBLIC_API_BASE
|
||||
ENV NUXT_PUBLIC_API_BASE=http://localhost:3000
|
||||
|
||||
EXPOSE 3000
|
||||
CMD ["node", "server/index.mjs"]
|
||||
@@ -102,7 +102,7 @@
|
||||
<component :is="questionComponent" question-id="5.2" :results="results" />
|
||||
</div>
|
||||
<div>
|
||||
5.3) On n’attend que le prise de conscience vienne de l’amapien.
|
||||
5.3) On n’attend que la prise de conscience vienne de l’amapien.
|
||||
|
||||
<component :is="questionComponent" question-id="5.3" :results="results" />
|
||||
</div>
|
||||
|
||||
+14
-2
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<MainPoll :question-component="QuestionChoice" @submit="submitForm">
|
||||
<template #submit>
|
||||
<button type="submit">Submit</button>
|
||||
<button type="submit" id="form-submit">Valider</button>
|
||||
</template>
|
||||
</MainPoll>
|
||||
</template>
|
||||
@@ -27,4 +27,16 @@ async function submitForm(e: Event) {
|
||||
|
||||
navigateTo({ path: "/results", query: route.query })
|
||||
}
|
||||
</script>
|
||||
</script>
|
||||
|
||||
<style>
|
||||
#form-submit {
|
||||
padding: .375rem .75rem;
|
||||
border-width: 0px;
|
||||
border-color: rgb(0, 0, 0);
|
||||
border-radius: 5px;
|
||||
background-color: rgb(17, 95, 239);
|
||||
color: white;
|
||||
font-size: 1em;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user