Skip to content

Commit

Permalink
feat: add logo
Browse files Browse the repository at this point in the history
  • Loading branch information
icai committed Nov 28, 2024
1 parent afc3f08 commit 0c05ab8
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 12 deletions.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
<p align="center">
<a href="https://nuecms.com?from=github-repo-logo" target="_blank" rel="noopener noreferrer">
<img width="180" src="./public/icon.svg" alt="logo">
</a>
</p>
<br/>

<p align="center">
<a href="https://github.com/nuecms/nuecms-wizard/actions/workflows/release-build.yml"><img src="https://github.com/nuecms/nuecms-wizard/actions/workflows/release-build.yml/badge.svg?branch=main" alt="build status"></a>
</p>
<br/>



# nuecms-wizard
A wizard for creating a new NueCMS project.

> A user-friendly tool to quickly create and configure a new NueCMS project, guiding you through setup, template selection, and configuration for a seamless start.


Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link rel="icon" type="image/svg+xml" href="/src/assets/icon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>NueCMS Config Wizard</title>
</head>
Expand Down
16 changes: 16 additions & 0 deletions public/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/assets/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 11 additions & 9 deletions src/components/InstallationWizard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ import { confirm } from '@/utils/confirm'
import { notify } from '@/utils/notify'
import { Step, Config } from '@/types'
import wizardConfig from '../../wizard.config'
import logoImg from '@/assets/icon.svg'
const { t, messages, locale, availableLocales } = useI18n()
// Reactive state for license acceptance
Expand All @@ -170,7 +171,7 @@ const sections = computed(() => {
return messages.value[locale.value].license.sections
})
const logo = ref<string>('')
const logo = ref<string>(logoImg)
const currentStep = ref<number>(0)
const config = reactive<Config>({
...defaultConfig
Expand All @@ -180,14 +181,15 @@ const successState = ref<number>(0)
const currentLanguage = ref(locale.value)
const systemOverview = ref({})
const stepTexts = [
t('wizard.step1'),
t('wizard.step2'),
t('wizard.step3'),
t('wizard.step4'),
t('wizard.finish'),
]
const stepTexts = computed(() => {
return [
t('wizard.step1'),
t('wizard.step2'),
t('wizard.step3'),
t('wizard.step4'),
t('wizard.finish'),
]
})
const steps: Step[] = stepsConfig
Expand Down
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const messages = {
installLockedMessage: 'The installation has already been completed. Are you sure you want to run the configuration wizard again?',
installLockedConfirm: 'OK',
installLockedCancel: 'Cancel',
title: 'ConfigWizard',
title: 'NueCMS Wizard',
language: 'Language',
licenseSetup: 'License Setup',
systemOverview: 'System Overview',
Expand Down

0 comments on commit 0c05ab8

Please sign in to comment.