Skip to content

Commit

Permalink
Merge pull request #56 from JetyAdam/learning_resources_page
Browse files Browse the repository at this point in the history
Set up global learning resources page
  • Loading branch information
Hyperkid123 authored Jul 2, 2024
2 parents 7c82a8c + 8790283 commit 0c5a24d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
11 changes: 10 additions & 1 deletion fec.config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
const path = require('path');

module.exports = {
appUrl: ['/settings/learning-resources', '/openshift/learning-resources'],
appUrl: ['/settings/learning-resources', '/openshift/learning-resources', "/staging/global-learning-resources-page"],
debug: true,
useProxy: true,
proxyVerbose: true,
sassPrefix: '.learning-resources, .learningResources',
routes: {
"/api/chrome-service/v1/static/": {
"host": "http://localhost:8000"
},
},
/**
* Change to false after your app is registered in configuration files
*/
Expand All @@ -22,6 +27,10 @@ module.exports = {
__dirname,
'./src/components/LearningResourcesWidget/LearningResourcesWidget'
),
'./GlobalLearningResourcesPage': path.resolve(
__dirname,
'./src/components/GlobalLearningResourcesPage/GlobalLearningResourcesPage'
),
},
exclude: ['react-router-dom'],
shared: [
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import React from 'react';

export const GlobalLearningResourcesPage = () => {
return <div>Foo</div>;
};

export default GlobalLearningResourcesPage;

0 comments on commit 0c5a24d

Please sign in to comment.