Skip to content

Commit

Permalink
Merge pull request #12 from scantist/fix-image-build-error
Browse files Browse the repository at this point in the history
chore: removed unused images
  • Loading branch information
liuhahi committed Jun 28, 2023
2 parents 09c93b9 + 8362705 commit 66dba3e
Show file tree
Hide file tree
Showing 13 changed files with 12 additions and 109 deletions.
13 changes: 6 additions & 7 deletions docs/en-US/Language-and-File-Support/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ import { convertLang } from '../../.vitepress/helperFunctions'
const count = ref(0)
const languages = ref(["Java", "JavaScript", "Perl", "Go", "Python", "Csharp", "Cpp", "Ruby","Php", "Objective-C", "Swift"])

function goTo(lang) {
window.location.href = `/en-US/Language-and-File-Support/${lang}-Language-Support.html`
}
</script>
<style module>
.lang:hover {
Expand All @@ -36,10 +33,12 @@ function goTo(lang) {
Scantist supports various package managers and manifests files for each programming language. To learn more about the language of choice, please refer to the table below and select the corresponding language.

<div style="display:flex;flex-wrap: wrap">
<el-static-card v-for="lang in languages" @click="goTo(lang)" is-border style="margin: 5px;" :class="$style.lang">
<img :src="`/images/Language-and-File-Support/${lang}.svg`" style="width:87px;margin-left:auto;margin-right:auto;min-height:87px" >
<el-txt type="body" style="display:flex;justify-content: center;margin-top:12px">{{ convertLang(lang) }}</el-txt>
</el-static-card>
<a v-for="lang in languages" style="text-decoration:none" :href="`/en-US/Language-and-File-Support/${lang}-Language-Support.html`">
<el-static-card is-border style="margin: 5px;" :class="$style.lang">
<img :src="`/images/Language-and-File-Support/${lang}.svg`" style="width:87px;margin-left:auto;margin-right:auto;height:87px" >
<el-txt type="body" style="display:flex;justify-content: center;margin-top:12px">{{ convertLang(lang) }}</el-txt>
</el-static-card>
</a>
</div>

<br />
Expand Down
Binary file removed docs/public/images/Language-and-File-Support/C.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
96 changes: 0 additions & 96 deletions docs/public/images/Language-and-File-Support/PHP-logo.svg

This file was deleted.

Binary file removed docs/public/images/Language-and-File-Support/PHP.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"homepage": "https://github.com/scantist/user-docs#readme",
"dependencies": {
"@vueuse/core": "^9.13.0",
"element-plus": "file:element-plus-v0.1.0-sct.tgz",
"element-plus": "file:element-plus-v0.2.0-sct.tgz",
"fs": "0.0.1-security",
"path": "^0.12.7",
"vue-router": "4"
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 66dba3e

Please sign in to comment.