diff --git a/dictionary.txt b/dictionary.txt index 8dd569a6eb..2f4563f1ab 100644 --- a/dictionary.txt +++ b/dictionary.txt @@ -1,4 +1,3 @@ - 0xbonlulu 0xc0dejug 0xkaiserkarel @@ -17,6 +16,7 @@ Beriker Bitfield Bitvector Bkpvid +Blockchange Boiron Boneh Borsh @@ -314,9 +314,11 @@ bitvec bitvector blabla blcok +blockchange blockid blockquote blockscout +blockspace blocksync blocktime blst @@ -324,6 +326,7 @@ boneh bonlulu bools bootnode +borderless borsh brainer builtins @@ -444,6 +447,7 @@ debouncer deferredack deferredackkeeper deferredacktypes +defi delegators dels denoms @@ -485,6 +489,7 @@ elit endianness entrypoints enumorph +ero errorsmod errortype esac @@ -495,6 +500,7 @@ ethcall etherbase ethevent ethkey +evenodd evidencekeeper evidencetypes evmincosmos @@ -577,6 +583,7 @@ groth groupkeeper groupmodule grpclog +gumi hackerman hasher hasown @@ -723,6 +730,8 @@ lightclient lightclients lightheader linea +linecap +linejoin linkmode livenesses lmfao @@ -733,6 +742,7 @@ lockb logformat logline logtostderr +longhash lspec lucide mapstructure @@ -811,11 +821,13 @@ nois nolint nolus nolyfill +nomos nonexist noninclusion noopener noreferrer notrunc +nowledge nowrap nromalized nums diff --git a/site/src/components/ContainedSection.astro b/site/src/components/ContainedSection.astro index a68748b243..f0c1585891 100644 --- a/site/src/components/ContainedSection.astro +++ b/site/src/components/ContainedSection.astro @@ -1,6 +1,6 @@ --- interface Props { - className: string + className?: string } const { className } = Astro.props diff --git a/site/src/components/Header.astro b/site/src/components/Header.astro index 269e8b0659..6503c1ddbe 100644 --- a/site/src/components/Header.astro +++ b/site/src/components/Header.astro @@ -42,7 +42,7 @@ const menuItems = [ overlay.classList.add('show') overlay.style.visibility = 'visible' } else { - overlay.classList.remove('show') + overlay.classList.remove('show') overlay.style.visibility = 'hidden' } }) diff --git a/site/src/components/sections/DeepDiveSection.astro b/site/src/components/sections/DeepDiveSection.astro index 4d52f30dad..a67cba49e6 100644 --- a/site/src/components/sections/DeepDiveSection.astro +++ b/site/src/components/sections/DeepDiveSection.astro @@ -171,7 +171,7 @@ const diver = [
- +
diff --git a/site/src/components/sections/landing/MarqueeSection.astro b/site/src/components/sections/landing/MarqueeSection.astro index c7dab4bca9..c1c39c7f49 100644 --- a/site/src/components/sections/landing/MarqueeSection.astro +++ b/site/src/components/sections/landing/MarqueeSection.astro @@ -2,9 +2,12 @@ import "../../../styles/marquee.css" import ContainedSection from "../../ContainedSection.astro" import LightedTitle from "../../typography/LightedTitle.astro" +import { type NamedImage } from "#/lib/types" interface Props { - title: string + title: string, + data: Array, + reverse: boolean } const { title, data, reverse } = Astro.props @@ -22,7 +25,7 @@ const { title, data, reverse } = Astro.props
{ data.map(item => ( - {item.name} + {item.name} )) }
diff --git a/site/src/lib/types.ts b/site/src/lib/types.ts index 22c7be288e..44dbec1ce0 100644 --- a/site/src/lib/types.ts +++ b/site/src/lib/types.ts @@ -1,4 +1,5 @@ import type { EntryFieldTypes } from "contentful" +import { type ImageMetadata } from 'astro'; export type MaybePromise = T | Promise @@ -6,6 +7,12 @@ export type DeepPartial = { [P in keyof T]?: T[P] extends object ? DeepPartial : T[P] } +export type NamedImage = { + name: string, + url: string, + logo: ImageMetadata +} + export interface BlogPost { contentTypeId: "blog" fields: { diff --git a/site/src/pages/index.astro b/site/src/pages/index.astro index ed6c3fe4d3..fd020f26fb 100644 --- a/site/src/pages/index.astro +++ b/site/src/pages/index.astro @@ -35,7 +35,7 @@ export const prerender = false Astro.response.headers.set("cache-control", "public, max-age=0, must-revalidate") // The CDN should cache for a year, but revalidate if the cache tag changes -Astro.response.headers.set("netlify-cdn-cache-control", "s-maxag be=31536000") +Astro.response.headers.set("netlify-cdn-cache-control", "s-max-age=31536000") // Tag the page with the content type Astro.response.headers.set("netlify-cache-tag", "blog")