|
7 | 7 | <div class="container"> |
8 | 8 | <h2 class="text-center mb-5">What We Do</h2> |
9 | 9 | <div class="row g-4"> |
| 10 | + |
10 | 11 | <div class="col-md-6 col-lg-3"> |
11 | 12 | <div class="card h-100 bg-light-alt border-0"> |
12 | | - <div class="card-body d-flex flex-column"> |
| 13 | + <div class="card-body d-flex flex-column align-items-center text-center"> |
| 14 | + <div class="mb-3"> |
| 15 | + <span class="d-inline-flex align-items-center justify-content-center rounded p-2 bg-primary bg-opacity-10"> |
| 16 | + <i class="fa-solid fa-code fa-xl text-primary"></i> |
| 17 | + </span> |
| 18 | + </div> |
13 | 19 | <h5 class="card-title"><?php echo $params->get('actvties-ttleblock1', 'Software Development'); ?></h5> |
14 | 20 | <p class="card-text flex-grow-1"> |
15 | 21 | <?php echo $params->get('actvties-descblock1', 'Supporting and coordinating open-source biomolecular simulation tools.'); ?> |
16 | 22 | </p> |
17 | 23 | <?php if (!empty($block1Url)) : ?> |
18 | | - <div class="text-center mt-3"> |
| 24 | + <div class="mt-3"> |
19 | 25 | <a href="<?php echo htmlspecialchars($block1Url); ?>" class="btn btn-primary"><?php echo $params->get('actvties-btnblock1', 'Learn More'); ?></a> |
20 | 26 | </div> |
21 | 27 | <?php endif; ?> |
22 | 28 | </div> |
23 | 29 | </div> |
24 | 30 | </div> |
| 31 | + |
25 | 32 | <div class="col-md-6 col-lg-3"> |
26 | 33 | <div class="card h-100 bg-light-alt border-0"> |
27 | | - <div class="card-body d-flex flex-column"> |
| 34 | + <div class="card-body d-flex flex-column align-items-center text-center"> |
| 35 | + <div class="mb-3"> |
| 36 | + <span class="d-inline-flex align-items-center justify-content-center rounded p-2 bg-success bg-opacity-10"> |
| 37 | + <i class="fa-solid fa-graduation-cap fa-xl text-success"></i> |
| 38 | + </span> |
| 39 | + </div> |
28 | 40 | <h5 class="card-title"><?php echo $params->get('actvties-ttleblock2', 'Training & Skills'); ?></h5> |
29 | 41 | <p class="card-text flex-grow-1"> |
30 | 42 | <?php echo $params->get('actvties-descblock2', 'Workshops, summer schools, and online training at all career stages.'); ?> |
31 | 43 | </p> |
32 | 44 | <?php if (!empty($block2Url)) : ?> |
33 | | - <div class="text-center mt-3"> |
| 45 | + <div class="mt-3"> |
34 | 46 | <a href="<?php echo htmlspecialchars($block2Url); ?>" class="btn btn-primary"><?php echo $params->get('actvties-btnblock2', 'Learn More'); ?></a> |
35 | 47 | </div> |
36 | 48 | <?php endif; ?> |
37 | 49 | </div> |
38 | 50 | </div> |
39 | 51 | </div> |
| 52 | + |
40 | 53 | <div class="col-md-6 col-lg-3"> |
41 | 54 | <div class="card h-100 bg-light-alt border-0"> |
42 | | - <div class="card-body d-flex flex-column"> |
| 55 | + <div class="card-body d-flex flex-column align-items-center text-center"> |
| 56 | + <div class="mb-3"> |
| 57 | + <span class="d-inline-flex align-items-center justify-content-center rounded p-2 bg-purple bg-opacity-10"> |
| 58 | + <i class="fa-solid fa-users fa-xl" style="color: #7c3aed;"></i> |
| 59 | + </span> |
| 60 | + </div> |
43 | 61 | <h5 class="card-title"><?php echo $params->get('actvties-ttleblock3', 'Community'); ?></h5> |
44 | 62 | <p class="card-text flex-grow-1"> |
45 | 63 | <?php echo $params->get('actvties-descblock3', 'Connecting researchers across academia and industry.'); ?> |
46 | 64 | </p> |
47 | 65 | <?php if (!empty($block3Url)) : ?> |
48 | | - <div class="text-center mt-3"> |
| 66 | + <div class="mt-3"> |
49 | 67 | <a href="<?php echo htmlspecialchars($block3Url); ?>" class="btn btn-primary"><?php echo $params->get('actvties-btnblock3', 'Learn More'); ?></a> |
50 | 68 | </div> |
51 | 69 | <?php endif; ?> |
52 | 70 | </div> |
53 | 71 | </div> |
54 | 72 | </div> |
| 73 | + |
55 | 74 | <div class="col-md-6 col-lg-3"> |
56 | 75 | <div class="card h-100 bg-light-alt border-0"> |
57 | | - <div class="card-body d-flex flex-column"> |
| 76 | + <div class="card-body d-flex flex-column align-items-center text-center"> |
| 77 | + <div class="mb-3"> |
| 78 | + <span class="d-inline-flex align-items-center justify-content-center rounded p-2 bg-warning bg-opacity-10"> |
| 79 | + <i class="fa-solid fa-award fa-xl text-warning"></i> |
| 80 | + </span> |
| 81 | + </div> |
58 | 82 | <h5 class="card-title"><?php echo $params->get('actvties-ttleblock4', 'Best Practice'); ?></h5> |
59 | 83 | <p class="card-text flex-grow-1"> |
60 | 84 | <?php echo $params->get('actvties-descblock4', 'Promoting reproducibility and methodological rigor.'); ?> |
61 | 85 | </p> |
62 | 86 | <?php if (!empty($block4Url)) : ?> |
63 | | - <div class="text-center mt-3"> |
| 87 | + <div class="mt-3"> |
64 | 88 | <a href="<?php echo htmlspecialchars($block4Url); ?>" class="btn btn-primary"><?php echo $params->get('actvties-btnblock4', 'Learn More'); ?></a> |
65 | 89 | </div> |
66 | 90 | <?php endif; ?> |
67 | 91 | </div> |
68 | 92 | </div> |
69 | 93 | </div> |
| 94 | + |
70 | 95 | </div> |
71 | 96 | </div> |
72 | 97 | </section> |
0 commit comments