-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from lesunb/RoME_24
Ajustes nos links do Linkedin e Instagram
- Loading branch information
Showing
7 changed files
with
107 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters