Skip to content

Commit 4536c47

Browse files
amide-initclaude
andcommitted
feat: change default template from minimal to hacker
First impression for forkers is now the terminal/hacker aesthetic — better for promotion and "deploy in 30s" showcasing. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 52c0983 commit 4536c47

8 files changed

Lines changed: 8 additions & 8 deletions

File tree

src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function App() {
1717
const { hero, footer } = sc
1818

1919
// Theme is derived from the template setting — no user toggle needed.
20-
const template = (githubConfig as { template?: string }).template ?? 'minimal'
20+
const template = (githubConfig as { template?: string }).template ?? 'hacker'
2121
const theme: Theme = template === 'classic' ? 'light' : 'dark'
2222
// hacker template overrides the shared nav/footer to terminal green
2323
const isHacker = template === 'hacker'

src/admin/pages/AdminTemplatePage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export function AdminTemplatePage() {
105105

106106
<div className="grid grid-cols-2 gap-4 sm:grid-cols-4">
107107
{TEMPLATES.map(({ id, label, description, preview }) => {
108-
const isActive = (config.template ?? 'minimal') === id
108+
const isActive = (config.template ?? 'hacker') === id
109109
return (
110110
<button
111111
key={id}

src/pages/BlogPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import BentoBlogPage from '../templates/bento/BlogPage'
55
import HackerBlogPage from '../templates/hacker/BlogPage'
66

77
export default function BlogPage() {
8-
const template = (githubConfig as { template?: string }).template ?? 'minimal'
8+
const template = (githubConfig as { template?: string }).template ?? 'hacker'
99
if (template === 'classic') return <ClassicBlogPage />
1010
if (template === 'bento') return <BentoBlogPage />
1111
if (template === 'hacker') return <HackerBlogPage />

src/pages/BlogsPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import BentoBlogsPage from '../templates/bento/BlogsPage'
55
import HackerBlogsPage from '../templates/hacker/BlogsPage'
66

77
export default function BlogsPage() {
8-
const template = (githubConfig as { template?: string }).template ?? 'minimal'
8+
const template = (githubConfig as { template?: string }).template ?? 'hacker'
99
if (template === 'classic') return <ClassicBlogsPage />
1010
if (template === 'bento') return <BentoBlogsPage />
1111
if (template === 'hacker') return <HackerBlogsPage />

src/pages/HomePage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import BentoHomePage from '../templates/bento/HomePage'
55
import HackerHomePage from '../templates/hacker/HomePage'
66

77
export default function HomePage() {
8-
const template = (githubConfig as { template?: string }).template ?? 'minimal'
8+
const template = (githubConfig as { template?: string }).template ?? 'hacker'
99
if (template === 'classic') return <ClassicHomePage />
1010
if (template === 'bento') return <BentoHomePage />
1111
if (template === 'hacker') return <HackerHomePage />

src/pages/ProjectsPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import BentoProjectsPage from '../templates/bento/ProjectsPage'
55
import HackerProjectsPage from '../templates/hacker/ProjectsPage'
66

77
export default function ProjectsPage() {
8-
const template = (githubConfig as { template?: string }).template ?? 'minimal'
8+
const template = (githubConfig as { template?: string }).template ?? 'hacker'
99
if (template === 'classic') return <ClassicProjectsPage />
1010
if (template === 'bento') return <BentoProjectsPage />
1111
if (template === 'hacker') return <HackerProjectsPage />

src/pages/VideosPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import BentoVideosPage from '../templates/bento/VideosPage'
55
import HackerVideosPage from '../templates/hacker/VideosPage'
66

77
export default function VideosPage() {
8-
const template = (githubConfig as { template?: string }).template ?? 'minimal'
8+
const template = (githubConfig as { template?: string }).template ?? 'hacker'
99
if (template === 'classic') return <ClassicVideosPage />
1010
if (template === 'bento') return <BentoVideosPage />
1111
if (template === 'hacker') return <HackerVideosPage />

src/types/gitforgeConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export interface GitforgeConfig {
3131
githubToken?: string | null
3232
featuredRepos?: string[]
3333
listedRepo?: ListedRepoConfig
34-
/** Active portfolio template (optional, defaults to "minimal"). */
34+
/** Active portfolio template (optional, defaults to "hacker"). */
3535
template?: 'minimal' | 'classic' | 'bento' | 'hacker'
3636
/** Global font family for the site (optional, defaults to system). */
3737
fontFamily?: 'system' | 'ubuntu' | 'comic-sans' | 'inter' | 'roboto'

0 commit comments

Comments
 (0)