Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ html {
@apply antialiased bg-brand-4;
}

/* Add global focus styles */
:focus-visible {
@apply outline-none ring-2 ring-brand-1 ring-offset-2 rounded ring-offset-transparent;
}

p a {
@apply transform decoration-1 decoration-gray/50 underline underline-offset-3;
}
Expand Down
16 changes: 7 additions & 9 deletions components/Blog/Card.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,12 @@ defineProps<{
<template>
<Card class="blog-card overflow-clip">
<template #header>
<AppLink :href="item.link" class="aspect-ratio-video overflow-hidden">
<img
:src="item.images?.[0]"
loading="lazy"
:alt="item.title"
class="h-full w-full object-cover object-left"
>
</AppLink>
<img
:src="item.images?.[0]"
loading="lazy"
:alt="item.title"
class="h-full w-full object-cover object-left"
>
</template>
<article>
<AppLink :href="item.link" style="display:block">
Expand All @@ -29,7 +27,7 @@ defineProps<{
<time class="h5 text-sm" :datetime="item.pubDate">
{{ useAppDateFormat(item.pubDate) }}
</time>
<p v-if="showSnippet" class="text-base p1 break-words">
<p v-if="showSnippet" class="break-words text-base p1">
{{ item.snippet }}
</p>
</div>
Expand Down
1 change: 1 addition & 0 deletions components/Carousel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ useEventListener(el, 'mouseup', onMouseUp)
<template>
<div
ref="el"
tabindex="-1"
class="carousel" :style="{
cursor: isDragging ? 'grabbing' : 'grab',
scrollSnapType: isDragging ? '' : '',
Expand Down
6 changes: 5 additions & 1 deletion components/EcosystemCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,11 @@ function getIcon(icon?: string, hostname?: string) {
<div v-if="description" class="flex items-center gap-1 lh-none">
Read More<AppIcon i="i-carbon:arrow-right" />
</div>
<AppLink :href="action?.href" class="back absolute inset-0 flex flex-col gap-4 p-4 opacity-0 backdrop-blur-xl transition-all">
<AppLink
:href="action?.href"
class="back absolute inset-0 flex flex-col gap-4 p-4 opacity-0 backdrop-blur-xl transition-all"
tabindex="0"
>
<div class="mt-a flex">
{{ description }}
</div>
Expand Down
8 changes: 7 additions & 1 deletion components/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,13 @@ function toggleMobileMenu() {
>
<Notice v-bind="useAppConfig().notice" />
<div class="grid-margins h-20 flex items-center justify-between transition-all">
<AppLink class="ident transition" href="/" title="">
<AppLink
class="ident transition"
href="/"
title="Storacha Home"
aria-label="Storacha Home"
tabindex="0"
>
<Ident :site-name="siteName" class="ident h-10 translate-x--1rem" :invert="nav.mobileActive" />
</AppLink>
<nav class="navbar hidden justify-right gap-1 b-2 b-brand-3 md:flex">
Expand Down