Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
22 changes: 7 additions & 15 deletions package-lock.json

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

4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
"url": "git+https://github.com/openedx/frontend-app-learner-dashboard.git"
},
"exports": {
".": "./dist/index.js",
"./app.scss": "./dist/app.scss"
".": "./dist/index.js"
},
"files": [
"/dist"
Expand Down Expand Up @@ -55,7 +54,6 @@
"url": "https://github.com/openedx/frontend-app-learner-dashboard/issues"
},
"dependencies": {
"@edx/brand": "npm:@openedx/brand-openedx@^1.2.3",
"@edx/openedx-atlas": "^0.7.0",
"@fortawesome/fontawesome-svg-core": "^1.2.36",
"@fortawesome/free-brands-svg-icons": "^5.15.4",
Expand Down
2 changes: 1 addition & 1 deletion site.config.dev.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { EnvironmentTypes, SiteConfig, footerApp, headerApp, shellApp } from '@o

import { learnerDashboardApp } from './src';

import './src/app.scss';
import '@openedx/frontend-base/shell/style';

const siteConfig: SiteConfig = {
siteId: 'learner-dashboard-dev',
Expand Down
2 changes: 1 addition & 1 deletion src/Main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { appId } from './constants';
import ContextProviders from './data/context';
import Dashboard from './containers/Dashboard';

import './app.scss';
import './style.scss';

const Main = () => (
<CurrentAppProvider appId={appId}>
Expand Down
2 changes: 2 additions & 0 deletions src/containers/CoursesPanel/index.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@use "@openedx/paragon/styles/css/core/custom-media-breakpoints.css";

.course-list-heading-container {
display: flex;
flex-direction: row;
Expand Down
2 changes: 2 additions & 0 deletions src/containers/Dashboard/index.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@use "@openedx/paragon/styles/css/core/custom-media-breakpoints.css";

.course-list-column {
padding: 0 var(--pgn-spacing-spacer-4);
}
Expand Down
2 changes: 1 addition & 1 deletion src/routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const routes = [
roles: [dashboardRole, homeRole]
},
async lazy () {
const module = await import('./Main');
const module = await import(/* webpackChunkName: "learner-dashboard-main" */ './Main');
return { Component: module.default };
},
}
Expand Down
2 changes: 0 additions & 2 deletions src/app.scss → src/style.scss
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@use "@openedx/frontend-base/shell/app.scss";

$fa-font-path: "~font-awesome/fonts";
@import "~font-awesome/scss/font-awesome";

Expand Down
2 changes: 2 additions & 0 deletions src/widgets/LearnerDashboardHeader/MasqueradeBar/index.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@use "@openedx/paragon/styles/css/core/custom-media-breakpoints.css";

.masquerade-bar {
display: flex;
align-items: flex-start;
Expand Down
Loading