Skip to content

Commit

Permalink
Merge pull request #17 from Andrew87E/release/0.1.0
Browse files Browse the repository at this point in the history
Release/0.1.0
  • Loading branch information
Andrew87E authored Dec 23, 2023
2 parents bf2e592 + f434a01 commit 2bf830a
Show file tree
Hide file tree
Showing 27 changed files with 9,188 additions and 8,387 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ghDeploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Deploy to GitHub Pages

permissions:
contents: write

on:
release:
types: [created]

jobs:
build-and-deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"

- name: Install Dependencies
run: npm ci

- name: Build
run: npm run build

- name: Deploy
uses: JamesIves/github-pages-deploy-action@4.1.5
with:
branch: gh-pages
folder: build
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ React Component to show animated text and objects, built with [styled-components

The Component provides regular animation for common object and some animation effects especially for typography like letters and multi-line text.

<!-- **View [Demo and Playground](https://yidaoj.github.io/react-style-text/)** -->
<!-- **View [Demo and Playground](https://andrew87e.github.io/react-style-text/)** -->

## Installation

Expand Down
8 changes: 0 additions & 8 deletions example/.prettierrc

This file was deleted.

6 changes: 3 additions & 3 deletions example/dist/index.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<html>
<head>
<title>React-Moving-Text</title>
<title>React-Style-Text</title>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<script defer src="index_bundle.js"></script></head>
<body>
<div id="root"></div>
<script type="text/javascript" src="index_bundle.js"></script></body>
</body>
</html>
3,782 changes: 3,066 additions & 716 deletions example/dist/index_bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion example/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<html>
<head>
<title>React-Moving-Text</title>
<title>React-Style-Text</title>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
Expand Down
11 changes: 5 additions & 6 deletions example/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React from 'react';
import ReactDOM from 'react-dom';
import App from './src/App';
import ReactDOM from "react-dom/client";
import App from "./src/App";
import React from "react";

const rootElement = document.getElementById('root');

ReactDOM.render(<App />, rootElement);
const root = document.getElementById("root");
ReactDOM.createRoot(root).render(<App />);
Loading

0 comments on commit 2bf830a

Please sign in to comment.