fix(styles/fonts/project): add fonts + change styles + edit default project name
This commit is contained in:
parent
d737e9355c
commit
c86ad0b732
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,10 +1,10 @@
|
||||
{
|
||||
"name": "lsrp_connexion",
|
||||
"name": "next-app",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "lsrp_connexion",
|
||||
"name": "next-app",
|
||||
"dependencies": {
|
||||
"next": "12.0.10",
|
||||
"react": "17.0.2",
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "lsrp_connexion",
|
||||
"name": "next-app",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
|
@ -1,6 +1,7 @@
|
||||
import type { AppProps } from "next/app";
|
||||
|
||||
import "../styles/main.scss";
|
||||
import "../styles/fonts.scss";
|
||||
|
||||
const MyApp = ({ Component, pageProps }: AppProps) => {
|
||||
return <Component {...pageProps} />;
|
||||
|
BIN
public/fonts/Poppins-Black.ttf
Normal file
BIN
public/fonts/Poppins-Black.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-Black.woff
Normal file
BIN
public/fonts/Poppins-Black.woff
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-Black.woff2
Normal file
BIN
public/fonts/Poppins-Black.woff2
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-BlackItalic.ttf
Normal file
BIN
public/fonts/Poppins-BlackItalic.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-BlackItalic.woff
Normal file
BIN
public/fonts/Poppins-BlackItalic.woff
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-BlackItalic.woff2
Normal file
BIN
public/fonts/Poppins-BlackItalic.woff2
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-Bold.ttf
Normal file
BIN
public/fonts/Poppins-Bold.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-Bold.woff
Normal file
BIN
public/fonts/Poppins-Bold.woff
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-Bold.woff2
Normal file
BIN
public/fonts/Poppins-Bold.woff2
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-BoldItalic.ttf
Normal file
BIN
public/fonts/Poppins-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-BoldItalic.woff
Normal file
BIN
public/fonts/Poppins-BoldItalic.woff
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-BoldItalic.woff2
Normal file
BIN
public/fonts/Poppins-BoldItalic.woff2
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-ExtraBold.ttf
Normal file
BIN
public/fonts/Poppins-ExtraBold.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-ExtraBold.woff
Normal file
BIN
public/fonts/Poppins-ExtraBold.woff
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-ExtraBold.woff2
Normal file
BIN
public/fonts/Poppins-ExtraBold.woff2
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-ExtraBoldItalic.ttf
Normal file
BIN
public/fonts/Poppins-ExtraBoldItalic.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-ExtraBoldItalic.woff
Normal file
BIN
public/fonts/Poppins-ExtraBoldItalic.woff
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-ExtraBoldItalic.woff2
Normal file
BIN
public/fonts/Poppins-ExtraBoldItalic.woff2
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-ExtraLight.ttf
Normal file
BIN
public/fonts/Poppins-ExtraLight.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-ExtraLight.woff
Normal file
BIN
public/fonts/Poppins-ExtraLight.woff
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-ExtraLight.woff2
Normal file
BIN
public/fonts/Poppins-ExtraLight.woff2
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-ExtraLightItalic.ttf
Normal file
BIN
public/fonts/Poppins-ExtraLightItalic.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-ExtraLightItalic.woff
Normal file
BIN
public/fonts/Poppins-ExtraLightItalic.woff
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-ExtraLightItalic.woff2
Normal file
BIN
public/fonts/Poppins-ExtraLightItalic.woff2
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-Italic.ttf
Normal file
BIN
public/fonts/Poppins-Italic.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-Italic.woff
Normal file
BIN
public/fonts/Poppins-Italic.woff
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-Italic.woff2
Normal file
BIN
public/fonts/Poppins-Italic.woff2
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-Light.ttf
Normal file
BIN
public/fonts/Poppins-Light.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-Light.woff
Normal file
BIN
public/fonts/Poppins-Light.woff
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-Light.woff2
Normal file
BIN
public/fonts/Poppins-Light.woff2
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-LightItalic.ttf
Normal file
BIN
public/fonts/Poppins-LightItalic.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-LightItalic.woff
Normal file
BIN
public/fonts/Poppins-LightItalic.woff
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-LightItalic.woff2
Normal file
BIN
public/fonts/Poppins-LightItalic.woff2
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-Medium.ttf
Normal file
BIN
public/fonts/Poppins-Medium.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-Medium.woff
Normal file
BIN
public/fonts/Poppins-Medium.woff
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-Medium.woff2
Normal file
BIN
public/fonts/Poppins-Medium.woff2
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-MediumItalic.ttf
Normal file
BIN
public/fonts/Poppins-MediumItalic.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-MediumItalic.woff
Normal file
BIN
public/fonts/Poppins-MediumItalic.woff
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-MediumItalic.woff2
Normal file
BIN
public/fonts/Poppins-MediumItalic.woff2
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-Regular.ttf
Normal file
BIN
public/fonts/Poppins-Regular.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-Regular.woff
Normal file
BIN
public/fonts/Poppins-Regular.woff
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-Regular.woff2
Normal file
BIN
public/fonts/Poppins-Regular.woff2
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-SemiBold.ttf
Normal file
BIN
public/fonts/Poppins-SemiBold.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-SemiBold.woff
Normal file
BIN
public/fonts/Poppins-SemiBold.woff
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-SemiBold.woff2
Normal file
BIN
public/fonts/Poppins-SemiBold.woff2
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-SemiBoldItalic.ttf
Normal file
BIN
public/fonts/Poppins-SemiBoldItalic.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-SemiBoldItalic.woff
Normal file
BIN
public/fonts/Poppins-SemiBoldItalic.woff
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-SemiBoldItalic.woff2
Normal file
BIN
public/fonts/Poppins-SemiBoldItalic.woff2
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-Thin.ttf
Normal file
BIN
public/fonts/Poppins-Thin.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-Thin.woff
Normal file
BIN
public/fonts/Poppins-Thin.woff
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-Thin.woff2
Normal file
BIN
public/fonts/Poppins-Thin.woff2
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-ThinItalic.ttf
Normal file
BIN
public/fonts/Poppins-ThinItalic.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-ThinItalic.woff
Normal file
BIN
public/fonts/Poppins-ThinItalic.woff
Normal file
Binary file not shown.
@ -8,25 +8,18 @@
|
||||
@mixin element-invisible($enforce: true) {
|
||||
$important: if($enforce, "!important", null);
|
||||
|
||||
position: absolute #{$important};
|
||||
width: 1px #{$important};
|
||||
height: 1px #{$important};
|
||||
padding: 0 #{$important};
|
||||
overflow: hidden #{$important};
|
||||
clip: rect(0, 0, 0, 0) #{$important};
|
||||
white-space: nowrap #{$important};
|
||||
border: 0 #{$important};
|
||||
max-height: 0 #{$important};
|
||||
opacity: 0 #{$important};
|
||||
visibility: hidden #{$important};
|
||||
transition: $default-transition;
|
||||
}
|
||||
|
||||
@mixin element-invisible-off($enforce: true) {
|
||||
@mixin element-invisible-off($value-visibility: 100px, $enforce: true) {
|
||||
$important: if($enforce, "!important", null);
|
||||
|
||||
position: static #{$important};
|
||||
width: auto #{$important};
|
||||
height: auto #{$important};
|
||||
overflow: visible #{$important};
|
||||
clip: auto #{$important};
|
||||
white-space: normal #{$important};
|
||||
max-height: #{$value-visibility} #{$important};
|
||||
opacity: 1 #{$important};
|
||||
visibility: visible #{$important};
|
||||
}
|
||||
|
||||
@mixin css-triangle($triangle-size, $triangle-color, $triangle-direction) {
|
||||
|
@ -11,25 +11,6 @@
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
%vertical-center {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
|
||||
%horizontal-center {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
%absolute-center {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
%button {
|
||||
outline: none;
|
||||
border: none;
|
||||
|
@ -15,3 +15,8 @@
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
min-height: 100vh;
|
||||
max-width: 100vw;
|
||||
}
|
||||
|
179
styles/fonts.scss
Normal file
179
styles/fonts.scss
Normal file
@ -0,0 +1,179 @@
|
||||
@font-face {
|
||||
font-family: Poppins-Italic;
|
||||
src: url("/fonts/Poppins-Italic.woff2") format("woff2"),
|
||||
url("/fonts/Poppins-Italic.woff") format("woff"),
|
||||
url("/fonts/Poppins-Italic.ttf") format("truetype");
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Poppins-Light-Italic;
|
||||
src: url("/fonts/Poppins-LightItalic.woff2") format("woff2"),
|
||||
url("/fonts/Poppins-LightItalic.woff") format("woff"),
|
||||
url("/fonts/Poppins-LightItalic.ttf") format("truetype");
|
||||
font-weight: 300;
|
||||
font-style: italic;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Poppins-SemiBold;
|
||||
src: url("/fonts/Poppins-SemiBold.woff2") format("woff2"),
|
||||
url("/fonts/Poppins-SemiBold.woff") format("woff"),
|
||||
url("/fonts/Poppins-SemiBold.ttf") format("truetype");
|
||||
font-weight: 600;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Poppins-Thin;
|
||||
src: url("/fonts/Poppins-Thin.woff2") format("woff2"),
|
||||
url("/fonts/Poppins-Thin.woff") format("woff"),
|
||||
url("/fonts/Poppins-Thin.ttf") format("truetype");
|
||||
font-weight: 100;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Poppins-Medium-Italic;
|
||||
src: url("/fonts/Poppins-MediumItalic.woff2") format("woff2"),
|
||||
url("/fonts/Poppins-MediumItalic.woff") format("woff"),
|
||||
url("/fonts/Poppins-MediumItalic.ttf") format("truetype");
|
||||
font-weight: 500;
|
||||
font-style: italic;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Poppins-Regular;
|
||||
src: url("/fonts/Poppins-Regular.woff2") format("woff2"),
|
||||
url("/fonts/Poppins-Regular.woff") format("woff"),
|
||||
url("/fonts/Poppins-Regular.ttf") format("truetype");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Poppins-Extra-Bold-Italic;
|
||||
src: url("/fonts/Poppins-ExtraBoldItalic.woff2") format("woff2"),
|
||||
url("/fonts/Poppins-ExtraBoldItalic.woff") format("woff"),
|
||||
url("/fonts/Poppins-ExtraBoldItalic.ttf") format("truetype");
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Poppins-Extra-Light-Italic;
|
||||
src: url("/fonts/Poppins-ExtraLightItalic.woff2") format("woff2"),
|
||||
url("/fonts/Poppins-ExtraLightItalic.woff") format("woff"),
|
||||
url("/fonts/Poppins-ExtraLightItalic.ttf") format("truetype");
|
||||
font-weight: 200;
|
||||
font-style: italic;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Poppins-Light;
|
||||
src: url("/fonts/Poppins-Light.woff2") format("woff2"),
|
||||
url("/fonts/Poppins-Light.woff") format("woff"),
|
||||
url("/fonts/Poppins-Light.ttf") format("truetype");
|
||||
font-weight: 300;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Poppins-Medium;
|
||||
src: url("/fonts/Poppins-Medium.woff2") format("woff2"),
|
||||
url("/fonts/Poppins-Medium.woff") format("woff"),
|
||||
url("/fonts/Poppins-Medium.ttf") format("truetype");
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Poppins-Semi-Bold-Italic;
|
||||
src: url("/fonts/Poppins-SemiBoldItalic.woff2") format("woff2"),
|
||||
url("/fonts/Poppins-SemiBoldItalic.woff") format("woff"),
|
||||
url("/fonts/Poppins-SemiBoldItalic.ttf") format("truetype");
|
||||
font-weight: 600;
|
||||
font-style: italic;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Poppins-Extra-Light;
|
||||
src: url("/fonts/Poppins-ExtraLight.woff2") format("woff2"),
|
||||
url("/fonts/Poppins-ExtraLight.woff") format("woff"),
|
||||
url("/fonts/Poppins-ExtraLight.ttf") format("truetype");
|
||||
font-weight: 200;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Poppins-Thin-Italic;
|
||||
src: url("/fonts/Poppins-ThinItalic.woff2") format("woff2"),
|
||||
url("/fonts/Poppins-ThinItalic.woff") format("woff"),
|
||||
url("/fonts/Poppins-ThinItalic.ttf") format("truetype");
|
||||
font-weight: 100;
|
||||
font-style: italic;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Poppins-Black;
|
||||
src: url("/fonts/Poppins-Black.woff2") format("woff2"),
|
||||
url("/fonts/Poppins-Black.woff") format("woff"),
|
||||
url("/fonts/Poppins-Black.ttf") format("truetype");
|
||||
font-weight: 900;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Poppins;
|
||||
src: url("/fonts/Poppins-BoldItalic.woff2") format("woff2"),
|
||||
url("/fonts/Poppins-BoldItalic.woff") format("woff"),
|
||||
url("/fonts/Poppins-BoldItalic.ttf") format("truetype");
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Poppins-Bold;
|
||||
src: url("/fonts/Poppins-Bold.woff2") format("woff2"),
|
||||
url("/fonts/Poppins-Bold.woff") format("woff"),
|
||||
url("/fonts/Poppins-Bold.ttf") format("truetype");
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Poppins-Black-Italic;
|
||||
src: url("/fonts/Poppins-BlackItalic.woff2") format("woff2"),
|
||||
url("/fonts/Poppins-BlackItalic.woff") format("woff"),
|
||||
url("/fonts/Poppins-BlackItalic.ttf") format("truetype");
|
||||
font-weight: 900;
|
||||
font-style: italic;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Poppins-Extra-Bold;
|
||||
src: url("/fonts/Poppins-ExtraBold.woff2") format("woff2"),
|
||||
url("/fonts/Poppins-ExtraBold.woff") format("woff"),
|
||||
url("/fonts/Poppins-ExtraBold.ttf") format("truetype");
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
Loading…
Reference in New Issue
Block a user