starters: migrate Link-In-Bio to Tailwind 4

This commit is contained in:
George Cushen committed 2025-09-06 22:42:46 +01:00
1 parent 03718628e4
commit 1d2248be50
11 files changed
+161 -42

No files matched your search

+8 -5
View File
@@ -2,8 +2,14 @@
export function initTheme() {
const root = document.documentElement;
const defaultTheme = root.dataset.wcThemeDefault;
const setDark = () => { root.classList.add('dark'); root.style.colorScheme = 'dark'; };
const setLight = () => { root.classList.remove('dark'); root.style.colorScheme = 'light'; };
const setDark = () => {
root.classList.add('dark');
root.style.colorScheme = 'dark';
};
const setLight = () => {
root.classList.remove('dark');
root.style.colorScheme = 'light';
};
if ('wc-color-theme' in localStorage) {
localStorage.getItem('wc-color-theme') === 'dark' ? setDark() : setLight();
@@ -39,6 +45,3 @@ export function applyHugoStyleFixes() {
});
});
}
@@ -1,6 +1,6 @@
<div class="absolute right-0 top-0 m-3 bg-primary-100 dark:bg-primary-700 rounded-full p-2 z-10">
<div class="h-[24px] w-[24px]">
<button class="theme-toggle" accesskey="t" title="" aria-label="{{ i18n "theme_selector" }}">
<button class="theme-toggle h-[24px] w-[24px] flex items-center justify-center" accesskey="t" title="" aria-label="{{ i18n "theme_selector" }}">
<svg id="moon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round" class="block dark:hidden">
@@ -81,7 +81,7 @@
{{- if hugo.IsProduction -}}
{{- $hb_head = $hb_head | fingerprint "sha256" -}}
{{- end -}}
<script defer src="{{ $hb_head.RelPermalink }}"{{ if hugo.IsProduction }} integrity="{{ $hb_head.Data.Integrity }}" crossorigin="anonymous"{{ end }}></script>
<script src="{{ $hb_head.RelPermalink }}"{{ if hugo.IsProduction }} integrity="{{ $hb_head.Data.Integrity }}" crossorigin="anonymous"{{ end }}></script>
{{/* Analytics & Verification */}}
{{/* !CACHED! All analytics and verification code is at site level */}}
@@ -30,17 +30,17 @@ marketing:
header:
navbar:
enable: true
blox: "navbar"
align: "center"
block: 'navbar'
align: 'center'
fixed_to_top: true
logo:
text: ""
text: ''
# Logo filename in `assets/media/` folder
filename: "logo.svg"
filename: 'logo.svg'
button:
enable: true
text: "Get Started"
url: "https://hugoblox.com/templates/"
text: 'Get Started'
url: 'https://hugoblox.com/templates/'
show_search: true
show_theme_chooser: true
@@ -1,3 +1,4 @@
---
title: Blog
view: card
---
@@ -30,7 +30,7 @@ marketing:
header:
navbar:
enable: true
blox: floating-theme-toggler
block: floating-theme-toggler
# Site footer
footer:
+1 -1
View File
@@ -19,7 +19,7 @@ sections:
style: 'text-align: justify; font-size: 0.8em;'
# Avatar customization
avatar:
size: medium # Options: small (150px), medium (200px, default), large (320px), xl (400px), xxl (500px)
size: medium # Options: small (150px), medium (200px, default), large (320px), xl (400px), xxl (500px)
shape: circle # Options: circle (default), square, rounded
- block: cta-button-list
content:
@@ -1,54 +1,169 @@
---
# Display name
title: 吳健雄
title: Alex Johnson
# Name pronunciation (optional)
name_pronunciation: Chien Shiung Wu
name_pronunciation: ''
# Full name (for SEO)
first_name: Shiung Wu
last_name: Chien
first_name: Alex
last_name: Johnson
# Pronouns (optional)
pronouns: she/her
pronouns: he/him
# Status emoji
status:
icon: ☕️
icon: 🚀
# Is this the primary user of the site?
superuser: true
# Highlight the author in author lists? (true/false)
highlight_name: true
# Role/position/tagline
role: Professor of Artificial Intelligence
role: Senior AI Research Scientist
# Organizations/Affiliations to show in About widget
# Organizations/Affiliations to display in Biography blox
organizations:
- name: Stanford University
url: https://www.stanford.edu/
- name: Meta AI
url: https://ai.meta.com/
# Social Networking
# Social network links
# Need to use another icon? Simply download the SVG icon to your `assets/media/icons/` folder.
profiles:
- icon: at-symbol
url: 'mailto:your-email@example.com'
url: 'mailto:alex.johnson@meta.com'
label: E-mail Me
- icon: brands/x
url: https://twitter.com/GetResearchDev
- icon: brands/instagram
url: https://www.instagram.com/
url: https://twitter.com/AlexAIResearch
- icon: brands/github
url: https://github.com/alexjohnsonai
- icon: brands/linkedin
url: https://www.linkedin.com/
- icon: brands/google-scholar
url: https://scholar.google.com/citations?user=mG4imMEAAAAJ
- icon: brands/orcid
url: https://www.orcid.com/
# Link to a PDF of your resume/CV - upload it to `static/uploads/resume.pdf`
- icon: academicons/cv
url: uploads/resume.pdf
label: Download my resume
url: https://www.linkedin.com/in/alexjohnsonai/
- icon: academicons/google-scholar
url: https://scholar.google.com/citations?user=alexjohnson
- icon: academicons/orcid
url: https://orcid.org/0000-0002-1825-0097
interests:
- Large Language Models
- Computer Vision
- Reinforcement Learning
- AI Ethics
education:
- area: PhD Computer Science (AI Focus)
institution: Stanford University
date_start: 2015-09-01
date_end: 2019-06-30
summary: |
Thesis on _Scaling Laws for Neural Language Models_. Supervised by Prof. Andrew Ng. Published 5 papers in NeurIPS and ICML, with 2 best paper awards.
button:
text: 'Read Thesis'
url: 'https://example.com/thesis.pdf'
- area: MS Computer Science
institution: Carnegie Mellon University
date_start: 2013-09-01
date_end: 2015-05-31
summary: |
GPA: 4.0/4.0
Specialized in machine learning and robotics.
- area: BS Computer Science
institution: MIT
date_start: 2009-09-01
date_end: 2013-05-31
summary: |
GPA: 3.9/4.0
Minored in Mathematics. President of AI Club.
work:
- position: Senior AI Research Scientist
company_name: Meta AI
company_url: 'https://ai.meta.com/'
company_logo: ''
date_start: 2020-01-01
date_end: ''
summary: |2-
Leading research on multimodal AI systems. Contributed to Llama 2 and other open-source models. 50+ citations in 3 years.
- position: AI Research Intern
company_name: OpenAI
company_url: 'https://openai.com/'
company_logo: ''
date_start: 2019-06-01
date_end: 2019-12-31
summary: |
Worked on GPT-3 scaling. Co-authored paper on prompt engineering.
# Skills
# Add your own SVG icons to `assets/media/icons/`
skills:
- name: Technical Skills
items:
- name: Python & PyTorch
description: ''
percent: 95
icon: code-bracket
- name: Machine Learning
description: ''
percent: 100
icon: chart-bar
- name: Cloud Computing (AWS/GCP)
description: ''
percent: 85
icon: cloud
- name: Hobbies
color: '#eeac02'
color_border: '#f0bf23'
items:
- name: Hiking in the Rockies
description: ''
percent: 80
icon: person-simple-walk
- name: Building Custom PCs
description: ''
percent: 90
icon: cpu-chip
- name: Sci-Fi Reading
description: ''
percent: 70
icon: book-open
languages:
- name: English
percent: 100
- name: Spanish
percent: 50
# Awards.
# Add/remove as many awards below as you like.
# Only `title`, `awarder`, and `date` are required.
# Begin multi-line `summary` with YAML's `|` or `|2-` multi-line prefix and indent 2 spaces below.
awards:
- title: Best Paper Award
url: https://neurips.cc/
date: '2022-12-01'
awarder: NeurIPS
icon: hero/trophy
summary: |
Awarded for groundbreaking work on efficient training of large models.
- title: AI Innovation Grant
url: https://www.nsf.gov/
date: '2021-06-15'
awarder: National Science Foundation
icon: hero/currency-dollar
summary: |
$500,000 grant for research in ethical AI development.
- title: Outstanding PhD Thesis
url: https://www.stanford.edu/
date: '2019-06-30'
awarder: Stanford University
icon: hero/academic-cap
summary: |
Recognized for contributions to scaling laws in deep learning.
---
Chien Shiung Wu is a professor of artificial intelligence at the Stanford AI Lab. Her research interests include
distributed robotics, mobile computing and programmable matter. She leads the Robotic Neurobiology group, which develops
self-reconfiguring robots, systems of self-organizing robots, and mobile sensor networks.
Alex Johnson is a Senior AI Research Scientist at Meta AI, where he leads groundbreaking work on large language models and multimodal systems. His research has been published in top conferences like NeurIPS and ICML, with over 10,000 citations. Alex is passionate about pushing the boundaries of AI while ensuring ethical development. Outside of work, he enjoys hiking in the Rockies, building custom PCs, and mentoring the next generation of AI talent.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB