Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add generic carousel component #57

Closed
wants to merge 147 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
147 commits
Select commit Hold shift + click to select a range
18dbd70
feat: add generic carousel component
jedryczkatymon Dec 23, 2024
ae46ce1
feat: add generic carousel component
jedryczkatymon Dec 23, 2024
57296b2
Merge branch 'feat/generic-carousel-component' of https://github.com/…
jedryczkatymon Jan 16, 2025
2ae5c63
chore: pulled all changes from main
jedryczkatymon Jan 17, 2025
fc0e99d
chore: commit to fix
jedryczkatymon Jan 17, 2025
208c3e2
feat: add generic carousel component
jedryczkatymon Dec 23, 2024
e2413bd
feat: add generic carousel component
jedryczkatymon Dec 23, 2024
48a659e
chore: pulled all changes from main
jedryczkatymon Jan 17, 2025
eb26ef3
chore: commit to fix
jedryczkatymon Jan 17, 2025
c106e5b
Revert "chore: pulled all changes from main"
Octopus4344 Jan 17, 2025
2152c5c
fix: revert broken changes
Octopus4344 Jan 17, 2025
9b5fadd
fix: additional fixes
Octopus4344 Jan 17, 2025
8899852
Merge branch 'feat/generic-carousel-component' of https://github.com/…
jedryczkatymon Jan 17, 2025
89d2d48
feat: add fully functioning carousel of artists
jedryczkatymon Jan 19, 2025
37b3fdd
Merge branch 'main' into feat/generic-carousel-component
jedryczkatymon Jan 19, 2025
dea5aa8
fix: deal with errors crashing at build time
jedryczkatymon Jan 19, 2025
bdee24a
feat: add generic carousel component
jedryczkatymon Dec 23, 2024
a1b61ca
feat: add generic carousel component
jedryczkatymon Dec 23, 2024
ba8c243
chore: commit to fix
jedryczkatymon Jan 17, 2025
5843f28
chore: pulled all changes from main
jedryczkatymon Jan 17, 2025
f82e37c
Revert "chore: pulled all changes from main"
Octopus4344 Jan 17, 2025
8a44945
fix: revert broken changes
Octopus4344 Jan 17, 2025
923c3bc
fix: additional fixes
Octopus4344 Jan 17, 2025
fea0dda
feat: add fully functioning carousel of artists
jedryczkatymon Jan 19, 2025
b2fc8be
fix: deal with errors crashing at build time
jedryczkatymon Jan 19, 2025
6807caa
Merge branch 'feat/generic-carousel-component' of https://github.com/…
jedryczkatymon Jan 24, 2025
9c09bdf
chore: simplify type for artists in a Carousel component
jedryczkatymon Jan 24, 2025
4ee2e52
Merge branch 'main' into feat/generic-carousel-component
jedryczkatymon Jan 24, 2025
1a0a383
fix: fix weird error in types.ts
jedryczkatymon Jan 24, 2025
8cd2964
Merge branch 'feat/generic-carousel-component' of https://github.com/…
jedryczkatymon Jan 24, 2025
9cef9cc
chore: commit before resolving merge conflicts
jedryczkatymon Jan 24, 2025
dde20e5
feat: add generic carousel component
jedryczkatymon Dec 23, 2024
2713f73
feat: add generic carousel component
jedryczkatymon Dec 23, 2024
ee9e9f8
chore: commit to fix
jedryczkatymon Jan 17, 2025
681eb04
feat: add generic carousel component
jedryczkatymon Dec 23, 2024
9152fba
feat: add generic carousel component
jedryczkatymon Dec 23, 2024
9079e84
chore: pulled all changes from main
jedryczkatymon Jan 17, 2025
0aae440
chore: commit to fix
jedryczkatymon Jan 17, 2025
83ee91f
Revert "chore: pulled all changes from main"
Octopus4344 Jan 17, 2025
9d7456b
fix: revert broken changes
Octopus4344 Jan 17, 2025
e2b0200
fix: additional fixes
Octopus4344 Jan 17, 2025
60c2a0b
feat: add fully functioning carousel of artists
jedryczkatymon Jan 19, 2025
ae0b829
fix: deal with errors crashing at build time
jedryczkatymon Jan 19, 2025
110c804
feat: add generic carousel component
jedryczkatymon Dec 23, 2024
7c9db54
feat: add generic carousel component
jedryczkatymon Dec 23, 2024
0349519
chore: commit to fix
jedryczkatymon Jan 17, 2025
9f93304
chore: pulled all changes from main
jedryczkatymon Jan 17, 2025
16c9493
Revert "chore: pulled all changes from main"
Octopus4344 Jan 17, 2025
2eceddc
fix: revert broken changes
Octopus4344 Jan 17, 2025
2a69dbd
fix: additional fixes
Octopus4344 Jan 17, 2025
392f6ac
feat: add fully functioning carousel of artists
jedryczkatymon Jan 19, 2025
db11cf2
fix: deal with errors crashing at build time
jedryczkatymon Jan 19, 2025
231e525
chore: simplify type for artists in a Carousel component
jedryczkatymon Jan 24, 2025
0dc7aae
fix: fix weird error in types.ts
jedryczkatymon Jan 24, 2025
fccda0e
chore: commit before resolving merge conflicts
jedryczkatymon Jan 24, 2025
3b4a77e
chore: rebase branch
jedryczkatymon Jan 24, 2025
6d5a2bd
chore: code optimisation
jedryczkatymon Jan 25, 2025
416e5a0
Merge branch 'main' into feat/generic-carousel-component
jedryczkatymon Feb 1, 2025
82a68ff
chore: adjust to match designs and handle empty list
jedryczkatymon Feb 1, 2025
e79ce43
feat: add generic carousel component
jedryczkatymon Dec 23, 2024
668de38
chore: pulled all changes from main
jedryczkatymon Jan 17, 2025
84f8583
chore: commit to fix
jedryczkatymon Jan 17, 2025
17a7112
chore: pulled all changes from main
jedryczkatymon Jan 17, 2025
0d2f4b6
fix: revert broken changes
Octopus4344 Jan 17, 2025
e9f45ae
fix: additional fixes
Octopus4344 Jan 17, 2025
4d8ed63
feat: add fully functioning carousel of artists
jedryczkatymon Jan 19, 2025
39e14a0
feat: add generic carousel component
jedryczkatymon Dec 23, 2024
9daa56c
feat: add generic carousel component
jedryczkatymon Dec 23, 2024
977f788
chore: commit to fix
jedryczkatymon Jan 17, 2025
1844a99
chore: pulled all changes from main
jedryczkatymon Jan 17, 2025
2b69f53
Revert "chore: pulled all changes from main"
Octopus4344 Jan 17, 2025
5aed0d0
fix: revert broken changes
Octopus4344 Jan 17, 2025
699b4fd
fix: additional fixes
Octopus4344 Jan 17, 2025
7ccda16
feat: add fully functioning carousel of artists
jedryczkatymon Jan 19, 2025
cc6cb69
chore: simplify type for artists in a Carousel component
jedryczkatymon Jan 24, 2025
3c375b5
fix: fix weird error in types.ts
jedryczkatymon Jan 24, 2025
35b5780
chore: commit before resolving merge conflicts
jedryczkatymon Jan 24, 2025
08e81ce
chore: code optimisation
jedryczkatymon Jan 25, 2025
c333e76
feat: styling countdown
Konzum59 Dec 17, 2024
33eebd0
feat: responsive countdown stylization
Konzum59 Dec 20, 2024
bd6e7f0
fix: delete unused imports
Konzum59 Dec 20, 2024
d8f1cfa
fix: minor change
Konzum59 Jan 6, 2025
3051b2f
fix: countdown scales better
Konzum59 Jan 12, 2025
9b40cae
fix: minor change
Konzum59 Jan 12, 2025
215e9e3
fix: improve style
Konzum59 Jan 28, 2025
4add1b0
fix: minor change
Konzum59 Jan 28, 2025
7c24873
chore: change font sizes
Octopus4344 Jan 28, 2025
ea53908
chore: change height
Octopus4344 Jan 28, 2025
953e3ca
chore: update padding
Octopus4344 Jan 28, 2025
e272bf9
chore: Create LICENSE
Octopus4344 Jan 28, 2025
719c560
chore: fix padding
Octopus4344 Jan 28, 2025
4cbc014
feat: create buy ticket cta on homepage, small component fixes
Adriskk Jan 7, 2025
e79d0eb
fix: map button fix - later will be changed
Adriskk Jan 7, 2025
2526e65
fix: change button component structure - uses link inside button
Adriskk Jan 14, 2025
ce35b7c
fix: href field
Adriskk Jan 14, 2025
82e5925
fix: link in button structure
Adriskk Jan 14, 2025
b779f38
fix: button content props
Adriskk Jan 14, 2025
95dc7b3
fix: href field condition
Adriskk Jan 14, 2025
e1d69cc
feat: create buy ticket cta on homepage, small component fixes
Adriskk Jan 7, 2025
8bb0557
fix: change button component structure - uses link inside button
Adriskk Jan 14, 2025
aabe453
chore: fix style
Octopus4344 Jan 29, 2025
6a485d2
chore: adjust to match designs and handle empty list
jedryczkatymon Feb 1, 2025
86ed3f4
Merge branch 'feat/generic-carousel-component' of https://github.com/…
jedryczkatymon Feb 1, 2025
e05d646
chore: create license file
Octopus4344 Jan 28, 2025
8efbff3
feat: create buy ticket cta on homepage, small component fixes
Adriskk Jan 7, 2025
c46ceca
fix: map button fix - later will be changed
Adriskk Jan 7, 2025
e0ea73a
fix: change button component structure - uses link inside button
Adriskk Jan 14, 2025
27a9893
fix: href field
Adriskk Jan 14, 2025
2fb74cc
fix: link in button structure
Adriskk Jan 14, 2025
f4fbc88
fix: button content props
Adriskk Jan 14, 2025
fe07796
fix: href field condition
Adriskk Jan 14, 2025
46e6be7
feat: create buy ticket cta on homepage, small component fixes
Adriskk Jan 7, 2025
2b912e4
fix: change button component structure - uses link inside button
Adriskk Jan 14, 2025
4be759b
chore: fix style
Octopus4344 Jan 29, 2025
924eb34
chore: adjust to match designs and handle empty list
jedryczkatymon Feb 1, 2025
d1264d6
feat: add generic carousel component
jedryczkatymon Dec 23, 2024
3b9af6b
feat: add generic carousel component
jedryczkatymon Dec 23, 2024
0becc80
chore: commit to fix
jedryczkatymon Jan 17, 2025
8583334
feat: add generic carousel component
jedryczkatymon Dec 23, 2024
d7ad109
chore: pulled all changes from main
jedryczkatymon Jan 17, 2025
0cee0c0
Revert "chore: pulled all changes from main"
Octopus4344 Jan 17, 2025
7f3abc8
fix: revert broken changes
Octopus4344 Jan 17, 2025
d29b38d
fix: additional fixes
Octopus4344 Jan 17, 2025
8d9465f
feat: add fully functioning carousel of artists
jedryczkatymon Jan 19, 2025
197ce2c
feat: add generic carousel component
jedryczkatymon Dec 23, 2024
ca63a95
feat: add generic carousel component
jedryczkatymon Dec 23, 2024
491696c
chore: commit to fix
jedryczkatymon Jan 17, 2025
833ef2d
chore: pulled all changes from main
jedryczkatymon Jan 17, 2025
eb4d9aa
Revert "chore: pulled all changes from main"
Octopus4344 Jan 17, 2025
7471b97
fix: revert broken changes
Octopus4344 Jan 17, 2025
aa53097
fix: additional fixes
Octopus4344 Jan 17, 2025
88dbc09
feat: add fully functioning carousel of artists
jedryczkatymon Jan 19, 2025
c482570
chore: simplify type for artists in a Carousel component
jedryczkatymon Jan 24, 2025
cc87f9e
fix: fix weird error in types.ts
jedryczkatymon Jan 24, 2025
c56d9e9
chore: commit before resolving merge conflicts
jedryczkatymon Jan 24, 2025
d27d965
feat: styling countdown
Konzum59 Dec 17, 2024
8c40de5
feat: responsive countdown stylization
Konzum59 Dec 20, 2024
3b24832
fix: countdown scales better
Konzum59 Jan 12, 2025
b3313fa
fix: improve style
Konzum59 Jan 28, 2025
aeabdd1
chore: update padding
Octopus4344 Jan 28, 2025
54aedf7
feat: create buy ticket cta on homepage, small component fixes
Adriskk Jan 7, 2025
bc56f45
fix: change button component structure - uses link inside button
Adriskk Jan 14, 2025
0bfca75
feat: create buy ticket cta on homepage, small component fixes
Adriskk Jan 7, 2025
af286e6
fix: change button component structure - uses link inside button
Adriskk Jan 14, 2025
5964f17
chore: fix style
Octopus4344 Jan 29, 2025
b87b0ed
Merge branch 'feat/generic-carousel-component' of https://github.com/…
jedryczkatymon Feb 1, 2025
acff75c
chore: update package-lock.json
jedryczkatymon Feb 1, 2025
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
3,523 changes: 1,972 additions & 1,551 deletions package-lock.json

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-leaflet": "^4.2.1",
"react-slick": "^0.30.3",
"slick-carousel": "^1.8.1",
"tailwind-merge": "^2.5.4",
"tailwindcss-animate": "^1.0.7"
},
Expand All @@ -46,6 +48,7 @@
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"@types/react-slick": "^0.23.13",
"eslint": "^9.17.0",
"eslint-config-next": "15.0.3",
"husky": "^9.1.7",
Expand Down
2 changes: 2 additions & 0 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { AboutUs } from "@/components/about-us/about-us-section";
import { ArtistsCarousel } from "@/components/artists-carousel";
import { BuyTicketCta } from "@/components/buy-ticket-cta";
import { Countdown } from "@/components/countdown";
import { LatestNews } from "@/components/latest-news/latest-news-section";
Expand All @@ -9,6 +10,7 @@ export default function Home() {
<>
<Countdown />
<Schedule />
<ArtistsCarousel />
<BuyTicketCta />
<LatestNews />
<AboutUs />
Expand Down
186 changes: 186 additions & 0 deletions src/app/slick-theme.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,186 @@
@charset 'UTF-8';

/* Arrows */
.slick-prev,
.slick-next {
font-size: 0;
line-height: 0;

position: absolute;
top: 50%;

display: block;

width: 20px;
height: 20px;
padding: 0;
-webkit-transform: translate(0, -50%);
-ms-transform: translate(0, -50%);
transform: translate(0, -50%);

cursor: pointer;

color: transparent;
border: none;
outline: none;
background: transparent;
}

.slick-prev:hover,
.slick-prev:focus,
.slick-next:hover,
.slick-next:focus {
color: transparent;
outline: none;
background: transparent;
}

.slick-prev:hover:before,
.slick-prev:focus:before,
.slick-next:hover:before,
.slick-next:focus:before {
opacity: 1;
}

.slick-prev.slick-disabled:before,
.slick-next.slick-disabled:before {
opacity: 0.25;
}

.slick-prev:before,
.slick-next:before {
font-family: "slick";
font-size: 20px;
line-height: 1;

opacity: 0.75;
color: white;

-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

.slick-prev {
left: -25px;
}

[dir="rtl"] .slick-prev {
right: -25px;
left: auto;
}

.slick-prev:before {
content: "←";
}

[dir="rtl"] .slick-prev:before {
content: "→";
}

.slick-next {
right: -25px;
}

[dir="rtl"] .slick-next {
right: auto;
left: -25px;
}

.slick-next:before {
content: "→";
}

[dir="rtl"] .slick-next:before {
content: "←";
}

/* Dots */
.slick-dotted.slick-slider {
margin-bottom: 30px;
}

.slick-dots {
position: absolute;
bottom: -50px;

display: block;

width: 100%;
padding: 0;
margin: 0;

list-style: none;

text-align: center;
}

.slick-dots li {
position: relative;

display: inline-block;

width: 20px;
height: 20px;
margin: 0 20px;
padding: 0;

cursor: pointer;
}

.slick-dots li button {
font-size: 0;
line-height: 0;

display: block;

width: 20px;
height: 20px;
padding: 5px;

cursor: pointer;

color: transparent;
border: 0;
outline: none;
background: transparent;
}

.slick-dots li button:hover,
.slick-dots li button:focus {
outline: none;
}

.slick-dots li button:hover:before,
.slick-dots li button:focus:before {
opacity: 0.5;
}

.slick-dots li button:before {
font-family: "slick";
font-size: 50px;
line-height: 20px;

position: absolute;
top: 0;
left: 0;

width: 20px;
height: 20px;

content: "•";
text-align: center;

opacity: 0.25;
color: black;

-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

.slick-dots li.slick-active button:before {
opacity: 1;
margin-top: -7px;
margin-left: -10px;
transform: scale(0.75, 0.5);
content: url("https://img.icons8.com/external-tanah-basah-glyph-tanah-basah/48/1A1A1A/external-glyph-shapes-tanah-basah-glyph-tanah-basah-42.png");
}
115 changes: 115 additions & 0 deletions src/app/slick.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
/* Slider */
.slick-slider {
position: relative;

display: block;
box-sizing: border-box;

-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;

-webkit-touch-callout: none;
-khtml-user-select: none;
-ms-touch-action: pan-y;
touch-action: pan-y;
-webkit-tap-highlight-color: transparent;
}

.slick-list {
position: relative;

display: block;
overflow: hidden;

margin: 0;
padding: 0;
}

.slick-list:focus {
outline: none;
}

.slick-list.dragging {
cursor: pointer;
cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list {
-webkit-transform: translate3d(0, 0, 0);
-moz-transform: translate3d(0, 0, 0);
-ms-transform: translate3d(0, 0, 0);
-o-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}

.slick-track {
position: relative;
top: 0;
left: 0;

display: block;
margin-left: auto;
margin-right: auto;
}

.slick-track:before,
.slick-track:after {
display: table;

content: "";
}

.slick-track:after {
clear: both;
}

.slick-loading .slick-track {
visibility: hidden;
}

.slick-slide {
display: none;
float: left;

height: 100%;
min-height: 1px;
}

[dir="rtl"] .slick-slide {
float: right;
}

.slick-slide img {
display: block;
}

.slick-slide.slick-loading img {
display: none;
}

.slick-slide.dragging img {
pointer-events: none;
}

.slick-initialized .slick-slide {
display: block;
}

.slick-loading .slick-slide {
visibility: hidden;
}

.slick-vertical .slick-slide {
display: block;

height: auto;

border: 1px solid transparent;
}

.slick-arrow.slick-hidden {
display: none;
}
Loading
Loading