Skip to content

Commit 99bad23

Browse files
authored
Merge pull request #13 from Fabulously-Optimized/graph-video
Graph-video fixes
2 parents 03e4fd6 + 6da474e commit 99bad23

File tree

3 files changed

+13
-22
lines changed

3 files changed

+13
-22
lines changed

app.scss

+4-4
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
font-family: "Inter", sans-serif;
8080
text-transform: uppercase;
8181
letter-spacing: 0.1rem;
82-
margin-right: 0.5rem;
82+
/*margin-right: 0.5rem;*/
8383
}
8484

8585
// Make gradient text smaller on mobile.
@@ -116,9 +116,9 @@
116116
}
117117

118118
iframe {
119-
// Ratio: (560px by 315px) / 2
120-
width: 560px;
121-
height: 315px;
119+
// Ratio: (1120px by 630px) / 2
120+
width: 70em;
121+
height: 39.375em;
122122
max-width: 100%;
123123
border-radius: var(--gap-xl);
124124
}

lang/en.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
"content.home.columned-hero.supercharge": "Supercharge",
1717
"content.home.columned-hero.title": "your Minecraft gameplay.",
1818
"content.home.columned-hero.subtitle": "A simple Minecraft modpack focusing on performance and graphics enhancements.",
19-
"content.home.graph.subtitle": "Fabulously Optimized is <span class=\"smaller__gradient\">4x Quicker</span> than OptiFine.<br />",
19+
"content.home.graph.subtitle": "Fabulously Optimized is <span class=\"smaller__gradient\">5x Quicker</span> than vanilla Minecraft.<br />",
20+
"content.home.graph.fps": "FPS",
21+
"content.home.graph.small": "Tested on AMD Ryzen 5 2600 (12) &commat; 3.400GH and NVIDIA GeForce GTX 1060 3GB running vanilla Minecraft 1.20.1 and Fabric Loader with Fabulously Optimized 5.4.1 (Singleplayer).",
2022
"content.home.graph.vanilla": "Vanilla Minecraft",
2123
"content.home.download.subtitle": "We encourage using CurseForge App, Modrinth App, Prism Launcher, MultiMC, or official Minecraft Launcher.",
2224
"content.home.download.title": "Download Now",

pages/index.vue

+6-17
Original file line numberDiff line numberDiff line change
@@ -123,45 +123,34 @@ const features: any = ref([
123123
<!-- <img class="dramatic-screenshot" src="/dramatic-screenshot.webp" /> -->
124124
<div class="graph">
125125
<div class="item">
126-
<p class="pretitle">FO</p>
126+
<p class="pretitle">Fabulously Optimized</p>
127127
<div class="bar" style="background-color: #f5a50f !important">
128-
<p>259fps</p>
129-
</div>
130-
</div>
131-
<div class="item">
132-
<p class="pretitle">OptiFine</p>
133-
<div class="bar">
134-
<p>56fps</p>
128+
<p>259{{ $t("content.home.graph.fps") }}</p>
135129
</div>
136130
</div>
137131
<div class="item">
138132
<p class="pretitle">{{ $t("content.home.graph.vanilla") }}</p>
139133
<div class="bar">
140-
<p>49fps</p>
134+
<p>49{{ $t("content.home.graph.fps") }}</p>
141135
</div>
142136
</div>
143137
</div>
144138
<br />
145139
<div>
146-
<!-- Fabulously Optimized {{ $t("content.home.graph.title.is") }}
147-
<span class="smaller__gradient">4x {{ $t("content.home.graph.title.quicker") }}</span>{{
148-
$t("content.home.graph.title.than") }} OptiFine.<br /> -->
149140
<h3 v-html="$t('content.home.graph.subtitle')"></h3>
150141
</div>
151-
<small>AMD Ryzen 5 2600 (12) @ 3.400GH and NVIDIA GeForce GTX 1060 3GB running
152-
Minecraft 1.20.1, OptiFine for 1.20.1, Fabric Loader with Fabulously
153-
Optimized 5.4.1 RD:8, Singleplayer, PLd</small>
142+
<small v-html="$t('content.home.graph.small')"></small>
154143
</div>
155144
</div>
156145
<div class="centered-hero">
157146
<h1>{{ $t("content.home.features.title") }}</h1>
158-
<iframe width="560" height="315" :src="`https://www.youtube.com/embed/${$t(
147+
<iframe width="1120" height="630" :src="`https://www.youtube.com/embed/${$t(
159148
'content.home.features.videoID'
160149
)}`" title="YouTube video player" frameborder="0"
161150
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
162151
allowfullscreen></iframe>
163152
<div class="features">
164-
<div v-for=" feature in features" class="feature-block">
153+
<div v-for=" feature in features" class="feature-block">
165154
<div>
166155
<h1>
167156
<component class="feature-icon" :is="feature.icon"></component><span>{{ $t(`feature.${feature.id}.title`)

0 commit comments

Comments
 (0)