Skip to content

Commit

Permalink
Small stylistic adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
hunterbryant committed Feb 1, 2024
1 parent f7ae4cc commit 36f19ef
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
12 changes: 11 additions & 1 deletion customtypes/case_study/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,17 @@
"config": {
"label": "Skill",
"placeholder": "",
"options": ["UI", "UX", "Research", "Strategy", "Data Viz"]
"options": [
"UI",
"UX",
"Research",
"Strategy",
"Data Viz",
"Dev",
"Webflow",
"Brand",
"Marketing"
]
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/lib/slices/EmbedBlock/index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<section
data-slice-type={slice.slice_type}
data-slice-variation={slice.variation}
class="col-span-full mb-10 flex flex-col items-start justify-stretch gap-2 *:flex *:*:h-56 *:w-full *:*:flex-1 *:*:rounded *:*:border *:*:border-black/10 sm:col-span-3 sm:col-start-4 sm:mb-12 sm:*:*:h-96 md:col-end-8 lg:col-end-9"
class=" col-span-full mb-10 flex flex-col items-start justify-stretch gap-2 *:flex *:*:h-56 *:w-full *:*:flex-1 *:*:rounded *:*:border *:*:border-black/10 sm:col-span-3 sm:col-start-4 sm:mb-12 sm:*:*:h-96 md:col-end-8 lg:col-end-9"
>
<PrismicEmbed field={slice.primary.embed} />
</section>
4 changes: 3 additions & 1 deletion src/prismicio-types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ export interface CaseStudyDocumentDataResponsibilitiesItem {
* - **API ID Path**: case_study.responsibilities[].skill
* - **Documentation**: https://prismic.io/docs/field#select
*/
skill: prismic.SelectField<'UI' | 'UX' | 'Research' | 'Strategy' | 'Data Viz'>;
skill: prismic.SelectField<
'UI' | 'UX' | 'Research' | 'Strategy' | 'Data Viz' | 'Dev' | 'Webflow' | 'Brand' | 'Marketing'
>;
}

type CaseStudyDocumentDataSlicesSlice = EmbedBlockSlice | ImageBlockSlice | TextBlockSlice;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/case-studies/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
{formatDate(caseStudy.data.date)}
</p>
<h3
class="text-stone-800 decoration-slate-400 decoration-2 underline-offset-2 transition-all group-hover:underline dark:text-stone-200 dark:decoration-slate-500"
class="text-balance text-stone-800 decoration-slate-400 decoration-2 underline-offset-2 transition-all group-hover:underline dark:text-stone-200 dark:decoration-slate-500"
>
{caseStudy.data.title}
</h3>
Expand Down

0 comments on commit 36f19ef

Please sign in to comment.