Skip to content

Commit

Permalink
v2
Browse files Browse the repository at this point in the history
  • Loading branch information
FJrodafo committed Jul 13, 2024
1 parent 9a7b6c0 commit 7dcce70
Show file tree
Hide file tree
Showing 54 changed files with 7,622 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# These are supported funding model platforms

github: "FJrodafo"
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
62 changes: 62 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: 🪲 Bug report
description: Create a report to help us improve
body:
- type: checkboxes
attributes:
label: Is there an existing issue for this?
description: Please search to see if an issue already exists for the bug you encountered.
options:
- label: I have searched the existing issues
required: true
- type: textarea
attributes:
label: Describe the bug
description: A clear and concise description of what the bug is.
validations:
required: true
- type: textarea
attributes:
label: To Reproduce
description: Steps to reproduce the behavior.
placeholder: |
1. Go to '....'
2. Click on '....'
3. Scroll down to '....'
4. See error
validations:
required: true
- type: textarea
attributes:
label: Expected behavior
description: A clear and concise description of what you expected to happen.
validations:
required: true
- type: textarea
attributes:
label: Desktop
description: Please complete the above information.
placeholder: |
* OS: [e.g. Windows]
* Version: [e.g. 11]
* Browser: [e.g. Microsoft Edge]
validations:
required: false
- type: textarea
attributes:
label: Smartphone
description: Please complete the above information.
placeholder: |
* Device: [e.g. iPhone]
* OS: [e.g. iOS]
* Version: [e.g. 16]
* Browser: [e.g. Safari]
validations:
required: false
- type: textarea
attributes:
label: Additional context
description: |
Add any other context about the problem here.
You can attach images or log files by clicking this area to highlight it and then dragging files in.
validations:
required: false
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Security advisories
url: https://github.com/FJrodafo/CV/security/advisories
about: Please report security vulnerabilities here.
31 changes: 31 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: ✨ Feature request
description: Suggest an idea for this project
body:
- type: dropdown
attributes:
label: Type of feature
description: Select the type of feature request.
multiple: false
options:
- "New feature"
- "Documentation"
- "Style and UI"
- "Code refactor"
- "Performance improvements"
- "New test"
validations:
required: true
- type: textarea
attributes:
label: Description
description: Give us a brief description of the feature or enhancement you would like
validations:
required: true
- type: textarea
attributes:
label: Additional context
description: |
Add any other context about the feature here.
You can attach images or log files by clicking this area to highlight it and then dragging files in.
validations:
required: false
16 changes: 16 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
## Summary

_Provide an overview..._

## Details

_Add more context to describe the changes..._

## References

[Example](github.com)

## Checks

- [ ] Tested changes
- [ ] Stakeholder approval
27 changes: 27 additions & 0 deletions .github/workflows/pipeline_deployment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Pipeline

on: [push, pull_request]

jobs:
deployment:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: "18"

- name: Install dependencies
run: |
cd ./App
npm install
- name: Build
run: |
cd ./App
npm run build
2 changes: 2 additions & 0 deletions App/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/.vercel
/node_modules
3 changes: 3 additions & 0 deletions App/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "next/core-web-vitals"
}
4 changes: 4 additions & 0 deletions App/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
* text=auto eol=lf
*.bat text eol=crlf
*.cmd text eol=crlf
*.ahk text eol=crlf
36 changes: 36 additions & 0 deletions App/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js
.yarn/install-state.gz

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts
24 changes: 24 additions & 0 deletions App/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# syntax=docker/dockerfile:1

# Use the official lightweight Node.js 18 image.
# https://hub.docker.com/_/node
FROM node:18-slim

# Create and change to the app directory.
WORKDIR /App

# Copy application dependency manifests to the container image.
# A wildcard is used to ensure both package.json and package-lock.json are copied.
COPY package*.json ./

# Install all dependencies.
RUN npm install

# Copy local code to the container image.
COPY . .

# Build the app
RUN npm run build

# Run the web service on container startup.
CMD [ "npm", "start" ]
12 changes: 12 additions & 0 deletions App/README.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.scrollup {
right: 0;
bottom: 0;
margin: 0.6rem 0.6rem;
padding: 0.6rem 0.6rem;
border-radius: 0.6rem;
position: fixed;
}

.scrollup:hover {
text-decoration: none;
}
141 changes: 141 additions & 0 deletions App/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
## Index

1. [Introduction](#introduction)
2. [Project Structure](#project-structure)
3. [Run it!](#run-it)
4. [Run with Docker](#run-with-docker)
5. [Build Docker image on your own](#build-docker-image-on-your-own)
6. [Learn More](#learn-more)

## Introduction

My professional minimalist cv, made with [Nextjs](https://nextjs.org/), powered by [Vercel](https://vercel.com/), designed by [Bartosz Jarocki](https://github.com/BartoszJarocki)!

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/project?template=https://github.com/FJrodafo/CV/tree/main/App)

## Project Structure

<details>
<summary>Click me</summary>

```
App/
├── node_modules/
│ └── ...
├── public/
│ ├── next.svg
│ └── vercel.svg
├── src/
│ ├── app/
│ │ ├── favicon.ico
│ │ ├── globals.css
│ │ ├── layout.tsx
│ │ └── page.tsx
│ ├── components/
│ │ ├── icons/
│ │ │ ├── *.tsx
│ │ │ └── index.ts
│ │ ├── ui/
│ │ │ └── *.tsx
│ │ └── *.tsx
│ ├── data/
│ │ └── resume.tsx
│ └── lib/
│ └── utils.ts
├── components.json
├── docker-compose.yaml
├── Dockerfile
├── next-env.d.ts
├── next.config.mjs
├── package-lock.json
├── package.json
├── postcss.config.mjs
├── tailwind.config.ts
└── tsconfig.json
```
</details>

## Run it!

This project must be initialized and the necessary dependencies installed with the following command (Make sure you are in the `App` directory):

```shell
npm install
```

If you have Node v18 or higher installed on your machine, then you are good to go!

To check if you already have Node installed on your machine, run `node -v` in your terminal. Otherwise, you will need to install Node v18 or higher or, as a last option, check out the [Docker](#run-with-docker) alternative.

Finally, if you have Node installed, run the following command to run the development server (Make sure you are in the `App` directory):

```shell
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
# Press 'Ctrl + C' to exit
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.

This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.

## Run with Docker

Build the container:

```shell
docker compose build
```

Run the container:

```shell
docker compose up -d
```

Stop the Container:

```shell
docker compose down
```

## Build Docker image on your own

If you don't have Node v18 or higher installed on your machine, you can build a Docker image by running the [Dockerfile](./Dockerfile).

Open a terminal and run the following command (Make sure you are in the `App` directory):

```shell
docker build -t cv .
```

After the build completes, you can run your container with the following command:

```shell
docker run -dp 127.0.0.1:3000:3000 cv
```

## Learn More

To learn more about Next.js, take a look at the following resources:

- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!

## Deploy on Vercel

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.

Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.

<link rel="stylesheet" href="./README.css">
<a class="scrollup" href="#top">&#x1F53A</a>
Loading

0 comments on commit 7dcce70

Please sign in to comment.