Helen 3 年之前
當前提交
74b285e4f9
共有 62 個文件被更改,包括 19926 次插入0 次删除
  1. 23 0
      .gitignore
  2. 70 0
      README.md
  3. 16125 0
      package-lock.json
  4. 39 0
      package.json
  5. 二進制
      public/favicon.ico
  6. 二進制
      public/images/gallery1.jpg
  7. 二進制
      public/images/gallery2.jpg
  8. 二進制
      public/images/gallery3.jpg
  9. 二進制
      public/images/gallery4.jpg
  10. 二進制
      public/images/gallery5.jpg
  11. 二進制
      public/images/gallery6.jpg
  12. 二進制
      public/images/gallery7.jpg
  13. 二進制
      public/images/gallery8.jpg
  14. 二進制
      public/images/health1.png
  15. 二進制
      public/images/health2.png
  16. 二進制
      public/images/health3.png
  17. 二進制
      public/images/health4.png
  18. 二進制
      public/images/health5.png
  19. 二進制
      public/images/health6.png
  20. 二進制
      public/images/health7.png
  21. 二進制
      public/images/health8.png
  22. 二進制
      public/images/logo.png
  23. 二進制
      public/images/program1.png
  24. 二進制
      public/images/program2.png
  25. 二進制
      public/images/program3.png
  26. 二進制
      public/images/program4.png
  27. 43 0
      public/index.html
  28. 二進制
      public/logo192.png
  29. 二進制
      public/logo512.png
  30. 25 0
      public/manifest.json
  31. 3 0
      public/robots.txt
  32. 0 0
      readme.txt
  33. 1057 0
      src/App.css
  34. 289 0
      src/App.js
  35. 8 0
      src/App.test.js
  36. 67 0
      src/css/icomoon.css
  37. 385 0
      src/css/normalize.css
  38. 17 0
      src/css/stylesheet.css
  39. 二進制
      src/fonts/FREESCPT.eot
  40. 二進制
      src/fonts/FREESCPT.otf
  41. 1376 0
      src/fonts/FREESCPT.svg
  42. 二進制
      src/fonts/FREESCPT.ttf
  43. 二進制
      src/fonts/FREESCPT.woff
  44. 二進制
      src/fonts/MyriadPro-Regular.eot
  45. 二進制
      src/fonts/MyriadPro-Regular.otf
  46. 二進制
      src/fonts/MyriadPro-Regular.svg
  47. 二進制
      src/fonts/MyriadPro-Regular.ttf
  48. 二進制
      src/fonts/MyriadPro-Regular.woff
  49. 二進制
      src/fonts/icon/icomoon.eot
  50. 20 0
      src/fonts/icon/icomoon.svg
  51. 二進制
      src/fonts/icon/icomoon.ttf
  52. 二進制
      src/fonts/icon/icomoon.woff
  53. 9 0
      src/icon.js
  54. 二進制
      src/images/bg-01.jpeg
  55. 二進制
      src/images/bg-02.jpeg
  56. 二進制
      src/images/bg-03.png
  57. 13 0
      src/index.css
  58. 17 0
      src/index.js
  59. 1 0
      src/logo.svg
  60. 13 0
      src/reportWebVitals.js
  61. 321 0
      src/selection.json
  62. 5 0
      src/setupTests.js

+ 23 - 0
.gitignore

@@ -0,0 +1,23 @@
+# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
+
+# dependencies
+/node_modules
+/.pnp
+.pnp.js
+
+# testing
+/coverage
+
+# production
+/build
+
+# misc
+.DS_Store
+.env.local
+.env.development.local
+.env.test.local
+.env.production.local
+
+npm-debug.log*
+yarn-debug.log*
+yarn-error.log*

+ 70 - 0
README.md

@@ -0,0 +1,70 @@
+# Getting Started with Create React App
+
+This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
+
+## Available Scripts
+
+In the project directory, you can run:
+
+### `npm start`
+
+Runs the app in the development mode.\
+Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
+
+The page will reload if you make edits.\
+You will also see any lint errors in the console.
+
+### `npm test`
+
+Launches the test runner in the interactive watch mode.\
+See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
+
+### `npm run build`
+
+Builds the app for production to the `build` folder.\
+It correctly bundles React in production mode and optimizes the build for the best performance.
+
+The build is minified and the filenames include the hashes.\
+Your app is ready to be deployed!
+
+See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
+
+### `npm run eject`
+
+**Note: this is a one-way operation. Once you `eject`, you can’t go back!**
+
+If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
+
+Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
+
+You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
+
+## Learn More
+
+You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
+
+To learn React, check out the [React documentation](https://reactjs.org/).
+
+### Code Splitting
+
+This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
+
+### Analyzing the Bundle Size
+
+This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)
+
+### Making a Progressive Web App
+
+This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)
+
+### Advanced Configuration
+
+This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
+
+### Deployment
+
+This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
+
+### `npm run build` fails to minify
+
+This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)

文件差異過大導致無法顯示
+ 16125 - 0
package-lock.json


+ 39 - 0
package.json

@@ -0,0 +1,39 @@
+{
+  "name": "mypro",
+  "version": "0.1.0",
+  "private": true,
+  "dependencies": {
+    "@testing-library/jest-dom": "^5.14.1",
+    "@testing-library/react": "^11.2.7",
+    "@testing-library/user-event": "^12.8.3",
+    "react": "^17.0.2",
+    "react-dom": "^17.0.2",
+    "react-icomoon": "^2.4.1",
+    "react-scripts": "4.0.3",
+    "web-vitals": "^1.1.2"
+  },
+  "scripts": {
+    "start": "react-scripts start",
+    "build": "react-scripts build",
+    "test": "react-scripts test",
+    "eject": "react-scripts eject"
+  },
+  "eslintConfig": {
+    "extends": [
+      "react-app",
+      "react-app/jest"
+    ]
+  },
+  "browserslist": {
+    "production": [
+      ">0.2%",
+      "not dead",
+      "not op_mini all"
+    ],
+    "development": [
+      "last 1 chrome version",
+      "last 1 firefox version",
+      "last 1 safari version"
+    ]
+  }
+}

二進制
public/favicon.ico


二進制
public/images/gallery1.jpg


二進制
public/images/gallery2.jpg


二進制
public/images/gallery3.jpg


二進制
public/images/gallery4.jpg


二進制
public/images/gallery5.jpg


二進制
public/images/gallery6.jpg


二進制
public/images/gallery7.jpg


二進制
public/images/gallery8.jpg


二進制
public/images/health1.png


二進制
public/images/health2.png


二進制
public/images/health3.png


二進制
public/images/health4.png


二進制
public/images/health5.png


二進制
public/images/health6.png


二進制
public/images/health7.png


二進制
public/images/health8.png


二進制
public/images/logo.png


二進制
public/images/program1.png


二進制
public/images/program2.png


二進制
public/images/program3.png


二進制
public/images/program4.png


+ 43 - 0
public/index.html

@@ -0,0 +1,43 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+    <meta charset="utf-8" />
+    <link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
+    <meta name="viewport" content="width=device-width, initial-scale=1" />
+    <meta name="theme-color" content="#000000" />
+    <meta
+      name="description"
+      content="Web site created using create-react-app"
+    />
+    <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
+    <!--
+      manifest.json provides metadata used when your web app is installed on a
+      user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
+    -->
+    <link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
+    <!--
+      Notice the use of %PUBLIC_URL% in the tags above.
+      It will be replaced with the URL of the `public` folder during the build.
+      Only files inside the `public` folder can be referenced from the HTML.
+
+      Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
+      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>React App</title>
+  </head>
+  <body>
+    <noscript>You need to enable JavaScript to run this app.</noscript>
+    <div id="root"></div>
+    <!--
+      This HTML file is a template.
+      If you open it directly in the browser, you will see an empty page.
+
+      You can add webfonts, meta tags, or analytics to this file.
+      The build step will place the bundled scripts into the <body> tag.
+
+      To begin the development, run `npm start` or `yarn start`.
+      To create a production bundle, use `npm run build` or `yarn build`.
+    -->
+  </body>
+</html>

二進制
public/logo192.png


二進制
public/logo512.png


+ 25 - 0
public/manifest.json

@@ -0,0 +1,25 @@
+{
+  "short_name": "React App",
+  "name": "Create React App Sample",
+  "icons": [
+    {
+      "src": "favicon.ico",
+      "sizes": "64x64 32x32 24x24 16x16",
+      "type": "image/x-icon"
+    },
+    {
+      "src": "logo192.png",
+      "type": "image/png",
+      "sizes": "192x192"
+    },
+    {
+      "src": "logo512.png",
+      "type": "image/png",
+      "sizes": "512x512"
+    }
+  ],
+  "start_url": ".",
+  "display": "standalone",
+  "theme_color": "#000000",
+  "background_color": "#ffffff"
+}

+ 3 - 0
public/robots.txt

@@ -0,0 +1,3 @@
+# https://www.robotstxt.org/robotstxt.html
+User-agent: *
+Disallow:

+ 0 - 0
readme.txt


文件差異過大導致無法顯示
+ 1057 - 0
src/App.css


+ 289 - 0
src/App.js

@@ -0,0 +1,289 @@
+import './App.css';
+
+const Wrapper = ({ children }) =>
+<div className="wrapper">
+    {children}
+</div>
+
+const Container = ({ children }) =>
+<div className="container">
+    {children}
+</div>
+
+const MenuItem = ({ url = "#", urlName }) =>
+<li><a href={url}>{urlName}</a></li>
+
+const NavMenu = () =>
+<nav className="menu">
+    <input id="toggle" type="checkbox" />
+    <label className="menu-toggle" htmlFor="toggle"><span /></label>
+    <ul>
+        <MenuItem url="#about" urlName="About us" />
+        <MenuItem url="#reservation" urlName="Reservation" />
+        <MenuItem url="#gallery" urlName="Gallery" />
+        <MenuItem url="#blog" urlName="Blog" />
+        <MenuItem url="#features" urlName="Elements" />
+        <MenuItem url="#shop" urlName="Shop" />
+    </ul></nav>
+
+const Logo = ({ url = "#" }) =><a href={url} className="logo"><img src="images/logo.png" alt="A-level" /></a>
+
+const HeaderHolder = () =><div className="header-holder">
+    <Logo url="#body" src="images/logo.png" />
+    <NavMenu />
+</div>
+
+const Header = () =>
+<header id="header">
+    <Container>
+    <HeaderHolder />
+    </Container>
+</header>
+
+const Section = ({ sectionName, sectionClass, children }) =>
+<section id={sectionName} className={sectionClass}>
+    {children}
+</section>
+
+const SectionHead = ({ text }) =><h2>{text}</h2>
+
+const SliderContent = ({ tagLine, tagLineText }) =>
+<div className="slider-content">
+    <h1>{tagLine}</h1>
+    <span>{tagLineText}</span>
+</div>
+
+const SliderForm = ({ formName, classOption_1 = "Yoga for health", classOption_2 = "Yoga for lose weight", classOption_3 = "Yoga for children", classOption_4 = "Yoga for elderly", btnName = "Try it" }) =>
+<div className="slider-form-container">
+    <form className="slider-form" action="#">
+        <h3>{formName}</h3>
+        <input type="text" placeholder="Enter your name" />
+        <input type="tel" placeholder="Enter your phone" />
+        <select id="class-options" value="Chose">
+            <option value="Chose" disabled>Chose your class</option>
+            <option value="option_1">{classOption_1}</option>
+            <option value="option_2">{classOption_2}</option>
+            <option value="option_3">{classOption_3}</option>
+            <option value="option_4">{classOption_4}</option>
+        </select>
+        <button className="btn form-btn" type="submit">{btnName}</button>
+    </form>
+</div >
+
+const Slider = () =>
+<Section sectionName="reservation" sectionClass="slider">
+    <Container>
+        <SliderContent tagLine="Just Balance your Mind & Body" tagLineText="Create the healthy living for yourself" />
+        <SliderForm formName="Trial Class" />
+    </Container>
+</Section>
+
+const ClassesCard = ({ imgUrl, imgAlternateText, cardName, children, cardUrl = "#", cardUrlName = "Ashtanga - Hatha" }) =>
+<li>
+    <div className="card">
+        <div className="card-visual"><img src={imgUrl} alt={imgAlternateText} /></div>
+        <div className="card-body">
+            <h4>{cardName}</h4>
+            <p>{children}</p>
+            <a href={cardUrl}>{cardUrlName}</a>
+        </div>
+    </div>
+</li>
+
+const Classes = () =>
+<Section sectionName="blog" sectionClass="classes">
+    <Container>
+        <SectionHead text="Yoga feature program" />
+        <span>Our classes</span>
+        <ul className="classes-cards">
+            <ClassesCard imgUrl="images/program1.png" imgAlternateText="exercise plank" cardName="Yoga For Health">
+                Minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat consectetur adipisicing elit, sed do eiusmod tempor incididunt.
+            </ClassesCard>
+            <ClassesCard imgUrl="images/program2.png" imgAlternateText="exercise stretching" cardName="Yoga For Lose Weight">
+                Minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat consectetur adipisicing elit, sed do eiusmod tempor incididunt.
+            </ClassesCard>
+            <ClassesCard imgUrl="images/program3.png" imgAlternateText="exercise for children" cardName="Yoga For Children">
+                Minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat consectetur adipisicing elit, sed do eiusmod tempor incididunt.
+            </ClassesCard>
+            <ClassesCard imgUrl="images/program4.png" imgAlternateText="exercise for elderly" cardName="Yoga For Elderly">
+                Minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat consectetur adipisicing elit, sed do eiusmod tempor incididunt.
+            </ClassesCard>
+        </ul>
+    </Container>
+</Section>
+
+const GalleryPhoto = ({ photoUrl = "#", img, photoAlternate = "photo" }) =>
+<li><a href={photoUrl}><img src={img} alt={photoAlternate} /></a></li>
+
+const Gallery = () =>
+<Section sectionName="gallery" sectionClass="gallery">
+    <SectionHead text="Gallery" />
+    <ul className="gallery-box">
+        <GalleryPhoto img="images/gallery1.jpg" />
+        <GalleryPhoto img="images/gallery2.jpg" />
+        <GalleryPhoto img="images/gallery3.jpg" />
+        <GalleryPhoto img="images/gallery4.jpg" />
+        <GalleryPhoto img="images/gallery5.jpg" />
+        <GalleryPhoto img="images/gallery6.jpg" />
+        <GalleryPhoto img="images/gallery7.jpg" />
+        <GalleryPhoto img="images/gallery8.jpg" />
+    </ul>
+</Section>
+
+
+
+const FeatureCard = ({ icon, title, children }) =>
+<li>
+    <div className="feature-box">
+        <div className="feature-visual">
+            <img src={icon} alt="icon" />
+        </div>
+        <div className="feature-text">
+            <h5>{title}</h5>
+            <p>{children}</p>
+        </div>
+    </div>
+</li>
+
+const FeatureSection = () =>
+<Section sectionName="features" sectionClass="features">
+    <Container>
+        <ul className="feature-list">
+            <FeatureCard icon="images/health1.png" title="IMPROVED OVERALL HEALTH">
+                Enim ad minim veniam, quis nostrud exercitation toui ullamcomi laboris nisi ut
+                aliquip ex
+                ea com.
+            </FeatureCard>
+            <FeatureCard icon="images/health2.png" title="INCREASED CONCENTRATION">
+                Enim ad minim veniam, quis nostrud exercitation toui ullamcomi laboris nisi ut
+                aliquip ex
+                ea com.
+            </FeatureCard>
+            <FeatureCard icon="images/health3.png" title="BАLANCE YOUR MIND">
+                Enim ad minim veniam, quis nostrud exercitation toui ullamcomi laboris nisi ut
+                aliquip ex
+                ea com.
+            </FeatureCard>
+            <FeatureCard icon="images/health4.png" title="SLEEP BETTER">
+                Enim ad minim veniam, quis nostrud exercitation toui ullamcomi laboris nisi ut
+                aliquip ex
+                ea com.
+            </FeatureCard>
+            <FeatureCard icon="images/health5.png" title="WEIGHT LOSS">
+                Enim ad minim veniam, quis nostrud exercitation toui ullamcomi laboris nisi ut
+                aliquip ex
+                ea com.
+            </FeatureCard>
+            <FeatureCard icon="images/health6.png" title="STRENGTHENS YOUR BONES">
+                Enim ad minim veniam, quis nostrud exercitation toui ullamcomi laboris nisi ut
+                aliquip ex
+                ea com.
+            </FeatureCard>
+            <FeatureCard icon="images/health7.png" title="INCREASED FLEXIBILITY">
+                Enim ad minim veniam, quis nostrud exercitation toui ullamcomi laboris nisi ut
+                aliquip ex
+                ea com.
+            </FeatureCard>
+            <FeatureCard icon="images/health8.png" title="LOWER BLOOD PRESSURE">
+                Enim ad minim veniam, quis nostrud exercitation toui ullamcomi laboris nisi ut
+                aliquip ex
+                ea com.
+            </FeatureCard>
+        </ul>
+    </Container>
+</Section>
+
+const ShopCard = ({ price, cardDateOption = "MON – FRI", cardTimeOption = "8A.M – 8P.M", cardAdvicerOption = "NO", btnUrl = "#", btnName = "Buy now" }) =>
+<li>
+    <div className="shop-item">
+        <h2 className="item-cost">{price}</h2>
+        <div className="item-conditions">
+            <span>ENTRY DATE:{cardDateOption}</span>
+            <span>ENTRY TIME:{cardTimeOption}</span>
+            <span>NUTRITION ADVICER:{cardAdvicerOption}</span>
+    </div>
+    <a className="btn shop-btn" href={btnUrl}>{btnName}</a>
+    </div>
+</li>
+
+const Shop = () =>
+<Section sectionName="shop" sectionClass="shop">
+    <Container>
+        <ul class="shop-list">
+            <ShopCard price="49" />
+            <ShopCard price="69" />
+            <ShopCard price="99" cardDateOption="MON – SUN" cardAdvicerOption="YES" />
+        </ul>
+    </Container>
+</Section>
+
+const Main = () =>
+<main id="main">
+    <Slider />
+    <Classes />
+    <Gallery />
+    <FeatureSection />
+    <Shop />
+</main>
+
+const FooterSocial = ({ socialUrl = "#" }) =>
+<li><a href={socialUrl} target="_blank"></a></li>
+
+const FooterInfoText = ({ infoTitle = "About", children }) =>
+<div className="about-info">
+    <h3>{infoTitle}</h3>
+    <p>{children}</p>
+    <ul class="social">
+        <FooterSocial />
+        <FooterSocial />
+        <FooterSocial />
+        <FooterSocial />
+        <FooterSocial />
+    </ul>
+</div>
+
+const FooterInfoContacts = ({ contactsTitle = "Contact us", address, addressUrl = "address:", mail, mailUrl = "mailto:", tel, telUrl = "tel:", telReserv, telReservUrl = "tel:", site, siteUrl = "https://" }) =>
+<div className="contacts-info">
+    <h3>{contactsTitle}</h3>
+    <ul className="contacts-items">
+        <li><a href={addressUrl} target="_blank">{address}</a></li>
+        <li><a href={mailUrl} target="_blank">{mail}</a></li>
+        <li>
+            <a href={telUrl} target="_blank">{tel}</a><br />
+            <a href={telReservUrl} target="_blank">{telReserv}</a>
+        </li>
+        <li><a href={siteUrl} target="_blank">{site}</a></li>
+    </ul>
+</div>
+
+const Footer = ({ copyright = "Copyright © 2016-2017 Yoga classes" }) =>
+<footer id="footer">
+    <Container>
+        <div className="footer-info">
+            <FooterInfoText>
+                Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut
+                labore et dolore magna aliqua. Ut enim ad m inim veniam, quis nostrud exercitation toui
+                ullamcomi laboris nisi ut aliquip ex ea commodo consequat.
+            </FooterInfoText>
+            <FooterInfoContacts address="5419 Joseph Mountains Apt. 716"
+                mail="yoga.info@example.com"
+                mailUrl="mailto:yoga.info@example.com"
+                tel="+1 234 567 89"
+                telUrl="tel:+123456789"
+                telReserv="+1 234 678 90"
+                telReservUrl="tel:+123467890"
+                site="www.example.com"
+                siteUrl="https://www.example.com" />
+        </div>
+    </Container>
+    <span>{copyright}</span>
+</footer>
+
+const App = () =>
+<Wrapper>
+    <Header />
+    <Main />
+    <Footer />
+</Wrapper>
+
+export default App;

+ 8 - 0
src/App.test.js

@@ -0,0 +1,8 @@
+import { render, screen } from '@testing-library/react';
+import App from './App';
+
+test('renders learn react link', () => {
+  render(<App />);
+  const linkElement = screen.getByText(/learn react/i);
+  expect(linkElement).toBeInTheDocument();
+});

+ 67 - 0
src/css/icomoon.css

@@ -0,0 +1,67 @@
+
+@font-face {
+    font-family: "icomoon";
+    src: url("../fonts/icon/icomoon.eot?kjugxh#iefix") format("eot"),
+        url("../fonts/icon/icomoon.ttf?kjugxh") format("ttf"),
+        url("../fonts/icon/icomoon.woff?kjugxh") format("woff"),
+        url("../fonts/icon/icomoon.svg?kjugxh#icomoon") format("svg");
+    font-weight: normal;
+    font-style: normal;
+    font-display: block;
+}
+
+[class^="icon-"],
+[class*=" icon-"] {
+    /* use !important to prevent issues with browser extensions that change fonts */
+    font-family: "icomoon" !important;
+    speak: never;
+    font-style: normal;
+    font-weight: normal;
+    font-variant: normal;
+    text-transform: none;
+    line-height: 1;
+
+    /* Better Font Rendering =========== */
+    -webkit-font-smoothing: antialiased;
+    -moz-osx-font-smoothing: grayscale;
+}
+
+.icon-newspaper:before {
+    content: "\e904";
+}
+
+.icon-pencil:before {
+    content: "\e905";
+}
+
+.icon-pencil2:before {
+    content: "\e906";
+}
+
+.icon-quill:before {
+    content: "\e907";
+}
+
+.icon-phone:before {
+    content: "\e942";
+}
+
+.icon-envelop:before {
+    content: "\e945";
+}
+
+.icon-location:before {
+    content: "\e947";
+}
+
+.icon-location2:before {
+    content: "\e948";
+}
+
+.icon-search:before {
+    content: "\e986";
+}
+
+.icon-dribbble:before {
+    content: "\eaa7";
+}

+ 385 - 0
src/css/normalize.css

@@ -0,0 +1,385 @@
+*,
+*::before,
+*::after {
+    box-sizing: border-box;
+}
+
+/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
+
+/* Document
+   ========================================================================== */
+
+/**
+ * 1. Correct the line height in all browsers.
+ * 2. Prevent adjustments of font size after orientation changes in iOS.
+ */
+
+html {
+    line-height: 1.15;
+    /* 1 */
+    -webkit-text-size-adjust: 100%;
+    /* 2 */
+}
+
+/* Sections
+     ========================================================================== */
+
+/**
+   * Remove the margin in all browsers.
+   */
+
+body {
+    margin: 0;
+}
+
+/**
+   * Render the `main` element consistently in IE.
+   */
+
+main {
+    display: block;
+}
+
+/**
+   * Correct the font size and margin on `h1` elements within `section` and
+   * `article` contexts in Chrome, Firefox, and Safari.
+   */
+
+h1 {
+    font-size: 2em;
+    margin: 0.67em 0;
+}
+
+/* Grouping content
+     ========================================================================== */
+
+/**
+   * 1. Add the correct box sizing in Firefox.
+   * 2. Show the overflow in Edge and IE.
+   */
+
+hr {
+    box-sizing: content-box;
+    /* 1 */
+    height: 0;
+    /* 1 */
+    overflow: visible;
+    /* 2 */
+}
+
+/**
+   * 1. Correct the inheritance and scaling of font size in all browsers.
+   * 2. Correct the odd `em` font sizing in all browsers.
+   */
+
+pre {
+    font-family: monospace, monospace;
+    /* 1 */
+    font-size: 1em;
+    /* 2 */
+}
+
+/* Text-level semantics
+     ========================================================================== */
+
+/**
+   * Remove the gray background on active links in IE 10.
+   */
+
+a {
+    background-color: transparent;
+}
+
+/**
+   * 1. Remove the bottom border in Chrome 57-
+   * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
+   */
+
+abbr[title] {
+    border-bottom: none;
+    /* 1 */
+    text-decoration: underline;
+    /* 2 */
+    text-decoration: underline dotted;
+    /* 2 */
+}
+
+/**
+   * Add the correct font weight in Chrome, Edge, and Safari.
+   */
+
+b,
+strong {
+    font-weight: bolder;
+}
+
+/**
+   * 1. Correct the inheritance and scaling of font size in all browsers.
+   * 2. Correct the odd `em` font sizing in all browsers.
+   */
+
+code,
+kbd,
+samp {
+    font-family: monospace, monospace;
+    /* 1 */
+    font-size: 1em;
+    /* 2 */
+}
+
+/**
+   * Add the correct font size in all browsers.
+   */
+
+small {
+    font-size: 80%;
+}
+
+/**
+   * Prevent `sub` and `sup` elements from affecting the line height in
+   * all browsers.
+   */
+
+sub,
+sup {
+    font-size: 75%;
+    line-height: 0;
+    position: relative;
+    vertical-align: baseline;
+}
+
+sub {
+    bottom: -0.25em;
+}
+
+sup {
+    top: -0.5em;
+}
+
+/* Embedded content
+     ========================================================================== */
+
+/**
+   * Remove the border on images inside links in IE 10.
+   */
+
+img {
+    border-style: none;
+}
+
+/* Forms
+     ========================================================================== */
+
+/**
+   * 1. Change the font styles in all browsers.
+   * 2. Remove the margin in Firefox and Safari.
+   */
+
+button,
+input,
+optgroup,
+select,
+textarea {
+    font-family: inherit;
+    /* 1 */
+    font-size: 100%;
+    /* 1 */
+    line-height: 1.15;
+    /* 1 */
+    margin: 0;
+    /* 2 */
+}
+
+/**
+   * Show the overflow in IE.
+   * 1. Show the overflow in Edge.
+   */
+
+button,
+input {
+    /* 1 */
+    overflow: visible;
+}
+
+/**
+   * Remove the inheritance of text transform in Edge, Firefox, and IE.
+   * 1. Remove the inheritance of text transform in Firefox.
+   */
+
+button,
+select {
+    /* 1 */
+    text-transform: none;
+}
+
+/**
+   * Correct the inability to style clickable types in iOS and Safari.
+   */
+
+button,
+[type="button"],
+[type="reset"],
+[type="submit"] {
+    -webkit-appearance: button;
+}
+
+/**
+   * Remove the inner border and padding in Firefox.
+   */
+
+button::-moz-focus-inner,
+[type="button"]::-moz-focus-inner,
+[type="reset"]::-moz-focus-inner,
+[type="submit"]::-moz-focus-inner {
+    border-style: none;
+    padding: 0;
+}
+
+/**
+   * Restore the focus styles unset by the previous rule.
+   */
+
+button:-moz-focusring,
+[type="button"]:-moz-focusring,
+[type="reset"]:-moz-focusring,
+[type="submit"]:-moz-focusring {
+    outline: 1px dotted ButtonText;
+}
+
+/**
+   * Correct the padding in Firefox.
+   */
+
+fieldset {
+    padding: 0.35em 0.75em 0.625em;
+}
+
+/**
+   * 1. Correct the text wrapping in Edge and IE.
+   * 2. Correct the color inheritance from `fieldset` elements in IE.
+   * 3. Remove the padding so developers are not caught out when they zero out
+   *    `fieldset` elements in all browsers.
+   */
+
+legend {
+    box-sizing: border-box;
+    /* 1 */
+    color: inherit;
+    /* 2 */
+    display: table;
+    /* 1 */
+    max-width: 100%;
+    /* 1 */
+    padding: 0;
+    /* 3 */
+    white-space: normal;
+    /* 1 */
+}
+
+/**
+   * Add the correct vertical alignment in Chrome, Firefox, and Opera.
+   */
+
+progress {
+    vertical-align: baseline;
+}
+
+/**
+   * Remove the default vertical scrollbar in IE 10+.
+   */
+
+textarea {
+    overflow: auto;
+}
+
+/**
+   * 1. Add the correct box sizing in IE 10.
+   * 2. Remove the padding in IE 10.
+   */
+
+[type="checkbox"],
+[type="radio"] {
+    box-sizing: border-box;
+    /* 1 */
+    padding: 0;
+    /* 2 */
+}
+
+/**
+   * Correct the cursor style of increment and decrement buttons in Chrome.
+   */
+
+[type="number"]::-webkit-inner-spin-button,
+[type="number"]::-webkit-outer-spin-button {
+    height: auto;
+}
+
+/**
+   * 1. Correct the odd appearance in Chrome and Safari.
+   * 2. Correct the outline style in Safari.
+   */
+
+[type="search"] {
+    -webkit-appearance: textfield;
+    /* 1 */
+    outline-offset: -2px;
+    /* 2 */
+}
+
+/**
+   * Remove the inner padding in Chrome and Safari on macOS.
+   */
+
+[type="search"]::-webkit-search-decoration {
+    -webkit-appearance: none;
+}
+
+/**
+   * 1. Correct the inability to style clickable types in iOS and Safari.
+   * 2. Change font properties to `inherit` in Safari.
+   */
+
+::-webkit-file-upload-button {
+    -webkit-appearance: button;
+    /* 1 */
+    font: inherit;
+    /* 2 */
+}
+
+/* Interactive
+     ========================================================================== */
+
+/*
+   * Add the correct display in Edge, IE 10+, and Firefox.
+   */
+
+details {
+    display: block;
+}
+
+/*
+   * Add the correct display in all browsers.
+   */
+
+summary {
+    display: list-item;
+}
+
+/* Misc
+     ========================================================================== */
+
+/**
+   * Add the correct display in IE 10+.
+   */
+
+template {
+    display: none;
+}
+
+/**
+   * Add the correct display in IE 10.
+   */
+
+[hidden] {
+    display: none;
+}

+ 17 - 0
src/css/stylesheet.css

@@ -0,0 +1,17 @@
+@font-face {
+    font-family: "FREESCPT";
+    src: url("../fonts/FREESCPT.eot") format("eot"),
+    url("../fonts/FREESCPT.otf") format("otf"),
+    url("../fonts/FREESCPT.svg") format("svg"),
+    url("../fonts/FREESCPT.ttf") format("ttf"),
+    url("../fonts/FREESCPT.woff") format("woff");
+}
+
+@font-face {
+    font-family: "MyriadPro-Regular";
+    src: url("../fonts/MyriadPro-Regular.eot") format("eot"),
+    url("../fonts/MyriadPro-Regular.otf") format("otf"),
+    url("../fonts/MyriadPro-Regular.svg") format("svg"),
+    url("../fonts/MyriadPro-Regular.ttf") format("ttf"),
+    url("../fonts/MyriadPro-Regular.woff") format("woff");
+}

二進制
src/fonts/FREESCPT.eot


二進制
src/fonts/FREESCPT.otf


文件差異過大導致無法顯示
+ 1376 - 0
src/fonts/FREESCPT.svg


二進制
src/fonts/FREESCPT.ttf


二進制
src/fonts/FREESCPT.woff


二進制
src/fonts/MyriadPro-Regular.eot


二進制
src/fonts/MyriadPro-Regular.otf


二進制
src/fonts/MyriadPro-Regular.svg


二進制
src/fonts/MyriadPro-Regular.ttf


二進制
src/fonts/MyriadPro-Regular.woff


二進制
src/fonts/icon/icomoon.eot


文件差異過大導致無法顯示
+ 20 - 0
src/fonts/icon/icomoon.svg


二進制
src/fonts/icon/icomoon.ttf


二進制
src/fonts/icon/icomoon.woff


+ 9 - 0
src/icon.js

@@ -0,0 +1,9 @@
+import React from "react";
+import IcoMoon from "react-icomoon";
+const iconSet = require("./selection.json");
+
+const Icon = ({ ...props }) => {
+  return <IcoMoon iconSet={iconSet} {...props} />;
+};
+
+export default Icon;

二進制
src/images/bg-01.jpeg


二進制
src/images/bg-02.jpeg


二進制
src/images/bg-03.png


+ 13 - 0
src/index.css

@@ -0,0 +1,13 @@
+body {
+  margin: 0;
+  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
+    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
+    sans-serif;
+  -webkit-font-smoothing: antialiased;
+  -moz-osx-font-smoothing: grayscale;
+}
+
+code {
+  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
+    monospace;
+}

+ 17 - 0
src/index.js

@@ -0,0 +1,17 @@
+import React from 'react';
+import ReactDOM from 'react-dom';
+import './index.css';
+import App from './App';
+import reportWebVitals from './reportWebVitals';
+
+ReactDOM.render(
+  <React.StrictMode>
+    <App />
+  </React.StrictMode>,
+  document.getElementById('root')
+);
+
+// If you want to start measuring performance in your app, pass a function
+// to log results (for example: reportWebVitals(console.log))
+// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
+reportWebVitals();

文件差異過大導致無法顯示
+ 1 - 0
src/logo.svg


+ 13 - 0
src/reportWebVitals.js

@@ -0,0 +1,13 @@
+const reportWebVitals = onPerfEntry => {
+  if (onPerfEntry && onPerfEntry instanceof Function) {
+    import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {
+      getCLS(onPerfEntry);
+      getFID(onPerfEntry);
+      getFCP(onPerfEntry);
+      getLCP(onPerfEntry);
+      getTTFB(onPerfEntry);
+    });
+  }
+};
+
+export default reportWebVitals;

文件差異過大導致無法顯示
+ 321 - 0
src/selection.json


+ 5 - 0
src/setupTests.js

@@ -0,0 +1,5 @@
+// jest-dom adds custom jest matchers for asserting on DOM nodes.
+// allows you to do things like:
+// expect(element).toHaveTextContent(/react/i)
+// learn more: https://github.com/testing-library/jest-dom
+import '@testing-library/jest-dom';