Skip to content

armgit / dashy

Public Imported from GitHub
0

🚀 A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

⚡ Minor fixes/adjustments

Alicia Sykes743b5340f8f6
diff --git a/src/components/PageStrcture/Footer.vue b/src/components/PageStrcture/Footer.vue
index b4d3883d..d213f1bb 100644
--- a/src/components/PageStrcture/Footer.vue
+++ b/src/components/PageStrcture/Footer.vue
@@ -4,14 +4,10 @@
<span v-if="text" v-html="text"></span>
<!-- Default footer -->
<span v-else>
- Developed by <a :href="defaultInfo.authorUrl">{{defaultInfo.authorName}}</a>.
- Licensed under <a :href="defaultInfo.licenseUrl">{{defaultInfo.license}}</a>
- © {{defaultInfo.date}}.
- Get the <a :href="defaultInfo.repoUrl">Source Code</a>.
- </span>
- <span>
- Using:
- {{ $store.state.currentConfigInfo? $store.state.currentConfigInfo.confId : 'Default Config' }}
+ <a :href="defaultInfo.projectUrl">Dashy</a> is free & open source
+ - licensed under <a :href="defaultInfo.licenseUrl">{{defaultInfo.license}}</a>,
+ © <a :href="defaultInfo.authorUrl">{{defaultInfo.authorName}}</a> {{defaultInfo.date}}.
+ Get support on GitHub, at <a :href="defaultInfo.repoUrl">{{defaultInfo.repoName}}</a>.
</span>
</footer>
</template>
@@ -29,11 +25,13 @@ export default {
return {
defaultInfo: {
authorName: 'Alicia Sykes',
- authorUrl: 'https://github.com/lissy93',
+ authorUrl: 'https://as93.net',
license: 'MIT',
licenseUrl: 'https://gist.github.com/Lissy93/143d2ee01ccc5c052a17',
date: `${new Date().getFullYear()}`,
repoUrl: 'https://github.com/lissy93/dashy',
+ repoName: 'Lissy93/Dashy',
+ projectUrl: 'https://dashy.to',
},
};
},
diff --git a/src/components/PageStrcture/PageTitle.vue b/src/components/PageStrcture/PageTitle.vue
index 26c7ccef..4c8f3d66 100644
--- a/src/components/PageStrcture/PageTitle.vue
+++ b/src/components/PageStrcture/PageTitle.vue
@@ -66,7 +66,7 @@ export default {
span.subtitle {
color: var(--heading-text-color);
font-style: italic;
- text-shadow: 1px 1px 2px #130f23;
+ text-shadow: 1px 1px 2px #130f2347;
opacity: var(--dimming-factor);
}
img.site-logo {
diff --git a/src/views/Minimal.vue b/src/views/Minimal.vue
index 44e29e8c..6b2d631f 100644
--- a/src/views/Minimal.vue
+++ b/src/views/Minimal.vue
@@ -17,7 +17,7 @@
:class="`item-group-container ${!tabbedView ? 'showing-all' : ''}`">
<!-- Section heading buttons -->
<MinimalHeading
- v-for="(section, index) in getSections(sections)"
+ v-for="(section, index) in sections"
:key="`heading-${index}`"
:index="index"
:title="section.name"
@@ -29,7 +29,7 @@
/>
<!-- Section item groups -->
<MinimalSection
- v-for="(section, index) in getSections(sections)"
+ v-for="(section, index) in sections"
:key="`body-${index}`"
:index="index"
:title="section.name"
@@ -57,7 +57,6 @@ import HomeMixin from '@/mixins/HomeMixin';
import MinimalSection from '@/components/MinimalView/MinimalSection.vue';
import MinimalHeading from '@/components/MinimalView/MinimalHeading.vue';
import MinimalSearch from '@/components/MinimalView/MinimalSearch.vue';
-import { localStorageKeys } from '@/utils/defaults';
import ConfigLauncher from '@/components/Settings/ConfigLauncher';
export default {
@@ -83,17 +82,6 @@ export default {
sectionSelected(index) {
this.selectedSection = index;
},
- /* Returns sections from local storage if available, otherwise uses the conf.yml */
- getSections(sections) {
- // If the user has stored sections in local storage, return those
- const localSections = localStorage[localStorageKeys.CONF_SECTIONS];
- if (localSections) {
- const json = JSON.parse(localSections);
- if (json.length >= 1) return json;
- }
- // Otherwise, return the usuall data from conf.yml
- return sections;
- },
/* Clears input field, once a searched item is opened */
finishedSearching() {
if (this.$refs.filterComp) this.$refs.filterComp.clearMinFilterInput();