Skip to content

Commit 0768fbb

Browse files
authored
Merge pull request #190 from UnstableDesign/189-enable-one-click-project-sharing
189 enable one click project sharing
2 parents cd80d8d + 3762772 commit 0768fbb

38 files changed

+1620
-485
lines changed

src/app/app-routing.module.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import { NgModule } from '@angular/core';
22
import { Routes, RouterModule } from '@angular/router';
33
import { AppComponent } from './app.component';
4-
import { MixerModule } from './mixer/mixer.module';
54

65

7-
const routes: Routes = [
6+
export const routes: Routes = [
7+
88
{
9-
path: '',
9+
path: '**',
1010
component: AppComponent,
1111
children: []
1212
}

src/app/app.component.html

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!--The content below is only a placeholder and can be replaced.-->
1+
22

33
<appKeycodes
44
(onUndo)="undo()"
@@ -290,6 +290,13 @@
290290
color="primary">
291291
<i class="fa-solid fa-download"></i>
292292
</button>
293+
294+
<button mat-mini-fab
295+
matTooltip="share"
296+
color="accent"
297+
(click)="share()">
298+
<i class="fa-solid fa-share-nodes"></i>
299+
</button>
293300

294301
</div>
295302
</mat-toolbar>

src/app/app.component.scss

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
align-items: stretch;
66
}
77

8+
89
.mat-mdc-icon-button{
910
font-size: 14px;
1011
position: relative;
@@ -160,6 +161,7 @@
160161
font-size: 14px;
161162
display: flex;
162163
flex: 0 1;
164+
gap: 8px;
163165
}
164166

165167
.design_mode{

0 commit comments

Comments
 (0)