Skip to content

Commit 4908795

Browse files
committed
React project disney clone
0 parents  commit 4908795

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+4357
-0
lines changed

.babelrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"presets": ["@babel/preset-react"]
3+
}

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.build
2+
build
3+
web_modules
4+
node_modules

README.md

+40

package.json

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"scripts": {
3+
"start": "snowpack dev"
4+
},
5+
"dependencies": {
6+
"react": "^18.0.0-alpha-64931821a-20210808",
7+
"react-dom": "^18.0.0-alpha-64931821a-20210808"
8+
},
9+
"devDependencies": {
10+
"@babel/preset-react": "^7.14.5",
11+
"@snowpack/plugin-babel": "^2.1.7",
12+
"@snowpack/plugin-dotenv": "^2.1.0",
13+
"@snowpack/plugin-react-refresh": "^2.5.0",
14+
"@testing-library/jest-dom": "5.11.5",
15+
"@testing-library/react": "11.1.1",
16+
"snowpack": "^3.8.6"
17+
}
18+
}

public/assets/home-design-non-fs.jpg

286 KB

public/assets/home-desktop-design.jpg

690 KB

public/assets/home-mobile-design.jpg

203 KB

public/assets/images/badging.jpg

15.2 KB

public/assets/images/badging2.jpg

16.4 KB

public/assets/images/badging3.jpg

17.7 KB

public/assets/images/badging4.jpg

49.2 KB

public/assets/images/badging5.jpg

65.1 KB

public/assets/images/badging6.jpg

16.4 KB

public/assets/images/badging7.jpg

18.2 KB

public/assets/images/cta-logo-one.svg

+2

public/assets/images/cta-logo-two.png

12.6 KB
353 KB

public/assets/images/logo.svg

+1

public/assets/images/scale.jpg

13.1 KB

public/assets/images/scale10.jpg

12.3 KB

public/assets/images/scale11.jpg

17.1 KB

public/assets/images/scale12.jpg

16.7 KB

public/assets/images/scale13.jpg

18 KB

public/assets/images/scale14.jpg

19.8 KB

public/assets/images/scale15.jpg

14 KB

public/assets/images/scale16.jpg

58.7 KB

public/assets/images/scale17.jpg

31.3 KB

public/assets/images/scale18.jpg

23.9 KB

public/assets/images/scale2.jpg

14.9 KB

public/assets/images/scale3.jpg

13.4 KB

public/assets/images/scale4.jpg

21.1 KB

public/assets/images/scale5.jpg

24.2 KB

public/assets/images/scale6.jpg

97 KB

public/assets/images/scale7.jpg

12.4 KB

public/assets/images/scale8.jpg

19.5 KB

public/assets/images/scale9.jpg

19.1 KB
467 KB
126 KB

public/index.html

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8" />
5+
<link rel="icon" href="/favicon.ico" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1" />
7+
<meta name="description" content="Web site created using create-snowpack-app" />
8+
<title>Snowpack App</title>
9+
</head>
10+
<body>
11+
<div id="root"></div>
12+
<noscript>You need to enable JavaScript to run this app.</noscript>
13+
<script src="https://bit.ly/codedamn-web-console"></script>
14+
<script>
15+
window.HMR_WEBSOCKET_PORT = window.location.port
16+
</script>
17+
<script type="module" src="/dist/index.js"></script>
18+
<!--
19+
This HTML file is a template.
20+
If you open it directly in the browser, you will see an empty page.
21+
You can add webfonts, meta tags, or analytics to this file.
22+
The build step will place the bundled scripts into the <body> tag.
23+
To begin the development, run `npm start` or `yarn start`.
24+
To create a production bundle, use `npm run build` or `yarn build`.
25+
--></body>
26+
</html>

snowpack.config.js

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
/** @type {import("snowpack").SnowpackUserConfig } */
2+
module.exports = {
3+
mount: {
4+
public: { url: '/', static: true },
5+
src: { url: '/dist' }
6+
},
7+
plugins: ['@snowpack/plugin-react-refresh', '@snowpack/plugin-dotenv', '@snowpack/plugin-babel'],
8+
routes: [
9+
/* Enable an SPA Fallback in development: */
10+
// { match: 'routes', src: '.*', dest: '/index.html' }
11+
],
12+
optimize: {
13+
/* Example: Bundle your final build: */
14+
// "bundle": true,
15+
},
16+
packageOptions: {
17+
/* ... */
18+
},
19+
devOptions: {
20+
/* ... */
21+
},
22+
buildOptions: {
23+
/* ... */
24+
}
25+
}

src/App.css

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
.App {
2+
text-align: center;
3+
}
4+
5+
.App-logo {
6+
height: 40vmin;
7+
pointer-events: none;
8+
}
9+
10+
@media (prefers-reduced-motion: no-preference) {
11+
.App-logo {
12+
animation: App-logo-spin infinite 20s linear;
13+
}
14+
}
15+
16+
.App-header {
17+
background-color: #282c34;
18+
min-height: 100vh;
19+
display: flex;
20+
flex-direction: column;
21+
align-items: center;
22+
justify-content: center;
23+
font-size: calc(10px + 2vmin);
24+
color: white;
25+
}
26+
27+
.App-link {
28+
color: #61dafb;
29+
}
30+
31+
@keyframes App-logo-spin {
32+
from {
33+
transform: rotate(0deg);
34+
}
35+
to {
36+
transform: rotate(360deg);
37+
}
38+
}

src/App.jsx

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import React from 'react'
2+
import logo from './logo.svg'
3+
import './App.css'
4+
5+
function App() {
6+
return (
7+
<div className="App">
8+
<header className="App-header">
9+
<img src={logo} className="App-logo" alt="logo" />
10+
<p>
11+
Edit <code>src/App.jsx</code> and save to reload!
12+
</p>
13+
<span className="App-link">Hello from codedamn :)</span>
14+
</header>
15+
</div>
16+
)
17+
}
18+
19+
export default App

0 commit comments

Comments
 (0)