-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: add related_name to carousel
- Loading branch information
1 parent
9cebc0d
commit 78a1cf8
Showing
9 changed files
with
73 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
app/contrib/frontend/landpage/migrations/0009_auto_20231020_1853.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Generated by Django 3.2 on 2023-10-20 18:53 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('landpage', '0008_auto_20231020_1841'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name='carouselplugin', | ||
name='description', | ||
), | ||
migrations.RemoveField( | ||
model_name='carouselplugin', | ||
name='title', | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
|
||
.swiper { | ||
@apply w-full h-full; | ||
} | ||
|
||
.swiper-slide { | ||
@apply flex flex-col gap-4 content-center items-center px-8 text-center md:px-4; | ||
} | ||
|
||
.swiper-button-next, | ||
.swiper-button-prev { | ||
@apply top-1/2 text-neutral-50; | ||
} | ||
|
||
.swiper-button-next::after, | ||
.swiper-button-prev::after { | ||
text-shadow: 1px 0px 5px rgba(52,52,52,0.6); | ||
} | ||
|
||
|
||
.swiper-pagination-bullet { | ||
@apply bg-[rgba(250,250,250,1)]; | ||
} | ||
|
||
.swiper-horizontal > .swiper-pagination-bullets, | ||
.swiper-pagination-bullets.swiper-pagination-horizontal, | ||
.swiper-pagination-custom, .swiper-pagination-fraction { | ||
@apply bottom-auto; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters