From 70a9978e6b84422d795fd75c259454dc2a415581 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Tue, 10 Oct 2023 18:04:32 +0300 Subject: [PATCH] Remove designer part --- assets/styles/layout/landing/_designer.scss | 151 ----------------- assets/styles/layout/landing/_landing.scss | 1 - pages/index.vue | 3 - pages/landing/DesignerSection.vue | 175 -------------------- 4 files changed, 330 deletions(-) delete mode 100644 assets/styles/layout/landing/_designer.scss delete mode 100644 pages/landing/DesignerSection.vue diff --git a/assets/styles/layout/landing/_designer.scss b/assets/styles/layout/landing/_designer.scss deleted file mode 100644 index 4046b7380..000000000 --- a/assets/styles/layout/landing/_designer.scss +++ /dev/null @@ -1,151 +0,0 @@ -.landing-designer { - .designer-demo { - --dd-primary:#4f8ff7; - --dd-primary-darker:#3575dd; - --dd-font: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol; - - .p-component { - font-family: var(--dd-font); - } - - .p-slider { - .p-slider-range { - background-color: var(--dd-primary); - } - - .p-slider-handle { - border-color: var(--dd-primary); - - &:hover { - background-color: var(--dd-primary); - border-color: var(--dd-primary); - } - } - } - - .p-inputtext { - &:enabled:hover { - border-color: var(--dd-primary); - } - - &:focus { - box-shadow: none; - border-color: var(--dd-primary); - } - } - - .p-checkbox { - &:not(.p-checkbox-disabled) .p-checkbox-box { - &:hover, &.p-focus { - border-color: var(--dd-primary); - } - - &.p-focus { - box-shadow: 0 0 0 2px var(--surface-ground), 0 0 0 4px var(--dd-primary), 0 1px 2px 0 rgba(0, 0, 0, 1.0); - } - } - - .p-checkbox-box { - &.p-highlight { - background-color: var(--dd-primary); - border-color: var(--dd-primary); - - &:hover { - background-color: var(--dd-primary); - border-color: var(--dd-primary); - } - } - } - } - - .p-button { - background-color: var(--dd-primary); - border-color: var(--dd-primary); - - &.p-button-outlined { - background-color: transparent; - - .p-button-icon, .p-button-label { - color: var(--dd-primary); - } - - &:enabled:hover, - &:enabled:active { - background-color: transparent; - } - } - - &:enabled:hover, - &:enabled:active { - background-color: var(--dd-primary-darker); - border-color: var(--dd-primary-darker); - } - - &:focus { - box-shadow: 0 0 0 2px var(--surface-ground), 0 0 0 4px var(--dd-primary), 0 1px 2px 0 rgba(0, 0, 0, 1.0); - } - } - - .p-listbox { - .p-listbox-list .p-listbox-item.p-highlight { - background-color: transparent; - box-shadow: inset 0 0 0 0.15rem var(--dd-primary); - color: var(--text-color); - } - } - - .p-inputtext, .p-button, .p-listbox-item, .p-slider { - transition: all .5s; - } - - .p-slider, .p-checkbox { - transition: transform .5s; - } - - &.demo-size-small { - .p-inputtext, .p-button { - padding: .5rem; - } - - .p-listbox-item { - padding: .5rem 1rem; - } - - .p-slider, .p-checkbox { - transform: scale(0.9); - } - } - - &.demo-size-large { - .p-inputtext, .p-button { - padding: 1rem; - } - - .p-listbox-item { - padding: 1rem 1.5rem; - } - - .p-slider, .p-checkbox { - transform: scale(1.1); - } - } - } - - .formgrid > .field { - padding: 1rem 2rem 1rem; - } - - .designer-editor { - backdrop-filter: blur(1rem); - box-shadow: var(--home-card-shadow); - max-width: 1250px !important; - margin-left: auto !important; - margin-right: auto !important; - } - - .designer-controls { - border-radius: 0 !important; - background: transparent; - } - -} \ No newline at end of file diff --git a/assets/styles/layout/landing/_landing.scss b/assets/styles/layout/landing/_landing.scss index a5885960b..b155a338f 100644 --- a/assets/styles/layout/landing/_landing.scss +++ b/assets/styles/layout/landing/_landing.scss @@ -10,6 +10,5 @@ $landingBreakpointXL: 1199px; @import './_getstarted'; @import './_themes'; @import './_blocks'; -@import './_designer'; @import './_templates'; @import './_features'; diff --git a/pages/index.vue b/pages/index.vue index a2d7e8faa..8c02ffa60 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -6,7 +6,6 @@ - @@ -23,7 +22,6 @@ import AppNews from '@/layouts/AppNews'; import HeroSection from './landing/HeroSection'; import AppTopBar from '@/layouts/AppTopBar.vue'; import BlockSection from './landing/BlockSection'; -import DesignerSection from './landing/DesignerSection'; import FeaturesSection from './landing/FeaturesSection'; import FooterSection from './landing/FooterSection'; import TemplateSection from './landing/TemplateSection'; @@ -101,7 +99,6 @@ export default { HeroSection, ThemeSection, BlockSection, - DesignerSection, TemplateSection, UsersSection, FeaturesSection, diff --git a/pages/landing/DesignerSection.vue b/pages/landing/DesignerSection.vue deleted file mode 100644 index 3ca913118..000000000 --- a/pages/landing/DesignerSection.vue +++ /dev/null @@ -1,175 +0,0 @@ - - -