Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Happy Thoughts-Vera Sjunnesson #450

Open
wants to merge 27 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
129 changes: 112 additions & 17 deletions code/package-lock.json

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

4 changes: 4 additions & 0 deletions code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,17 @@
"version": "1.0.0",
"private": true,
"dependencies": {
"@lottiefiles/react-lottie-player": "^3.5.3",
"babel-eslint": "^10.1.0",
"cors": "^2.8.5",
"date-fns": "^2.30.0",
"eslint": "^8.21.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"lottie-react": "^2.4.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion code/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>Technigo React App</title>
<link rel="icon" href="https://cdn.shopify.com/s/files/1/1061/1924/products/Growing_Pink_Heart_Emoji_large.png?v=1571606066" type="image/icon type">
<title>Happy Thoughts Feed</title>
</head>

<body>
Expand Down
5 changes: 2 additions & 3 deletions code/src/App.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import React from 'react';
import { ThoughtFeed } from './components/ThoughtFeed';

export const App = () => {
return (
<div>
Find me in src/app.js!
</div>
<ThoughtFeed />
);
}
Empty file added code/src/SingleThought.js
Empty file.
17 changes: 17 additions & 0 deletions code/src/components/Background.js

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

13 changes: 13 additions & 0 deletions code/src/components/Loader.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import React from 'react';
import { Player } from '@lottiefiles/react-lottie-player';

export const Loader = () => {
return (
<Player
src="https://assets6.lottiefiles.com/packages/lf20_fL8JRzh50a.json"
className="player"
loop
autoplay
style={{ width: '100vh', position: 'absolute', top: '50%', left: '50%', transform: 'translate(-50%, -50%)' }} />
)
}
Loading