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
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@
"@babel/core": "^8.0.1",
"@babel/plugin-transform-runtime": "^8.0.1",
"@babel/preset-env": "^8.0.2",
"@salla.sa/twilight": "^2.14.544",
"@salla.sa/twilight-components": "^2.14.544",
"@salla.sa/twilight": "^2.14.551",
"@salla.sa/twilight-components": "^2.14.551",
"@salla.sa/twilight-tailwind-theme": "^2.14.551",
"@tailwindcss/forms": "^0.5.11",
"@tailwindcss/line-clamp": "^0.4.4",
"@tailwindcss/nesting": "0.0.0-insiders.565cd3e",
Expand Down
60 changes: 37 additions & 23 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 8 additions & 1 deletion pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
packages:
- '.'

allowBuilds:
'@parcel/watcher': set this to true or false
'@parcel/watcher': true
bufferutil: true
es5-ext: true
swiper: true
utf-8-validate: true
2 changes: 1 addition & 1 deletion public/app.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/product-card.js

Large diffs are not rendered by default.

7 changes: 0 additions & 7 deletions src/assets/js/partials/product-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,6 @@ class ProductCard extends HTMLElement {
this.placeholder = salla.url.asset(salla.config.get('theme.settings.placeholder'));
this.getProps()

this.source = salla.config.get("page.slug");
// If the card is in the landing page, hide the add button and show the quantity
if (this.source == "landing-page") {
this.hideAddBtn = true;
this.showQuantity = window.showQuantity;
}

salla.lang.onLoaded(() => {
// Language
this.remained = salla.lang.get('pages.products.remained');
Expand Down
109 changes: 0 additions & 109 deletions src/assets/styles/04-components/landing-page.scss

This file was deleted.

1 change: 0 additions & 1 deletion src/assets/styles/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@
@import './04-components/gifting';
@import './04-components/loyalty';
@import './04-components/virtooal';
@import './04-components/landing-page';
@import './04-components/filters';
@import './04-components/add-product-toast';

Expand Down
122 changes: 0 additions & 122 deletions src/views/pages/landing-page.twig

This file was deleted.