Skip to content

Commit d5d9f10

Browse files
committed
docs: add new logo
1 parent df4f4b3 commit d5d9f10

File tree

8 files changed

+32
-9
lines changed

8 files changed

+32
-9
lines changed

documentation/docs/intro.md renamed to documentation/docs/intro.mdx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
---
2-
sidebar_label: Intro
2+
hide_title: true
3+
sidebar_label: 'Intro'
34
sidebar_position: 1
45
---
56

6-
# React Scroll Parallax
7+
import { IntroLogo } from '../src/components/intro-logo';
8+
9+
<IntroLogo />
710

811
[![NPM Version Latest](https://img.shields.io/npm/v/react-scroll-parallax/latest)](https://www.npmjs.com/package/react-scroll-parallax)
912
[![NPM Version Beta](https://img.shields.io/npm/v/react-scroll-parallax/beta)](https://www.npmjs.com/package/react-scroll-parallax)

documentation/docusaurus.config.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const config = {
4343
title: 'React Scroll Parallax',
4444
logo: {
4545
alt: 'Squares Overlapping',
46-
src: 'img/logo.png',
46+
src: 'img/icon-logo.png',
4747
},
4848
items: [
4949
{
@@ -64,6 +64,12 @@ const config = {
6464
position: 'left',
6565
label: 'Components',
6666
},
67+
{
68+
type: 'doc',
69+
docId: 'examples/how-it-works',
70+
position: 'left',
71+
label: 'Examples',
72+
},
6773
{
6874
href: 'https://github.com/jscottsmith/react-scroll-parallax',
6975
className: 'header-github-link',

documentation/src/components/beyond-css-effects/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ export const BeyondCSSEffects = () => {
1414
shouldAlwaysCompleteAnimation
1515
>
1616
<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>
1820
</div>
1921
</Parallax>
2022
</BgContainer>
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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+
};

documentation/static/img/favicon.ico

11.5 KB
Binary file not shown.
7.46 KB
Loading

documentation/static/img/logo.png

32.8 KB
Loading

documentation/tailwind.config.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ module.exports = {
44
darkMode: false, // or 'media' or 'class'
55
theme: {
66
extend: {
7-
borderWidth: {
8-
10: '10px',
9-
15: '15px',
10-
20: '20px',
11-
},
127
borderRadius: {
138
'4xl': '2rem',
149
'5xl': '2.5rem',

0 commit comments

Comments
 (0)