How dydev-1/portfolio-nuxt-content works
This is a Nuxt portfolio site: visitors browse a home page, profile, project listings and details, posts, and a contact form. The clearest runtime flow is the contact form’s POST to a validated server handler, which sends email through SMTP; the work listing queries project content and renders cards. Other page and content routes are represented as distinct capabilities, but their wiring is not fully evidenced in the excerpts. The README identifies the project as a Nuxt Content starter and does not document further product behavior.
Main entry points: Header.vue Header navigation · index.vue Work listing · default.vue Default layout · projects Project content
Components 19
Site shell
- Nuxt app
app.vue - Default layout
layouts/default.vue - Header navigation
components/Header.vue - Navigation component
components/Navigation.vue - Footer
components/Footer.vue
Portfolio pages
- Home page
pages/index.vue - About page
pages/about/index.vue - Work listing
pages/work/index.vue - Work detail
pages/work/[...slug].vue - Posts page
pages/posts/index.vue - Post detail
pages/posts/[...slug].vue - Contact page
pages/contact/index.vue
Content
- Project content
content/projects - Post content
content/posts - Project list component
components/content/ProjectList.vue - Project card
components/ProjectCard.vue
Contact
- Mail API handler
server/api/sendmail.post.ts
Other components
- Visitor
- SMTP mail service
Connections 18
- Visitor → Nuxt app: opens site
- Nuxt app → Default layout: renders layout
app.vue - Default layout → Header navigation: renders
layouts/default.vue - Default layout → Footer: renders
layouts/default.vue - Header navigation → Home page: links to
components/Header.vue - Header navigation → About page: links to
components/Header.vue - Header navigation → Work listing: links to
components/Header.vue - Header navigation → Posts page: links to
components/Header.vue - Header navigation → Contact page: links to
components/Header.vue - Work listing → Project content: queries
pages/work/index.vue - Work listing → Project card: renders
pages/work/index.vue - Project card → Project content: displays item
components/ProjectCard.vue - Work listing → Work detail: links to
- Posts page → Post detail: links to
- Post detail → Post content: loads content
- Work detail → Project content: loads content
- Contact page → Mail API handler: POSTs form
pages/contact/index.vue - Mail API handler → SMTP mail service: sends email
server/api/sendmail.post.ts