Skip to content

Commit

Permalink
refactor: move homepage from views folder to app folder
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderl19 committed Nov 3, 2023
1 parent 9a551de commit b8e25c9
Show file tree
Hide file tree
Showing 22 changed files with 7 additions and 8 deletions.
File renamed without changes.
File renamed without changes
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
export const revalidate = 60;

import Landing from "./sections/Landing/Landing";
import Intro from "./sections/Intro/Intro";
import Mentor from "./sections/Mentor/Mentor";
import Sponsors from "./sections/Sponsors/Sponsors";
import FAQ from "./sections/FAQ/FAQ";

import styles from "./Home.module.scss";
import styles from "./page.module.scss";

function Home() {
const Home = () => {
return (
<>
<div className={styles.home}>
Expand All @@ -18,6 +20,6 @@ function Home() {
</div>
</>
);
}
};

export default Home;
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"use client";
import ApplyButton from "@/views/Home/components/ApplyButton/ApplyButton";

import ApplyButton from "./ApplyButton";

import styles from "./Landing.module.scss";

Expand Down
3 changes: 0 additions & 3 deletions apps/site/src/app/page.tsx

This file was deleted.

1 change: 0 additions & 1 deletion apps/site/src/views/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
export { default as Home } from "./Home/Home";
export { default as Maintenance } from "./Maintenance/Maintenance";
export { default as Resources } from "./Resources/Resources";
export { default as Schedule } from "./Schedule/Schedule";

0 comments on commit b8e25c9

Please sign in to comment.