From 4636bf655040c17d85e52dc24ab7e79503d19fdc Mon Sep 17 00:00:00 2001 From: Abhigyan Ghosh Date: Fri, 16 Feb 2024 02:17:42 +0530 Subject: [PATCH] Added more icons and added command to check and changed bg colour --- .../react/components/Form/Feature/Feature.tsx | 563 +++++++++--------- templates/advantage/subscribe/index.html | 2 +- 2 files changed, 283 insertions(+), 282 deletions(-) diff --git a/static/js/src/advantage/subscribe/react/components/Form/Feature/Feature.tsx b/static/js/src/advantage/subscribe/react/components/Form/Feature/Feature.tsx index 284c1422fc5..dfdc5bd05e6 100644 --- a/static/js/src/advantage/subscribe/react/components/Form/Feature/Feature.tsx +++ b/static/js/src/advantage/subscribe/react/components/Form/Feature/Feature.tsx @@ -26,131 +26,290 @@ const Feature = () => { return ( <> - -

What security coverage do you need?

- -
-

Not sure? Run [command] to find out which packages and repositories you are currently using.

- -
- -
- -
-
- - -

{ feature === Features.pro ? "25000" : "2300" }

- - -

Covers { feature === Features.pro ? "25000" : "2300" } packages in Ubuntu Main { feature === Features.pro ? "and Universe":""}

- - -
-
-

LTS standard security maintenance for Ubuntu Main (initial 5 years)

- { feature===Features.pro &&

LTS Expanded Security Maintenance (ESM) for Ubuntu Main (additional 5 years)

} - - - -
- Systemd - RabbitMQ - OpenSSL - Ruby - PHP - NGINX - MySQL - { feature===Features.pro && <> - Apache Tomcat - Agios - NodeJS - Puppet - Redis +

What security coverage do you need?

+ +
+

Not sure? Run pro security-status to find out which packages and repositories you are currently using.

+ - Rust + - Wordpress - } -
- +
+ + +
+ +
+ + +

{feature === Features.pro ? "25000" : "2300"}

+ + +

Covers {feature === Features.pro ? "25000" : "2300"} packages in Ubuntu Main {feature === Features.pro ? "and Universe" : ""}

+ + +
+
+

LTS standard security maintenance for Ubuntu Main (initial 5 years)

+ {feature === Features.pro &&

LTS Expanded Security Maintenance (ESM) for Ubuntu Main (additional 5 years)

} + + + + +
+
+
+ Systemd +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+ { feature===Features.pro && + <> +
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+ } +
+
+ +
- - - - - { ); }; -export default Feature; - -{/* - -
- - Security coverage for critical, high and selected medium CVEs for: - -
-
-

- Over 2,300 open source deb packages in Ubuntu Main repository for - 10 years, including: -

-
- Systemd - RabbitMQ - OpenSSL - Ruby - PHP - NGINX - MySQL -
-
-
-

- Over 23,000 open source deb packages in Ubuntu Universe repository - for 10 years, including: -

-
- Apache Tomcat - Agios - NodeJS - Puppet - Redis - Rust - Wordpress -
-
- - -
- -
- - -
- -
- -
*/} \ No newline at end of file +export default Feature; \ No newline at end of file diff --git a/templates/advantage/subscribe/index.html b/templates/advantage/subscribe/index.html index 49d01149a7d..8232fc00842 100644 --- a/templates/advantage/subscribe/index.html +++ b/templates/advantage/subscribe/index.html @@ -6,7 +6,7 @@ %}https://docs.google.com/document/d/1UqL8YJH9ywvOXnrt3syY0U8fiOakfAGWmLS9uerwAWk/edit{% endblock meta_copydoc %} {% block content %} -
+