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

130 create testimonials #131

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
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
32 changes: 32 additions & 0 deletions assets/json/reviews.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
[
{
"id": 111,
"star": 5,
"user": {
"id": 21,
"name": "dr. Cosmos O. Mangunsong, SpM(K)",
"photo": "https://randomuser.me/api/portraits/med/men/30.jpg"
},
"message": "They delivered a product that was both functional and beautiful, and were a pleasure to work with throughout the process."
},
{
"id": 112,
"star": 5,
"user": {
"id": 22,
"name": "Nizam K.",
"photo": "https://randomuser.me/api/portraits/men/96.jpg"
},
"message": "Their team of experts provided the guidance and expertise we needed to succeed in a rapidly changing digital landscape."
},
{
"id": 113,
"star": 5,
"user": {
"id": 23,
"name": "Sarah",
"photo": "https://randomuser.me/api/portraits/med/women/14.jpg"
},
"message": "They understood our unique needs and created a plan that was both innovative and effective."
}
]
5 changes: 5 additions & 0 deletions pages/api/reviews.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import data from '../../assets/json/reviews.json';

export default function handler(req, res) {
res.status(200).json(data);
}