Skip to content

Commit

Permalink
Merge pull request #24 from lesunb/RoME_24
Browse files Browse the repository at this point in the history
Ajustes nos links do Linkedin e Instagram
  • Loading branch information
DanielDePaulaPorto committed Dec 14, 2023
2 parents 76450e9 + e01a468 commit 3cd36e5
Show file tree
Hide file tree
Showing 7 changed files with 107 additions and 7 deletions.
15 changes: 15 additions & 0 deletions src/.vuepress/client.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { defineClientConfig } from "@vuepress/client";

import TelegramLink from "./components/TelegramLink.js";
import InstagramLink from "./components/InstagramLink.js";
import LinkedinLink from "./components/LinkedinLink.js";

import "vuepress-theme-hope/presets/shinning-feature-panel.scss";

export default defineClientConfig({
enhance: ({ app }) => {
app.component("TelegramLink", TelegramLink);
app.component("InstagramLink", InstagramLink);
app.component("LinkedinLink", LinkedinLink);
},
});
21 changes: 21 additions & 0 deletions src/.vuepress/components/InstagramLink.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import type { FunctionalComponent } from "vue";
import { h } from "vue";

const InstagramLink: FunctionalComponent = () =>
h(
"div",
{ class: "nav-item vp-repo" },
h("a", {
class: "vp-repo-link",
href: "https://t.me/vuepressthemehope",
target: "_blank",
rel: "noopener noreferrer",
"aria-label": "instagram",
innerHTML:
'<div class="instagram-link"><a href="https://www.instagram.com/romeunb?utm_source=qr" target="_blank" rel="noopener noreferrer"><i class="fab fa-instagram"></i></a></div>',
}),
);

InstagramLink.displayName = "InstagramLink";

export default InstagramLink;
21 changes: 21 additions & 0 deletions src/.vuepress/components/LinkedinLink.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import type { FunctionalComponent } from "vue";
import { h } from "vue";

const LinkedinLink: FunctionalComponent = () =>
h(
"div",
{ class: "nav-item vp-repo" },
h("a", {
class: "vp-repo-link",
href: "https://t.me/vuepressthemehope",
target: "_blank",
rel: "noopener noreferrer",
"aria-label": "linkedin",
innerHTML:
'<div class="linkedin-link"><a href="https://www.linkedin.com/company/rome-summer-school-unb/" target="_blank" rel="noopener noreferrer"><i class="fab fa-linkedin"></i></a></div>',
}),
);

LinkedinLink.displayName = "LinkedinLink";

export default LinkedinLink;
21 changes: 21 additions & 0 deletions src/.vuepress/components/TelegramLink.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import type { FunctionalComponent } from "vue";
import { h } from "vue";

const TelegramLink: FunctionalComponent = () =>
h(
"div",
{ class: "nav-item vp-repo" },
h("a", {
class: "vp-repo-link",
href: "https://t.me/vuepressthemehope",
target: "_blank",
rel: "noopener noreferrer",
"aria-label": "telegram",
innerHTML:
'<div class="linkedin-link"><a href="https://www.linkedin.com/seu_perfil_do_linkedin" target="_blank" rel="noopener noreferrer"><i class="fab fa-telegram"></i></a></div>',
}),
);

TelegramLink.displayName = "TelegramLink";

export default TelegramLink;
16 changes: 16 additions & 0 deletions src/.vuepress/styles/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,22 @@
}
}

.instagram-link>a{
color: #7f8c8d;
}

.instagram-link>a:hover{
color: #2980b9;
}

.linkedin-link>a{
color: #7f8c8d;
}

.linkedin-link>a:hover{
color: #2980b9;
}

.patrocinadores {
width: 90%;
/* ajuste a largura da div como quiser */
Expand Down
7 changes: 7 additions & 0 deletions src/.vuepress/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ export default hopeTheme({
navbar,
// sidebar
// sidebar,

navbarLayout: {
start: ["Brand"],
center: ["Links"],
end: ["Language", "Repo", "LinkedinLink", "InstagramLink", "Outlook", "Search"],
},

sidebar: false,

pageInfo: false,
Expand Down
13 changes: 6 additions & 7 deletions src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@ actions:
icon: rocket
link: ./Registration/
type: primary
- text:
icon: fab fa-linkedin
link: https://www.linkedin.com/company/rome-summer-school-unb/
- text:
icon: fab fa-instagram
link: https://www.instagram.com/romeunb?utm_source=qr

---

Expand Down Expand Up @@ -58,6 +52,7 @@ More about keynote speakers [here](/RoME/Keynotes).

## <i class="fas fa-crosshairs" style="color:var(--theme-color)"></i> Topics of Interest

- Self-adaptiveness and autonomous solutions for robotic mission engineering
- Requirements modelling, specification and verification for robotic mission engineering
- Runtime architecture for robotic mission engineering
- Runtime verification for robotic mission engineering
Expand All @@ -68,7 +63,11 @@ More about keynote speakers [here](/RoME/Keynotes).

## <i class="fas fa-hand-holding-usd" style="color:var(--theme-color)"></i> Student Grant

RoME will sponsor via ACM Sigsoft up to 10 students grants of BRL 2,500 to support travel and registration costs **for students coming outside Brasilia**. If you want to apply for a student grant, you should fill [this form] provided with your proof of registration.
RoME will sponsor via ACM Sigsoft up to 10 students grants of BRL 2,500 to support travel and registration costs **for students coming outside Brasilia**.

If you want to apply for a student grant, you should fill [this form] provided with your proof of registration.

Student membership for ACM Sigsoft or SBC (Brazilian Computer Society) is desirable.

## <i class="fas fa-users" style="color:var(--theme-color)"></i> Organizers

Expand Down

0 comments on commit 3cd36e5

Please sign in to comment.