Standard.site landing page built in Next.js
0

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'refs/heads/dev'

+26 -5
+1 -1
app/components/ExpandableField.tsx
··· 299 299 {/* Header button */ } 300 300 <button 301 301 onClick={ toggleExpand } 302 - className={ `flex items-center gap-2 px-4 py-2.5 hover:bg-base-300 transition-colors ${ expanded ? 'border-b border-border' : '' }` } 302 + className={ `flex items-center gap-2 px-4 py-2.5 hover:bg-base-300 transition-colors hover:cursor-pointer ${ expanded ? 'border-b border-border' : '' }` } 303 303 > 304 304 <FileIcon className="size-4 text-base-content" /> 305 305 <span className="font-medium text-base leading-snug tracking-tight text-base-content">
+4 -1
app/components/Footer.tsx
··· 1 - import { BlueskyLogo, StandardSiteLogo, TangledLogo } from './icons' 1 + import { BlueskyLogo, PdslsLogo, StandardSiteLogo, TangledLogo } from './icons' 2 2 3 3 export function Footer() { 4 4 return ( ··· 25 25 </a> 26 26 <a href="https://tangled.org/standard.site" target="_blank"> 27 27 <TangledLogo className="h-5 w-auto text-muted-content"/> 28 + </a> 29 + <a href="https://pdsls.dev/at://did:plc:re3ebnp5v7ffagz6rb6xfei4/com.atproto.lexicon.schema" target="_blank"> 30 + <PdslsLogo className="h-5 w-auto text-muted-content"/> 28 31 </a> 29 32 </div> 30 33 <div className="flex flex-col sm:items-end">
+1 -1
app/components/MobileNav.tsx
··· 88 88 <div 89 89 className={ `p-4 relative flex flex-col gap-6 z-40 mx-auto max-w-[38rem] w-full min-h-0 overflow-hidden rounded-2xl transition-all duration-300 ease-in-out ${ 90 90 isOpen 91 - ? 'bg-zinc-950 dark:bg-zinc-50 text-zinc-50 dark:text-zinc-950 h-[21.8125rem]' 91 + ? 'bg-zinc-950 dark:bg-zinc-50 text-zinc-50 dark:text-zinc-950 h-[24.5rem]' 92 92 : 'text-base-content h-15' 93 93 }` }> 94 94 <div className="flex justify-between items-center">
+1 -1
app/components/TabbedLexiconViewer.tsx
··· 35 35 <button 36 36 key={ tab.nsid } 37 37 onClick={ () => setActiveIndex(index) } 38 - className="flex items-center gap-2 border-r border-border px-4 py-2.5 last:border-r-0 whitespace-nowrap" 38 + className="flex items-center gap-2 border-r border-border px-4 py-2.5 last:border-r-0 whitespace-nowrap hover:cursor-pointer" 39 39 > 40 40 <FileIcon 41 41 className={ `size-4 ${ index === activeIndex ? 'text-base-content' : 'text-muted' }` }
+18 -1
app/components/icons/index.tsx
··· 119 119 /> 120 120 </svg> 121 121 ); 122 - } 122 + } 123 + 124 + export function PdslsLogo({ className, ...props }: IconProps){ 125 + return ( 126 + <svg 127 + viewBox="0 0 20 20" 128 + fill="none" 129 + xmlns="http://www.w3.org/2000/svg" 130 + className={className} 131 + {...props} 132 + > 133 + <path 134 + d="M10.4004 0C13.7603 9.83795e-10 15.4402 0.00041759 16.7236 0.654297C17.8526 1.22954 18.7705 2.14739 19.3457 3.27637C19.9996 4.55977 20 6.23965 20 9.59961V10.4004C20 13.7603 19.9996 15.4402 19.3457 16.7236C18.7705 17.8526 17.8526 18.7705 16.7236 19.3457C15.4402 19.9996 13.7603 20 10.4004 20H9.59961C6.23965 20 4.55977 19.9996 3.27637 19.3457C2.14739 18.7705 1.22954 17.8526 0.654297 16.7236C0.00041759 15.4402 9.83795e-10 13.7603 0 10.4004V9.59961C9.83795e-10 6.23965 0.00041759 4.55977 0.654297 3.27637C1.22954 2.14739 2.14739 1.22954 3.27637 0.654297C4.55977 0.00041759 6.23965 9.83795e-10 9.59961 0H10.4004ZM12.0918 3.00098C11.7326 3.00092 11.3804 3.10198 11.0762 3.29297C10.7721 3.48393 10.5281 3.7567 10.3721 4.08008C10.216 4.40362 10.1544 4.76509 10.1943 5.12207C10.2343 5.47892 10.3741 5.81766 10.5977 6.09863L9.32324 8.13574C8.93791 8.05006 8.53501 8.08578 8.1709 8.23828C7.80692 8.39082 7.49923 8.65266 7.29004 8.9873C7.08078 9.32221 6.98036 9.71414 7.00293 10.1084C7.02551 10.5027 7.1699 10.8806 7.41602 11.1895L6.1416 13.2275C5.70212 13.1299 5.24175 13.1909 4.84277 13.3994C4.44382 13.6081 4.13156 13.9515 3.96094 14.3682C3.79039 14.7847 3.77217 15.2483 3.91016 15.6768C4.04827 16.1053 4.33403 16.4713 4.71582 16.71C5.09757 16.9486 5.5514 17.045 5.99707 16.9814C6.44288 16.9178 6.85253 16.6983 7.15234 16.3623C7.45196 16.0264 7.62299 15.5954 7.63574 15.1455C7.64838 14.6954 7.50207 14.2546 7.22168 13.9023L8.49512 11.8643C8.76781 11.9249 9.05054 11.9248 9.32324 11.8643L10.5986 13.9023C10.3294 14.2407 10.1822 14.6604 10.1826 15.0928C10.183 15.5251 10.3308 15.9444 10.6006 16.2822C10.8705 16.6201 11.2473 16.8562 11.6689 16.9521C12.0905 17.048 12.5325 16.9984 12.9219 16.8105C13.3111 16.6227 13.6251 16.3084 13.8125 15.9189C13.9999 15.5294 14.0494 15.0874 13.9531 14.666C13.8568 14.2446 13.6202 13.8681 13.2822 13.5986C12.9441 13.3291 12.5242 13.1816 12.0918 13.1816C11.9493 13.1816 11.8113 13.1974 11.6777 13.2275L10.4033 11.1895C10.6636 10.8636 10.8193 10.4493 10.8193 10C10.8193 9.55086 10.6639 9.13789 10.4043 8.81152L11.6777 6.77344C11.9509 6.83424 12.2346 6.83427 12.5078 6.77344L13.7803 8.81152C13.5111 9.14983 13.3649 9.56961 13.3652 10.002C13.3656 10.4342 13.5125 10.8536 13.7822 11.1914C14.0521 11.5293 14.429 11.7654 14.8506 11.8613C15.2722 11.9572 15.7141 11.9076 16.1035 11.7197C16.4927 11.5319 16.8067 11.2176 16.9941 10.8281C17.1815 10.4386 17.231 9.99662 17.1348 9.5752C17.0384 9.15377 16.8019 8.77731 16.4639 8.50781C16.1257 8.2383 15.7058 8.09075 15.2734 8.09082C15.1314 8.09083 14.9928 8.10661 14.8584 8.13672L13.5859 6.09863C13.8095 5.81766 13.9493 5.47891 13.9893 5.12207C14.0292 4.76509 13.9676 4.40362 13.8115 4.08008C13.6555 3.75669 13.4115 3.48393 13.1074 3.29297C12.8032 3.10198 12.451 3.00091 12.0918 3.00098Z" 135 + fill="currentColor" 136 + /> 137 + </svg> 138 + ); 139 + }
+1
app/data/content.ts
··· 8 8 export const EXTERNAL_LINKS = [ 9 9 { label: 'bsky.app', href: 'https://bsky.app/profile/standard.site' }, 10 10 { label: 'tangled.org', href: 'https://tangled.org/standard.site' }, 11 + { label: 'pdsls.dev', href: 'https://pdsls.dev/at://did:plc:re3ebnp5v7ffagz6rb6xfei4/com.atproto.lexicon.schema' }, 11 12 ] 12 13 13 14 export const PRINCIPLES = [