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

DevDivas Jen, Weishan, Karla, Ruthie #26

Open
wants to merge 41 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
8b5e423
added components
jenniferlim07 Jun 28, 2021
4ef022a
added BoardList component
jenniferlim07 Jun 29, 2021
794c21e
updated error of extra folder
jenniferlim07 Jun 29, 2021
5ff5fd3
newboardform component and callback function working
jenniferlim07 Jun 29, 2021
8a5701f
Merge pull request #1 from jenniferlim07/jenBoard
RuthieRNewman Jun 29, 2021
84ce095
added boardList displays of boards and functionality of hiding/showin…
jenniferlim07 Jun 30, 2021
f2fc76f
Merge pull request #2 from jenniferlim07/jenBoard
Weishanyang33 Jun 30, 2021
0ceb80b
api get and post request calls going through
jenniferlim07 Jul 1, 2021
b21fa46
Merge pull request #3 from jenniferlim07/jenBoard
Weishanyang33 Jul 1, 2021
366709e
Adds Card, CardList and NewCardForm components to components folder. …
RuthieRNewman Jul 1, 2021
00fcff9
Commented out code in App.js
RuthieRNewman Jul 1, 2021
b7f13aa
merged
RuthieRNewman Jul 1, 2021
98d13b6
merged
RuthieRNewman Jul 1, 2021
774312c
merged retrun statements in App.js
RuthieRNewman Jul 1, 2021
7e75b44
force push branch
RuthieRNewman Jul 1, 2021
31ae05c
Merge pull request #4 from jenniferlim07/ruthiecards
RuthieRNewman Jul 1, 2021
674a274
update axios request to use env
jenniferlim07 Jul 1, 2021
a054564
Merge branch 'main' of https://github.com/jenniferlim07/front-end-ins…
jenniferlim07 Jul 1, 2021
1104aa6
Merge pull request #5 from jenniferlim07/jenBoard
ktiktok96 Jul 1, 2021
516f1ea
card components working and making api calls
jenniferlim07 Jul 1, 2021
d78734d
Merge pull request #6 from jenniferlim07/jenBoard
RuthieRNewman Jul 1, 2021
e40f983
selected board does api call to get all cards from that board
jenniferlim07 Jul 1, 2021
1ff73dd
Merge pull request #7 from jenniferlim07/jenBoard
RuthieRNewman Jul 1, 2021
2af79fc
like button and patch request working
jenniferlim07 Jul 1, 2021
4b0427f
Merge pull request #8 from jenniferlim07/jenBoard
RuthieRNewman Jul 1, 2021
4eb2df3
Adds a ternary operator to JSX for card data display.
RuthieRNewman Jul 1, 2021
67aab16
Merged changes.
RuthieRNewman Jul 1, 2021
170bd62
Merge pull request #9 from jenniferlim07/ruthiecards
jenniferlim07 Jul 1, 2021
62ba800
delete function and call working
jenniferlim07 Jul 1, 2021
e158dfc
Merge pull request #10 from jenniferlim07/jenBoard
RuthieRNewman Jul 1, 2021
05e4913
made adjustments to background and grid.
ktiktok96 Jul 1, 2021
c626ae8
Merge branch 'main' into KarlasFrontEnd
ktiktok96 Jul 1, 2021
66fb40e
Merge pull request #11 from jenniferlim07/KarlasFrontEnd
ktiktok96 Jul 1, 2021
8a6b6c4
added imported image as background.
ktiktok96 Jul 2, 2021
f48c319
Merge pull request #12 from jenniferlim07/KarlasFrontEnd
ktiktok96 Jul 2, 2021
765746e
merged code
jenniferlim07 Jul 2, 2021
c751c59
Merge pull request #13 from jenniferlim07/jenBoard
Weishanyang33 Jul 2, 2021
bb99ec7
update background size
jenniferlim07 Jul 2, 2021
90b51ac
change css.
Weishanyang33 Jul 2, 2021
136d5b2
add more css.
Weishanyang33 Jul 2, 2021
d1a6f38
added sort by like functionality
jenniferlim07 Jul 2, 2021
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
71 changes: 68 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,70 @@
# Inspiration Board: Front-end Layer
# Getting Started with Create React App

This scaffold only includes a `.gitignore` file.
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

To get started, follow the setup directions described in the project.
## Available Scripts

In the project directory, you can run:

### `yarn 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.

### `yarn 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.

### `yarn 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.

### `yarn 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)

### `yarn 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)
39 changes: 39 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"name": "front-end-inspiration-board",
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"axios": "^0.21.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-scripts": "4.0.3",
"web-vitals": "^1.0.1"
},
"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"
]
}
}
Binary file added public/favicon.ico
Binary file not shown.
54 changes: 54 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<!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" />

<!-- Using google fonts with the following 3 lines below-->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Charm:wght@700&family=Festive&family=Forum&family=Fredericka+the+Great&family=La+Belle+Aurore&family=Lato:ital@0;1&family=Monoton&family=Montserrat&family=Open+Sans&family=Rye&family=Source+Code+Pro:wght@500&family=Source+Sans+Pro&family=Tourney:ital,wght@0,600;1,400&display=swap" rel="stylesheet">

<!--Link to CSS folder and CSS file-->
<link rel="stylesheet" href="src/App.css">


<!--
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>
<img src="img/Mullin_pride_background.jpg" alt="" class="background">
<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>
Binary file added public/logo192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/logo512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -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 changes: 3 additions & 0 deletions public/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# https://www.robotstxt.org/robotstxt.html
User-agent: *
Disallow:
80 changes: 80 additions & 0 deletions src/App.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
body {
margin: 3rem;
font-family: 'Open Sans', sans-serif;
color: black;
}

h1,
h2 {
text-align: center;
font-family: "Tourney", normal;
padding: 0.6em 1em;
display: inline-block;
color: black;
}

h1 {
background-color: rgba(150, 223, 102);
transform: rotate(0deg) skew(0deg);
border: 2px round black;
box-shadow: -10px 7px 1px rgba(85, 79, 79, 0.698);
}

h2 {
/* border-bottom: 10px solid lightgrey; */
box-shadow: -15px 7px 1px rgba(85, 79, 79, 0.698);
background-color: rgb(246, 246, 74) ;
}

h3 {
background-color: rgb(246, 246, 74);
max-width: fit-content;
}

.boards__container {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
}

.new-board-form__container,
.new-card-form__container {
display: flex;
flex-direction: column;
align-items: flex-start;
}

.new-board-form__form,
.new-card-form__form {
display: flex;
flex-direction: column;
margin-bottom: 2em;
width: 100%;
}

.new-board-form__form-submit-btn,
.new-board-form__toggle-btn,
.new-card-form__form-submit-btn {
padding: 0.5em;
background-color: white;
border: 2px solid black;
}

input {
box-sizing: content-box;
}

.invalid-form-input {
border: red solid 1px;
box-shadow: 0 0 7px red;
}

.page__container {
display: flex;
flex-direction: column;
align-items: center;
min-height: 100vh;
}

.content__container {
flex: 1 0 auto;
}
Loading