|
67 | 67 | <SurveillanceCamera class="camera" /> |
68 | 68 | </div> |
69 | 69 | </div> |
| 70 | + <h2>{{ i18n.features.sectionTitle }}</h2> |
70 | 71 | <div class="features-grid"> |
71 | 72 | <div class="feature-card"> |
72 | | - <div class="icon"><PerformanceIcon /></div> |
73 | | - <h3>{{ i18n.features.highPerformance.title }}</h3> |
74 | | - <p>{{ i18n.features.highPerformance.desc }}</p> |
| 73 | + <div class="icon"><Icon icon="mdi:all-inclusive" /></div> |
| 74 | + <h3> |
| 75 | + <template v-if="lang === 'en'"> |
| 76 | + <span class="highlight" |
| 77 | + >{{ i18n.features.oneStop.title.split(' ')[0] }}</span |
| 78 | + >{{ i18n.features.oneStop.title.substring( |
| 79 | + i18n.features.oneStop.title.split(' ')[0].length |
| 80 | + ) }} |
| 81 | + </template> |
| 82 | + <template v-else> |
| 83 | + <span class="highlight" |
| 84 | + >{{ i18n.features.oneStop.title.substring(0, 3) }}</span |
| 85 | + >{{ i18n.features.oneStop.title.substring(3) }} |
| 86 | + </template> |
| 87 | + </h3> |
| 88 | + <p>{{ i18n.features.oneStop.desc }}</p> |
75 | 89 | </div> |
76 | 90 | <div class="feature-card"> |
77 | | - <div class="icon"><LatencyIcon /></div> |
78 | | - <h3>{{ i18n.features.lowLatency.title }}</h3> |
79 | | - <p>{{ i18n.features.lowLatency.desc }}</p> |
80 | | - </div> |
81 | | - <div class="feature-card"> |
82 | | - <div class="icon"><ProtocolIcon /></div> |
83 | | - <h3>{{ i18n.features.observability.title }}</h3> |
| 91 | + <div class="icon"><Icon icon="mdi:magnify-scan" /></div> |
| 92 | + <h3> |
| 93 | + <template v-if="lang === 'en'"> |
| 94 | + <span class="highlight" |
| 95 | + >{{ i18n.features.observability.title.split(' ')[0] }}</span |
| 96 | + >{{ i18n.features.observability.title.substring( |
| 97 | + i18n.features.observability.title.split(' ')[0].length |
| 98 | + ) }} |
| 99 | + </template> |
| 100 | + <template v-else> |
| 101 | + <span class="highlight" |
| 102 | + >{{ i18n.features.observability.title.substring(0, 3) }}</span |
| 103 | + >{{ i18n.features.observability.title.substring(3) }} |
| 104 | + </template> |
| 105 | + </h3> |
84 | 106 | <p>{{ i18n.features.observability.desc }}</p> |
85 | 107 | </div> |
86 | 108 | <div class="feature-card"> |
87 | | - <div class="icon"><PluginIcon /></div> |
88 | | - <h3>{{ i18n.features.pluginBased.title }}</h3> |
89 | | - <p>{{ i18n.features.pluginBased.desc }}</p> |
90 | | - </div> |
91 | | - <div class="feature-card"> |
92 | | - <div class="icon"><AiIcon /></div> |
93 | | - <h3>{{ i18n.features.aiCapabilities.title }}</h3> |
94 | | - <p>{{ i18n.features.aiCapabilities.desc }}</p> |
95 | | - </div> |
96 | | - <div class="feature-card"> |
97 | | - <div class="icon"><MediaIcon /></div> |
98 | | - <h3>{{ i18n.features.mediaProcessing.title }}</h3> |
99 | | - <p>{{ i18n.features.mediaProcessing.desc }}</p> |
| 109 | + <div class="icon"><Icon icon="mdi:puzzle-edit" /></div> |
| 110 | + <h3> |
| 111 | + <template v-if="lang === 'en'"> |
| 112 | + <span class="highlight" |
| 113 | + >{{ i18n.features.extendable.title.split(' ')[0] }}</span |
| 114 | + >{{ i18n.features.extendable.title.substring( |
| 115 | + i18n.features.extendable.title.split(' ')[0].length |
| 116 | + ) }} |
| 117 | + </template> |
| 118 | + <template v-else> |
| 119 | + <span class="highlight" |
| 120 | + >{{ i18n.features.extendable.title.substring(0, 3) }}</span |
| 121 | + >{{ i18n.features.extendable.title.substring(3) }} |
| 122 | + </template> |
| 123 | + </h3> |
| 124 | + <p>{{ i18n.features.extendable.desc }}</p> |
100 | 125 | </div> |
101 | 126 | </div> |
102 | 127 | </div> |
@@ -764,16 +789,12 @@ h1 { |
764 | 789 | // Features Grid |
765 | 790 | .features-grid { |
766 | 791 | display: grid; |
767 | | - grid-template-columns: repeat(3, 1fr); |
768 | | - grid-template-rows: repeat(2, 1fr); |
| 792 | + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); |
769 | 793 | gap: 2rem; |
770 | | - margin-top: 4rem; |
771 | | - max-width: 1200px; |
772 | | - margin-left: auto; |
773 | | - margin-right: auto; |
| 794 | + margin-top: 0rem; // Adjusted margin-top |
| 795 | + margin-bottom: 0rem; // Adjusted margin-bottom |
774 | 796 | } |
775 | 797 |
|
776 | | -// Feature Card styles |
777 | 798 | .feature-card { |
778 | 799 | .card-base(); |
779 | 800 | .dark-card(); |
@@ -809,13 +830,19 @@ h1 { |
809 | 830 | text-align: center; |
810 | 831 | color: @gradient-highlight-1; |
811 | 832 |
|
| 833 | + .highlight { |
| 834 | + color: @gradient-highlight-2; // Or any color you prefer for highlighting |
| 835 | + font-weight: bold; // Make it bold |
| 836 | + } |
| 837 | +
|
812 | 838 | html:not(.dark) & { |
813 | 839 | color: @primary-color-dark; |
814 | 840 | } |
815 | 841 | } |
816 | 842 |
|
817 | 843 | p { |
818 | 844 | color: @text-color-dark-2; |
| 845 | + text-align: center; // Add this line to center the text |
819 | 846 |
|
820 | 847 | html:not(.dark) & { |
821 | 848 | color: @text-color-light; |
|
0 commit comments