Requires
This commit is contained in:
parent
60d4c7e0b8
commit
315fcbcdd1
14 changed files with 108 additions and 14830 deletions
|
@ -1,6 +0,0 @@
|
|||
<?php
|
||||
$pageContent = ob_get_clean();
|
||||
$pageTitle = "Accueil";
|
||||
$relativePath = "";
|
||||
include($relativePath . "public/index.html");
|
||||
?>
|
14714
Site-Proximo-v2/package-lock.json
generated
14714
Site-Proximo-v2/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -1,37 +0,0 @@
|
|||
{
|
||||
"name": "Site_Proximo",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@testing-library/jest-dom": "^4.2.4",
|
||||
"@testing-library/react": "^9.5.0",
|
||||
"@testing-library/user-event": "^7.2.1",
|
||||
"bootstrap": "^4.5.2",
|
||||
"node-sass": "^4.14.1",
|
||||
"react": "^16.13.1",
|
||||
"react-bootstrap": "^1.3.0",
|
||||
"react-dom": "^16.13.1",
|
||||
"react-scripts": "3.4.3"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "react-scripts start",
|
||||
"build": "react-scripts build",
|
||||
"test": "react-scripts test",
|
||||
"eject": "react-scripts eject"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"extends": "react-app"
|
||||
},
|
||||
"browserslist": {
|
||||
"production": [
|
||||
">0.2%",
|
||||
"not dead",
|
||||
"not op_mini all"
|
||||
],
|
||||
"development": [
|
||||
"last 1 chrome version",
|
||||
"last 1 firefox version",
|
||||
"last 1 safari version"
|
||||
]
|
||||
}
|
||||
}
|
Binary file not shown.
Before Width: | Height: | Size: 3.1 KiB |
70
Site-Proximo-v2/public/index.css
Normal file
70
Site-Proximo-v2/public/index.css
Normal file
|
@ -0,0 +1,70 @@
|
|||
.header {
|
||||
color : black;
|
||||
text-align: center;
|
||||
font-family: 'Wellfleet', cursive;
|
||||
font-size:5vw;
|
||||
background-color: orangered;
|
||||
width: 100%;
|
||||
|
||||
}
|
||||
|
||||
.button {
|
||||
display:flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background-image: linear-gradient( #5EE283, #057B26);
|
||||
border-radius: 4vw;
|
||||
box-shadow: -7px 7px 7px rgba(255, 255, 255, 0.7);
|
||||
height:7vw;
|
||||
width:100%;
|
||||
}
|
||||
|
||||
.buttonTxt {
|
||||
color : black;
|
||||
margin : 2vw;
|
||||
text-align: center;
|
||||
font-family: 'Wellfleet', cursive;
|
||||
font-size:3vw;
|
||||
}
|
||||
|
||||
.button:hover {
|
||||
border: 3px solid #FFFFFF;
|
||||
box-sizing: border-box;
|
||||
border-radius: 4vw;
|
||||
|
||||
}
|
||||
|
||||
.button:active {
|
||||
background-image: linear-gradient( #057B26, #5EE283);
|
||||
}
|
||||
|
||||
.home {
|
||||
height:50vw;
|
||||
background-color:black;
|
||||
}
|
||||
|
||||
.content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
align-items: center;
|
||||
height:40vw;
|
||||
}
|
||||
|
||||
.contentTxt {
|
||||
display: flex;
|
||||
flex:2;
|
||||
align-items: center;
|
||||
font-family: 'Wellfleet', cursive;
|
||||
font-size:4vw;
|
||||
color:white;
|
||||
text-align: center;
|
||||
width:40%;
|
||||
}
|
||||
|
||||
.buttonBlock {
|
||||
display: flex;
|
||||
flex:1;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
|
@ -1,45 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<link rel="stylesheet" href="index.css">
|
||||
<meta charset="utf-8" />
|
||||
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="theme-color" content="#000000" />
|
||||
<meta
|
||||
name="description"
|
||||
content="Web site created using create-react-app"
|
||||
/>
|
||||
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
|
||||
<!--
|
||||
manifest.json provides metadata used when your web app is installed on a
|
||||
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
|
||||
-->
|
||||
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Wellfleet&display=swap" rel="stylesheet">
|
||||
<!--
|
||||
Notice the use of %PUBLIC_URL% in the tags above.
|
||||
It will be replaced with the URL of the `public` folder during the build.
|
||||
Only files inside the `public` folder can be referenced from the HTML.
|
||||
|
||||
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
|
||||
work correctly both with client-side routing and a non-root public URL.
|
||||
Learn how to configure a non-root public URL by running `npm run build`.
|
||||
-->
|
||||
<title>Proximo</title>
|
||||
</head>
|
||||
<body style="background-color:black">
|
||||
<body>
|
||||
<noscript>You need to enable JavaScript to run this app.</noscript>
|
||||
<div id="root"></div>
|
||||
<!--
|
||||
This HTML file is a template.
|
||||
If you open it directly in the browser, you will see an empty page.
|
||||
<div id="like_button_container"></div>
|
||||
|
||||
You can add webfonts, meta tags, or analytics to this file.
|
||||
The build step will place the bundled scripts into the <body> tag.
|
||||
|
||||
To begin the development, run `npm start` or `yarn start`.
|
||||
To create a production bundle, use `npm run build` or `yarn build`.
|
||||
-->
|
||||
<!-- Load React. -->
|
||||
<!-- Note: when deploying, replace "development.js" with "production.min.js". -->
|
||||
<script src="https://unpkg.com/react@16/umd/react.development.js" crossorigin></script>
|
||||
<script src="https://unpkg.com/react-dom@16/umd/react-dom.development.js" crossorigin></script>
|
||||
<script src="https://unpkg.com/babel-standalone@6/babel.min.js"></script>
|
||||
<!-- Load our React component. -->
|
||||
<script src="index.js" type="text/babel"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
17
Site-Proximo-v2/public/index.js
Normal file
17
Site-Proximo-v2/public/index.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
'use strict';
|
||||
// import Home from './src/js/Views/home.js'
|
||||
|
||||
// function Header(){
|
||||
// const title = 'Proximo';
|
||||
// return (
|
||||
// <div className="header">
|
||||
// {title}
|
||||
// </div>
|
||||
// );
|
||||
// }
|
||||
|
||||
const Home = require('../src/js/Views/home')
|
||||
|
||||
|
||||
const domContainer = document.querySelector('#like_button_container');
|
||||
ReactDOM.render(<Home/>, domContainer);
|
Binary file not shown.
Before Width: | Height: | Size: 5.2 KiB |
Binary file not shown.
Before Width: | Height: | Size: 9.4 KiB |
|
@ -1,25 +0,0 @@
|
|||
{
|
||||
"short_name": "React App",
|
||||
"name": "Create React App Sample",
|
||||
"icons": [
|
||||
{
|
||||
"src": "favicon.ico",
|
||||
"sizes": "64x64 32x32 24x24 16x16",
|
||||
"type": "image/x-icon"
|
||||
},
|
||||
{
|
||||
"src": "logo192.png",
|
||||
"type": "image/png",
|
||||
"sizes": "192x192"
|
||||
},
|
||||
{
|
||||
"src": "logo512.png",
|
||||
"type": "image/png",
|
||||
"sizes": "512x512"
|
||||
}
|
||||
],
|
||||
"start_url": ".",
|
||||
"display": "standalone",
|
||||
"theme_color": "#000000",
|
||||
"background_color": "#ffffff"
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
# https://www.robotstxt.org/robotstxt.html
|
||||
User-agent: *
|
||||
Disallow:
|
|
@ -1,7 +1,7 @@
|
|||
import React from 'react';
|
||||
import '../../css/Components/button_sass.scss'
|
||||
// import React from 'react';
|
||||
// import '../../css/Components/button_sass.scss'
|
||||
|
||||
export default class Button extends React.Component {
|
||||
export default class Button {
|
||||
render() {
|
||||
const title = 'Connexion';
|
||||
return (
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import React from 'react';
|
||||
import '../../css/Components/header_sass.scss'
|
||||
// import React from 'react';
|
||||
// import '../../css/Components/header_sass.scss'
|
||||
|
||||
export default class Header extends React.Component {
|
||||
export default class Header {
|
||||
render() {
|
||||
const title = 'Proximo';
|
||||
return (
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
import React from 'react';
|
||||
import '../..//css/Views/home_sass.scss';
|
||||
import Header from '../Components/header';
|
||||
import Button from '../Components/button';
|
||||
// import React from 'react';
|
||||
// import '../..//css/Views/home_sass.scss';
|
||||
const Header = require('../Components/header') ;
|
||||
const Button = require('../Components/button') ;
|
||||
|
||||
export default class Home extends React.Component {
|
||||
export default class Home {
|
||||
render() {
|
||||
return (
|
||||
<div className="home">
|
||||
|
|
Loading…
Reference in a new issue