your personal website on atproto - mirror blento.app

remove buttons

-116
-116
src/lib/website/EditBar.svelte
··· 331 331 </Button> 332 332 </div> 333 333 {:else} 334 - <!-- Normal add-card controls --> 335 334 <div class="flex items-center gap-2"> 336 - <Button 337 - size="iconLg" 338 - variant="ghost" 339 - class="backdrop-blur-none" 340 - onclick={() => { 341 - newCard('section'); 342 - }} 343 - > 344 - <svg 345 - xmlns="http://www.w3.org/2000/svg" 346 - viewBox="0 0 24 24" 347 - fill="none" 348 - stroke="currentColor" 349 - stroke-width="2" 350 - stroke-linecap="round" 351 - stroke-linejoin="round" 352 - ><path d="M6 12h12" /><path d="M6 20V4" /><path d="M18 20V4" /></svg 353 - > 354 - </Button> 355 - 356 - <Button 357 - size="iconLg" 358 - variant="ghost" 359 - class="backdrop-blur-none" 360 - onclick={() => { 361 - newCard('text'); 362 - }} 363 - > 364 - <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" 365 - ><path 366 - fill="none" 367 - stroke="currentColor" 368 - stroke-linecap="round" 369 - stroke-linejoin="round" 370 - stroke-width="2" 371 - d="m15 16l2.536-7.328a1.02 1.02 1 0 1 1.928 0L22 16m-6.303-2h5.606M2 16l4.039-9.69a.5.5 0 0 1 .923 0L11 16m-7.696-3h6.392" 372 - /></svg 373 - > 374 - </Button> 375 - 376 - <Popover sideOffset={16} bind:open={linkPopoverOpen} class="bg-base-100 dark:bg-base-900"> 377 - {#snippet child({ props })} 378 - <Button 379 - size="iconLg" 380 - variant="ghost" 381 - class="backdrop-blur-none" 382 - onclick={() => { 383 - newCard('link'); 384 - }} 385 - {...props} 386 - > 387 - <svg 388 - xmlns="http://www.w3.org/2000/svg" 389 - fill="none" 390 - viewBox="-2 -2 28 28" 391 - stroke-width="2" 392 - stroke="currentColor" 393 - > 394 - <path 395 - stroke-linecap="round" 396 - stroke-linejoin="round" 397 - d="M13.19 8.688a4.5 4.5 0 0 1 1.242 7.244l-4.5 4.5a4.5 4.5 0 0 1-6.364-6.364l1.757-1.757m13.35-.622 1.757-1.757a4.5 4.5 0 0 0-6.364-6.364l-4.5 4.5a4.5 4.5 0 0 0 1.242 7.244" 398 - /> 399 - </svg> 400 - </Button> 401 - {/snippet} 402 - <Input 403 - spellcheck={false} 404 - type="url" 405 - bind:value={linkValue} 406 - onkeydown={(event) => { 407 - if (event.code === 'Enter') { 408 - addLink(linkValue); 409 - event.preventDefault(); 410 - } 411 - }} 412 - placeholder="Enter link" 413 - /> 414 - <Button onclick={() => addLink(linkValue)} size="icon" 415 - ><svg 416 - xmlns="http://www.w3.org/2000/svg" 417 - fill="none" 418 - viewBox="0 0 24 24" 419 - stroke-width="2" 420 - stroke="currentColor" 421 - class="size-6" 422 - > 423 - <path stroke-linecap="round" stroke-linejoin="round" d="m4.5 12.75 6 6 9-13.5" /> 424 - </svg> 425 - </Button> 426 - </Popover> 427 - 428 - <Button 429 - size="iconLg" 430 - variant="ghost" 431 - class="backdrop-blur-none" 432 - onclick={() => { 433 - imageInputRef?.click(); 434 - }} 435 - > 436 - <svg 437 - xmlns="http://www.w3.org/2000/svg" 438 - fill="none" 439 - viewBox="0 0 24 24" 440 - stroke-width="2" 441 - stroke="currentColor" 442 - > 443 - <path 444 - stroke-linecap="round" 445 - stroke-linejoin="round" 446 - d="m2.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-1.5-1.5H3.75A1.5 1.5 0 0 0 2.25 6v12a1.5 1.5 0 0 0 1.5 1.5Zm10.5-11.25h.008v.008h-.008V8.25Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z" 447 - /> 448 - </svg> 449 - </Button> 450 - 451 335 <Button size="iconLg" variant="ghost" class="backdrop-blur-none" onclick={showCardCommand}> 452 336 <svg 453 337 xmlns="http://www.w3.org/2000/svg"