-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #60 from Curio-org/main
Merge `main` to `production`
- Loading branch information
Showing
51 changed files
with
1,533 additions
and
1,246 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
node_modules | ||
# Ignore artifacts: | ||
build | ||
coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.formatOnSave": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export default (req, res) => { | ||
res.statusCode = 200; | ||
res.send({ message: "helloWorld" }); | ||
}; | ||
res.statusCode = 200; | ||
res.send({ message: "helloWorld" }); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
require('dotenv'); | ||
require("dotenv"); | ||
const client = require("twilio")( | ||
process.env.REACT_APP_TWILIO_ACCOUNT_SID, | ||
process.env.REACT_APP_TWILIO_AUTH_TOKEN | ||
); | ||
|
||
export default async (req, res) => { | ||
res.statusCode = 200; | ||
res.setHeader("Content-Type", "application/json"); | ||
process.env.REACT_APP_TWILIO_ACCOUNT_SID, | ||
process.env.REACT_APP_TWILIO_AUTH_TOKEN, | ||
); | ||
|
||
client.messages.create({ | ||
from: process.env.REACT_APP_TWILIO_PHONE_NUMBER, | ||
to: req.body.to, | ||
body: req.body.body, | ||
}) | ||
.then(() => { | ||
res.send(JSON.stringify({ success: true })); | ||
}) | ||
.catch((err) => { | ||
console.log(err); | ||
res.send(JSON.stringify({ success: false })); | ||
}); | ||
|
||
} | ||
export default async (req, res) => { | ||
res.statusCode = 200; | ||
res.setHeader("Content-Type", "application/json"); | ||
|
||
client.messages | ||
.create({ | ||
from: process.env.REACT_APP_TWILIO_PHONE_NUMBER, | ||
to: req.body.to, | ||
body: req.body.body, | ||
}) | ||
.then(() => { | ||
res.send(JSON.stringify({ success: true })); | ||
}) | ||
.catch((err) => { | ||
console.log(err); | ||
res.send(JSON.stringify({ success: false })); | ||
}); | ||
}; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
module.exports = { | ||
plugins: [ | ||
require('postcss-import'), | ||
require('tailwindcss/nesting')(require('postcss-nesting')), | ||
require('autoprefixer'), | ||
require('tailwindcss'), | ||
] | ||
} | ||
require("postcss-import"), | ||
require("tailwindcss/nesting")(require("postcss-nesting")), | ||
require("autoprefixer"), | ||
require("tailwindcss"), | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"trailingComma": "es5", | ||
"tabWidth": 4, | ||
"semi": false, | ||
"singleQuote": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,88 +1,107 @@ | ||
* { | ||
box-sizing: border-box; | ||
padding: 0%; | ||
margin: 0%; | ||
scroll-behavior: smooth; | ||
box-sizing: border-box; | ||
padding: 0%; | ||
margin: 0%; | ||
scroll-behavior: smooth; | ||
} | ||
|
||
body{ | ||
background-color: var(--color-bg); | ||
body { | ||
background-color: var(--color-bg); | ||
} | ||
|
||
.gradient__bg | ||
{ | ||
background:-moz-radial-gradient(circle at 3% 25%, rgba(0, 40, 83, 1) 0%, rgba(4, 12, 24, 1) 25%); | ||
.gradient__bg { | ||
background: -moz-radial-gradient( | ||
circle at 3% 25%, | ||
rgba(0, 40, 83, 1) 0%, | ||
rgba(4, 12, 24, 1) 25% | ||
); | ||
|
||
/* safari 5.1+,chrome 10+ */ | ||
background:-webkit-radial-gradient(circle at 3% 25%, rgba(0, 40, 83, 1) 0%, rgba(4, 12, 24, 1) 25%); | ||
background: -webkit-radial-gradient( | ||
circle at 3% 25%, | ||
rgba(0, 40, 83, 1) 0%, | ||
rgba(4, 12, 24, 1) 25% | ||
); | ||
|
||
/* opera 11.10+ */ | ||
background:-o-radial-gradient(circle at 3% 25%, rgba(0, 40, 83, 1) 0%, rgba(4, 12, 24, 1) 25%); | ||
background: -o-radial-gradient( | ||
circle at 3% 25%, | ||
rgba(0, 40, 83, 1) 0%, | ||
rgba(4, 12, 24, 1) 25% | ||
); | ||
|
||
/* ie 10+ */ | ||
background:-ms-radial-gradient(circle at 3% 25%, rgba(0, 40, 83, 1) 0%, rgba(4, 12, 24, 1) 25%); | ||
background: -ms-radial-gradient( | ||
circle at 3% 25%, | ||
rgba(0, 40, 83, 1) 0%, | ||
rgba(4, 12, 24, 1) 25% | ||
); | ||
|
||
/* global 92%+ browsers support */ | ||
background:radial-gradient(circle at 3% 25%, rgba(0, 40, 83, 1) 0%, rgba(4, 12, 24, 1) 25%); | ||
background: radial-gradient( | ||
circle at 3% 25%, | ||
rgba(0, 40, 83, 1) 0%, | ||
rgba(4, 12, 24, 1) 25% | ||
); | ||
} | ||
.gradient__text{ | ||
background: var(--gradient-text); | ||
background-clip: text; | ||
-webkit-background-clip: text; | ||
-webkit-text-fill-color: transparent; | ||
.gradient__text { | ||
background: var(--gradient-text); | ||
background-clip: text; | ||
-webkit-background-clip: text; | ||
-webkit-text-fill-color: transparent; | ||
} | ||
|
||
.section__padding{ | ||
padding: 4rem 6rem; | ||
.section__padding { | ||
padding: 4rem 6rem; | ||
} | ||
|
||
.section__margin{ | ||
margin: 4rem 6rem; | ||
.section__margin { | ||
margin: 4rem 6rem; | ||
} | ||
|
||
.scale-up-center { | ||
-webkit-animation: scale-up-center 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both; | ||
animation: scale-up-center 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both; | ||
-webkit-animation: scale-up-center 0.4s cubic-bezier(0.39, 0.575, 0.565, 1) | ||
both; | ||
animation: scale-up-center 0.4s cubic-bezier(0.39, 0.575, 0.565, 1) both; | ||
} | ||
|
||
@-webkit-keyframes scale-up-center { | ||
0% { | ||
-webkit-transform: scale(0.5); | ||
transform: scale(0.5); | ||
} | ||
100% { | ||
-webkit-transform: scale(1); | ||
transform: scale(1); | ||
} | ||
@-webkit-keyframes scale-up-center { | ||
0% { | ||
-webkit-transform: scale(0.5); | ||
transform: scale(0.5); | ||
} | ||
@keyframes scale-up-center { | ||
0% { | ||
-webkit-transform: scale(0.5); | ||
transform: scale(0.5); | ||
} | ||
100% { | ||
-webkit-transform: scale(1); | ||
transform: scale(1); | ||
} | ||
100% { | ||
-webkit-transform: scale(1); | ||
transform: scale(1); | ||
} | ||
} | ||
@keyframes scale-up-center { | ||
0% { | ||
-webkit-transform: scale(0.5); | ||
transform: scale(0.5); | ||
} | ||
100% { | ||
-webkit-transform: scale(1); | ||
transform: scale(1); | ||
} | ||
} | ||
|
||
@media screen and (max-width: 700px) { | ||
.section__padding { | ||
padding: 4rem; | ||
} | ||
|
||
|
||
@media screen and (max-width: 700px) { | ||
.section__padding { | ||
padding: 4rem; | ||
} | ||
|
||
.section__margin { | ||
margin: 4rem; | ||
} | ||
.section__margin { | ||
margin: 4rem; | ||
} | ||
|
||
@media screen and (max-width: 550px) { | ||
.section__padding { | ||
padding: 4rem 2rem; | ||
} | ||
|
||
.section__margin { | ||
margin: 4rem 2rem; | ||
} | ||
} | ||
} | ||
|
||
@media screen and (max-width: 550px) { | ||
.section__padding { | ||
padding: 4rem 2rem; | ||
} | ||
|
||
.section__margin { | ||
margin: 4rem 2rem; | ||
} | ||
} |
Oops, something went wrong.