Skip to content

Commit

Permalink
fix: some issues
Browse files Browse the repository at this point in the history
  • Loading branch information
flornkm committed Dec 3, 2023
1 parent 17e85ba commit a4b9062
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion interface/components/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default function Button(props: {
>
{props.icon}
{props.children}
{props.chevron && <Chevron />}
{props.chevron && <Chevron class="flex-shrink-0" />}
</button>
)
}
Expand Down
2 changes: 1 addition & 1 deletion interface/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default function Footer() {
return (
<footer class="py-16 border-t border-t-zinc-100 dark:border-t-zinc-900">
<div class="max-w-screen-lx mx-auto md:px-10 px-6 grid lg:grid-cols-5 gap-8">
<div class="lg:col-span-3 xs:col-span-2 lg:max-w-[170px] max-w-sm">
<div class="lg:col-span-3 xs:col-span-2 max-w-md">
<h3 class="font-semibold mb-2">Florian's {m.footer_slogan()}</h3>
<p class="text-zinc-500 dark:text-zinc-400 mb-8">{m.footer_text()}</p>
<LanguagePicker position="top" align="left" />
Expand Down
12 changes: 9 additions & 3 deletions interface/sections/Work.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ import * as m from "#lang/paraglide/messages"
export default function Work(props: { projects: Record<string, string>[] }) {
return (
<>
<div class="flex gap-4 items-center mb-8">
<h2 class="font-medium text-lg text-zinc-300 dark:text-zinc-700">
Work
</h2>
<div class="w-full h-[1px] bg-zinc-100 dark:bg-zinc-900" />
</div>
<div class="flex flex-col gap-32">
{props.projects.map((project) => {
const date = new Date(
Expand All @@ -19,12 +25,12 @@ export default function Work(props: { projects: Record<string, string>[] }) {
class="flex lg:gap-4 gap-2 flex-col md:flex-row items-start relative group/link"
href={project.url}
>
<div class="lg:sticky lg:top-14 py-2 flex-shrink-0 top-0">
<div class="lg:sticky lg:top-14 py-2.5 flex-shrink-0 top-0">
<img
alt={`
Icon of ${project.title} project
`}
class="w-8 h-8 outline-1 -outline-offset-1 outline outline-transparent rounded-lg dark:outline-zinc-900"
class="w-7 h-7 outline-1 -outline-offset-1 outline outline-transparent rounded-lg dark:outline-zinc-900"
src={project.icon}
/>
</div>
Expand Down Expand Up @@ -54,7 +60,7 @@ export default function Work(props: { projects: Record<string, string>[] }) {
<Button
type="text"
link={project.url}
class="relative group-hover/link:underline"
class="relative group-hover/link:underline truncate"
chevron
>
{m.button_readmore()}
Expand Down
2 changes: 1 addition & 1 deletion pages/index/+Page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import * as m from "#lang/paraglide/messages"
export default function Page({ projects }: { projects: any[] }) {
return (
<div class="w-full">
<header class="flex items-center justify-start md:gap-24 gap-16 max-lg:pb-16 w-full lg:py-32 mb-12 lg:justify-between lg:flex-row flex-col-reverse">
<header class="flex items-center justify-start md:gap-24 gap-16 max-lg:pb-8 w-full lg:pt-24 lg:pb-8 mb-12 lg:justify-between lg:flex-row flex-col-reverse">
<div class="lg:h-2/6 h-2/5 max-lg:w-full max-lg:flex">
<div class="cursor-text max-w-2xl">
<h1 class="text-4xl font-semibold leading-snug pointer-events-none transition-colors group hover:text-zinc-400 mb-10">
Expand Down

1 comment on commit a4b9062

@vercel
Copy link

@vercel vercel bot commented on a4b9062 Dec 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.