-
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 remote-tracking branch 'smile/main' into smile_template
- Loading branch information
Showing
101 changed files
with
16,170 additions
and
33,012 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
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 |
---|---|---|
|
@@ -45,7 +45,7 @@ jobs: | |
# install node packages | ||
- name: Build css from scss | ||
run: npm run css-build | ||
|
||
# accesses some git variables and processes them to be lower case/short/escaped | ||
- name: Inject slug/short variables | ||
uses: rlespinasse/[email protected] | ||
|
@@ -55,6 +55,16 @@ jobs: | |
env: | ||
ENV_FILE: 'env/.env.git.local' | ||
run: | | ||
escape_quotes() { | ||
# Get the input string | ||
input="$1" | ||
# Escape single quotes | ||
input="${input//\'/\'}" | ||
# Escape double quotes | ||
input="${input//\"/\\\"}" | ||
# Return the escaped string | ||
echo "$input" | ||
} | ||
echo "------" | ||
echo "# DO NOT EDIT THIS FILE IT IS AUTOMATICALLY GENERATED" > $ENV_FILE | ||
if test -z "${{ env.GITHUB_REPOSITORY_NAME_PART_SLUG }}" | ||
|
@@ -155,7 +165,12 @@ jobs: | |
|
||
# Build the web app | ||
- name: Build web app | ||
run: npm run build | ||
run: | | ||
if ${{ github.ref == 'refs/heads/presentation'}}; then | ||
npm run build:present | ||
else | ||
npm run build | ||
fi | ||
# make remote folder if necessar | ||
- name: create the remote folders if they don't exist | ||
|
@@ -195,7 +210,7 @@ jobs: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | ||
if: ${{ env.SLACK_WEBHOOK_URL != '' }} # this should only run if SLACK_WEBHOOK exists | ||
id: slack | ||
uses: slackapi/slack-github-action@v1.19.0 | ||
uses: slackapi/slack-github-action@v1.24.0 | ||
with: | ||
# This data can be any valid JSON from a previous step in the GitHub Action | ||
payload: | | ||
|
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"semi": false, | ||
"singleQuote": true, | ||
"trailingComma": "es5" | ||
"trailingComma": "es5", | ||
"printWidth": 120 | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
|
||
<style> | ||
.dark img { | ||
filter: invert(1); | ||
filter: invert(1); | ||
} | ||
img { | ||
filter: invert(0); | ||
filter: invert(0); | ||
} | ||
</style> | ||
</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 |
---|---|---|
@@ -1,13 +1,13 @@ | ||
<template> | ||
<span class="gureckislab"> | ||
<a href="https://gureckislab.org/">gureckislab</a> | ||
</span> | ||
<span class="gureckislab"> | ||
<a href="https://gureckislab.org/">gureckislab</a> | ||
</span> | ||
</template> | ||
|
||
<style lang="css"> | ||
.gureckislab { | ||
font-family: 'consolas', monospace; | ||
font-size: 0.95em; | ||
text-decoration: underline dotted; | ||
font-family: 'consolas', monospace; | ||
font-size: 0.95em; | ||
text-decoration: underline dotted; | ||
} | ||
</style> | ||
</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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<template> | ||
<b>🫠 Smile</b> | ||
</template> | ||
<b>🫠 Smile</b> | ||
</template> |
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 |
---|---|---|
@@ -1,13 +1,13 @@ | ||
import DefaultTheme from 'vitepress/theme'; | ||
import DarkModeImage from './DarkModeImage.vue'; | ||
import GureckisLabText from './GureckisLabText.vue'; | ||
import SmileText from './SmileText.vue'; | ||
import DefaultTheme from 'vitepress/theme' | ||
import DarkModeImage from './DarkModeImage.vue' | ||
import GureckisLabText from './GureckisLabText.vue' | ||
import SmileText from './SmileText.vue' | ||
|
||
export default { | ||
...DefaultTheme, | ||
enhanceApp({ app }) { | ||
app.component('DarkModeImage', DarkModeImage); | ||
app.component('GureckisLabText', GureckisLabText); | ||
app.component('SmileText', SmileText); | ||
app.component('DarkModeImage', DarkModeImage) | ||
app.component('GureckisLabText', GureckisLabText) | ||
app.component('SmileText', SmileText) | ||
}, | ||
}; | ||
} |
Oops, something went wrong.