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 {
|
body {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
font-family: system-ui;
|
font-family: system-ui;
|
||||||
|
height: 100dvh;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.content {
|
||||||
|
border: 0;
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
|
||||||
.header {
|
.header {
|
||||||
background-color: #202020;
|
background-color: #202020;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
|
||||||
|
|
@ -35,8 +35,10 @@
|
||||||
<span class="news-ticker-content" id="news-ticker-content"></span>
|
<span class="news-ticker-content" id="news-ticker-content"></span>
|
||||||
</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>
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
<iframe class="content" name="content" src="/app/"></iframe>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue