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

Working on my hero section and the main section #1

Open
wants to merge 23 commits into
base: main
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
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DISABLE_ESLINT_PLUGIN=true
3 changes: 2 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
{
"extensions": [".js", ".jsx"]
}
]
],
"prettier/prettier": ["error", { "endOfLine": "auto" }]
}
}
99 changes: 93 additions & 6 deletions package-lock.json

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

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "^5.0.1",
"rodal": "^2.0.1",
"sweetalert": "^2.1.2",
"uuid": "^9.0.0",
"web-vitals": "^2.1.4"
},
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
content="Web site created using create-react-app"
/>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css" integrity="sha512-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<!--
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/
Expand Down
2 changes: 1 addition & 1 deletion src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

@media (prefers-reduced-motion: no-preference) {
.App-logo {
animation: App-logo-spin infinite 20s linear;
animation: App-logo-spin infinite 0.82s linear;
}
}

Expand Down
19 changes: 2 additions & 17 deletions src/App.jsx
Original file line number Diff line number Diff line change
@@ -1,25 +1,10 @@
import logo from './logo.svg';
import './App.css';
import HomePage from './pages/HomePage';

function App() {
return (
<div className="App">
<header className="App-header">
<img src={logo} className="App-logo" alt="logo" />
<p>
Edit
<code>src/App.js</code>
and save to reload.
</p>
<a
className="App-link"
href="https://reactjs.org"
target="_blank"
rel="noopener noreferrer"
>
Learn React
</a>
</header>
<HomePage />
</div>
);
}
Expand Down
47 changes: 47 additions & 0 deletions src/Components/AddCardModal/AddCardModal.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
.container {
display: flex;
width: 100%;
flex-direction: column;
color: white;
text-align: left;
}
.container > div {
margin-top: 2rem;
}

.label {
font-weight: bold;
font-size: 1.2rem;
}

.input {
color: white;
font: inherit;
margin-top: 12px;
display: block;
background-color: transparent;
outline: none;
border: 1px solid rgb(98, 98, 98);
font-size: 1.2rem;
font-weight: 300;
padding: 10px;
width: 95%;
border-radius: 8px;
resize: none;
}

.saveButton {
width: 6rem;
align-self: flex-end;
margin-top: 1.5rem;
background: var(--orange-gradient);
border: none;
padding: 10px;
color: white;
cursor: pointer;
border-radius: 8px;
}

.saveButton:disabled {
background: grey;
}
Loading