File tree Expand file tree Collapse file tree 8 files changed +32
-9
lines changed Expand file tree Collapse file tree 8 files changed +32
-9
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- sidebar_label : Intro
2
+ hide_title : true
3
+ sidebar_label : ' Intro'
3
4
sidebar_position : 1
4
5
---
5
6
6
- # React Scroll Parallax
7
+ import { IntroLogo } from ' ../src/components/intro-logo' ;
8
+
9
+ <IntroLogo />
7
10
8
11
[ ![ NPM Version Latest] ( https://img.shields.io/npm/v/react-scroll-parallax/latest )] ( https://www.npmjs.com/package/react-scroll-parallax )
9
12
[ ![ NPM Version Beta] ( https://img.shields.io/npm/v/react-scroll-parallax/beta )] ( https://www.npmjs.com/package/react-scroll-parallax )
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ const config = {
43
43
title : 'React Scroll Parallax' ,
44
44
logo : {
45
45
alt : 'Squares Overlapping' ,
46
- src : 'img/logo.png' ,
46
+ src : 'img/icon- logo.png' ,
47
47
} ,
48
48
items : [
49
49
{
@@ -64,6 +64,12 @@ const config = {
64
64
position : 'left' ,
65
65
label : 'Components' ,
66
66
} ,
67
+ {
68
+ type : 'doc' ,
69
+ docId : 'examples/how-it-works' ,
70
+ position : 'left' ,
71
+ label : 'Examples' ,
72
+ } ,
67
73
{
68
74
href : 'https://github.com/jscottsmith/react-scroll-parallax' ,
69
75
className : 'header-github-link' ,
Original file line number Diff line number Diff line change @@ -14,7 +14,9 @@ export const BeyondCSSEffects = () => {
14
14
shouldAlwaysCompleteAnimation
15
15
>
16
16
< div className = "border-2 border-blue-200 border-solid flex items-center justify-center bg-blue-400 h-48 w-48 rounded-lg" >
17
- < p className = "text-center font-bold uppercase" > Heyo!</ p >
17
+ < p className = "text-center font-bold uppercase" >
18
+ < span className = "text-3xl" > 👋🏻</ span > Heyo!
19
+ </ p >
18
20
</ div >
19
21
</ Parallax >
20
22
</ BgContainer >
Original file line number Diff line number Diff line change
1
+ import React from 'react' ;
2
+
3
+ export const IntroLogo = ( ) => {
4
+ return (
5
+ < header className = "w-full" >
6
+ < div className = "mt-xl mb-2xl flex flex-row items-center " >
7
+ < img
8
+ src = "/img/logo.png"
9
+ className = "block mx-auto w-16 sm:w-20 md:w-24"
10
+ />
11
+ < h1 className = "ml-lg w-full text-3xl sm:text-4xl md:text-5xl mb-0" >
12
+ React Scroll Parallax
13
+ </ h1 >
14
+ </ div >
15
+ </ header >
16
+ ) ;
17
+ } ;
Original file line number Diff line number Diff line change @@ -4,11 +4,6 @@ module.exports = {
4
4
darkMode : false , // or 'media' or 'class'
5
5
theme : {
6
6
extend : {
7
- borderWidth : {
8
- 10 : '10px' ,
9
- 15 : '15px' ,
10
- 20 : '20px' ,
11
- } ,
12
7
borderRadius : {
13
8
'4xl' : '2rem' ,
14
9
'5xl' : '2.5rem' ,
You can’t perform that action at this time.
0 commit comments