Skip to content

Commit

Permalink
Merge pull request #11 from fabric-testbed/feature/add-agenda-iframe
Browse files Browse the repository at this point in the history
Feature/add agenda iframe
  • Loading branch information
suejinkim20 authored Aug 22, 2024
2 parents 8b33a33 + 1272190 commit 2ad18d4
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Fragment } from 'react'
import { Routes, Route } from 'react-router-dom'
import { Menu } from '@components/menu'
import {
AgendaView,
CfaView,
HomeView,
MarkdownView,
Expand Down Expand Up @@ -32,6 +33,11 @@ const menuOptions = [
path: '/cfa',
label: 'Calls for Action',
view: <CfaView />,
},
{
path: '/agenda',
label: 'Agenda',
view: <AgendaView />,
}
]

Expand Down
Binary file added src/images/KNIT9-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 33 additions & 0 deletions src/views/agenda.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import { Page } from '@components/layout'
import knit9logo from '@images/KNIT9-logo.png'

export const AgendaView = () => {
return (
<Page
title="Agenda"
description="Agenda"
>
<img src={ knit9logo } width="100%"/>
<div style={{
width: '100%',
height: '2700px',
position: 'relative',
overflow: 'hidden',
}}>
<iframe
src="https://docs.google.com/document/d/1FKLaYOyQzHG5MnrP7RltSC_uGcyij49LcycZGy4o1RM/pub?embedded=true"
style={{
position: 'absolute',
top: 0,
left: 0,
bottom: 0,
right: 0,
width: '100%',
height: '100%',
border: 'none',
}}
></iframe>
</div>
</Page>
)
}
1 change: 1 addition & 0 deletions src/views/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export * from './agenda'
export * from './cfa'
export * from './home'
export * from './not-found'
Expand Down

0 comments on commit 2ad18d4

Please sign in to comment.