Skip to content

Commit d0863d6

Browse files
committed
slider
1 parent a77bb81 commit d0863d6

File tree

7 files changed

+198
-216
lines changed

7 files changed

+198
-216
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v14.15.0
1+
v18.15.0

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@
6262
"gatsby-plugin-postcss": "^4.3.0",
6363
"gatsby-plugin-react-helmet": "3.10.0",
6464
"gatsby-plugin-react-svg": "^3.0.1",
65-
"gatsby-plugin-sass": "^4.3.0",
65+
"gatsby-plugin-sass": "^5.0.0",
6666
"gatsby-plugin-scroll-reveal": "^0.0.7",
6767
"gatsby-plugin-sharp": "2.14.3",
68-
"gatsby-plugin-styled-components": "^4.3.0",
68+
"gatsby-plugin-styled-components": "^5.0.0",
6969
"gatsby-remark-prismjs": "^5.2.0",
7070
"gatsby-source-filesystem": "2.11.1",
7171
"gatsby-transformer-remark": "^4.2.0",
@@ -80,6 +80,6 @@
8080
"react-helmet": "6.1.0",
8181
"sass": "^1.32.10",
8282
"styled-components": "^5.2.3",
83-
"tailwindcss": "^2.1.1"
83+
"tailwindcss": "^3.1.1"
8484
}
8585
}

src/components/home/features.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ const features = [
6767
})}
6868
</div>
6969
</div>
70-
<div class="container py-16">
71-
<div class="logo-stripe w-embed">
70+
<div className="container-2xl py-16">
71+
<div className="logo-stripe w-embed">
7272

7373
</div>
7474
</div>

src/styles/global.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,23 +129,23 @@ pre[class*="language-"] {
129129
}
130130

131131
.logo-stripe {
132-
animation: marquee 50s linear infinite;
132+
animation: marquee 30s linear infinite;
133133
-webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.776042) 20%, #000000 80%, rgba(0, 0, 0, 0) 100%);
134134
mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.776042) 20%, #000000 80%, rgba(0, 0, 0, 0) 100%);
135135

136136
width: 100%;
137137
height: 48px;
138138
background-image: url(/slider-3x.png);
139-
background-repeat: no-repeat;
139+
background-repeat: repeat-x;
140140
background-position: 0 50%;
141-
background-size: 4992px 48px;
141+
background-size: 4198px 48px;
142142
}
143143
.logo-stripe:hover {
144144
animation-play-state: paused;
145145
}
146146

147147
@keyframes marquee {
148148
to {
149-
background-position: -2496px 0%;
149+
background-position: -4198px 0%;
150150
}
151151
}

static/slider-3x.png

-60.5 KB
Loading

tailwind.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module.exports = {
2-
purge: ['./src/**/*.{js,jsx,ts,tsx}'],
3-
darkMode: false, // or 'media' or 'class'
2+
content: ['./src/**/*.{js,jsx,ts,tsx}'],
3+
// darkMode: false, // or 'media' or 'class'
44
theme: {
55
container: {
66
center: true,

0 commit comments

Comments
 (0)