mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-22 14:47:56 +01:00
Reorganize packages location
This commit is contained in:
parent
cd72287481
commit
93f68ff8ea
@ -39,6 +39,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"axios": "^0.21.0",
|
"axios": "^0.21.0",
|
||||||
|
"file-loader": "^6.2.0",
|
||||||
"react": "^17.0.1",
|
"react": "^17.0.1",
|
||||||
"react-dom": "^17.0.1",
|
"react-dom": "^17.0.1",
|
||||||
"react-intl": "^5.10.6",
|
"react-intl": "^5.10.6",
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
import React, { useEffect, useState } from 'react';
|
import React, { useEffect, useState } from 'react';
|
||||||
import LoginPage from './LoginPage';
|
import LoginPage from './components/LoginPage';
|
||||||
import { RegistrationSuccessPage, RegistationFormPage } from './RegistrationPage';
|
import { RegistrationSuccessPage, RegistationFormPage } from './components/RegistrationPage';
|
||||||
import { IntlProvider } from 'react-intl'
|
import { IntlProvider } from 'react-intl'
|
||||||
|
|
||||||
import {
|
import {
|
||||||
Route,
|
Route,
|
||||||
Switch,
|
Switch,
|
||||||
Redirect
|
Redirect,
|
||||||
} from 'react-router-dom';
|
} from 'react-router-dom';
|
||||||
|
|
||||||
function loadLocaleData(language: string) {
|
function loadLocaleData(language: string) {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { FormattedMessage } from 'react-intl'
|
import { FormattedMessage } from 'react-intl'
|
||||||
|
|
||||||
//const logo = require('./images/header-logo.png')
|
//const logo = require('../images/header-logo.png')
|
||||||
|
|
||||||
interface HeaderProps {
|
interface HeaderProps {
|
||||||
type: string;
|
type: string;
|
||||||
@ -33,7 +33,7 @@ class Header extends React.Component<HeaderProps, HeaderProps> {
|
|||||||
return (
|
return (
|
||||||
<nav>
|
<nav>
|
||||||
<div className="header">
|
<div className="header">
|
||||||
<span className="header-logo"><a href="/"><img src="" alt="logo" /></a></span>
|
<span className="header-logo"><a href="/"><img src={"logo"} alt="logo" /></a></span>
|
||||||
{text}
|
{text}
|
||||||
{signUpButton}
|
{signUpButton}
|
||||||
{signInButton}
|
{signInButton}
|
@ -4,7 +4,7 @@ import { FormattedMessage, useIntl } from 'react-intl'
|
|||||||
import Header from './Header'
|
import Header from './Header'
|
||||||
import Footer from './Footer'
|
import Footer from './Footer'
|
||||||
|
|
||||||
const css = require('./css/login.css')
|
const css = require('../css/login.css')
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -8,7 +8,7 @@ import { ReCaptcha } from 'react-recaptcha-v3'
|
|||||||
import Header from './Header';
|
import Header from './Header';
|
||||||
import Footer from './Footer';
|
import Footer from './Footer';
|
||||||
|
|
||||||
const css = require('./css/registration.css');
|
const css = require('../css/registration.css');
|
||||||
|
|
||||||
|
|
||||||
interface ErrorMessageDialogProps {
|
interface ErrorMessageDialogProps {
|
@ -4390,7 +4390,7 @@ file-entry-cache@^6.0.0:
|
|||||||
dependencies:
|
dependencies:
|
||||||
flat-cache "^3.0.4"
|
flat-cache "^3.0.4"
|
||||||
|
|
||||||
file-loader@~6.2.0:
|
file-loader@^6.2.0, file-loader@~6.2.0:
|
||||||
version "6.2.0"
|
version "6.2.0"
|
||||||
resolved "https://registry.yarnpkg.com/file-loader/-/file-loader-6.2.0.tgz#baef7cf8e1840df325e4390b4484879480eebe4d"
|
resolved "https://registry.yarnpkg.com/file-loader/-/file-loader-6.2.0.tgz#baef7cf8e1840df325e4390b4484879480eebe4d"
|
||||||
integrity sha512-qo3glqyTa61Ytg4u73GultjHGjdRyig3tG6lPtyX/jOEJvHif9uB0/OCI2Kif6ctF3caQTW2G5gym21oAsI4pw==
|
integrity sha512-qo3glqyTa61Ytg4u73GultjHGjdRyig3tG6lPtyX/jOEJvHif9uB0/OCI2Kif6ctF3caQTW2G5gym21oAsI4pw==
|
||||||
|
Loading…
Reference in New Issue
Block a user