Skip to content
Open
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
7 changes: 2 additions & 5 deletions app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import type { Metadata } from 'next'
import { Inter } from 'next/font/google'
import { ThemeProvider } from '@/components/theme/ThemeProvider'

const inter = Inter({ subsets: ['latin'] })

export const metadata: Metadata = {
title: 'LBMM RACS',
description: 'Laboratory website of LBMM RACS',
Expand All @@ -20,8 +17,8 @@ export default function RootLayout({
children: React.ReactNode
}) {
return (
<html lang="en">
<body className={inter.className}>
<html lang="pt-BR">
<body>
<ThemeProvider>
{children}
</ThemeProvider>
Expand Down
18 changes: 18 additions & 0 deletions app/sciencecommunication/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
'use client'

import { Box } from '@mui/material'
import { Header } from '@/components/organisms/Header'
import { Footer } from '@/components/organisms/Footer'
import { ScienceCommunicationSection } from '@/components/templates/ScienceCommunicationSection'

export default function ScienceCommunicationPage() {
return (
<Box sx={{ display: 'flex', flexDirection: 'column', minHeight: '100vh' }}>
<Header />
<Box component="main" sx={{ flexGrow: 1 }}>
<ScienceCommunicationSection />
</Box>
<Footer />
</Box>
)
}
65 changes: 33 additions & 32 deletions app/teaching/page.tsx
Original file line number Diff line number Diff line change
@@ -1,43 +1,44 @@
'use client'

import { Box, Container, Grid } from '@mui/material'
import { Header } from '@/components/organisms/Header'
import { Footer } from '@/components/organisms/Footer'
import { SectionTitle } from '@/components/atoms/SectionTitle'
import { TeachingCard } from '@/components/molecules/TeachingCard'
import { Box, Container, Typography } from '@mui/material'
import { TeachingSection } from '@/components/templates/TeachingSection'
import { DataController } from '@/controllers/DataController'
import { Header } from '@/components/organisms/Header'
import { Footer } from '@/components/organisms/Footer'

export default function TeachingPage() {
const teaching = DataController.getTeaching()
const graduations = DataController.getGraduations()
const courses = DataController.getCourses()

return (
<Box sx={{ display: 'flex', flexDirection: 'column', minHeight: '100vh' }}>

<Header />
<Box component="main" sx={{ flexGrow: 1 }}>
<Box
sx={{
py: { xs: 8, md: 12 },
bgcolor: 'background.default',
}}
>
<Container maxWidth="lg">
<SectionTitle
title="Teaching"
subtitle="Courses and disciplines offered by the laboratory"
/>
<Grid container spacing={4}>
{teaching.map((item) => (
<Grid item xs={12} md={6} key={item.id}>
<TeachingCard teaching={item} />
</Grid>
))}
</Grid>
</Container>
</Box>

<Box component="main" sx={{ flexGrow: 1, py: { xs: 6, md: 10 } }}>
<Container maxWidth="lg">

<Box sx={{ mb: 6, textAlign: 'center' }}>
<Typography
variant="h3"
component="h1"
sx={{ fontWeight: 700, mb: 2, color: 'primary.main' }}
>
Teaching
</Typography>
<Typography variant="h6" color="text.secondary">
Courses and disciplines offered by the laboratory
</Typography>
</Box>

<TeachingSection
graduations={graduations}
courses={courses}
/>

</Container>
</Box>

<Footer />

</Box>
)
}


}
Loading