Switch to GitHub Actions and update dependencies

This commit is contained in:
Dhinak G
2020-12-29 12:31:48 -05:00
parent 8d49b939d2
commit c0f0e1089e
12 changed files with 3652 additions and 1632 deletions

View File

@@ -1,15 +0,0 @@
<template>
<p class="demo">
{{ msg }}
</p>
</template>
<script>
export default {
data () {
return {
msg: 'Hello this is <Foo-Bar>'
}
}
}
</script>

View File

@@ -1,3 +0,0 @@
<template>
<p class="demo">This is another component</p>
</template>

View File

@@ -1,15 +0,0 @@
<template>
<p class="demo">
{{ msg }}
</p>
</template>
<script>
export default {
data() {
return {
msg: 'Hello this is <demo-component>'
}
}
}
</script>

View File

@@ -3,20 +3,7 @@ const {
} = require('../package')
module.exports = {
/**
* Refhttps://v1.vuepress.vuejs.org/config/#title
*/
title: 'Getting Started With ACPI',
/**
* Refhttps://v1.vuepress.vuejs.org/config/#description
*/
description: description,
/**
* Extra tags to be injected to the page HTML `<head>`
*
* refhttps://v1.vuepress.vuejs.org/config/#head
*/
head: [
['meta', {
name: 'theme-color',
@@ -37,6 +24,22 @@ module.exports = {
],
base: '/Getting-Started-With-ACPI/',
watch: {
$page(newPage, oldPage) {
if (newPage.key !== oldPage.key) {
requestAnimationFrame(() => {
if (this.$route.hash) {
const element = document.getElementById(this.$route.hash.slice(1));
if (element && element.scrollIntoView) {
element.scrollIntoView();
}
}
});
}
}
},
markdown: {
extendMarkdown: md => {
md.use(require('markdown-it-multimd-table'), {
@@ -58,10 +61,9 @@ module.exports = {
themeConfig: {
lastUpdated: true,
repo: 'https://github.com/dortania/Getting-Started-With-ACPI',
editLinks: false,
docsDir: '',
editLinkText: '',
logo: '/homepage.png',
editLinks: true,
editLinkText: 'Help us improve this page!',
logo: 'homepage.png',
nav: [{
text: 'Dortania Guides',
ariaLabel: 'Language Menu',
@@ -91,12 +93,6 @@ module.exports = {
},
]
},
/*
{
text: 'Github',
link: 'https://github.com/dortania/OpenCore-Install-Guide'
}
*/
],
sidebar: [{
title: 'Introduction',

View File

@@ -1,14 +0,0 @@
/**
* Client app enhancement file.
*
* https://v1.vuepress.vuejs.org/guide/basic-config.html#app-level-enhancements
*/
export default ({
Vue, // the version of Vue being used in the VuePress app
options, // the options for the root Vue instance
router, // the router instance for the app
siteData // site metadata
}) => {
// ...apply enhancements for the site.
}

View File

@@ -9,36 +9,13 @@
[data-theme='dark']
--sideBgColor $sideBgColorDark
--bgColor $bgColor
--dropShadowColor $dropShadowColor
.home .hero img
max-width 450px!important
// [data-theme='light']
// display none
// .home .hero img
// max-width 450px!important
/**
html
body
background-color var(--bgColor)
.theme-default-content:not(.custom)
max-width 1000px
.navbar
.links
background-color var(--navBgColorDark)!important
.navbar
filter: drop-shadow(0px 1px 1px var(--bgColor));
*/
.navbar
filter: drop-shadow(0px 1px 1px var(--bgColor));
filter drop-shadow(0px 1px 1px var(--dropShadowColor))
.sidebar
background-color var(--sideBgColor)
@@ -51,8 +28,8 @@ html {
overflow: scroll;
}
::-webkit-scrollbar {
width: 0px;
background: transparent; /* make scrollbar transparent */
width 0px
background transparent /* make scrollbar transparent */
}
tr
@@ -64,7 +41,7 @@ tr
.dropdown-wrapper .nav-dropdown
border: 1px solid var(--sideBgColor)!important
border 1px solid var(--sideBgColor)!important
background-color var(--sideBgColor)!important
box-shadow: 0px 0px 2px var(--bodyBgColor)
right: -12%!important
box-shadow 0px 0px 2px var(--bodyBgColor)
right -12%!important

View File

@@ -6,35 +6,18 @@
$bodyFontSize = 16px
$fallbackTheme = 'dark'
$dropShadowColor = #111112
// Light Theme
$accentColor = #00bfff
$accentColor = #19b3e7
$textColor = #2c3e50
$bodyBgColor = #fff
$sideBgColor = #fff
$badgeTipColor = #e3f8ff
$badgeTipColor = #caf2ff
// Dark Theme
$accentColorDark = #30BCD5
$textColorDark = #ccc
$bodyBgColorDark = #2d3033
$sideBgColorDark = #363b40
$badgeTipColorDark = #023e52
/**
//$textColor = #2c3e50
$borderColor = #363b40
//$borderColor = #eaecef
$codeBgColor = #282c34
$bgColor = #2d3033
$navBgColor = #363b40
$bgColorDark = #2d3033
$navBgColorDark = #363b40
$sideBgColorDark = #363b40
*/
$bgColor = #111112
$badgeTipColorDark = #023e52