Skip to content

Add Views Badge, Views in User Card Showcase and Fix landing page - #2

Open
wtfPrethiv wants to merge 3 commits into
Rahuletto:mainfrom
wtfPrethiv:main
Open

Add Views Badge, Views in User Card Showcase and Fix landing page#2
wtfPrethiv wants to merge 3 commits into
Rahuletto:mainfrom
wtfPrethiv:main

Conversation

@wtfPrethiv

Copy link
Copy Markdown

Added a new /views route for tracking and displaying GitHub profile views, along with a showViews option on the existing User Stats Card. The feature fully inherits the core framework's themes, color overrides, and SVG animations.

Features:

  • Standalone views badge with pill, transparent (nobg), and monospace (samp) rendering modes
  • Views row added to the User Stats Card via showViews=true
  • Roboto Mono font bundled and registered in the Satori font pipeline for samp styling
  • Animation threshold tuned so icon paths (GoEye) correctly inherit the fade-in keyframe

Views pill preview:

image

Views Parameters

Parameters specific to the /views badge:

Parameters Description Default
label Custom prefix text before the view count views
size Sizing of badge text & icon (small, medium, large) small
nobg Transparent background mode without borders (true, false) false
samp GitHub <samp> code monospace font style with white text false
icon Toggle eye icon (true, false) true (Normal)
false (samp)

Other Changes:

  • Fixed broken widgets on the landing page
  • Fixed a typo
  • Added the Views badge to the landing page

@vercel

vercel Bot commented Jul 22, 2026

Copy link
Copy Markdown

@wtfPrethiv is attempting to deploy a commit to the stuff Team on Vercel.

A member of the Team first needs to authorize it.

@wtfPrethiv wtfPrethiv changed the title Add Views Badge and Views in User Card Showcase and Fix landing page Add Views Badge, Views in User Card Showcase and Fix landing page Jul 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant