Microfrontend Integration
This commit is contained in:
parent
a37d322994
commit
c8c2b70f94
2 changed files with 11 additions and 1 deletions
|
|
@ -1,8 +1,16 @@
|
|||
body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
font-family: system-ui;
|
||||
height: 100dvh;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.content {
|
||||
border: 0;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.header {
|
||||
background-color: #202020;
|
||||
box-sizing: border-box;
|
||||
|
|
|
|||
|
|
@ -35,8 +35,10 @@
|
|||
<span class="news-ticker-content" id="news-ticker-content"></span>
|
||||
</span>
|
||||
|
||||
<a class="nav-link nav-link-account" href="/account">Account</a>
|
||||
<a class="nav-link nav-link-account" href="/app/profile" target="content">Account</a>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<iframe class="content" name="content" src="/app/"></iframe>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue