Browse Source

refactor: hide cards from create project page

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/4134/head
Pranav C 2 years ago
parent
commit
e347f4d487
  1. 7
      packages/nc-gui/pages/index/index.vue

7
packages/nc-gui/pages/index/index.vue

@ -9,10 +9,10 @@ useSidebar('nc-left-sidebar', { hasSidebar: false })
<template> <template>
<NuxtLayout> <NuxtLayout>
<div <div
class="min-h-[calc(100vh_-_var(--header-height))] bg-primary bg-opacity-5 flex flex-wrap justify-between xl:flex-nowrap gap-6 py-6 px-4 md:(px-12 pt-65px)" class="mx-auto min-h-[calc(100vh_-_var(--header-height))] bg-primary bg-opacity-5 flex flex-wrap justify-between xl:flex-nowrap gap-6 py-6 px-4 md:(px-12 pt-65px)"
> >
<div class="hidden xl:(flex)"> <div class="hidden xl:(flex)">
<div> <div v-if="route.name === 'index-index'">
<LazyGeneralSponsors /> <LazyGeneralSponsors />
</div> </div>
</div> </div>
@ -21,7 +21,8 @@ useSidebar('nc-left-sidebar', { hasSidebar: false })
<NuxtPage /> <NuxtPage />
</div> </div>
<div class="flex-1 flex gap-6 flex-col justify-center items-center md:(flex-row justify-between items-start)"> <div :class="{'flex-1': route.name === 'index-index'}"
class=" flex gap-6 flex-col justify-center items-center md:(flex-row justify-between items-start)">
<template v-if="route.name === 'index-index'"> <template v-if="route.name === 'index-index'">
<TransitionGroup name="page" mode="out-in"> <TransitionGroup name="page" mode="out-in">
<div key="social-card"> <div key="social-card">

Loading…
Cancel
Save