Skip to content

Commit

Permalink
3.0.1 yarn version is updated to 4.1.0 live demo links are converted …
Browse files Browse the repository at this point in the history
…to stackblitz
  • Loading branch information
ahmetemrekilinc committed Feb 8, 2024
1 parent ff78c6c commit 37494de
Show file tree
Hide file tree
Showing 9 changed files with 1,553 additions and 1,563 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: Update yarn @v2
run: corepack enable
- run: corepack prepare yarn@4.0.1 --activate
- run: corepack prepare yarn@4.1.0 --activate
- run: yarn -v
- name: Install dependencies
run: rm -rf node_modules && yarn install
Expand Down
893 changes: 0 additions & 893 deletions .yarn/releases/yarn-4.0.1.cjs

This file was deleted.

893 changes: 893 additions & 0 deletions .yarn/releases/yarn-4.1.0.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ enableGlobalCache: false

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.0.1.cjs
yarnPath: .yarn/releases/yarn-4.1.0.cjs
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,10 @@ export default MyComponent;

## Examples

[![Edit form-quickstart](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/embed/react-curved-text-demo-99276l)

Checkout live examples on [react-curved-text-demo](https://obss.github.io/react-curved-text) page for various customizations.

Checkout a [Live Example with Rotate Animation](https://codesandbox.io/embed/react-curved-text-animation-pt8fvk).
Checkout a [Live Example with Rotate Animation](https://stackblitz.com/edit/react-curved-text-animation).


## API
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-curved-text",
"version": "3.0.0",
"version": "3.0.1",
"description": "A library for creating circular / curved texts in React projects",
"keywords": [
"react",
Expand Down Expand Up @@ -80,5 +80,5 @@
"last 1 safari version"
]
},
"packageManager": "yarn@4.0.1"
"packageManager": "yarn@4.1.0"
}
5 changes: 3 additions & 2 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@
.currentJsxDiv {
margin-top: 50px;
max-width: 500px;
margin: auto;
margin-left: auto;
margin-right: auto;
}

.currentJsxDiv span {
Expand All @@ -97,7 +98,7 @@
float: left;
}

.codesandboxDiv {
.demoLinkDiv {
margin-top: 20px;
}

Expand Down
34 changes: 12 additions & 22 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ function App() {
<HeaderInfo />
<div className="exampleDemo">
<br />
<h2>
<h1>
<a href={'https://www.npmjs.com/package/react-curved-text'} target="_blank" rel="noreferrer">
react-curved-text
</a>
</h2>
</h1>

<div className="installationDiv">
<pre>npm install react-curved-text</pre>
Expand Down Expand Up @@ -195,35 +195,25 @@ function App() {
</div>
</div>
<div className="currentJsxDiv">
<h3>Current JSX</h3>
<h2>Current JSX</h2>
<span>{currentJsxString}</span>
</div>

<div className="codesandboxDiv">
<h3>Live Demo</h3>
<a href="https://codesandbox.io/s/react-curved-text-demo-99276l" target="_blank" rel="noreferrer">
<img
src="https://codesandbox.io/static/img/play-codesandbox.svg"
alt="Edit react-curved-text-demo"
/>
<h2>LIVE DEMO</h2>

<div className="demoLinkDiv">
<a href="https://stackblitz.com/edit/react-curved-text-demo" target="_blank" rel="noreferrer">
<h3>Checkout Live Demo</h3>
</a>
</div>
<div className="codesandboxDiv">
<h3>Live Demo with Rotate Animation</h3>
<a
href="https://codesandbox.io/embed/react-curved-text-animation-pt8fvk"
target="_blank"
rel="noreferrer"
>
<img
src="https://codesandbox.io/static/img/play-codesandbox.svg"
alt="Edit react-curved-text-animation"
/>
<div className="demoLinkDiv">
<a href="https://stackblitz.com/edit/react-curved-text-animation" target="_blank" rel="noreferrer">
<h3>Checkout Live Demo with Rotate Animation</h3>
</a>
</div>

<div className="apiDiv">
<h3>API</h3>
<h2>API</h2>
<table className="apiTable">
<thead>
<tr>
Expand Down
Loading

0 comments on commit 37494de

Please sign in to comment.