From 03ab5efbdc8f6139c5b6f505492bc4886325824f Mon Sep 17 00:00:00 2001 From: Mahadi Wachilli Date: Mon, 21 Oct 2024 12:07:36 -0400 Subject: [PATCH] GC Home Page: Reduced Doormats and added all services button --- templates/home/_base.scss | 20 +++++++++++++++++++ templates/home/home-en.html | 38 ++++++++++--------------------------- templates/home/home-fr.html | 37 +++++++++--------------------------- templates/home/test.css | 23 ++++++++++++++++++++++ 4 files changed, 62 insertions(+), 56 deletions(-) create mode 100644 templates/home/test.css diff --git a/templates/home/_base.scss b/templates/home/_base.scss index b4ab9f4c9..b716f31c0 100644 --- a/templates/home/_base.scss +++ b/templates/home/_base.scss @@ -50,6 +50,26 @@ margin: 1em 0px; } + // All services button + .all-services-btn { + max-width: 140px; + + p { + border: 2px solid #26374a; + border-radius: 5px; + font-weight: bold; + margin-top:20px; + margin-bottom:20px; + padding: .75em; + text-align: center; + + a { + color:#26374a !important; + text-decoration: none !important; + } + } + } + /* Home page Most requested section * diff --git a/templates/home/home-en.html b/templates/home/home-en.html index 7e03f8607..6ed46be24 100644 --- a/templates/home/home-en.html +++ b/templates/home/home-en.html @@ -5,6 +5,8 @@ dateModified: 2022-09-16 layout: home breadcrumbs: false +css: +- test.scss ---
@@ -65,48 +67,28 @@

Business and indus

Benefits

EI, family and sickness leave, pensions, housing, student aid, disabilities

-
-

Health

-

Food, nutrition, diseases, vaccines, drugs, product safety and recalls

-

Taxes

Income tax, payroll, GST/HST, contribution limits, tax credits, charities

-

Environment and natural resources

-

Weather, climate, agriculture, wildlife, pollution, conservation, fisheries

-
-
-

National security and defence

-

Military, transportation and cyber security, securing the border, counter-terrorism

-
-
-

Culture, history and sport

-

Arts, media, heritage, official languages, national identity and funding

-
-
-

Policing, justice and emergencies

-

Safety, justice system, prepare for emergencies, services for victims of crime

-
-
-

Transport and infrastructure

-

Aviation, marine, road, rail, dangerous goods, infrastructure projects

+

Health

+

Food, nutrition, diseases, vaccines, drugs, product safety and recalls

-

Canada and the world

-

Foreign policy, trade agreements, development work, global issues

+

Environment and natural resources

+

Weather, climate, agriculture, wildlife, pollution, conservation, fisheries

Money and finances

Personal finance, credit reports, fraud protection, paying for education

-
-

Science and innovation

-

Scientific research on health, environment and space, grants and funding

-
+ +
+ All services
+
diff --git a/templates/home/home-fr.html b/templates/home/home-fr.html index 371d50941..5e25fd684 100644 --- a/templates/home/home-fr.html +++ b/templates/home/home-fr.html @@ -5,6 +5,8 @@ dateModified: 2024-09-16 layout: home breadcrumbs: false +css: +- test.scss ---
@@ -63,46 +65,25 @@

Entreprises et

Prestations

Assurance emploi, congés familiaux et congés de maladie, pensions, logement, aide financière aux études, personnes invalides

-
-

Santé

-

Alimentation, nutrition, maladies, vaccins, médicaments, sécurité des produits et rappels

-

Impôts

Impôt sur le revenu, TPS/TVH, limites de contribution, credits d’impôt, organismes de charité

-

Environnement et ressources naturelles

-

Météo, climat, agriculture, faune, pollution, conservation, pêches

-
-
-

Sécurité nationale et défense

-

Militaire, cybersécurité, sûreté des transports, sécuriser la frontière, contre-terrorisme

-
-
-

Culture, histoire et sport

-

Arts, médias, patrimoine, langues officielles, identité nationale et financement

-
-
-

Services de police, justice et urgences

-

Sécurité, justice, se préparer en cas d'urgence, services aux victimes d'actes criminels

-
-
-

Transport et infrastructure

-

Aviation, transport maritime, transport routier, transport ferroviaire, marchandises dangereuses, projets d'infrastructure

+

Santé

+

Alimentation, nutrition, maladies, vaccins, médicaments, sécurité des produits et rappels

-

Le Canada et le monde

-

Politique étrangère, ententes commerciales, développement international, enjeux mondiaux

+

Environnement et ressources naturelles

+

Météo, climat, agriculture, faune, pollution, conservation, pêches

Argent et finances

Finances personnelles, dossiers de crédit, se protéger de la fraude, financer votre éducation

-
-

Science et innovation

-

Recherche scientifique sur la santé, l'environnement et l'espace, subventions et financement

-
+ +
diff --git a/templates/home/test.css b/templates/home/test.css new file mode 100644 index 000000000..887e01ca1 --- /dev/null +++ b/templates/home/test.css @@ -0,0 +1,23 @@ +/* All services button */ +.all-services-btn{ + /* max-width: 140px; + + border: 2px solid #26374a; + border-radius: 5px; + font-weight: bold; + margin-top:20px; + margin-bottom:20px; + padding: .75em; + text-align: center; */ +} + +.all-services-btn a { + /* color:#26374a !important; + text-decoration: none !important; */ + + font-size: 1.1em; + margin-bottom: 25px; + margin-top: 15px; + padding: .58em 1em; + text-shadow: 1px 2px #333; +}