source-code/
portofolio-neo-gruv
Public
codeCodeinfoIssues 0call_splitPull Requestsplay_circleActions
portofolio-neo-gruv/src/ui/Badge.tsx
typescript17 lines466 B
import React from 'react';

interface BadgeProps {
    children: React.ReactNode;
    className?: string;
    style?: React.CSSProperties;
    as?: 'span' | 'div';
}

export const Badge: React.FC<BadgeProps> = ({ children, className = '', style, as: Tag = 'div' }) => {
    return (
        <Tag className={`px-4 py-2 font-label-bold uppercase neo-border shadow-[4px_4px_0px_0px_#1e1b19] ${className}`} style={style}>
            {children}
        </Tag>
    );
};

About

Custom portfolio frontend designed using retro Neo-Brutalist styling. Features server-rendered pages, persistent codebase layout, interactive file explorer tree, and Shiki code syntax highlighting.

TypeScriptNext.jsReact 19Tailwind CSSShiki

Contributors

1