-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* #0: Package scripts dont need prefixes * #0: Update all linting concerns * #0: Reorganize deps and plugins, add plugin-theme-data * #0: Make search configurable * #0: Prep for contributors page * #0: Improve sponsor list computed props and performance * #0: Bounce out sponsor list into right bar slot for better transition experience * #0: Alternative PageMeta components * #0: Alternative PageMeta components part 2 * #0: Add in docs tests * #0: Add in docs tests part 2 * #0: Align deps so they are more consistent with @vuepress/theme-default * #0: Align deps so they are more consistent with @vuepress/theme-default part 2 * Begin process of markdown-it custom links * More wins on the JS file and lint fixes * Add in logix to remove external links stuffs if baseUrl matches * #0: allow contributorPage to be external link * #0: Move link plugin defaults to better place * #0: Reorganize code and dial in basic contrib page * #0: First pass on contributors page * #0: Remove repo internally in favor of sourceRepo * #0: Add options to set baseURL to lando navbar * #0: Improved debug output Co-authored-by: John Ouellet <[email protected]>
- Loading branch information
Showing
44 changed files
with
1,809 additions
and
965 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,4 @@ | ||
.temp | ||
.cache | ||
dist | ||
_site |
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,33 @@ | ||
name: Run Tests | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
unit-tests: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: | ||
- ubuntu-20.04 | ||
node-version: | ||
- '14' | ||
steps: | ||
# Install deps and cache | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- name: Install node ${{ matrix.node-version }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: yarn | ||
- name: Install Yarn dependencies | ||
run: yarn install --prefer-offline --frozen-lockfile | ||
|
||
# Run tests | ||
- name: Run linter | ||
run: yarn lint | ||
- name: Run tests | ||
run: yarn test | ||
- name: Test build | ||
run: yarn build |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.github | ||
docs | ||
examples | ||
guides | ||
test |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
<template> | ||
<div class="contributor-block"> | ||
<div class="contributor-block-pic"> | ||
<img | ||
:src="props.img" | ||
:alt="props.name" | ||
> | ||
</div> | ||
<div class="contributor-block-name"> | ||
<a | ||
:href="props.link" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
<h2>{{ props.name }}<OutboundLink /></h2> | ||
</a> | ||
<div class="contributor-block-score"> | ||
{{ props.score }} | ||
</div> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script setup> | ||
const props = defineProps({ | ||
name: { | ||
type: String, | ||
required: true, | ||
}, | ||
img: { | ||
type: String, | ||
required: true, | ||
}, | ||
link: { | ||
type: String, | ||
required: true, | ||
}, | ||
score: { | ||
type: String, | ||
required: true, | ||
}, | ||
}); | ||
</script> | ||
|
||
<style lang="scss" scoped> | ||
@import '../styles/main.scss'; | ||
.contributor-block { | ||
width: 150px; | ||
padding: 15px 0; | ||
text-align: center; | ||
h2 { | ||
font-size: .80rem; | ||
border: 0; | ||
padding: 0; | ||
margin: 0; | ||
} | ||
.contributor-block-score { | ||
font-size: small; | ||
font-weight: 400; | ||
color: var(--c-text-quote); | ||
} | ||
.contributor-block-pic { | ||
padding: 10px 0; | ||
img { | ||
width: 110px; | ||
border-radius: 50% !important; | ||
} | ||
} | ||
} | ||
</style> |
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,25 @@ | ||
<template> | ||
<main class="page"> | ||
<slot name="top" /> | ||
|
||
<div class="theme-default-content"> | ||
<Content /> | ||
</div> | ||
|
||
<CustomPageMeta /> | ||
|
||
<PageNav /> | ||
|
||
<slot name="bottom" /> | ||
</main> | ||
</template> | ||
|
||
<script setup> | ||
// Get parent page nav | ||
import PageNav from '@vuepress/theme-default/lib/client/components/PageNav.vue'; | ||
// Use our custom page meta component | ||
import CustomPageMeta from './CustomPageMeta.vue'; | ||
</script> | ||
|
||
<style lang="scss"> | ||
</style> |
Oops, something went wrong.