diff --git a/app.js b/app.js index f8df3b8..b4fe39f 100644 --- a/app.js +++ b/app.js @@ -9,7 +9,21 @@ const app = express(); const port = process.env.PORT || 3000; app.set('view engine', 'ejs'); -app.set('views',path.join(__dirname, 'views')); +app.set('views',path.join(__dirname, 'src/views')); + + +app.use(express.urlencoded({ extended: true })); + + +/* +STATIC ROUTINGS +*/ + +app.use("/scripts", express.static("./src/scripts")); +app.use("/css", express.static("./src/css")); +app.use("/images", express.static("./src/images")); +app.use("/views", express.static("./src/views")); + /* ROUTINGS @@ -19,6 +33,10 @@ app.get('/', (req, res) => { res.render('index'); }); +app.get('/landing', (req, res) => { + res.render('landing'); +}); + app.get('/signup', (req, res) => { res.render('signup'); }); diff --git a/src/images/bg1.jpg b/src/images/bg1.jpg new file mode 100644 index 0000000..c39e9e1 Binary files /dev/null and b/src/images/bg1.jpg differ diff --git a/src/views/aboutUs.ejs b/src/views/aboutUs.ejs new file mode 100644 index 0000000..63108a0 --- /dev/null +++ b/src/views/aboutUs.ejs @@ -0,0 +1,80 @@ + + + RCalculator + + + + +
+ +
+
+ +
+
+

About RCalculator

+

Welcome to RCalculator, your partner in building a secure and fulfilling financial future.

+
+ +
+

Our Mission

+

+ Our mission is to empower you with the tools and insights needed to take control of your long-term financial goals. +

+
+

+ We believe that planning for your desired future, especially retirement, shouldn't be daunting. It doesn't matter what your current age or career status is – starting now is what counts. +

+

+ At RCalculator, we help you trace a personalized plan that suits your unique aspirations. We provide clear, actionable advice and projections to guide you on how to get there, whether you're just starting your career, mid-way through, or nearing retirement. +

+

+ Let us help you navigate the path to financial independence and achieve the retirement lifestyle you envision. +

+
+
+ +
+
+ + + + + diff --git a/src/views/landing.ejs b/src/views/landing.ejs new file mode 100644 index 0000000..bce6438 --- /dev/null +++ b/src/views/landing.ejs @@ -0,0 +1,64 @@ + + + RCalculator + + + + +
+ +
+
+
+
+

Plan now, live better.

+

Planning your retirement is a crucial step towards financial security and a happy future.

+ +
+
+
+ + + + +