]> _ Git - sycomore-fondation.git/commitdiff
wip #5812 @7:00
authorsoufiane <soufiane@cubedesigners.com>
Mon, 24 Apr 2023 16:23:48 +0000 (18:23 +0200)
committersoufiane <soufiane@cubedesigners.com>
Mon, 24 Apr 2023 16:23:48 +0000 (18:23 +0200)
wp-content/themes/sycomore-fondation/postcss.config.js [new file with mode: 0644]
wp-content/themes/sycomore-fondation/resources/fonts/ProximaNova-Bold.woff [new file with mode: 0644]
wp-content/themes/sycomore-fondation/resources/fonts/ProximaNova-Bold.woff2 [new file with mode: 0644]
wp-content/themes/sycomore-fondation/resources/fonts/ProximaNova-Regular.woff [new file with mode: 0644]
wp-content/themes/sycomore-fondation/resources/fonts/ProximaNova-Regular.woff2 [new file with mode: 0644]
wp-content/themes/sycomore-fondation/resources/fonts/ProximaNova-Semibold.woff [new file with mode: 0644]
wp-content/themes/sycomore-fondation/resources/fonts/ProximaNova-Semibold.woff2 [new file with mode: 0644]
wp-content/themes/sycomore-fondation/resources/styles/common/fonts.css [new file with mode: 0644]
wp-content/themes/sycomore-fondation/resources/styles/common/global.css [new file with mode: 0644]
wp-content/themes/sycomore-fondation/resources/styles/partials/header.css [new file with mode: 0644]
wp-content/themes/sycomore-fondation/webpack.config.js [new file with mode: 0644]

diff --git a/wp-content/themes/sycomore-fondation/postcss.config.js b/wp-content/themes/sycomore-fondation/postcss.config.js
new file mode 100644 (file)
index 0000000..f59a63c
--- /dev/null
@@ -0,0 +1,8 @@
+module.exports = {
+  plugins: [
+    require('postcss-import'),
+    require('tailwindcss'),
+    require('autoprefixer'),
+    require('postcss-mixins')
+  ]
+};
diff --git a/wp-content/themes/sycomore-fondation/resources/fonts/ProximaNova-Bold.woff b/wp-content/themes/sycomore-fondation/resources/fonts/ProximaNova-Bold.woff
new file mode 100644 (file)
index 0000000..49bf569
Binary files /dev/null and b/wp-content/themes/sycomore-fondation/resources/fonts/ProximaNova-Bold.woff differ
diff --git a/wp-content/themes/sycomore-fondation/resources/fonts/ProximaNova-Bold.woff2 b/wp-content/themes/sycomore-fondation/resources/fonts/ProximaNova-Bold.woff2
new file mode 100644 (file)
index 0000000..49f5463
Binary files /dev/null and b/wp-content/themes/sycomore-fondation/resources/fonts/ProximaNova-Bold.woff2 differ
diff --git a/wp-content/themes/sycomore-fondation/resources/fonts/ProximaNova-Regular.woff b/wp-content/themes/sycomore-fondation/resources/fonts/ProximaNova-Regular.woff
new file mode 100644 (file)
index 0000000..4e9cb80
Binary files /dev/null and b/wp-content/themes/sycomore-fondation/resources/fonts/ProximaNova-Regular.woff differ
diff --git a/wp-content/themes/sycomore-fondation/resources/fonts/ProximaNova-Regular.woff2 b/wp-content/themes/sycomore-fondation/resources/fonts/ProximaNova-Regular.woff2
new file mode 100644 (file)
index 0000000..01bca3b
Binary files /dev/null and b/wp-content/themes/sycomore-fondation/resources/fonts/ProximaNova-Regular.woff2 differ
diff --git a/wp-content/themes/sycomore-fondation/resources/fonts/ProximaNova-Semibold.woff b/wp-content/themes/sycomore-fondation/resources/fonts/ProximaNova-Semibold.woff
new file mode 100644 (file)
index 0000000..d96ef44
Binary files /dev/null and b/wp-content/themes/sycomore-fondation/resources/fonts/ProximaNova-Semibold.woff differ
diff --git a/wp-content/themes/sycomore-fondation/resources/fonts/ProximaNova-Semibold.woff2 b/wp-content/themes/sycomore-fondation/resources/fonts/ProximaNova-Semibold.woff2
new file mode 100644 (file)
index 0000000..188ed7d
Binary files /dev/null and b/wp-content/themes/sycomore-fondation/resources/fonts/ProximaNova-Semibold.woff2 differ
diff --git a/wp-content/themes/sycomore-fondation/resources/styles/common/fonts.css b/wp-content/themes/sycomore-fondation/resources/styles/common/fonts.css
new file mode 100644 (file)
index 0000000..fb76e9a
--- /dev/null
@@ -0,0 +1,27 @@
+@font-face {
+  font-family: 'Proxima Nova';
+  src: url('@fonts/ProximaNova-Regular.woff2') format('woff2'),
+  url('@fonts/ProximaNova-Regular.woff') format('woff');
+  font-weight: normal;
+  font-style: normal;
+  font-display: swap;
+}
+
+@font-face {
+  font-family: 'Proxima Nova';
+  src: url('@fonts/ProximaNova-Semibold.woff2') format('woff2'),
+  url('@fonts/ProximaNova-Semibold.woff') format('woff');
+  font-weight: 600;
+  font-style: normal;
+  font-display: swap;
+}
+
+@font-face {
+  font-family: 'Proxima Nova';
+  src: url('@fonts/ProximaNova-Bold.woff2') format('woff2'),
+  url('@fonts/ProximaNova-Bold.woff') format('woff');
+  font-weight: bold;
+  font-style: normal;
+  font-display: swap;
+}
+
diff --git a/wp-content/themes/sycomore-fondation/resources/styles/common/global.css b/wp-content/themes/sycomore-fondation/resources/styles/common/global.css
new file mode 100644 (file)
index 0000000..d512bb9
--- /dev/null
@@ -0,0 +1,10 @@
+.container {
+  max-width: 1344px;
+  margin: 0 auto;
+}
+
+.btn {
+  border: 1px solid;
+  border-radius: 10px;
+
+}
diff --git a/wp-content/themes/sycomore-fondation/resources/styles/partials/header.css b/wp-content/themes/sycomore-fondation/resources/styles/partials/header.css
new file mode 100644 (file)
index 0000000..bf7d0d8
--- /dev/null
@@ -0,0 +1,13 @@
+#menu-menu {
+  display: flex;
+  li:not(:last-child) {
+      margin-right: 62px
+    }
+  li.current-menu-item a,
+  li.current-menu-item:hover a {
+    color: theme('colors.red.clear');
+  }
+  a {
+    font-weight: 500;
+  }
+}
diff --git a/wp-content/themes/sycomore-fondation/webpack.config.js b/wp-content/themes/sycomore-fondation/webpack.config.js
new file mode 100644 (file)
index 0000000..fb6904b
--- /dev/null
@@ -0,0 +1,22 @@
+const path = require('path');
+
+module.exports = {
+  entry: {
+    app: './src/js/app.js'
+  },
+  output: {
+    path: path.resolve(__dirname, 'dist'),
+    filename: 'bundle.js'
+  },
+  module: {
+    rules: [
+      {
+        test: /\.js$/,
+        exclude: /node_modules/,
+        use: {
+          loader: 'babel-loader'
+        }
+      }
+    ]
+  }
+};