Add copyright notice to all source files
This commit is contained in:
Родитель
0e23d3cc15
Коммит
7c375a3232
|
@ -1,3 +1,5 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
var webpack = require("webpack");
|
||||
var HtmlWebpackPlugin = require("html-webpack-plugin");
|
||||
var path = require("path");
|
||||
|
|
|
@ -42,10 +42,9 @@ exports[`Navigation component tests Check Navigation Component Render 1`] = `
|
|||
className="navbar-brand"
|
||||
href="/"
|
||||
>
|
||||
<img
|
||||
alt="Brand"
|
||||
src=""
|
||||
/>
|
||||
<span>
|
||||
Brand
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<div
|
||||
|
@ -95,7 +94,7 @@ exports[`Navigation component tests Check Navigation Component Render 1`] = `
|
|||
href="/"
|
||||
onClick={[Function]}
|
||||
>
|
||||
Brand
|
||||
React-Redux Starer
|
||||
</a>
|
||||
</div>
|
||||
<div
|
||||
|
|
|
@ -45,10 +45,9 @@ exports[`Routes component tests Check Routes Component Render 1`] = `
|
|||
className="navbar-brand"
|
||||
href="/"
|
||||
>
|
||||
<img
|
||||
alt="Brand"
|
||||
src=""
|
||||
/>
|
||||
<span>
|
||||
Brand
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<div
|
||||
|
@ -98,7 +97,7 @@ exports[`Routes component tests Check Routes Component Render 1`] = `
|
|||
href="/"
|
||||
onClick={[Function]}
|
||||
>
|
||||
Brand
|
||||
React-Redux Starer
|
||||
</a>
|
||||
</div>
|
||||
<div
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
import React from "react";
|
||||
import renderer from "react-test-renderer";
|
||||
import { Footer } from "components";
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
import React from "react";
|
||||
import renderer from "react-test-renderer";
|
||||
import { MemoryRouter as Router } from "react-router-dom";
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
import React from "react";
|
||||
import renderer from "react-test-renderer";
|
||||
import { Navigation } from "components";
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
import React from "react";
|
||||
import renderer from "react-test-renderer";
|
||||
import { NotFound } from "components";
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
import React from "react";
|
||||
import renderer from "react-test-renderer";
|
||||
import { Routes } from "components";
|
||||
|
|
|
@ -10,16 +10,6 @@ exports[`Home component tests Check Home Component Render 1`] = `
|
|||
<div
|
||||
className="hero-container"
|
||||
>
|
||||
<img
|
||||
alt=""
|
||||
className="hero-img"
|
||||
src=""
|
||||
/>
|
||||
<h1
|
||||
className="hero-caption one"
|
||||
>
|
||||
Brand
|
||||
</h1>
|
||||
<button
|
||||
className="btn btn-white hero-sign-in"
|
||||
onClick={[Function]}
|
||||
|
@ -29,6 +19,7 @@ exports[`Home component tests Check Home Component Render 1`] = `
|
|||
className="glyphicon glyphicon-menu-right"
|
||||
/>
|
||||
</button>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
import React from "react";
|
||||
import renderer from "react-test-renderer";
|
||||
import { createStore, applyMiddleware } from "redux";
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
export const authenticate = () => {
|
||||
return new Promise((resolve, reject) => {
|
||||
setTimeout(() => resolve({
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
@import "../../styles/variables";
|
||||
.footer {
|
||||
padding-top: 60px;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
import "./footer.scss";
|
||||
import { Resources } from "../../resources";
|
||||
import * as React from "react";
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
export { Main } from "./main/main";
|
||||
export { Routes } from "./routes/routes";
|
||||
export { Navigation } from "./navigation/navigation";
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
@import "../../styles/variables";
|
||||
|
||||
html {
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
import "./main.scss";
|
||||
import * as React from "react";
|
||||
import { BrowserRouter as Router, Route, Redirect } from "react-router-dom";
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
@import "../../styles/variables";
|
||||
.navigation {
|
||||
.navbar-default {
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
import "./navigation.scss";
|
||||
import { Resources } from "resources"
|
||||
import * as React from "react";
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
import { Resources } from "resources";
|
||||
import * as React from "react";
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
import * as React from "react";
|
||||
import { BrowserRouter as Router, Route, Switch, Redirect } from "react-router-dom";
|
||||
import { Main, NotFound } from "components";
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
<!--
|
||||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
-->
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
import "bootstrap-loader";
|
||||
import * as React from "react";
|
||||
import * as ReactDOM from "react-dom";
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
export { User } from "./user";
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
export class User {
|
||||
public uid: string;
|
||||
public name: string;
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
import "./dashboard.scss";
|
||||
import * as React from "react";
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
@import "../../styles/variables";
|
||||
.home {
|
||||
.hero-container {
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
import "./home.scss";
|
||||
import { Resources } from "resources";
|
||||
import * as React from "react";
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
export { Home } from "./home/home";
|
||||
export { Dashboard } from "./dashboard/dashboard";
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
import { User } from "models";
|
||||
import { authenticate, checkIfAuthenticated } from "components";
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
export var FooterResx = {
|
||||
ContactUs: "Contact us",
|
||||
}
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
export var HomeResx = {
|
||||
SignIn: "Sign in",
|
||||
SigningIn: "Signing in...",
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
import { HomeResx, IHomeResx } from "./home";
|
||||
import { NavigationResx, INavigationResx } from "./navigation";
|
||||
import { FooterResx, IFooterResx } from "./footer";
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
export var NavigationResx = {
|
||||
Home: "Home",
|
||||
Dashboard: "Dashboard",
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
export var NotFoundResx = {
|
||||
NotFound: "404 Page Not Found"
|
||||
}
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
$footer-height: 100px;
|
||||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
$footer-height: 100px;
|
||||
$push-height: 50px;
|
Загрузка…
Ссылка в новой задаче