Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize website #297

Merged
merged 44 commits into from
Mar 4, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
0dc0aec
apply material UI in services page
AngeloCG97 Dec 24, 2020
cec9209
refactor the others page of the site
AngeloCG97 Dec 24, 2020
7a714c4
Create and apply themes to typographys
AngeloCG97 Dec 24, 2020
a2b9435
apply theme and create unique .js file to management styles
AngeloCG97 Dec 28, 2020
6e6f3d6
Merge branch 'dev' of https://github.com/eoscostarica/eoscostarica.io
AngeloCG97 Dec 28, 2020
e85490e
change hover button color
AngeloCG97 Dec 29, 2020
bf7e3c6
apply themes and button styles in about.js
AngeloCG97 Dec 29, 2020
28e486f
apply themes and button styles in industries.js
AngeloCG97 Dec 29, 2020
75448e6
apply themes and button styles in bp.js
AngeloCG97 Dec 29, 2020
9a6d07b
update content
AngeloCG97 Dec 29, 2020
d3939a1
apply themes and button styles in thank-you.js
AngeloCG97 Dec 29, 2020
a806399
apply material ui in contact-us
AngeloCG97 Dec 29, 2020
9572d2b
Merge branch 'dev' of https://github.com/eoscostarica/eoscostarica.io
AngeloCG97 Dec 29, 2020
5e7b029
Merge branch 'dev' of https://github.com/eoscostarica/eoscostarica.io
AngeloCG97 Dec 29, 2020
319233c
Merge branch 'dev' of https://github.com/eoscostarica/eoscostarica.io
AngeloCG97 Dec 30, 2020
ca3041c
implement animations
AngeloCG97 Dec 30, 2020
ed2afea
update content
AngeloCG97 Dec 30, 2020
6086300
Merge branch 'dev' of https://github.com/eoscostarica/eoscostarica.io
AngeloCG97 Dec 31, 2020
c161bdd
delete debug.log
AngeloCG97 Dec 31, 2020
339a887
Merge branch 'dev' of https://github.com/eoscostarica/eoscostarica.io
AngeloCG97 Jan 5, 2021
57dbf70
Merge branch 'master' of https://github.com/eoscostarica/eoscostarica.io
AngeloCG97 Jan 6, 2021
c62c8be
Merge branch 'dev' of https://github.com/eoscostarica/eoscostarica.io
AngeloCG97 Jan 6, 2021
33d5199
Merge branch 'dev' of https://github.com/eoscostarica/eoscostarica.io
AngeloCG97 Jan 6, 2021
206f3fd
Merge branch 'dev' of https://github.com/eoscostarica/eoscostarica.io
AngeloCG97 Jan 11, 2021
cad2815
Merge branch 'dev' of https://github.com/eoscostarica/eoscostarica.io
AngeloCG97 Jan 15, 2021
a860bd0
Merge branch 'dev' of https://github.com/eoscostarica/eoscostarica.io
AngeloCG97 Jan 18, 2021
32d0df2
Merge branch 'dev' of https://github.com/eoscostarica/eoscostarica.io
AngeloCG97 Jan 21, 2021
4f5f243
Merge branch 'dev' of https://github.com/eoscostarica/eoscostarica.io
AngeloCG97 Jan 26, 2021
a337e46
Merge branch 'dev' of https://github.com/eoscostarica/eoscostarica.io
AngeloCG97 Jan 29, 2021
93e68ae
fix codefactor warnings
AngeloCG97 Jan 29, 2021
b3a7273
Merge branch 'dev' of https://github.com/eoscostarica/eoscostarica.io
AngeloCG97 Feb 2, 2021
0a6ed0a
fix:(index.js) code error
AngeloCG97 Feb 3, 2021
2a36da5
update content
AngeloCG97 Feb 5, 2021
db65749
Merge branch 'dev' of https://github.com/eoscostarica/eoscostarica.io
AngeloCG97 Feb 24, 2021
e8de80d
Merge branch 'dev' of https://github.com/eoscostarica/eoscostarica.io…
AngeloCG97 Mar 2, 2021
5fe8a59
fix(font import): Change import font by local import
AngeloCG97 Mar 2, 2021
80e4441
fix(font import): Change import font by local import
AngeloCG97 Mar 2, 2021
343c065
fix(font import): Change import font by local import
AngeloCG97 Mar 2, 2021
498fe90
fix(node.yml): add --no-minify command
AngeloCG97 Mar 2, 2021
0a883d4
fix(node.yml): add --no-minify command
AngeloCG97 Mar 3, 2021
1d51a5c
fix(build netlify)
AngeloCG97 Mar 3, 2021
15c9b7d
fix(build netlify)
AngeloCG97 Mar 3, 2021
3629d7d
fix(build netlify)
AngeloCG97 Mar 3, 2021
4fd3561
fix(build netlify)
AngeloCG97 Mar 3, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

- name: Install and Build 🔧
run: |
npm install
npm install
npm run build

- name: Deploy 🚀
Expand Down
3 changes: 2 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
const path = require('path')
module.exports = {
title: 'EOSIO Enterprise Blockchain Development Services - EOS Costa Rica',
tagline: '',
Expand Down Expand Up @@ -26,7 +27,7 @@ module.exports = {
},
],
],

plugins: [path.resolve(__dirname, 'src/plugins', 'webpackconfig')],
themeConfig: {
image:"img/metaImgBlack.png",
footer: {},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"docusaurus": "docusaurus",
"start": "docusaurus start",
"build": "docusaurus build",
"build": "docusaurus build --no-minify",
"swizzle": "docusaurus swizzle",
"deploy": "docusaurus deploy",
"serve": "docusaurus serve"
Expand Down
15 changes: 14 additions & 1 deletion src/css/custom.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,20 @@

/*Fonts*/
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');
@font-face {
font-family: 'Lato';
src: url('/fonts/Lato-Bold.ttf') format('truetype');
font-weight: bold;
}

@font-face {
font-family: 'Lato';
src: url('/fonts/Lato-Regular.ttf') format('truetype');
font-weight: normal;
}

:root {
--ifm-font-family-base: 'Lato';
}
/*Typographys*/

h1 {
Expand Down
23 changes: 23 additions & 0 deletions src/plugins/webpackconfig/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
const webpack = require('webpack')
module.exports = function () {
return {
name: 'custom-docusaurus-plugin',
configureWebpack() {
return {
module: {
rules: [
{
test: /\.(png|woff|woff2|eot|ttf|svg)$/,
loader: 'url-loader?limit=100000'
}
],
},
plugins: [
new webpack.ProvidePlugin({
Buffer: ['buffer', 'Buffer'],
})
],
};
},
};
};
Binary file removed static/fonts/GothamPro-Bold.woff2
Binary file not shown.
Binary file removed static/fonts/GothamPro-Light.woff2
Binary file not shown.
Binary file removed static/fonts/GothamPro-Medium.woff2
Binary file not shown.
Binary file removed static/fonts/GothamPro.woff2
Binary file not shown.
Binary file added static/fonts/Lato-Bold.ttf
Binary file not shown.
Binary file added static/fonts/Lato-Regular.ttf
Binary file not shown.