Commit 5d57c5c
authored
Migrate to Nuxt.js (#15)
* Add initial project setup with Nuxt, including layout components, routing, and styles; remove unused files
* Implement login/logout functionality and update header for authentication state; remove unused cookie utility
* Remove unused cookTimeIcon constant from RecipeCard component
* Refactor RecipeCard component to destructure recipe prop from defineProps
* Re-add GitHub Actions workflow for Super Linter to re-enforce code quality
* Wrap login text in a div for improved structure in login.vue
* Improve indentation for better readability in Header.vue
* Update Super Linter configuration and enhance README structure
* Implement authentication forms with toggle between login and registration
* Enhance authentication forms with v-model binding and submit handling for login and registration
* Implement login and registration enhancements with session cookie management and redirection
* Disable SSR
* Add instructions for generating static hosting builds in README
* Improve recipe fetching error handling and loading states in index.vue
* Enhance contact page with improved layout and GitHub link
* Refactor registration component to redirect to the login page after successful registration
* Refactor login component to use Composition API and improve error handling
* Refactor styles to use CSS variables for colors, typography, and spacing
* Update color variables and improve component styles for consistency
* Add secondary color to footer styles for improved visibility
* Remove unused styles
* Enhance registration form with password visibility SVG icons
* Enhance password input fields with visibility toggle functionality
* Add SVG icons to header navigation for improved UI
* Update header styles to enhance text visibility and weight
* Remove unused background properties
* Enhance main layout with custom scrollbar styles for improved aesthetics
* Update main width to 100% for some reason
* Update main overflow property for improved scrolling behavior
* Refactor API endpoints to use runtime configuration for improved flexibility
* Add .dockerignore and update .gitignore to include lock file
* Add .gitattributes to ignore diffs for package-lock.json
* Refactor Dockerfile to implement multi-stage builds for simplified Nuxt.js app deployment
* Update .dockerignore to include Nuxt.js build outputs and additional local files
* Update README.md to clarify local development setup with Nuxt.js and Docker
* Refactor recipe list rendering in index.vue for improved semantics and styling
* Refactor index.vue template structure for improved readability and layout
* Implement search functionality for recipes and enhance loading spinner management
* Remove unused watch function
* Refactor main layout in index.vue for improved alignment and spacing
* Remove unused text-wrap property from main style in index.vue
* Implement search bar component and refactor search functionality in index.vue
* Fix font size in SearchBar component
* Remove unnecessary blank line in README.md
* Refactor LoadingSpinner styles for improved readability and consistency
* Add recipe detail and index pages; update navigation and clean up imports
* Update Dockerfile to use slimmer base images
* Add GitHub Actions workflow to scan Docker images for vulnerabilities
* Remove unnecessary triggers and permissions from workflow configuration files
* Update Trivy action version in Docker image scanning workflow
* Fix Trivy action version format in Docker image scanning workflow
* Refactor GitHub Actions workflows to enhance Docker image scanning and update permissions
* Update workflow triggers to only run on pushes to the main branch
* Fix workflow trigger configuration to support multiple branches for Docker image scanning
* Update Docker image scanning workflow to use Trivy in repo mode
* Add permissions for GitHub Actions to enhance security event reporting
* Update Docker image scanning workflow to output results in table format and adjust exit code
* Refactor Docker image scanning workflow to remove 'ignore-unfixed' option and output results to 'table.txt'
* Remove output specification from Docker image scanning workflow
* Remove Trivy because it's useless, I expected a report table and got nothing
* Refactor footer and header components for improved rendering and update app title format
* Update page titles dynamically
* Refactor authentication components to destructure apiBaseUrl from runtime config
* Refactor recipe details display into a separate Recipe component
* Refactor Recipe component layout for improved structure and styling
* Enhance responsive design for Recipe component and details page
* Refactor Recipe component layout and styles for improved readability and responsiveness; add custom scrollbar styles
* Enhance Recipe component to dynamically fetch and display recipe images; add error handling for image loading
* Add ButtonHome component for navigation; update Header and Recipe index to use new component
* Refactor layout and styles for improved responsiveness; update section IDs and add media queries for better mobile support
* Add Comment component and integrate comments fetching in Recipe component; refactor recipe fetching logic in index page
* Refactor recipe fetching logic in index page; update API endpoint and add initial fetch on component mount1 parent 8195c87 commit 5d57c5c
File tree
54 files changed
+10950
-1063
lines changed- .github/workflows
- assets
- icons
- styles
- components
- authentication
- css
- javascript
- pages
- recipe
- public
- server
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
54 files changed
+10950
-1063
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
3 | 21 | | |
4 | 22 | | |
5 | 23 | | |
6 | 24 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | 25 | | |
11 | | - | |
| 26 | + | |
12 | 27 | | |
13 | 28 | | |
14 | 29 | | |
15 | 30 | | |
16 | | - | |
17 | | - | |
| 31 | + | |
| 32 | + | |
18 | 33 | | |
19 | 34 | | |
20 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
10 | 48 | | |
11 | 49 | | |
12 | 50 | | |
| |||
20 | 58 | | |
21 | 59 | | |
22 | 60 | | |
23 | | - | |
24 | | - | |
| 61 | + | |
| 62 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
Loading
Loading
Loading
0 commit comments