Skip to content
Merged
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
2 changes: 1 addition & 1 deletion app/components/BlogCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function BlogCard({ article, compact }: BlogCardProps) {
)}
>
<div className="min-w-0 flex-1">
<h3 className="font-serif text-lg font-bold transition-transform group-hover:translate-x-1">
<h3 className="font-serif text-base font-bold transition-transform group-hover:translate-x-1 md:text-lg">
{title}
</h3>
<p className="pt-1 text-sm text-zinc-400">
Expand Down
2 changes: 1 addition & 1 deletion app/components/BlogPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default async function BlogPreview() {
<Image
src={dancingStar}
alt="Little star dancing with light rays"
className="absolute -top-12 -right-32 animate-grow-and-shrink"
className="absolute -top-12 -right-32 animate-grow-and-shrink max-md:hidden"
/>
<SectionTitle className="from-brand-orange to-brand-gold p-6">
Nos derniers articles
Expand Down
2 changes: 1 addition & 1 deletion app/components/Cover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default function Cover() {
</div>
</div>
<div className="flex flex-[4_4_0%] justify-center">
<div className="w-5/6 sm:max-md:h-72 max-sm:h-64 md:pb-32">
<div className="h-64 w-5/6 sm:h-72 md:h-auto md:pb-32">
<Animation src="animations/laughing-smile.riv" />
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions app/components/CoverBackground.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ export default function CoverBackground({ children }: CoverBackgroundProps) {
}}
>
<div
className="absolute inset-y-0 right-0 -left-32 -z-10"
className="absolute inset-y-0 right-0 left-0 -z-10 md:-left-32"
style={{
background:
"linear-gradient(90deg, #f9fafb1a 1%, transparent 1%) 1px 0, transparent",
backgroundSize: "200px 1px",
}}
/>
<div
className="absolute right-0 bottom-0 -top-32 -left-[126px] -z-10"
className="absolute right-0 bottom-0 top-0 left-0 -z-10 md:-top-32 md:-left-[126px]"
style={{
opacity: 0.1,
background:
Expand Down
10 changes: 5 additions & 5 deletions app/components/NotionRenderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ function BlockRenderer({ block }: { block: NotionBlock }) {
case "heading_2":
case "heading_3": {
const config = {
heading_1: { tag: "h2" as const, size: "text-2xl" },
heading_2: { tag: "h3" as const, size: "text-xl" },
heading_3: { tag: "h4" as const, size: "text-lg" },
heading_1: { tag: "h2" as const, size: "text-xl md:text-2xl" },
heading_2: { tag: "h3" as const, size: "text-lg md:text-xl" },
heading_3: { tag: "h4" as const, size: "text-base md:text-lg" },
}[block.type];
const richText = getBlockRichText(block);
if (!richText) return null;
Expand All @@ -140,7 +140,7 @@ function BlockRenderer({ block }: { block: NotionBlock }) {
{block.code.language}
</span>
)}
<pre className="overflow-x-auto rounded-lg bg-zinc-900 p-4">
<pre className="overflow-x-auto rounded-lg bg-zinc-900 p-2 md:p-4">
<code className="text-sm text-zinc-100">
{extractPlainText(block.code.rich_text)}
</code>
Expand Down Expand Up @@ -185,7 +185,7 @@ function BlockRenderer({ block }: { block: NotionBlock }) {
? extractPlainText(block.image.caption)
: ""
}
className="rounded-lg"
className="max-w-full rounded-lg"
/>
{block.image.caption.length > 0 && (
<figcaption className="pt-2 text-center text-sm text-zinc-500">
Expand Down
2 changes: 1 addition & 1 deletion app/components/Portfolio.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function Portfolio() {
<Image
src={dancingStar}
alt="Little star dancing with light rays"
className="absolute -top-12 -left-32 animate-grow-and-shrink"
className="absolute -top-12 -left-32 animate-grow-and-shrink max-md:hidden"
/>
<SectionTitle className="from-brand-orange to-brand-gold p-6">
Nos dernières victoires
Expand Down
6 changes: 3 additions & 3 deletions app/components/Stack.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ export default function Stack() {
De Rails &agrave; l&#39;IA, on ma&icirc;trise la stack qu&#39;il vous
faut.
</p>
<div className="my-16 grid grid-cols-1 gap-8 md:max-xl:mx-8 xl:grid-cols-[13fr_7fr]">
<div className="px-10 pt-10 md:rounded-3xl md:border-[1px] md:border-black xl:col-start-1 xl:row-span-4 xl:grid xl:[grid-template-rows:subgrid]">
<div className="my-16 grid grid-cols-1 gap-8 md:mx-8 md:grid-cols-[13fr_7fr] xl:mx-0">
<div className="px-4 pt-10 md:rounded-3xl md:border-[1px] md:border-black md:px-10 xl:col-start-1 xl:row-span-4 xl:grid xl:[grid-template-rows:subgrid]">
<div>
<h3 className="pb-3 font-serif text-2xl font-bold">
Notre arsenal favori
Expand Down Expand Up @@ -120,7 +120,7 @@ export default function Stack() {
</StackGroup>
</div>
</div>
<div className="p-10 md:rounded-3xl md:border-[1px] md:border-black xl:col-start-2 xl:row-span-4 xl:grid xl:[grid-template-rows:subgrid]">
<div className="p-4 md:rounded-3xl md:border-[1px] md:border-black md:p-10 xl:col-start-2 xl:row-span-4 xl:grid xl:[grid-template-rows:subgrid]">
<div>
<h3 className="pb-3 font-serif text-2xl font-bold">
Intelligence Artificielle
Expand Down
12 changes: 6 additions & 6 deletions app/components/Team.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,26 +85,26 @@ export default function Team() {
src={patioNicolas}
alt="Picture of Nicolas from above in a the patio with a laptop looking surprised"
placeholder="blur"
className="border-8 border-white object-cover drop-shadow-lg"
width={470}
className="w-full border-8 border-white object-cover drop-shadow-lg"
sizes="(max-width: 768px) 50vw, 470px"
/>
</div>
<div className="flex">
<Image
src={officeMehdiNicolas}
alt="Picture of Mehdi and Nicolas looking at code on a laptop screen in an office"
placeholder="blur"
className="border-8 border-white object-cover"
width={470}
className="w-full border-8 border-white object-cover"
sizes="(max-width: 768px) 50vw, 470px"
/>
</div>
<div className="flex">
<Image
src={patioAlexisLili}
alt="Picture of Alexis and Lili with a laptop smiling in the patio"
placeholder="blur"
className="border-8 border-white object-cover"
width={470}
className="w-full border-8 border-white object-cover"
sizes="(max-width: 768px) 50vw, 470px"
/>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/components/Values.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default function Values() {
<Image
src={underline}
alt="Handrawing of a strike through to mimic an underline"
className="absolute -bottom-4"
className="absolute -bottom-4 max-md:hidden"
/>
<h3 className="pb-6 font-serif text-4xl font-bold text-[#0074dd]">
Nos plus-values
Expand Down
2 changes: 1 addition & 1 deletion components/Disclosure.client.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default function CustomDisclosure({
<Disclosure {...props}>
{({ open }) => (
<div className="mb-6 rounded-md border-[1px] border-black text-zinc-900">
<Disclosure.Button className="flex w-full justify-between rounded-md px-4 py-2 text-2xl font-bold">
<Disclosure.Button className="flex w-full justify-between rounded-md px-3 py-2 text-lg font-bold md:px-4 md:text-2xl">
<span className="text-left">{title}</span>
<ChevronUpIcon
className={`${open ? "" : "rotate-180 transform"} h-8 w-8`}
Expand Down
Loading