mirror of
https://ghproxy.net/https://github.com/abhijitb/helix.git
synced 2025-08-28 00:34:34 +08:00
folder restructuring for pages
This commit is contained in:
parent
c1e7525a3a
commit
4f35d58a47
19 changed files with 26 additions and 27 deletions
|
@ -1,8 +1,7 @@
|
|||
import React from 'react';
|
||||
import { createRoot } from 'react-dom/client';
|
||||
import Dashboard from './pages/Dashboard';
|
||||
import Settings from './pages/Settings';
|
||||
import './pages/Dashboard.css';
|
||||
import Dashboard from './pages/Dashboard/Dashboard';
|
||||
import Settings from './pages/Settings/Settings';
|
||||
|
||||
// Main App component for the dashboard page
|
||||
export default function App() {
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
import React, { useState } from 'react';
|
||||
import { useSettings } from './Settings/hooks/useSettings';
|
||||
import SettingsTabs from './Settings/components/SettingsTabs';
|
||||
import SaveButton from './Settings/components/SaveButton';
|
||||
import Notification from './Settings/components/Notification';
|
||||
import SiteInformationSettings from './Settings/components/SiteInformationSettings';
|
||||
import ContentReadingSettings from './Settings/components/ContentReadingSettings';
|
||||
import WritingPublishingSettings from './Settings/components/WritingPublishingSettings';
|
||||
import MediaAssetsSettings from './Settings/components/MediaAssetsSettings';
|
||||
import UsersMembershipSettings from './Settings/components/UsersMembershipSettings';
|
||||
import HelixSettings from './Settings/components/HelixSettings';
|
||||
import './Settings/styles.css';
|
||||
import { useSettings } from './hooks/useSettings';
|
||||
import SettingsTabs from './components/SettingsTabs';
|
||||
import SaveButton from '../../components/SaveButton';
|
||||
import Notification from '../../components/Notification';
|
||||
import SiteInformationSettings from './components/SiteInformationSettings';
|
||||
import ContentReadingSettings from './components/ContentReadingSettings';
|
||||
import WritingPublishingSettings from './components/WritingPublishingSettings';
|
||||
import MediaAssetsSettings from './components/MediaAssetsSettings';
|
||||
import UsersMembershipSettings from './components/UsersMembershipSettings';
|
||||
import HelixSettings from './components/HelixSettings';
|
||||
import './settings.css';
|
||||
|
||||
/**
|
||||
* Main Settings Page Component
|
|
@ -1,9 +1,9 @@
|
|||
import React from 'react';
|
||||
import SettingsSection from './SettingsSection';
|
||||
import SelectInput from './SelectInput';
|
||||
import NumberInput from './NumberInput';
|
||||
import ToggleInput from './ToggleInput';
|
||||
import TextInput from './TextInput';
|
||||
import SelectInput from '../../../components/SelectInput';
|
||||
import NumberInput from '../../../components/NumberInput';
|
||||
import ToggleInput from '../../../components/ToggleInput';
|
||||
import TextInput from '../../../components/TextInput';
|
||||
|
||||
/**
|
||||
* Content & Reading Settings Component
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import React from 'react';
|
||||
import SettingsSection from './SettingsSection';
|
||||
import ToggleInput from './ToggleInput';
|
||||
import ToggleInput from '../../../components/ToggleInput';
|
||||
|
||||
/**
|
||||
* Helix Specific Settings Component
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import React from 'react';
|
||||
import SettingsSection from './SettingsSection';
|
||||
import NumberInput from './NumberInput';
|
||||
import ToggleInput from './ToggleInput';
|
||||
import NumberInput from '../../../components/NumberInput';
|
||||
import ToggleInput from '../../../components/ToggleInput';
|
||||
|
||||
/**
|
||||
* Media & Assets Settings Component
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import React from 'react';
|
||||
import SettingsSection from './SettingsSection';
|
||||
import TextInput from './TextInput';
|
||||
import TextInput from '../../../components/TextInput';
|
||||
|
||||
/**
|
||||
* Site Information Settings Component
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import React from 'react';
|
||||
import SettingsSection from './SettingsSection';
|
||||
import SelectInput from './SelectInput';
|
||||
import ToggleInput from './ToggleInput';
|
||||
import SelectInput from '../../../components/SelectInput';
|
||||
import ToggleInput from '../../../components/ToggleInput';
|
||||
|
||||
/**
|
||||
* Users & Membership Settings Component
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import React from 'react';
|
||||
import SettingsSection from './SettingsSection';
|
||||
import SelectInput from './SelectInput';
|
||||
import NumberInput from './NumberInput';
|
||||
import ToggleInput from './ToggleInput';
|
||||
import SelectInput from '../../../components/SelectInput';
|
||||
import NumberInput from '../../../components/NumberInput';
|
||||
import ToggleInput from '../../../components/ToggleInput';
|
||||
|
||||
/**
|
||||
* Writing & Publishing Settings Component
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue