Skip to content

Commit

Permalink
fix: homepage paddings (#465)
Browse files Browse the repository at this point in the history
  • Loading branch information
clemcode authored Jun 18, 2021
1 parent d16191b commit 3f1e5b6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion nuxtjs.org/components/HomeDiscover.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
alt="A landscape image"
/>

<HomeSection class="py-40 light:bg-gray-50 dark:bg-secondary-darkest">
<HomeSection class="py-20 light:bg-gray-50 dark:bg-secondary-darkest">
<template #section-content>
<SectionContent class="col-span-6 justify-center">
<template #category>
Expand Down
6 changes: 3 additions & 3 deletions nuxtjs.org/components/HomeExplore.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
class="left-0 object-fill w-full h-40 light-img"
alt="A landscape image"
/>
<AContainer class="flex flex-col items-center py-20 pt-40">
<AContainer class="flex flex-col items-center py-20">
<div class="flex flex-col items-center w-full col-span-12">
<div class="mb-2">
<CategoryLabel :label="category" />
Expand All @@ -31,13 +31,13 @@
<img
loading="lazy"
:src="`/img/home/campfire/dark/landscape-campfire.svg`"
class="left-0 object-fill w-full h-40 mt-32 light:hidden"
class="left-0 object-fill w-full h-40 light:hidden"
alt="A landscape image"
/>
<img
loading="lazy"
:src="`/img/home/campfire/light/landscape-campfire.svg`"
class="left-0 object-fill w-full h-40 mt-32 dark:hidden"
class="left-0 object-fill w-full h-40 dark:hidden"
alt="A landscape image"
/>
</section>
Expand Down
2 changes: 1 addition & 1 deletion nuxtjs.org/components/HomeLearnGuides.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<section class="relative py-20 light:bg-gray-50 dark:bg-secondary-darkest">
<section class="relative pt-20 light:bg-gray-50 dark:bg-secondary-darkest">
<AContainer class="flex flex-col items-center">
<div class="flex flex-col w-full items-center col-span-12">
<div class="mb-2">
Expand Down
2 changes: 1 addition & 1 deletion nuxtjs.org/components/HomeTestimonials.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</template>

<template #section-content>
<SectionContent class="col-span-12 items-center pt-20 pb-60">
<SectionContent class="col-span-12 items-center py-20">
<template #category>
<CategoryLabel label="Community" />
</template>
Expand Down

1 comment on commit 3f1e5b6

@vercel
Copy link

@vercel vercel bot commented on 3f1e5b6 Jun 18, 2021

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.