Skip to content

Commit 34009c0

Browse files
committedApr 9, 2025·
cert to navbar
1 parent 2396e37 commit 34009c0

File tree

2 files changed

+20
-17
lines changed

2 files changed

+20
-17
lines changed
 

Diff for: ‎src/components/NavMobile.vue

+17-15
Original file line numberDiff line numberDiff line change
@@ -21,32 +21,34 @@
2121
<transition name="fade">
2222
<div
2323
v-if="isOpen"
24-
class="menu bg-black pt-xlarge pb-large pr-small" style="padding-left: 4.25rem">
24+
class="menu bg-black pt-large pb-large">
2525
<transition :name="docsOpen ? 'fade-left' : 'fade-right'" mode="out-in">
26-
<div v-if="!docsOpen" key="1" class="mt-small">
26+
<div v-if="!docsOpen" key="1" class="p-medium">
2727
<div
2828
v-for="item in $tm('navbar.items')"
2929
:key="item.name">
3030
<button
3131
:name="`go-to-${item.name}`"
32-
class="mb-xsmall mt-xsmall color-white font-title type-uppercase"
32+
style="padding-left: 2.75rem"
33+
class="mb-xsmall mt-xsmall color-white type-small font-title type-uppercase"
3334
@click="scrollTo(item.id, 400); isOpen = false">
3435
{{ item.name }}
3536
</button>
3637
</div>
37-
<div>
38-
<button
39-
class="flex middle mt-large mb-small color-theme font-title type-uppercase type-large"
40-
style="margin-left: -0.5rem"
41-
@click="docsOpen = true">
42-
<chevron-icon direction="right" color="theme" size="1.5rem" />
43-
<div>
44-
DOCS
45-
</div>
46-
</button>
47-
</div>
38+
<hr class="my-medium pr-xlarge" />
39+
<a href="https://cert.robotframework.org" style="padding-left: 2.75rem" class="block my-xsmall color-white font-title type-uppercase type-no-underline">Certificate</a>
40+
<a href="https://robotframework.org/foundation" style="padding-left: 2.75rem" class="block mt-small color-white font-title type-uppercase type-no-underline">Foundation</a>
41+
<button
42+
class="flex middle mt-large mb-small color-theme font-title type-uppercase type-large"
43+
style="padding-left: 2.25rem"
44+
@click="docsOpen = true">
45+
<chevron-icon direction="right" color="theme" size="1.5rem" />
46+
<div>
47+
DOCS
48+
</div>
49+
</button>
4850
</div>
49-
<div v-else key="3" class="mt-medium">
51+
<div v-else key="3" class="mt-large pl-xlarge">
5052
<button class="type-uppercase font-title color-theme type-large flex middle mb-medium" style="margin-left: -0.5rem" @click="docsOpen = false">
5153
<chevron-icon direction="left" color="theme" size="1.5rem" />
5254
DOCS

Diff for: ‎src/components/Navbar.vue

+3-2
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,14 @@
2424
<a class="github-button" href="https://github.com/robotframework/robotframework" data-color-scheme="dark_high_contrast" data-show-count="true" aria-label="Robot Framework GitHub Stars">Star</a>
2525
</div>
2626
<router-link
27-
class="color-white font-title type-uppercase type-no-underline px-medium"
27+
class="color-white font-title type-uppercase type-no-underline px-small"
2828
:to="{name: 'Foundation'}">
2929
Foundation
3030
</router-link>
31+
<a href="https://cert.robotframework.org" class="color-white font-title type-uppercase type-no-underline px-small">Certificate</a>
3132
<div class="relative" ref="dropdownDocs">
3233
<button
33-
class="flex middle font-title type-uppercase line-height-body dropdown-button"
34+
class="flex middle font-title type-uppercase line-height-body dropdown-button px-small"
3435
:class="docsDropdownOpen ? 'color-theme' : 'color-white'"
3536
@click="docsDropdownOpen = !docsDropdownOpen">
3637
<div>

0 commit comments

Comments
 (0)
Please sign in to comment.