Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
survey
Commits
2b2a0917
Commit
2b2a0917
authored
Jul 26, 2022
by
Yoon, Daeki
😅
Browse files
usericon import 수정 및 마인드맵 추가
parent
58dede47
Changes
2
Hide whitespace changes
Inline
Side-by-side
docs/mindmap.drawio
0 → 100644
View file @
2b2a0917
<mxfile host="65bd71144e">
<diagram id="KZSQyLMwlcthXS485zPo" name="페이지-1">
<mxGraphModel dx="1826" dy="437" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="3" value="설문조사" style="swimlane;startSize=20;horizontal=1;containerType=tree;" vertex="1" parent="1">
<mxGeometry x="-100" y="160" width="938" height="650" as="geometry"/>
</mxCell>
<mxCell id="4" value="" style="edgeStyle=entityRelationEdgeStyle;startArrow=none;endArrow=none;segment=10;curved=1;" edge="1" parent="3" source="8" target="9">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="5" value="" style="edgeStyle=entityRelationEdgeStyle;startArrow=none;endArrow=none;segment=10;curved=1;" edge="1" parent="3" source="8" target="10">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="6" value="" style="edgeStyle=entityRelationEdgeStyle;startArrow=none;endArrow=none;segment=10;curved=1;" edge="1" parent="3" source="8" target="11">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="7" value="" style="edgeStyle=entityRelationEdgeStyle;startArrow=none;endArrow=none;segment=10;curved=1;" edge="1" parent="3" source="8" target="12">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="8" value="Manage Question Element" style="ellipse;whiteSpace=wrap;html=1;align=center;treeFolding=1;treeMoving=1;newEdgeStyle={"edgeStyle":"entityRelationEdgeStyle","startArrow":"none","endArrow":"none","segment":10,"curved":1};" vertex="1" parent="3">
<mxGeometry x="160" y="60" width="140" height="60" as="geometry"/>
</mxCell>
<mxCell id="9" value="Topic" style="whiteSpace=wrap;html=1;rounded=1;arcSize=50;align=center;verticalAlign=middle;strokeWidth=1;autosize=1;spacing=4;treeFolding=1;treeMoving=1;newEdgeStyle={"edgeStyle":"entityRelationEdgeStyle","startArrow":"none","endArrow":"none","segment":10,"curved":1};" vertex="1" parent="3">
<mxGeometry x="320" y="40" width="80" height="20" as="geometry"/>
</mxCell>
<mxCell id="10" value="Branch" style="whiteSpace=wrap;html=1;shape=partialRectangle;top=0;left=0;bottom=1;right=0;points=[[0,1],[1,1]];fillColor=none;align=center;verticalAlign=bottom;routingCenterY=0.5;snapToPoint=1;autosize=1;treeFolding=1;treeMoving=1;newEdgeStyle={"edgeStyle":"entityRelationEdgeStyle","startArrow":"none","endArrow":"none","segment":10,"curved":1};" vertex="1" parent="3">
<mxGeometry x="320" y="80" width="72" height="26" as="geometry"/>
</mxCell>
<mxCell id="11" value="Topic" style="whiteSpace=wrap;html=1;rounded=1;arcSize=50;align=center;verticalAlign=middle;strokeWidth=1;autosize=1;spacing=4;treeFolding=1;treeMoving=1;newEdgeStyle={"edgeStyle":"entityRelationEdgeStyle","startArrow":"none","endArrow":"none","segment":10,"curved":1};" vertex="1" parent="3">
<mxGeometry x="20" y="40" width="80" height="20" as="geometry"/>
</mxCell>
<mxCell id="12" value="Branch" style="whiteSpace=wrap;html=1;shape=partialRectangle;top=0;left=0;bottom=1;right=0;points=[[0,1],[1,1]];fillColor=none;align=center;verticalAlign=bottom;routingCenterY=0.5;snapToPoint=1;autosize=1;treeFolding=1;treeMoving=1;newEdgeStyle={"edgeStyle":"entityRelationEdgeStyle","startArrow":"none","endArrow":"none","segment":10,"curved":1};" vertex="1" parent="3">
<mxGeometry x="20" y="80" width="72" height="26" as="geometry"/>
</mxCell>
<mxCell id="13" value="" style="edgeStyle=entityRelationEdgeStyle;startArrow=none;endArrow=none;segment=10;curved=1;" edge="1" target="14" source="9" parent="3">
<mxGeometry relative="1" as="geometry">
<mxPoint x="240" y="140" as="sourcePoint"/>
</mxGeometry>
</mxCell>
<mxCell id="14" value="Topic" style="whiteSpace=wrap;html=1;rounded=1;arcSize=50;align=center;verticalAlign=middle;strokeWidth=1;autosize=1;spacing=4;treeFolding=1;treeMoving=1;newEdgeStyle={"edgeStyle":"entityRelationEdgeStyle","startArrow":"none","endArrow":"none","segment":10,"curved":1};" vertex="1" parent="3">
<mxGeometry x="440" y="40" width="80" height="20" as="geometry"/>
</mxCell>
<mxCell id="17" value="" style="edgeStyle=entityRelationEdgeStyle;startArrow=none;endArrow=none;segment=10;curved=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" target="18" source="8" parent="3">
<mxGeometry relative="1" as="geometry">
<mxPoint x="410" y="80" as="sourcePoint"/>
</mxGeometry>
</mxCell>
<mxCell id="18" value="QuestionElementManager" style="whiteSpace=wrap;html=1;rounded=1;arcSize=50;align=center;verticalAlign=middle;strokeWidth=1;autosize=1;spacing=4;treeFolding=1;treeMoving=1;newEdgeStyle={"edgeStyle":"entityRelationEdgeStyle","startArrow":"none","endArrow":"none","segment":10,"curved":1};" vertex="1" parent="3">
<mxGeometry x="100" y="180" width="180" height="30" as="geometry"/>
</mxCell>
<mxCell id="19" value="" style="edgeStyle=entityRelationEdgeStyle;startArrow=none;endArrow=none;segment=10;curved=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" target="20" source="8" parent="3">
<mxGeometry relative="1" as="geometry">
<mxPoint x="410" y="80" as="sourcePoint"/>
</mxGeometry>
</mxCell>
<mxCell id="20" value="QuestionsList" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;fontFamily=Helvetica;fontSize=12;fontColor=rgb(240, 240, 240);strokeColor=rgb(240, 240, 240);strokeWidth=1;fillColor=rgb(42, 42, 42);html=1;" vertex="1" parent="3">
<mxGeometry x="570" y="100" width="256" height="100" as="geometry"/>
</mxCell>
<mxCell id="21" value="Create Survey" style="ellipse;whiteSpace=wrap;html=1;align=center;newEdgeStyle={"edgeStyle":"entityRelationEdgeStyle","startArrow":"none","endArrow":"none","segment":10,"curved":1};treeFolding=1;treeMoving=1;" vertex="1" parent="3">
<mxGeometry x="838" y="260" width="100" height="40" as="geometry"/>
</mxCell>
<mxCell id="22" value="Answer Survey" style="ellipse;whiteSpace=wrap;html=1;align=center;newEdgeStyle={"edgeStyle":"entityRelationEdgeStyle","startArrow":"none","endArrow":"none","segment":10,"curved":1};treeFolding=1;treeMoving=1;" vertex="1" parent="3">
<mxGeometry x="120" y="260" width="100" height="40" as="geometry"/>
</mxCell>
<mxCell id="28" value="" style="edgeStyle=entityRelationEdgeStyle;startArrow=none;endArrow=none;segment=10;curved=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" target="29" source="22" parent="3">
<mxGeometry relative="1" as="geometry">
<mxPoint x="263" y="168" as="sourcePoint"/>
</mxGeometry>
</mxCell>
<mxCell id="29" value="Answer Page<br><br>questions data" style="whiteSpace=wrap;html=1;rounded=1;arcSize=50;align=center;verticalAlign=middle;strokeWidth=1;autosize=1;spacing=4;treeFolding=1;treeMoving=1;newEdgeStyle={"edgeStyle":"entityRelationEdgeStyle","startArrow":"none","endArrow":"none","segment":10,"curved":1};" vertex="1" parent="3">
<mxGeometry x="87" y="330" width="120" height="100" as="geometry"/>
</mxCell>
<mxCell id="49" value="" style="edgeStyle=entityRelationEdgeStyle;startArrow=none;endArrow=none;segment=10;curved=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" target="50" source="29" parent="3">
<mxGeometry relative="1" as="geometry">
<mxPoint x="230" y="370" as="sourcePoint"/>
</mxGeometry>
</mxCell>
<mxCell id="50" value="Answer Questions List" style="whiteSpace=wrap;html=1;rounded=1;arcSize=50;align=center;verticalAlign=middle;strokeWidth=1;autosize=1;spacing=4;treeFolding=1;treeMoving=1;newEdgeStyle={"edgeStyle":"entityRelationEdgeStyle","startArrow":"none","endArrow":"none","segment":10,"curved":1};" vertex="1" parent="3">
<mxGeometry x="260" y="450" width="224" height="30" as="geometry"/>
</mxCell>
<mxCell id="70" value="" style="edgeStyle=entityRelationEdgeStyle;startArrow=none;endArrow=none;segment=10;curved=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" target="71" source="50" parent="3">
<mxGeometry relative="1" as="geometry">
<mxPoint x="504" y="535" as="sourcePoint"/>
</mxGeometry>
</mxCell>
<mxCell id="71" value="Answer Question" style="whiteSpace=wrap;html=1;rounded=1;arcSize=50;align=center;verticalAlign=middle;strokeWidth=1;autosize=1;spacing=4;treeFolding=1;treeMoving=1;newEdgeStyle={"edgeStyle":"entityRelationEdgeStyle","startArrow":"none","endArrow":"none","segment":10,"curved":1};" vertex="1" parent="3">
<mxGeometry x="520" y="460" width="130" height="30" as="geometry"/>
</mxCell>
<mxCell id="74" value="" style="edgeStyle=entityRelationEdgeStyle;html=1;startArrow=none;endArrow=none;segment=10;curved=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" source="21" target="85" parent="3">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="85" value="Create Survey Page" style="rounded=1;whiteSpace=wrap;html=1;fontFamily=Helvetica;fontSize=12;fontColor=rgb(240, 240, 240);align=center;strokeColor=rgb(240, 240, 240);fillColor=rgb(42, 42, 42);" vertex="1" parent="3">
<mxGeometry x="810" y="370" width="100" height="40" as="geometry"/>
</mxCell>
<mxCell id="118" style="edgeStyle=none;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="3" source="113" target="8">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="113" value="QuestionElement" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" vertex="1" parent="3">
<mxGeometry x="320" y="210" width="235" height="170" as="geometry"/>
</mxCell>
<mxCell id="114" value="+ kind: string + content: any" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="113">
<mxGeometry y="26" width="235" height="74" as="geometry"/>
</mxCell>
<mxCell id="115" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="113">
<mxGeometry y="100" width="235" height="8" as="geometry"/>
</mxCell>
<mxCell id="116" value="+ method(type): type" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="113">
<mxGeometry y="108" width="235" height="62" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>
\ No newline at end of file
frontend/src/commons/Header.tsx
View file @
2b2a0917
import
React
,
{
useEffect
,
useState
}
from
"
react
"
;
import
{
Link
,
useLocation
,
useNavigate
}
from
"
react-router-dom
"
;
import
{
useAuth
}
from
"
../auth/auth.context
"
;
import
{
UserIcon
}
from
"
../icons
/UserIcon
"
;
import
{
UserIcon
}
from
"
../icons
"
;
export
const
Header
=
()
=>
{
const
{
user
,
logout
}
=
useAuth
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment