Skip to content

Commit

Permalink
Update sass.
Browse files Browse the repository at this point in the history
  • Loading branch information
muazhari committed Mar 18, 2023
1 parent 839f8cd commit 5c36963
Show file tree
Hide file tree
Showing 17 changed files with 46 additions and 31 deletions.
32 changes: 17 additions & 15 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 14 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
const path = require("path");
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true
reactStrictMode: true,
webpack(config) {
config.module.rules.forEach((rule) => {
const {oneOf} = rule;
if (oneOf) {
oneOf.forEach((one) => {
if (!`${one.issuer?.and}`.includes('_app')) return;
one.issuer.and = [path.resolve(__dirname)];
});
}
})
return config;
},
}

module.exports = nextConfig
4 changes: 2 additions & 2 deletions src/components/index/about_us.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as ReactBootstrap from "react-bootstrap";
import AboutImg from "@/assets/images/ventry.svg";
import "@/styles/index/about_us.module.scss";
import "@/styles/index/landing.module.scss"
import "@/styles/index/about_us.scss";
import "@/styles/index/landing.scss"

function AboutUs() {
return (
Expand Down
4 changes: 2 additions & 2 deletions src/components/index/footer.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import Image from "next/image"
import * as ReactBootstrap from "react-bootstrap";
import Logo from "@/assets/images/footer.svg";
import "@/styles/index/footer.module.scss";
import "@/styles/index/landing.module.scss";
import "@/styles/index/footer.scss";
import "@/styles/index/landing.scss";

function Footer() {
return (
Expand Down
4 changes: 2 additions & 2 deletions src/components/index/header.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as ReactBootstrap from "react-bootstrap";
import HeaderImg from "@/assets/images/header.svg";
import "@/styles/index/header.module.scss";
import "@/styles/index/landing.module.scss";
import "@/styles/index/header.scss";
import "@/styles/index/landing.scss";

function Header() {
return (
Expand Down
4 changes: 2 additions & 2 deletions src/components/index/interested.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import Image from "next/image"
import * as ReactBootstrap from "react-bootstrap";
import CloudTopLeft from "@/assets/images/cloud_top_left.svg";
import CloudBottomRight from "@/assets/images/cloud_bottom_right.svg";
import "@/styles/index/interested.module.scss";
import "@/styles/index/landing.module.scss";
import "@/styles/index/interested.scss";
import "@/styles/index/landing.scss";


function Interested() {
Expand Down
4 changes: 2 additions & 2 deletions src/components/index/navigation_bar.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as ReactBootstrap from "react-bootstrap";
import LogoNavImage from "@/assets/images/logo_nav.svg";
import "@/styles/index/navigation_bar.module.scss";
import "@/styles/index/landing.module.scss";
import "@/styles/index/navigation_bar.scss";
import "@/styles/index/landing.scss";

function NavigationBar() {
return (
Expand Down
4 changes: 2 additions & 2 deletions src/components/index/our_team.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import * as ReactBootstrap from "react-bootstrap";
import Kharisma from "@/assets/images/kharisma.png";
import Mario from "@/assets/images/mario.png";
import Kevin from "@/assets/images/kevin.png";
import "@/styles/index/our_team.module.scss";
import "@/styles/index/landing.module.scss";
import "@/styles/index/our_team.scss";
import "@/styles/index/landing.scss";

function OurTeam() {
return (
Expand Down
4 changes: 2 additions & 2 deletions src/components/index/why_us.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import * as ReactBootstrap from "react-bootstrap";
import Forecasting from "@/assets/icons/forecasting.svg";
import UserFriendly from "@/assets/icons/user_friendly.svg";
import EasyToUse from "@/assets/icons/easy_to_use.svg";
import "@/styles/index/why_us.module.scss";
import "@/styles/index/landing.module.scss";
import "@/styles/index/why_us.scss";
import "@/styles/index/landing.scss";

function WhyUs() {
return (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.page.landing root {
root {
--blue: #007bff;
--font-title: #001933;
--body-text: #666666;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 5c36963

Please sign in to comment.