CSSS / csss-site-frontend

CSSS Website Frontend (2024 - Present)
https://new.sfucsss.org/
GNU Affero General Public License v3.0
6 stars 6 forks source link

Make About Events page in main app #47

Open micahdbak opened 3 months ago

micahdbak commented 3 months ago

/src/main/index.js

// ...
import { /* ... */, Events } from './pages';

// ...

const router = createHashRouter([
  // ...
  { path: '/events', element: <Events /> },
  // ...
]);

/src/main/pages/Events.js

import React from 'react';
import { Page } from '../components';

export const Events = () => {
  return (
    <Page>
      {/* ... */}
    </Page>
  );
};