Skip to content

Commit 1bf2fd1

Browse files
authored
Add prospective page for mobile (#46)
1 parent e128531 commit 1bf2fd1

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

i18n/tr.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,3 +164,6 @@ long_month_11:
164164
other: kasım
165165
long_month_12:
166166
other: aralık
167+
168+
languageSwitcherLabel:
169+
other: Dil Seçimi

layouts/partials/bouncmpe/banner/prospective.html

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="container mb-5">
22
<div class="card border-0 rounded-5 d-none d-xl-block">
3-
<video playsinline="playsinline" autoplay="autoplay" muted="muted" loop="loop" class="rounded-5" style="width:100%;">
3+
<video class="rounded-5" playsinline="playsinline" autoplay="autoplay" muted="muted" loop="loop" style="width:100%;">
44
<source src="/videos/south-campus.720.mp4" type="video/mp4">
55
</video>
66
<div class="card-img-overlay px-5 py-4" style="max-width: 36rem;">
@@ -15,5 +15,17 @@ <h2 class="display-4 text-light" style="text-shadow: 2px 2px #000000;">{{ .Title
1515
</div>
1616
{{ end }}
1717
</div>
18-
18+
<div class="card border-5 rounded-5 d-xl-none text-center">
19+
<div class="px-5 py-4">
20+
{{ with .GetPage "/prospective" }}
21+
<h2 class="display-4">{{ .Title }}</h2>
22+
<p class="card-text">{{ .Description }}</p>
23+
<div class="card-body p-0 lh-lg">
24+
{{ range .Params.card_links }}
25+
<a href="{{ relLangURL .url }}" class="my-5 px-2 py-1 me-2 text-bg-primary">{{ .title }}</a>
26+
{{ end }}
27+
</div>
28+
</div>
29+
{{ end }}
30+
</div>
1931
</div>

0 commit comments

Comments
 (0)