How annyelyeon/annportfoliowebsite works
Yelyeon is a static portfolio with public profile, project, blog, and thoughts pages plus a browser-based admin editor. Visitors browse filtered project or post lists, then open individual Markdown reports; admins sign in, manage drafts and published items, and upload images. Supabase is the configured content store, with sample data as the documented fallback. The graph distinguishes listing, detail rendering, and admin editing. Relationships for the unsampled HTML pages and database schema are limited to README documentation and the shown JavaScript.
Main entry points: main.js Page rendering · api.js Content queries · article.js Article rendering · edit.js Markdown editor
Components 21
Public portfolio
- Portfolio pages
index.html - Projects listing
projects.html - Blog listing
blog.html - Thoughts listing
thoughts.html - About page
about.html - Post detail
post.html - Project detail
project.html
Content access
- Content queries
js/api.js - Supabase config
js/config.js - Supabase service
- Tables and policies
supabase/schema.sql
Admin authoring
- Admin dashboard
admin/admin.js - Markdown editor
admin/edit.js - Admin screens
admin/index.html
Rendering and profile
- Page rendering
js/main.js - Article rendering
js/article.js - Profile and samples
js/data.js - Markdown sanitizer
js/markdown.js - Display utilities
js/util.js
Other components
- Visitor
- Admin user
Connections 30
- Visitor → Portfolio pages: browses
README.md - Visitor → Projects listing: browses
README.md - Visitor → Blog listing: browses
README.md - Visitor → Thoughts listing: browses
README.md - Visitor → About page: browses
README.md - Visitor → Post detail: opens
README.md - Visitor → Project detail: opens
README.md - Portfolio pages → Page rendering: loads
- Projects listing → Page rendering: loads
- Blog listing → Page rendering: loads
- Thoughts listing → Page rendering: loads
- About page → Page rendering: loads
- Post detail → Article rendering: loads
- Project detail → Article rendering: loads
- Page rendering → Content queries: lists content
js/main.js - Page rendering → Profile and samples: renders profile
- Article rendering → Content queries: fetches by slug
js/article.js - Article rendering → Markdown sanitizer: renders Markdown
js/article.js - Article rendering → Display utilities: formats metadata
js/article.js - Page rendering → Display utilities: formats cards
js/main.js - Content queries → Supabase config: reads credentials
js/api.js - Content queries → Supabase service: queries content
- Content queries → Profile and samples: uses fallback
- Admin user → Admin screens: uses
README.md - Admin screens → Admin dashboard: loads
- Admin screens → Markdown editor: opens editor
- Admin dashboard → Supabase service: authenticates and lists
admin/admin.js - Markdown editor → Supabase service: edits and uploads
admin/edit.js - Markdown editor → Markdown sanitizer: previews content
admin/edit.js - Supabase service → Tables and policies: uses schema policies
README.md