Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ weight: 40
items:
- name: E-Commerce Platform API
type: Work
role: Technical lead — initial design and development
tech:
- Go
- PostgreSQL
Expand All @@ -43,6 +44,7 @@ Each project supports:

- `name`: project title.
- `type`: optional project category such as `Work` or `Personal`.
- `role`: optional note describing your role or contribution.
- `tech`: short list of technologies.
- `description`: one-line project summary.
- `url`: link to code, demo, case study, or docs.
Expand Down
3 changes: 3 additions & 0 deletions exampleSite/data/terminal/commands/projects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ weight: 40
items:
- name: E-Commerce Platform API
type: Work
role: Technical lead — initial design and development
tech:
- Go
- PostgreSQL
Expand All @@ -15,6 +16,7 @@ items:
url: https://github.com/gopher/ecommerce-api
- name: Real-Time Collaboration Tool
type: Work
role: Co-maintainer
tech:
- React
- WebSockets
Expand All @@ -24,6 +26,7 @@ items:
url: https://demo.example.com/collab
- name: CLI Task Manager
type: Personal
role: Creator & maintianer
tech:
- Go
- SQLite
Expand Down
3 changes: 2 additions & 1 deletion layouts/_partials/terminal/commands/projects.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<pre class="font-mono whitespace-pre-wrap leading-relaxed">{{ range $index, $project := .items }}{{ $projectType := $project.type | default ($project.label | default "") }}{{ $projectTypeLower := lower $projectType }}{{ $typeAccent := "purple" }}{{ if eq $projectTypeLower "personal" }}{{ $typeAccent = "cyan" }}{{ end }}{{ $typeClasses := partial "components/accent-classes.html" $typeAccent }}<span class="text-accent-purple">{{ add $index 1 }}.</span> <span class="font-bold text-accent-cyan">{{ $project.name }}</span>{{ with $projectType }} <span class="{{ $typeClasses.chip }} align-middle uppercase">{{ . }}</span>{{ end }}
<span class="text-accent-cyan">Tech:</span> {{ delimit $project.tech ", " }}
{{ with $project.role }} <span class="text-accent-cyan">Role:</span> {{ . }}
{{ end }} <span class="text-accent-cyan">Tech:</span> {{ delimit $project.tech ", " }}
<span class="text-accent-cyan">Desc:</span> {{ $project.description }}
<span class="text-accent-cyan">Link:</span> <a class="pointer-events-auto relative z-50 nerdy-link underline" href="{{ $project.url }}" target="_blank" rel="noopener noreferrer">{{ $project.url }}</a>

Expand Down