-
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.
- Loading branch information
0 parents
commit 1b6a3c9
Showing
92 changed files
with
17,669 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# VSCode | ||
.vscode | ||
|
||
# Github | ||
.github | ||
|
||
# Nuxt dev/build outputs | ||
.output | ||
.data | ||
.nuxt | ||
.nitro | ||
.cache | ||
dist | ||
|
||
# Node dependencies | ||
node_modules | ||
|
||
# Logs | ||
logs | ||
*.log | ||
|
||
# Misc | ||
.DS_Store | ||
.fleet | ||
.idea | ||
|
||
# Local env files | ||
.env | ||
.env.* | ||
!.env.example | ||
|
||
# Needed for nuxt-auth | ||
!.env.production |
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,4 @@ | ||
# NUXT_PUBLIC_API_URL=http://localhost:3000 | ||
NUXT_AUTH_BASE_URL=http://localhost:3000/ | ||
# AUTH_ORIGIN=http://localhost:4000 | ||
# NITRO_PORT=4000 |
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,31 @@ | ||
# version 1.0 | ||
name: Build and push | ||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
work: | ||
name: Work | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out the code | ||
uses: actions/checkout@v2 | ||
- name: Lowercase | ||
id: lower | ||
uses: ASzc/change-string-case-action@v1 | ||
with: | ||
string: ${{ github.repository }} | ||
- name: Build & Push docker image | ||
uses: mr-smithers-excellent/docker-build-push@v4 | ||
with: | ||
image: ${{ steps.lower.outputs.lowercase }} | ||
registry: ghcr.io | ||
username: ${{ secrets.REGISTRY_USER }} | ||
password: ${{ secrets.REGISTRY_PASSWORD }} | ||
- name: Notify Slack | ||
uses: craftech-io/slack-action@v1 | ||
with: | ||
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK }} | ||
if: always() |
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,27 @@ | ||
# Nuxt dev/build outputs | ||
.output | ||
.data | ||
.nuxt | ||
.nitro | ||
.cache | ||
dist | ||
|
||
# Node dependencies | ||
node_modules | ||
|
||
# Logs | ||
logs | ||
*.log | ||
|
||
# Misc | ||
.DS_Store | ||
.fleet | ||
.idea | ||
|
||
# Local env files | ||
.env | ||
.env.* | ||
!.env.example | ||
|
||
# Needed for nuxt-auth | ||
!.env.production |
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,2 @@ | ||
shamefully-hoist=true | ||
strict-peer-dependencies=false |
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 @@ | ||
v22.11.0 |
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 @@ | ||
{ | ||
"files.associations": { | ||
"*.css": "tailwindcss" | ||
}, | ||
"editor.quickSuggestions": { | ||
"strings": true | ||
} | ||
} |
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,59 @@ | ||
# ARG NODE_VERSION=20.14.0 | ||
ARG NODE_VERSION=22.11.0 | ||
|
||
# Create build stage | ||
FROM node:${NODE_VERSION}-slim AS build | ||
|
||
|
||
RUN npm install -g pnpm | ||
|
||
# Enable pnpm | ||
ENV PNPM_HOME="/pnpm" | ||
ENV PATH="$PNPM_HOME:$PATH" | ||
RUN corepack enable | ||
|
||
|
||
# Set the working directory inside the container | ||
WORKDIR /app | ||
|
||
# Copy package.json and pnpm-lock.yaml files to the working directory | ||
|
||
COPY ./package.json /app/ | ||
COPY ./package-lock.json /app/ | ||
|
||
## Install dependencies | ||
RUN pnpm import | ||
RUN pnpm install --shamefully-hoist | ||
|
||
|
||
# Copy the rest of the application files to the working directory | ||
COPY . ./ | ||
|
||
|
||
# Build the application | ||
RUN pnpm run build | ||
|
||
|
||
# Create a new stage for the production image | ||
FROM node:${NODE_VERSION}-slim | ||
|
||
|
||
# Set the working directory inside the container | ||
WORKDIR /app | ||
|
||
|
||
# Copy the output from the build stage to the working directory | ||
COPY --from=build /app/.output ./ | ||
|
||
|
||
# Define environment variables | ||
ENV NITRO_HOST=0.0.0.0 | ||
ENV NITRO_PORT=4000 | ||
ENV NODE_ENV=production | ||
|
||
|
||
# Expose the port the application will run on | ||
EXPOSE 4000 | ||
|
||
# Start the application | ||
CMD ["node","/app/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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
# Nuxt UI Minimal Starter | ||
|
||
Look at [Nuxt docs](https://nuxt.com/docs/getting-started/introduction) and [Nuxt UI docs](https://ui.nuxt.com) to learn more. | ||
|
||
## Setup | ||
|
||
Make sure to install the dependencies: | ||
|
||
```bash | ||
# npm | ||
npm install | ||
|
||
# pnpm | ||
pnpm install | ||
|
||
# yarn | ||
yarn install | ||
|
||
# bun | ||
bun install | ||
``` | ||
|
||
## Development Server | ||
|
||
Start the development server on `http://localhost:3000`: | ||
|
||
```bash | ||
# npm | ||
npm run dev | ||
|
||
# pnpm | ||
pnpm run dev | ||
|
||
# yarn | ||
yarn dev | ||
|
||
# bun | ||
bun run dev | ||
``` | ||
|
||
## Production | ||
|
||
Build the application for production: | ||
|
||
```bash | ||
# npm | ||
npm run build | ||
|
||
# pnpm | ||
pnpm run build | ||
|
||
# yarn | ||
yarn build | ||
|
||
# bun | ||
bun run build | ||
``` | ||
|
||
Locally preview production build: | ||
|
||
```bash | ||
# npm | ||
npm run preview | ||
|
||
# pnpm | ||
pnpm run preview | ||
|
||
# yarn | ||
yarn preview | ||
|
||
# bun | ||
bun run preview | ||
``` | ||
|
||
Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information. |
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,21 @@ | ||
![Header](docs/der-logo.png) | ||
|
||
# Incidir para existir - Frontend | ||
|
||
Descripción del proyecto | ||
|
||
## 👷♀️ Cómo colaborar | ||
|
||
Las contribuciones siempre son bienvenidas. Si te interesa contribuir a este proyecto y no estás seguro de por dónde empezar, preparamos esta [guía de colaboración](https://github.com/DemocraciaEnRed/.github/blob/main/docs/CONTRIBUTING.md). | ||
|
||
## 📖 Documentación | ||
|
||
Consulta la [documentación y estado del software](./docs) para obtener información detallada sobre el proyecto, estructura de archivos, y otros aspectos importantes. | ||
|
||
## ⚖️ Licencia | ||
|
||
El software se encuentra licensiado bajo [GPL-v3](./LICENSE). Creemos en la importancia del código abierto para la transformación social y fomentamos que la comunidad aporte de manera activa. | ||
|
||
--- | ||
|
||
⌨️ con ❤️ por [DER](https://github.com/DemocraciaEnRed/) |
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,6 @@ | ||
export default defineAppConfig({ | ||
ui: { | ||
primary: 'electricViolet', | ||
gray: 'zinc', | ||
} | ||
}) |
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 @@ | ||
<template> | ||
<div> | ||
<NuxtLoadingIndicator color="#fb923c" /> | ||
<NuxtLayout> | ||
<NuxtPage /> | ||
</NuxtLayout> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
.the-footer{ | ||
@apply sticky top-[100vh] bg-[#3A27FF] p-4 w-full bottom-0 rounded-tl-xl rounded-tr-xl; | ||
} | ||
|
||
.the-footer .starbg{ | ||
background-image: url('../../public/img/star-footer.png'); | ||
position: absolute; | ||
height: 100%; | ||
width: 100%; | ||
background-position: center; | ||
background-size: cover; | ||
top: 0; | ||
left: 0; | ||
z-index: 2; | ||
} | ||
|
||
.the-footer .the-content{ | ||
position: relative; | ||
z-index: 100; | ||
} |
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,14 @@ | ||
|
||
#home-carrousel .carrousel .overlay{ | ||
@apply absolute w-full h-full; | ||
background: rgba(0,0,0,0.3); | ||
} | ||
|
||
#home-carrousel .overlay-content{ | ||
@apply absolute w-full h-full flex; | ||
justify-content: left; | ||
align-items: center; | ||
padding: 20px; | ||
z-index: 1; | ||
pointer-events: all; | ||
} |
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,6 @@ | ||
#navbar .navbar-item{ | ||
@apply text-white font-medium flex items-center; | ||
&:hover{ | ||
@apply text-pumpkin-400; | ||
} | ||
} |
Oops, something went wrong.