Skip to content

Commit

Permalink
update testimonial
Browse files Browse the repository at this point in the history
  • Loading branch information
BodaNabeel committed Mar 8, 2024
1 parent ab28339 commit a261290
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 14 deletions.
11 changes: 11 additions & 0 deletions ui/package-lock.json

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

1 change: 1 addition & 0 deletions ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"gray-matter": "^4.0.3",
"next": "14.1.0",
"next-pwa": "^5.6.0",
"next-themes": "^0.2.1",
"openai": "^4.27.0",
"react": "^18",
"react-dom": "^18",
Expand Down
Binary file added ui/public/profile/saneem.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 24 additions & 8 deletions ui/src/components/home/Testimonial.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,17 @@ import { IconBrandX } from "@tabler/icons-react";
import Image from "next/image";

const testimonials = [
{
name: "Saneem Perinkadakkat",
testimonial:
"A simple tool to quickly get quality subtitles for any video. Loved the option to just put in a YouTube link and get it transcribed & translated!",
profileLink: "https://in.linkedin.com/in/xaneem",
picPath: "/profile/saneem.jpeg",
credential: "Co-founder of ClusterDev which server 100M+ users",
},
{
name: "Rejin Jose",
field: "Senior AI Engineer, IQVIA",
credential: "Senior AI Engineer, IQVIA",
testimonial:
"I have tried IndicSubtitler. It is very useful and screen reader accessible. It is easy to navigate and generate the subtitles. Thanks to the team for keeping accessibility in mind while developing the product.",
picPath: "/profile/rejin.jpeg",
Expand All @@ -15,6 +23,8 @@ const testimonials = [
{
publicProfile: true,
name: "Akshay S Dinesh",
credential:
" Contributor at Swathanthra Malayalam Computing & Indic Project",
testimonial:
"I tested IndicSubtitler on a project I had earlier subtitled manually. There were some rough edges (missing lines and incorrect words) but these can be fixed easily from the in-built editor. It would have saved me hours of manual typing. The development of this project is at breakneck speed too",
picPath: "/profile/akshay.jpg",
Expand All @@ -26,8 +36,10 @@ const testimonials = [
{
publicProfile: true,
name: "Abhijith Neil Abraham",
credential:
"Engineer turned Entrepreneur, Maintainer of tableQA & pyvigate",
testimonial:
"This is an awesome project to watch out, there's so many usecases I already have at this point for using it.",
"Contributor at Swathanthra Malayalam Computing & Indic ProjectEngineer turned Entrepreneur, Maintainer of tableQA & pyvigate",
picPath: "/profile/abhijith.jpg",
platform: "twitter",
username: "@abhijithneil",
Expand All @@ -37,8 +49,9 @@ const testimonials = [
{
publicProfile: true,
name: "Omshivaprakash",
credential: "Cofounder at Sanchaya and Sanchi Foundation",
testimonial:
"An amazing tool for subtitling! Congratulations to the team behind this.",
"ಇಂಡಿಕ್ ಸಬ್‌ಟೈಟ್ಲರ್ - ಇದೀಗ ವಿಡಿಯೋಗಳಿಗೆ ಸಬ್ಟೈಟಲ್ ಮಾಡುವುದು ಸುಲಭ. ವಿಶಿಷ್ಟ ಚೇತನರೂ ಇದನ್ನು ಸುಲಭವಾಗಿ ಬಳಸುವಂತೆ ಮಾಡಿರುವುದು ಮತ್ತೂ ವಿಶೇಷ. ಈ ಮುಕ್ತ ತಂತ್ರಾಂಶವನ್ನು ಇಲ್ಲಿ ಬಳಸಿ ನೋಡಿ indicsubtitler.in ",
picPath: "/profile/omshivaprakash.jpg",
platform: "twitter",
username: "@omshivaprakash",
Expand Down Expand Up @@ -84,7 +97,7 @@ const Testimonial = () => {
alt={`Picture of ${testimonial.name}`}
className="rounded-full overflow-hidden"
/>
<div className="flex items-center justify-between w-full">
<div className="flex items-center justify-between w-full gap-2">
<div className="flex flex-col">
<a
aria-label={`Link of ${testimonial.name}'s profile`}
Expand All @@ -94,24 +107,27 @@ const Testimonial = () => {
>
{testimonial.name}
</a>
<a
{/* <a
aria-label={`Link of ${testimonial.username}'s profile`}
href={testimonial.profileLink}
className="hover:underline"
target="_blank"
>
{testimonial.username}
</a>
</a> */}
<p className="text-sm text-gray-500">
{testimonial.credential}
</p>
</div>
{testimonial.publicProfile ? (
{testimonial.publicProfile && (
<a
aria-label="Link of tweet"
target="_blank"
href={testimonial.reviewLink}
>
<PlatformIcon platform={testimonial.platform} />
</a>
) : null}
)}
</div>
</div>

Expand Down
8 changes: 5 additions & 3 deletions ui/src/pages/_app.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
import Header from "@components/components/Header";
import "@components/styles/globals.css";
import "react-toastify/dist/ReactToastify.css";

import { ThemeProvider } from "next-themes";
export default function App({ Component, pageProps }) {
return (
<>
<Header />
<Component {...pageProps} />
<ThemeProvider forcedTheme="light">
<Header />
<Component {...pageProps} />
</ThemeProvider>
</>
);
}
4 changes: 4 additions & 0 deletions ui/src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

@import url(blog.css);

:root {
--background: white;
--foreground: black;
}
.truncate-custom {
display: -webkit-box;
-webkit-line-clamp: 4; /* Number of lines to show */
Expand Down
6 changes: 3 additions & 3 deletions ui/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ module.exports = {
},
},
plugins: [require("@tailwindcss/typography"), require("daisyui")],
daisyui: {
themes: ["light"],
},
// daisyui: {
// themes: ["light", "cupcake"],
// },
};

0 comments on commit a261290

Please sign in to comment.