From f32bb6a3106bcbfb2b7083355dbe736b17a1ce78 Mon Sep 17 00:00:00 2001 From: Joshen Lim Date: Mon, 30 Nov 2020 15:55:01 +0800 Subject: [PATCH] Add new shade of black and update articlethumb cards --- www/components/AdminAccess/index.tsx | 20 +++--- www/components/ArticleThumb.tsx | 69 +++++++++---------- www/components/Benchmark/index.tsx | 4 +- www/components/BuiltWithSupabase/index.tsx | 4 +- www/components/CaseStudies/index.tsx | 4 +- www/components/Features/index.tsx | 4 +- www/components/Footer/index.tsx | 2 +- .../MadeForDevelopers/CodeExamples.tsx | 10 +-- www/components/MadeForDevelopers/index.tsx | 14 ++-- www/components/Nav/index.tsx | 2 +- www/components/hero.tsx | 11 +-- www/tailwind.config.js | 10 +-- 12 files changed, 72 insertions(+), 82 deletions(-) diff --git a/www/components/AdminAccess/index.tsx b/www/components/AdminAccess/index.tsx index b4b8039a7e1..01c314e8b5b 100644 --- a/www/components/AdminAccess/index.tsx +++ b/www/components/AdminAccess/index.tsx @@ -6,7 +6,7 @@ const AdminAccess = () => { const [tabId, setTabId] = useState('tabTableEditor') return ( -
+
@@ -15,22 +15,20 @@ const AdminAccess = () => { title_alt={' without leaving the dashboard'} subtitle={'Admin Access'} /> -
+
-
-
-
-
+
+
+
+
-
- -
+
diff --git a/www/components/ArticleThumb.tsx b/www/components/ArticleThumb.tsx index fd85d693d4d..159daa32424 100644 --- a/www/components/ArticleThumb.tsx +++ b/www/components/ArticleThumb.tsx @@ -21,13 +21,9 @@ const ArticleThumb = (props: any) => { // avatar_url :string; // } - // console.log(props.article) - // @ts-ignore const AuthorProfile: User = Authors[author] - // console.log(AuthorProfile) - const iconMarkup = icons && icons.map((icon :any) => { return ( { ) }) - // console.log(icons) - // console.log(iconMarkup) - return ( -
+
{ alt={title} />
-
+
{ AuthorProfile && ( -
- -
-

- - {AuthorProfile.name} +

+
+ + {AuthorProfile.name} + -

-
- - - 6 min read +
+
+

+ + {AuthorProfile.name} + +

+
+ + + 6 min read +
-
- )} - { cta && ( -
) diff --git a/www/components/Benchmark/index.tsx b/www/components/Benchmark/index.tsx index c86d82dfeed..5f554950b1d 100644 --- a/www/components/Benchmark/index.tsx +++ b/www/components/Benchmark/index.tsx @@ -4,7 +4,7 @@ const Benchmark = () => { return ( <> {/* Figma ref */} -
+
@@ -24,7 +24,7 @@ const Benchmark = () => {
{/* Other */} -
+
diff --git a/www/components/BuiltWithSupabase/index.tsx b/www/components/BuiltWithSupabase/index.tsx index db08a17037c..80122aa15b8 100644 --- a/www/components/BuiltWithSupabase/index.tsx +++ b/www/components/BuiltWithSupabase/index.tsx @@ -5,9 +5,9 @@ import ProjectExamples from "data/ProjectExamples.json" const BuiltExamples = () => { return ( <> -
+
-
+
{ return ( <> -
+
-
+
diff --git a/www/components/Features/index.tsx b/www/components/Features/index.tsx index 7fb2a279599..388e5e408ed 100644 --- a/www/components/Features/index.tsx +++ b/www/components/Features/index.tsx @@ -31,7 +31,7 @@ const Features = () => {
{url && (
-
Learn more link
+
Learn more link
)}
@@ -39,7 +39,7 @@ const Features = () => { }) return ( -
+
{ return ( -