From 26188b697c1f6c8d879a8f42a1b529f2c2343e86 Mon Sep 17 00:00:00 2001 From: saintnoodle <14948290+saintnoodle@users.noreply.github.com> Date: Fri, 31 Mar 2023 18:03:40 +0100 Subject: [PATCH] fix import page layout, docs links, misc text (#889) --- client/src/_style/base.scss | 4 ++ .../app/pages/dashboard/import/ImportPage.tsx | 54 ++++++++++++------- 2 files changed, 40 insertions(+), 18 deletions(-) diff --git a/client/src/_style/base.scss b/client/src/_style/base.scss index e8c41fc99..d4c830be3 100644 --- a/client/src/_style/base.scss +++ b/client/src/_style/base.scss @@ -69,6 +69,10 @@ display: block; } +.d-grid{ + display: grid; +} + .fading-image-td-left { position: relative; z-index: 1; diff --git a/client/src/app/pages/dashboard/import/ImportPage.tsx b/client/src/app/pages/dashboard/import/ImportPage.tsx index a0069dd54..96e03b927 100644 --- a/client/src/app/pages/dashboard/import/ImportPage.tsx +++ b/client/src/app/pages/dashboard/import/ImportPage.tsx @@ -46,7 +46,7 @@ export default function ImportPage({ user }: { user: UserDocument }) { Discord.
Know how to program, and want to write a script yourself? Check out{" "} - + Batch Manual . @@ -131,8 +131,8 @@ function ImportInfoDisplayer({ game }: { game: Game }) { , , @@ -360,6 +360,7 @@ function ImportTypeInfoCard({ name="CG Dev Integration" href="cg-dev-sdvx" desc="Pull your SDVX scores from the CG Dev Network." + moreInfo="Note: All networks are reduced to their first three letters for anonymity reasons." key="cg-dev-sdvx" /> ); @@ -368,7 +369,8 @@ function ImportTypeInfoCard({ ); @@ -377,7 +379,8 @@ function ImportTypeInfoCard({ ); @@ -386,7 +389,8 @@ function ImportTypeInfoCard({ ); @@ -395,7 +399,8 @@ function ImportTypeInfoCard({ ); @@ -404,7 +409,8 @@ function ImportTypeInfoCard({ ); @@ -414,6 +420,7 @@ function ImportTypeInfoCard({ name="CG Dev Integration" href="cg-dev-museca" desc="Pull your MUSECA scores from the CG Dev Network." + moreInfo="Note: All networks are reduced to their first three letters for anonymity reasons." key="cg-dev-museca" /> ); @@ -422,7 +429,8 @@ function ImportTypeInfoCard({ ); @@ -431,7 +439,8 @@ function ImportTypeInfoCard({ ); @@ -450,8 +459,16 @@ function ImportTypeInfoCard({ + This service is rather old, and was originally for manually tracking CS + scores. However, it still exports data, and we still support it!
+
+ Also, these guys provide pretty good quality data, especially for the + time. + + } key="SOLID STATE SQUAD .xml" /> ); @@ -470,12 +487,13 @@ function ImportTypeInfoCard({ - Check{" "} - - the documentation + This is for programmers to create their own import scripts.
Check + the{" "} + + documentation . @@ -530,7 +548,7 @@ function ImportInfoCard({ moreInfo?: React.ReactChild; }) { return ( -
+
Use this!}>
{desc}
{moreInfo && (