Skip to content

Commit

Permalink
try to add tg widget
Browse files Browse the repository at this point in the history
  • Loading branch information
smthingwicked committed Aug 17, 2021
1 parent e60e8f5 commit 77f8a98
Show file tree
Hide file tree
Showing 3 changed files with 117 additions and 47 deletions.
156 changes: 111 additions & 45 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"proschet": "^1.0.1",
"react": "^17.0.2",
"react-bulma-components": "^3.4.0",
"react-dom": "^17.0.2"
"react-dom": "^17.0.2",
"react-router-dom": "^5.2.0"
},
"devDependencies": {
"@babel/core": "^7.15.0",
Expand Down
5 changes: 4 additions & 1 deletion src/client/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import Content from 'react-bulma-components/lib/components/content';
import Hero from 'react-bulma-components/lib/components/hero';
import Heading from 'react-bulma-components/src/components/heading';
import Columns from 'react-bulma-components/src/components/columns';
// import { BrowserRouter, Route } from 'react-router-dom';
import WelcomeImage from './welcome.svg';

function App() {
Expand All @@ -20,6 +21,7 @@ function App() {
<div>
<Heading size={1} renderAs="p" className="has-text-centered-mobile is-size-2-mobile">HakeShonassyBot</Heading>
<Heading subtitle renderAs="p" className="has-text-centered-mobile is-size-5-mobile">Телеграм бот раздающий глупые ачивки участникам чата</Heading>
<script async src="https://telegram.org/js/telegram-widget.js?14" data-telegram-login="HakeShonassyBot" data-size="large" data-auth-url="https://github.com/qelphybox/hakeshonassybot/issues/180"></script>
</div>
</Columns.Column>
<Columns.Column>
Expand All @@ -33,7 +35,8 @@ function App() {
<Container>
<Content style={{ textAlign: 'center' }}>
<p>
<strong>HakeShonassyBot</strong> Исходный код лицензирован <a href="http://opensource.org/licenses/mit-license.php">MIT</a>.
<strong>HakeShonassyBot</strong> Исходный код лицензирован <a href="http://opensource.org/licenses/mit-license.php">MIT</a>
<a href="https://github.com/qelphybox/hakeshonassybot"> Github</a>
</p>
</Content>
</Container>
Expand Down

0 comments on commit 77f8a98

Please sign in to comment.