Skip to content
Snippets Groups Projects
Commit 6a20cd2a authored by Chen Zelei's avatar Chen Zelei
Browse files

Merge branch 'dev' into 'main'

update: content

See merge request !30
parents f90b3f74 a546394d
No related branches found
No related tags found
1 merge request!30update: content
Pipeline #313693 passed
......@@ -48,6 +48,8 @@ export default {
width: 100%;
img {
width: 100%;
height: auto;
opacity: 1;
transition: all 0.2s;
}
......
<template>
<div class="profile-wrap">
<div class="img-wrap">
<img :src="url" alt="" />
</div>
<div class="text-wrap">
<div class="name">{{name}}</div>
<div class="title">
<slot></slot>
</div>
</div>
</div>
</template>
<script>
export default {
props: {
url: {
type: String,
required: true,
},
name: {
type: [String, null],
default: null
}
},
};
</script>
<style lang='scss' scoped>
.profile-wrap {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 90%;
margin: 20px;
.img-wrap {
padding: 10px;
img{
border-radius: 1000px;
width: 100%;
height: auto;
box-shadow: $shadow-1;
}
}
.text-wrap {
text-align: center;
.title {
font-size: 0.7em;
}
}
}
</style>
\ No newline at end of file
......@@ -86,5 +86,11 @@ export default {
opacity: 1;
}
}
@media (max-width: 991px) {
.show-more-wrap {
margin-bottom: 60px;
}
}
}
</style>
\ No newline at end of file
<template>
<div>
<div class="pdf-viewer" id="pdf-1"></div>
</div>
</template>
<script>
import * as PDFObject from 'pdfobject/pdfobject.min.js'
export default {
data() {
const url = '/assets/pdf/iGEM-HKPOLYU-Business Plan-Final.pdf'
// PDFObject.embed(url, "#pdf-1");
PDFObject.embed(url)
return {
url,
PDFObject
}
}
}
</script>
<style lang='scss' scoped>
</style>
\ No newline at end of file
......@@ -7,7 +7,6 @@
>-->
<div class="main">
<div class="content-wrap no-sidebar">
<PDFViewer url="/assets/pdf/iGEM-HKPOLYU-Business Plan-Final.pdf"/>
</div>
</div>
</div>
......
......@@ -15,7 +15,7 @@
<div class="content-2">
<p>
<FigureInline
src="/assets/img/entreprenueship/entreprenueship-1.jpeg"
src="https://static.igem.wiki/teams/4774/wiki/static/img/entreprenueship/entreprenueship-1.jpeg"
alt=""
align="right"
size="200px"
......
This diff is collapsed.
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment