Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert large responsive changes #223

Merged
merged 1 commit into from
Mar 19, 2024
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 src/lib/layouts/Section.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<section
{id}
class={twMerge(
"scroll-mt-10 py-16 *:mx-16 sm:scroll-mt-16 md:scroll-mt-24 md:*:mx-32 xxl:*:!mx-auto xxl:*:max-w-screen-2xl",
"scroll-mt-10 py-16 *:mx-16 sm:scroll-mt-16 md:scroll-mt-24 md:*:mx-32 xxl:*:!mx-auto xxl:*:max-w-screen-xl",
className
)}
{...$$restProps}
Expand Down
12 changes: 4 additions & 8 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@
</Section>

<!-- Values -->
<Section id="values" title={m.homeValuesTitle()} class="relative mx-auto py-20 xl:max-w-6xl">
<Section id="values" title={m.homeValuesTitle()} class="relative mx-auto py-20">
<div class="flex items-center justify-between">
<div class="grid gap-x-16 gap-y-12 pb-8 pt-4 sm:grid-cols-2">
{#each valuesSections as value}
Expand All @@ -491,11 +491,7 @@
</Section>

<!-- Technologies -->
<Section
id="technologies"
title={m.homeTechnologiesTitle()}
class="mx-auto xl:max-w-6xl xxl:max-w-4xl"
>
<Section id="technologies" title={m.homeTechnologiesTitle()}>
<div class="flex flex-col items-center gap-8 max-sm:!mx-8 sm:flex-row">
<!-- Left part -->
<div
Expand All @@ -516,7 +512,7 @@
</div>

<!-- Right part -->
<div class="aspect-square h-56 lg:h-48">
<div class="aspect-square h-56 lg:h-64 xl:h-72">
<div
bind:this={technoIcons}
class="relative flex size-full items-center justify-center -rotate-45"
Expand Down Expand Up @@ -548,7 +544,7 @@
</Section>

<!-- About us -->
<Section id="about-us" title={m.homeAboutUsTitle()} class="mx-auto xl:max-w-6xl xxl:max-w-5xl">
<Section id="about-us" title={m.homeAboutUsTitle()}>
<div class="flex items-center justify-center pb-10">
<div
class="flex min-w-full flex-col gap-4 rounded-3xl border border-white border-opacity-25 bg-glass p-8 backdrop-blur backdrop-filter max-sm:!-mx-8"
Expand Down
Loading