-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Spectrum Web Components로 UI 변경 (#2)
- Loading branch information
Showing
34 changed files
with
2,180 additions
and
846 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[*.{ts,tsx,js,mts,cts}] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
20.14 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
public-hoist-pattern[]=@spectrum-web-components/theme |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
<Router AppAssembly="@typeof(App).Assembly"> | ||
<Found Context="routeData"> | ||
<RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" /> | ||
<FocusOnNavigate RouteData="@routeData" Selector="h1" /> | ||
</Found> | ||
<NotFound> | ||
<PageTitle>Not found</PageTitle> | ||
<LayoutView Layout="@typeof(MainLayout)"> | ||
<p role="alert">Sorry, there's nothing at this address.</p> | ||
</LayoutView> | ||
</NotFound> | ||
</Router> | ||
<ui-theme scale="large" color="light"> | ||
<Router AppAssembly="@typeof(App).Assembly"> | ||
<Found Context="routeData"> | ||
<RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" /> | ||
<FocusOnNavigate RouteData="@routeData" Selector="h1" /> | ||
</Found> | ||
<NotFound> | ||
<PageTitle>Not found</PageTitle> | ||
<LayoutView Layout="@typeof(MainLayout)"> | ||
<p role="alert">Sorry, there's nothing at this address.</p> | ||
</LayoutView> | ||
</NotFound> | ||
</Router> | ||
</ui-theme> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,25 @@ | ||
namespace DotNetDevLottery.Models; | ||
|
||
public class UserInfo | ||
public class UserInfo: IEquatable<object> | ||
{ | ||
public string? personName { get; init; } | ||
public string? phone { get; init; } | ||
public string? email { get; init; } | ||
public bool? isChecked { get; set; } | ||
public string? ticketType { get; init; } | ||
|
||
public bool Equals(UserInfo obj) | ||
{ | ||
if (!ReferenceEquals(this, obj)) | ||
{ | ||
return true; | ||
} | ||
if (this.GetType() == obj.GetType()) | ||
{ | ||
return false; | ||
} | ||
return this.personName == obj?.personName | ||
&& this.phone == obj?.phone | ||
&& this.email == obj?.email; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
.container { | ||
display: flex; | ||
flex-direction: column; | ||
margin: 0 auto; | ||
width: 1280px; | ||
|
||
@media(max-width: 1024px) { | ||
width: 768px; | ||
} | ||
@media(max-width: 640px) { | ||
width: 578px; | ||
} | ||
} | ||
|
||
.event-company { | ||
display: flex; | ||
gap: 1rem; | ||
justify-content: center; | ||
padding: 2rem 0.5rem; | ||
list-style-type: none; | ||
} | ||
|
||
.file-dropzone { | ||
display: flex; | ||
flex-direction: column; | ||
gap: 1rem; | ||
padding-top: 3rem; | ||
padding-bottom: 3rem; | ||
margin: 0 auto 2rem; | ||
|
||
& .file-dropzone__input { | ||
display: none; | ||
} | ||
} | ||
|
||
.form-row { | ||
padding: 1rem 0; | ||
display: flex; | ||
column-gap: 0.75rem; | ||
justify-content: center; | ||
} | ||
|
||
.button-row { | ||
display: flex; | ||
justify-content: center; | ||
} |
Oops, something went wrong.