diff --git a/.claude/settings.local.json b/.claude/settings.local.json new file mode 100644 index 0000000..b809359 --- /dev/null +++ b/.claude/settings.local.json @@ -0,0 +1,30 @@ +{ + "permissions": { + "allow": [ + "Bash(git -C /Users/eaogorman/Files/CV/website/eaogorman.github.io log --all --oneline)", + "Bash(git -C /Users/eaogorman/Files/CV/website/eaogorman.github.io show --stat HEAD)", + "Bash(git -C /Users/eaogorman/Files/CV/website/eaogorman.github.io branch -a)", + "Bash(git -C /Users/eaogorman/Files/CV/website/eaogorman.github.io diff main..upgrade -- .github/workflows/build.yml)", + "Bash(git -C /Users/eaogorman/Files/CV/website/eaogorman.github.io status)", + "Bash(git -C /Users/eaogorman/Files/CV/website/eaogorman.github.io show main:.github/workflows/build.yml)", + "Bash(git -C /Users/eaogorman/Files/CV/website/eaogorman.github.io show main:go.mod)", + "Bash(git -C /Users/eaogorman/Files/CV/website/eaogorman.github.io show main:hugoblox.yaml)", + "Bash(git -C /Users/eaogorman/Files/CV/website/eaogorman.github.io show main:.github/workflows/)", + "Bash(git -C /Users/eaogorman/Files/CV/website/eaogorman.github.io ls-tree main .github/workflows/)", + "Bash(git -C /Users/eaogorman/Files/CV/website/eaogorman.github.io diff main upgrade --name-status .github/)", + "Bash(git -C /Users/eaogorman/Files/CV/website/eaogorman.github.io show main:.github/workflows/deploy.yml)", + "Bash(git -C /Users/eaogorman/Files/CV/website/eaogorman.github.io show upgrade:.github/workflows/deploy.yml)", + "Bash(git -C /Users/eaogorman/Files/CV/website/eaogorman.github.io diff main upgrade -- hugoblox.yaml package.json go.mod config/)", + "Bash(git -C /Users/eaogorman/Files/CV/website/eaogorman.github.io diff main upgrade -- package.json)", + "Bash(git -C /Users/eaogorman/Files/CV/website/eaogorman.github.io show main:package.json)", + "Bash(git -C /Users/eaogorman/Files/CV/website/eaogorman.github.io show main:netlify.toml)", + "Bash(git -C /Users/eaogorman/Files/CV/website/eaogorman.github.io log -1 --format=\"%H %s\" a07f61c)", + "Bash(git -C /Users/eaogorman/Files/CV/website/eaogorman.github.io show a07f61c)", + "Bash(gh run list --limit 5)", + "Bash(hugo version)", + "Bash(hugo --minify)", + "Bash(brew list go)", + "Bash(brew install go)" + ] + } +} diff --git a/.claude/skills/frontend-design/LICENSE.txt b/.claude/skills/frontend-design/LICENSE.txt new file mode 100644 index 0000000..f433b1a --- /dev/null +++ b/.claude/skills/frontend-design/LICENSE.txt @@ -0,0 +1,177 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS diff --git a/.claude/skills/frontend-design/SKILL.md b/.claude/skills/frontend-design/SKILL.md new file mode 100644 index 0000000..5be498e --- /dev/null +++ b/.claude/skills/frontend-design/SKILL.md @@ -0,0 +1,42 @@ +--- +name: frontend-design +description: Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics. +license: Complete terms in LICENSE.txt +--- + +This skill guides creation of distinctive, production-grade frontend interfaces that avoid generic "AI slop" aesthetics. Implement real working code with exceptional attention to aesthetic details and creative choices. + +The user provides frontend requirements: a component, page, application, or interface to build. They may include context about the purpose, audience, or technical constraints. + +## Design Thinking + +Before coding, understand the context and commit to a BOLD aesthetic direction: +- **Purpose**: What problem does this interface solve? Who uses it? +- **Tone**: Pick an extreme: brutally minimal, maximalist chaos, retro-futuristic, organic/natural, luxury/refined, playful/toy-like, editorial/magazine, brutalist/raw, art deco/geometric, soft/pastel, industrial/utilitarian, etc. There are so many flavors to choose from. Use these for inspiration but design one that is true to the aesthetic direction. +- **Constraints**: Technical requirements (framework, performance, accessibility). +- **Differentiation**: What makes this UNFORGETTABLE? What's the one thing someone will remember? + +**CRITICAL**: Choose a clear conceptual direction and execute it with precision. Bold maximalism and refined minimalism both work - the key is intentionality, not intensity. + +Then implement working code (HTML/CSS/JS, React, Vue, etc.) that is: +- Production-grade and functional +- Visually striking and memorable +- Cohesive with a clear aesthetic point-of-view +- Meticulously refined in every detail + +## Frontend Aesthetics Guidelines + +Focus on: +- **Typography**: Choose fonts that are beautiful, unique, and interesting. Avoid generic fonts like Arial and Inter; opt instead for distinctive choices that elevate the frontend's aesthetics; unexpected, characterful font choices. Pair a distinctive display font with a refined body font. +- **Color & Theme**: Commit to a cohesive aesthetic. Use CSS variables for consistency. Dominant colors with sharp accents outperform timid, evenly-distributed palettes. +- **Motion**: Use animations for effects and micro-interactions. Prioritize CSS-only solutions for HTML. Use Motion library for React when available. Focus on high-impact moments: one well-orchestrated page load with staggered reveals (animation-delay) creates more delight than scattered micro-interactions. Use scroll-triggering and hover states that surprise. +- **Spatial Composition**: Unexpected layouts. Asymmetry. Overlap. Diagonal flow. Grid-breaking elements. Generous negative space OR controlled density. +- **Backgrounds & Visual Details**: Create atmosphere and depth rather than defaulting to solid colors. Add contextual effects and textures that match the overall aesthetic. Apply creative forms like gradient meshes, noise textures, geometric patterns, layered transparencies, dramatic shadows, decorative borders, custom cursors, and grain overlays. + +NEVER use generic AI-generated aesthetics like overused font families (Inter, Roboto, Arial, system fonts), cliched color schemes (particularly purple gradients on white backgrounds), predictable layouts and component patterns, and cookie-cutter design that lacks context-specific character. + +Interpret creatively and make unexpected choices that feel genuinely designed for the context. No design should be the same. Vary between light and dark themes, different fonts, different aesthetics. NEVER converge on common choices (Space Grotesk, for example) across generations. + +**IMPORTANT**: Match implementation complexity to the aesthetic vision. Maximalist designs need elaborate code with extensive animations and effects. Minimalist or refined designs need restraint, precision, and careful attention to spacing, typography, and subtle details. Elegance comes from executing the vision well. + +Remember: Claude is capable of extraordinary creative work. Don't hold back, show what can truly be created when thinking outside the box and committing fully to a distinctive vision. diff --git a/assets/media/icons/custom/MMM_logo.svg b/assets/media/icons/custom/MMM_logo.svg new file mode 100644 index 0000000..d9f551d --- /dev/null +++ b/assets/media/icons/custom/MMM_logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/media/icons/custom/inscopix_1.svg b/assets/media/icons/custom/inscopix_1.svg new file mode 100644 index 0000000..022d6b9 --- /dev/null +++ b/assets/media/icons/custom/inscopix_1.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/media/icons/custom/neuron.svg b/assets/media/icons/custom/neuron.svg new file mode 100644 index 0000000..e55d513 --- /dev/null +++ b/assets/media/icons/custom/neuron.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/config/_default/menus.yaml b/config/_default/menus.yaml index 4040517..75cca2a 100644 --- a/config/_default/menus.yaml +++ b/config/_default/menus.yaml @@ -1,27 +1,28 @@ # Navigation Links -# To link a homepage widget, specify the URL as a hash `#` followed by the filename of the - # desired widget in your `content/home/` folder. - # The weight parameter defines the order that the links will appear in. +# The weight parameter defines the order that the links will appear in (lower = further left). main: - - name: Bio + - name: Home url: / weight: 10 + - name: About + url: /about/ + weight: 20 + - name: Publications + url: /papers + weight: 30 - name: Presentations - url: /#presentations - weight: 11 - - name: Talks - url: /#talks - weight: 12 - - name: News - url: /#news - weight: 13 + url: /presentations + weight: 40 + - name: Skills + url: /skills + weight: 50 - name: Experience url: experience/ - weight: 20 + weight: 60 - name: Projects url: projects/ - weight: 30 + weight: 70 - name: Teaching url: teaching/ - weight: 40 + weight: 80 diff --git a/content/_index.md b/content/_index.md index a8dcf91..2c06354 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,123 +1,42 @@ --- -# Leave the homepage title empty to use the site title title: "" summary: "" type: landing -design: - # Default section spacing - spacing: "6rem" - sections: - - block: resume-biography-3 + - block: dev-hero + id: hero content: - # Choose a user profile to display (a folder name within `content/authors/`) username: eaogorman - text: "" - # Show a call-to-action button under your biography? (optional) - buttons: + bio: "I work at the intersection of systems neuroscience, machine learning, and software engineering to study adaptive behavior and the brain. 8+ years of experience as a scientific software developer and 5+ years of experience as an experimentalist." + greeting: "Hi, I'm" + tagline: "Computational Neurobiologist" + show_status: true + show_scroll_indicator: false + typewriter: + enable: true + prefix: "I" + strings: + - "build real-time adaptive experimentation systems." + - "develop ML pipelines for neuroscience." + - "use ML to study and shape behavior and neural dynamics." + - "study how experience shapes learning and behavior." + - "study how the brain produces adaptive behavior." + - "educate and mentor across levels." + type_speed: 60 + delete_speed: 40 + pause_time: 2500 + cta_buttons: - text: Download Academic CV url: uploads/eao_cv_2026.pdf - - text: Download Résumé + icon: document-arrow-down + - text: Download Resume url: uploads/eao_resume.pdf - headings: - about: "About Me" - education: "" - interests: "" + icon: document-arrow-down design: - # Use the new Gradient Mesh which automatically adapts to the selected theme colors - background: - gradient_mesh: - enable: true - - # Name heading sizing to accommodate long or short names + style: centered + avatar_shape: rounded + animations: true name: - size: md # Options: xs, sm, md, lg (default), xl - - # Avatar customization - avatar: - size: medium # Options: small (150px), medium (200px, default), large (320px), xl (400px), xxl (500px) - shape: rounded # Options: circle (default), square, rounded - # background: - # color: black - # image: - # # Add your image background to `assets/media/`. - # filename: stacked-peaks.svg - # filters: - # brightness: 1.0 - # size: cover - # position: center - # parallax: false - - block: markdown - content: - title: '📚 My Research' - subtitle: '' - text: |- - Use this area to speak to your mission. I'm a research scientist in the Moonshot team at DeepMind. I blog about machine learning, deep learning, and moonshots. - - I apply a range of qualitative and quantitative methods to comprehensively investigate the role of science and technology in the economy. - - Please reach out to collaborate 😃 - design: - columns: '1' - - block: collection - id: papers - content: - title: Featured Publications - filters: - folders: - - publication - featured_only: true - design: - view: article-grid - columns: 2 - - block: collection - content: - title: Recent Publications - text: "" - filters: - folders: - - publication - exclude_featured: false - design: - view: citation - - block: collection - id: talks - content: - title: Recent & Upcoming Talks - filters: - folders: - - event - design: - view: article-grid - columns: 1 - - block: collection - id: news - content: - title: Recent News - subtitle: '' - text: '' - # Page type to display. E.g. post, talk, publication... - page_type: post - # Choose how many pages you would like to display (0 = all pages) - count: 5 - # Filter on criteria - filters: - author: "" - category: "" - tag: "" - exclude_featured: false - exclude_future: false - exclude_past: false - publication_type: "" - # Choose how many pages you would like to offset by - offset: 0 - # Page order: descending (desc) or ascending (asc) date. - order: desc - design: - # Choose a layout view - view: date-title-summary - # Reduce spacing - spacing: - padding: [0, 0, 0, 0] + size: sm # try xs too, looks good --- diff --git a/content/about/_index.md b/content/about/_index.md new file mode 100644 index 0000000..2c9fa45 --- /dev/null +++ b/content/about/_index.md @@ -0,0 +1,42 @@ +--- +title: "" +summary: "" +type: landing + +design: + spacing: "6rem" + +sections: + - block: resume-biography-3 + content: + username: eaogorman + text: "" + buttons: + - text: Download Academic CV + url: uploads/eao_cv_2026.pdf + - text: Download Resume + url: uploads/eao_resume.pdf + headings: + about: "About Me" + education: "" + interests: "" + design: + background: + gradient_mesh: + enable: true + name: + size: md + avatar: + size: medium + shape: rounded + - block: collection + content: + title: Recent Publications + text: "" + filters: + folders: + - publication + exclude_featured: false + design: + view: citation +--- diff --git a/data/authors/eaogorman.yaml b/data/authors/eaogorman.yaml index a59dcb5..c0c63a7 100644 --- a/data/authors/eaogorman.yaml +++ b/data/authors/eaogorman.yaml @@ -9,7 +9,7 @@ name: alternate: "Liz" pronouns: "she/her" role: "Computational Neurobiologist" -bio: "Elizabeth (Liz) A. O'Gorman is a computational neurobiologist with a Ph.D. in Neurobiology and a concurrent M.S. in Electrical and Computer Engineering concentrating in Data Analytics and Machine Learning from Duke University. Her research interests include developing and using state-of-the-art computational methods to discover fundamental algorithms and computations used by the brain to produce adaptive individual and social behaviors. Methods confine and compliment scientific discoveries --- to that end, her objective is to develop and use novel methods to advance science. Most recently, as a computationalist, she has developed methods for adaptive neuroscience experimentation, and as an experimentalist, she has used these methods to reinforce adaptive behaviors. Ultimately, she is interested in how environment and experience shape adaptive behaviors throughout the lifespan, in health and disease or disorder, using computational and experimental approaches." +bio: "Elizabeth (Liz) A. O'Gorman, Ph.D. is a computational neurobiologist with a Ph.D. in Neurobiology and a concurrent M.S. in Electrical and Computer Engineering concentrating in Data Analytics and Machine Learning from Duke University. Her research interests include developing and using state-of-the-art computational methods to discover fundamental algorithms and computations used by the brain to produce adaptive individual and social behaviors. Methods confine and compliment scientific discoveries --- to that end, her objective is to develop and use novel methods to advance science. Most recently, as a computationalist, she has developed methods for adaptive neuroscience experimentation, and as an experimentalist, she has used these methods to reinforce adaptive behaviors. Ultimately, she is interested in how environment and experience shape adaptive behaviors throughout the lifespan, in health and disease or disorder, using computational and experimental approaches." status: icon: "🔬" postnominals: diff --git a/layouts/partials/hbx/blocks/dev-hero/block.html b/layouts/partials/hbx/blocks/dev-hero/block.html new file mode 100644 index 0000000..3956640 --- /dev/null +++ b/layouts/partials/hbx/blocks/dev-hero/block.html @@ -0,0 +1,490 @@ +{{/* Hugo Blox: Dev Hero */}} +{{/* Documentation: https://hugoblox.com/blocks/ */}} +{{/* License: https://github.com/HugoBlox/kit/blob/main/LICENSE.md */}} + +{{/* Initialise */}} +{{ $page := .wcPage }} +{{ $block := .wcBlock }} +{{ $content := $block.content }} +{{ if not (reflect.IsMap $content) }}{{ $content = dict }}{{ end }} +{{ $design := $block.design }} +{{ if not (reflect.IsMap $design) }}{{ $design = dict }}{{ end }} + +{{/* Enable animations if typewriter or scroll animations are configured */}} +{{ $typewriter := index $content "typewriter" }} +{{ if not (reflect.IsMap $typewriter) }}{{ $typewriter = dict }}{{ end }} +{{ $typewriter_enabled := partial "functions/coerce_bool" (dict "value" (index $typewriter "enable") "default" false) }} +{{ $animations_enabled := partial "functions/coerce_bool" (dict "value" (index $design "animations") "default" false) }} +{{ $has_animations := or $typewriter_enabled $animations_enabled }} +{{ if $has_animations }} + {{ $page.Store.Set "has_animations" true }} + {{ $page.Store.Set "has_alpine" true }} +{{ end }} + +{{/* Get author data from YAML */}} +{{ $username := "me" }} +{{ $username_raw := index $content "username" }} +{{ if eq (printf "%T" $username_raw) "string" }} + {{ $username = strings.TrimSpace $username_raw }} +{{ end }} +{{ $author := partial "functions/get_author_profile" $username }} + +{{/* Get avatar */}} +{{ $avatar := "" }} +{{ $avatar_shape := "circle" }} +{{ $avatar_shape_raw := index $design "avatar_shape" }} +{{ if eq (printf "%T" $avatar_shape_raw) "string" }} + {{ $avatar_shape = lower (strings.TrimSpace $avatar_shape_raw) }} +{{ end }} +{{ with $author.avatar }} + {{ $avatar = .Fill "300x300 webp Center" }} +{{ end }} + +{{/* Layout style */}} +{{ $style := "centered" }} +{{ $style_raw := index $design "style" }} +{{ if eq (printf "%T" $style_raw) "string" }} + {{ $style_candidate := lower (strings.TrimSpace $style_raw) }} + {{ if in (slice "centered" "split") $style_candidate }} + {{ $style = $style_candidate }} + {{ end }} +{{ end }} + +{{ $show_status := partial "functions/coerce_bool" (dict "value" (index $content "show_status") "default" false) }} +{{ $show_scroll := partial "functions/coerce_bool" (dict "value" (index $content "show_scroll_indicator") "default" false) }} + +{{ $scroll_target := "#projects" }} +{{ $scroll_target_raw := index $content "scroll_target" }} +{{ if eq (printf "%T" $scroll_target_raw) "string" }} + {{ $scroll_target = strings.TrimSpace $scroll_target_raw }} +{{ end }} +{{ if not $scroll_target }}{{ $scroll_target = "#projects" }}{{ end }} + +{{/* Name size: xs, sm, md (default), lg, xl */}} +{{ $name_size := "md" }} +{{ $name_config := index $design "name" }} +{{ if reflect.IsMap $name_config }} + {{ $size_raw := index $name_config "size" }} + {{ if eq (printf "%T" $size_raw) "string" }} + {{ $candidate := lower (strings.TrimSpace $size_raw) }} + {{ if in (slice "xs" "sm" "md" "lg" "xl") $candidate }} + {{ $name_size = $candidate }} + {{ end }} + {{ end }} +{{ end }} +{{ $name_classes_split := dict "xs" "text-2xl sm:text-3xl md:text-4xl" "sm" "text-3xl sm:text-4xl md:text-5xl" "md" "text-4xl sm:text-5xl md:text-6xl" "lg" "text-4xl sm:text-5xl md:text-6xl lg:text-7xl" "xl" "text-5xl sm:text-6xl md:text-7xl lg:text-8xl" }} +{{ $name_classes_centered := dict "xs" "text-2xl sm:text-3xl md:text-4xl lg:text-5xl" "sm" "text-3xl sm:text-4xl md:text-5xl lg:text-6xl" "md" "text-4xl sm:text-5xl md:text-6xl lg:text-7xl" "lg" "text-5xl sm:text-6xl md:text-7xl lg:text-8xl" "xl" "text-6xl sm:text-7xl md:text-8xl lg:text-9xl" }} + +{{ $greeting := "" }} +{{ $greeting_raw := index $content "greeting" }} +{{ if eq (printf "%T" $greeting_raw) "string" }}{{ $greeting = $greeting_raw }}{{ end }} +{{ $name_prefix := "" }} +{{ $name_prefix_raw := index $content "name_prefix" }} +{{ if eq (printf "%T" $name_prefix_raw) "string" }}{{ $name_prefix = $name_prefix_raw }}{{ end }} + +{{ $title_override := "" }} +{{ $title_raw := index $content "title" }} +{{ if eq (printf "%T" $title_raw) "string" }}{{ $title_override = strings.TrimSpace $title_raw }}{{ end }} + +{{ $tagline := "" }} +{{ $tagline_raw := index $content "tagline" }} +{{ if eq (printf "%T" $tagline_raw) "string" }}{{ $tagline = $tagline_raw }}{{ end }} + +{{ $bio_override := "" }} +{{ $bio_raw := index $content "bio" }} +{{ if eq (printf "%T" $bio_raw) "string" }}{{ $bio_override = $bio_raw }}{{ end }} + +{{ $role := $author.role | default $tagline }} +{{ $bio := $bio_override | default $author.bio }} + +{{ $typewriter_strings := slice }} +{{ $strings_raw := index $typewriter "strings" }} +{{ if reflect.IsSlice $strings_raw }} + {{ range $strings_raw }} + {{ $val := strings.TrimSpace (printf "%v" .) }} + {{ if $val }}{{ $typewriter_strings = $typewriter_strings | append $val }}{{ end }} + {{ end }} +{{ else if eq (printf "%T" $strings_raw) "string" }} + {{ $val := strings.TrimSpace $strings_raw }} + {{ if $val }}{{ $typewriter_strings = slice $val }}{{ end }} +{{ end }} + +{{ $typewriter_prefix := "" }} +{{ $typewriter_prefix_raw := index $typewriter "prefix" }} +{{ if eq (printf "%T" $typewriter_prefix_raw) "string" }}{{ $typewriter_prefix = $typewriter_prefix_raw }}{{ end }} +{{ $type_speed := partial "functions/coerce_int" (dict "value" (index $typewriter "type_speed") "default" 80 "min" 10 "max" 500) }} +{{ $delete_speed := partial "functions/coerce_int" (dict "value" (index $typewriter "delete_speed") "default" 50 "min" 10 "max" 500) }} +{{ $pause_time := partial "functions/coerce_int" (dict "value" (index $typewriter "pause_time") "default" 2000 "min" 200 "max" 10000) }} + +{{ $links_raw := $author.links | default (index $content "links") }} +{{ $links := slice }} +{{ if reflect.IsSlice $links_raw }} + {{ range $links_raw }} + {{ $url := "" }} + {{ $icon := "hero/link" }} + {{ $label := "" }} + {{ if reflect.IsMap . }} + {{ $url_raw := index . "url" | default (index . "link") }} + {{ if eq (printf "%T" $url_raw) "string" }}{{ $url = strings.TrimSpace $url_raw }}{{ end }} + {{ $icon_raw := index . "icon" }} + {{ if eq (printf "%T" $icon_raw) "string" }}{{ $icon = $icon_raw }}{{ end }} + {{ $label_raw := index . "label" | default (index . "name") }} + {{ if eq (printf "%T" $label_raw) "string" }}{{ $label = $label_raw }}{{ end }} + {{ else if eq (printf "%T" .) "string" }} + {{ $url = strings.TrimSpace . }} + {{ end }} + {{ if $url }} + {{ $links = $links | append (dict "url" $url "icon" $icon "label" $label) }} + {{ end }} + {{ end }} +{{ else if eq (printf "%T" $links_raw) "string" }} + {{ $url := strings.TrimSpace $links_raw }} + {{ if $url }} + {{ $links = slice (dict "url" $url "icon" "hero/link" "label" "") }} + {{ end }} +{{ end }} + +{{ $cta_buttons_raw := index $content "cta_buttons" }} +{{ $cta_buttons := slice }} +{{ if reflect.IsSlice $cta_buttons_raw }} + {{ $cta_buttons = $cta_buttons_raw }} +{{ else if and $cta_buttons_raw (reflect.IsMap $cta_buttons_raw) }} + {{ $cta_buttons = slice $cta_buttons_raw }} +{{ end }} + +{{ $status_icon := "" }} +{{ $status := $author.status }} +{{ if and $status (reflect.IsMap $status) }} + {{ $status_icon_raw := index $status "icon" }} + {{ if eq (printf "%T" $status_icon_raw) "string" }} + {{ $status_icon = $status_icon_raw }} + {{ end }} +{{ end }} + +{{/* adjust min-h-[60vh] for more or less space, between 50-80vh */}} +{{/* items-center to item-start so content starts near top of container instead of being vertically centered in tall box */}} +
+ + {{/* Background Effects - only visible in dark mode */}} + + + {{/* Light mode subtle background */}} +
+
+
+
+ + {{/* py-20 py-16 py-12 affects padding inside content wrapper, separate top/bottom padding would be pt-8/pb-12, for example */}} +
+ + {{ if eq $style "split" }} + {{/* Split layout with avatar on side */}} +
+ + {{/* Avatar */}} + {{ with $avatar }} +
+
+
+ {{ $author.title }} +
+ {{/* Status emoji badge */}} + {{ if $show_status }} + {{ with $status_icon }} + + {{ . | emojify }} + + {{ end }} + {{ end }} + {{/* Decorative ring */}} +
+
+
+ {{ end }} + + {{/* Content */}} +
+ {{/* Greeting */}} + {{ with $greeting }} +

+ + {{ . }} +

+ {{ end }} + + {{/* Name */}} +

+ {{ with $name_prefix }}{{ . }} {{ end }} + + {{ $author.title | default $title_override | default (i18n "developer" | default "Developer") }} + +

+ + {{/* Role/Tagline with optional typewriter */}} + {{ if and $typewriter_enabled (gt (len $typewriter_strings) 0) }} +

+ {{ with $typewriter_prefix }}{{ . }} {{ end }} + +

+ {{ else if $role }} +

+ {{ $role | $page.RenderString }} +

+ {{ end }} + + {{/* Bio */}} + {{ with $bio }} +

+ {{ . | $page.RenderString }} +

+ {{ end }} + + {{/* Social Links */}} + {{ if gt (len $links) 0 }} +
+ {{ range $links }} + {{ $icon := index . "icon" | default "hero/link" }} + {{ $url := index . "url" }} + {{ $link := $url }} + {{ $target := "" }} + {{ $scheme := (urls.Parse $link).Scheme }} + {{ if not $scheme }} + {{ if not (hasPrefix $link "#") }} + {{ $link = $link | relLangURL }} + {{ end }} + {{ else if in (slice "http" "https") $scheme }} + {{ $target = "target=\"_blank\" rel=\"noopener noreferrer\"" }} + {{ end }} + + + {{ partial "functions/get_icon" (dict "name" $icon "attributes" "class=\"w-5 h-5\"") }} + + {{ end }} +
+ {{ end }} + + {{/* CTA Buttons */}} + {{ if gt (len $cta_buttons) 0 }} +
+ {{ range $idx, $btn := $cta_buttons }} + {{ if reflect.IsMap $btn }} + {{ $is_primary := eq $idx 0 }} + {{ $btn_text := "" }} + {{ $btn_url := "" }} + {{ $btn_icon := "" }} + {{ $btn_new_tab := partial "functions/coerce_bool" (dict "value" (index $btn "new_tab") "default" false) }} + {{ with index $btn "text" }}{{ $btn_text = strings.TrimSpace (printf "%v" .) }}{{ end }} + {{ with index $btn "url" }}{{ $btn_url = strings.TrimSpace (printf "%v" .) }}{{ end }} + {{ with index $btn "icon" }}{{ $btn_icon = printf "%v" . }}{{ end }} + {{ if and $btn_text $btn_url }} + {{ $link := $btn_url }} + {{ $target := "" }} + {{ $scheme := (urls.Parse $link).Scheme }} + {{ if not $scheme }} + {{ if not (hasPrefix $link "#") }} + {{ $link = $link | relLangURL }} + {{ end }} + {{ if eq (path.Ext $link) ".pdf" }}{{ $btn_new_tab = true }}{{ end }} + {{ else if in (slice "http" "https") $scheme }} + {{ $btn_new_tab = true }} + {{ end }} + {{ if $btn_new_tab }} + {{ $target = "target=\"_blank\" rel=\"noopener\"" }} + {{ end }} + + {{ if $btn_icon }} + {{ partial "functions/get_icon" (dict "name" $btn_icon "attributes" "class=\"w-5 h-5\"") }} + {{ end }} + {{ $btn_text }} + + {{ end }} + {{ end }} + {{ end }} +
+ {{ end }} +
+
+ + {{ else }} + {{/* Centered layout */}} + + {{/* Avatar */}} + {{ with $avatar }} +
+
+
+ {{ $author.title }} +
+ {{/* Status emoji badge */}} + {{ if $show_status }} + {{ with $status_icon }} + + {{ . | emojify }} + + {{ end }} + {{ end }} +
+
+ {{ end }} + + {{/* Greeting */}} + {{ with $greeting }} +

+ + {{ . }} + +

+ {{ end }} + + {{/* Name */}} +

+ {{ with $name_prefix }}{{ . }} {{ end }} + + {{ $author.title | default $title_override | default (i18n "developer" | default "Developer") }} + +

+ + {{/* Role/Tagline with optional typewriter */}} + {{ if and $typewriter_enabled (gt (len $typewriter_strings) 0) }} +

+ {{ with $typewriter_prefix }}{{ . }} {{ end }} + +

+ {{ else if $role }} +

+ {{ $role | $page.RenderString }} +

+ {{ end }} + + {{/* Bio */}} + {{ with $bio }} +

+ {{ . | $page.RenderString }} +

+ {{ end }} + + {{/* Social Links */}} + {{ if gt (len $links) 0 }} +
+ {{ range $links }} + {{ $icon := index . "icon" | default "hero/link" }} + {{ $url := index . "url" }} + {{ $link := $url }} + {{ $target := "" }} + {{ $scheme := (urls.Parse $link).Scheme }} + {{ if not $scheme }} + {{ if not (hasPrefix $link "#") }} + {{ $link = $link | relLangURL }} + {{ end }} + {{ else if in (slice "http" "https") $scheme }} + {{ $target = "target=\"_blank\" rel=\"noopener noreferrer\"" }} + {{ end }} + + + {{ partial "functions/get_icon" (dict "name" $icon "attributes" "class=\"w-5 h-5\"") }} + + {{ end }} +
+ {{ end }} + + {{/* CTA Buttons */}} + {{ if gt (len $cta_buttons) 0 }} +
+ {{ range $idx, $btn := $cta_buttons }} + {{ if reflect.IsMap $btn }} + {{ $is_primary := eq $idx 0 }} + {{ $btn_text := "" }} + {{ $btn_url := "" }} + {{ $btn_icon := "" }} + {{ $btn_new_tab := partial "functions/coerce_bool" (dict "value" (index $btn "new_tab") "default" false) }} + {{ with index $btn "text" }}{{ $btn_text = strings.TrimSpace (printf "%v" .) }}{{ end }} + {{ with index $btn "url" }}{{ $btn_url = strings.TrimSpace (printf "%v" .) }}{{ end }} + {{ with index $btn "icon" }}{{ $btn_icon = printf "%v" . }}{{ end }} + {{ if and $btn_text $btn_url }} + {{ $link := $btn_url }} + {{ $target := "" }} + {{ $scheme := (urls.Parse $link).Scheme }} + {{ if not $scheme }} + {{ if not (hasPrefix $link "#") }} + {{ $link = $link | relLangURL }} + {{ end }} + {{ if eq (path.Ext $link) ".pdf" }}{{ $btn_new_tab = true }}{{ end }} + {{ else if in (slice "http" "https") $scheme }} + {{ $btn_new_tab = true }} + {{ end }} + {{ if $btn_new_tab }} + {{ $target = "target=\"_blank\" rel=\"noopener\"" }} + {{ end }} + + {{ if $btn_icon }} + {{ partial "functions/get_icon" (dict "name" $btn_icon "attributes" "class=\"w-5 h-5\"") }} + {{ end }} + {{ $btn_text }} + + {{ end }} + {{ end }} + {{ end }} +
+ {{ end }} + + {{ end }} + + {{/* Scroll indicator - clicks to scroll to next section */}} + {{ if $show_scroll }} + {{ $scroll_link := $scroll_target }} + {{ $scroll_target_attr := "" }} + {{ $scroll_scheme := (urls.Parse $scroll_link).Scheme }} + {{ if not $scroll_scheme }} + {{ if not (hasPrefix $scroll_link "#") }} + {{ $scroll_link = $scroll_link | relLangURL }} + {{ end }} + {{ else if in (slice "http" "https") $scroll_scheme }} + {{ $scroll_target_attr = "target=\"_blank\" rel=\"noopener\"" }} + {{ end }} + +
+
+
+
+ {{ end }} +
+