Skip to content

Commit

Permalink
upload phone APP Sampler, SamplerFra,Swither,
Browse files Browse the repository at this point in the history
  • Loading branch information
Anxin23 committed Oct 6, 2023
1 parent 852f8da commit d18810e
Show file tree
Hide file tree
Showing 6 changed files with 183 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Sampler.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.button-style {
border-radius: 68px;
background: linear-gradient(145deg, #e6e6e6, #ffffff);


width: 200px;
height: 200px;
font-size: 60px;
padding: 20px;
color: rgb(255, 184, 31);
margin: 30px;
border: 10px solid #170909;
}
.button-style:hover {
background: linear-gradient(145deg, #ffffff, hwb(35 36% 0%));

}
54 changes: 54 additions & 0 deletions Sampler.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
import React from "react";
import { Button, ButtonToolbar, ButtonGroup } from "react-bootstrap";
import "./Sampler.css"

const Sampler = () => {
const containerStyle = {
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
minHeight: '100vh',
backgroundColor: 'rgb(252, 144, 3)',
};

const loopButtonStyle = {
position: 'absolute',
top: '20px',
left: '40px',
padding: '40px',
backgroundColor: 'white',
border: '20px',
fontSize: '40px',
cursor: 'pointer',
};


return (
<div style={containerStyle}>
{/* Loop按钮 */}
<Button style={loopButtonStyle}>Loop</Button>

<ButtonToolbar>
<ButtonGroup>
<Button className="button-style">1</Button>
<Button className="button-style">2</Button>
<Button className="button-style">3</Button>
</ButtonGroup>

<ButtonGroup>
<Button className="button-style">4</Button>
<Button className="button-style">5</Button>
<Button className="button-style">6</Button>
</ButtonGroup>

<ButtonGroup>
<Button className="button-style">7</Button>
<Button className="button-style">8</Button>
<Button className="button-style">9</Button>
</ButtonGroup>
</ButtonToolbar>
</div>
);
};

export default Sampler;
17 changes: 17 additions & 0 deletions SamplerFra.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.button-style {
border-radius: 68px;
background: linear-gradient(145deg, #e6e6e6, #ffffff);


width: 200px;
height: 200px;
font-size: 60px;
padding: 20px;
color: rgb(255, 184, 31);
margin: 30px;
border: 10px solid #170909;
}
.button-style:hover {
background: linear-gradient(145deg, #ffffff, hwb(35 36% 0%));

}
43 changes: 43 additions & 0 deletions SamplerFra.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
import React from "react";
import { Button, ButtonToolbar, ButtonGroup } from "react-bootstrap";
import "./SamplerFra.css"

const SamplerFra = () => {
const containerStyle = {
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
minHeight: '100vh',
backgroundColor: 'rgb(252, 144, 3)',
};

const loopButtonStyle = {
position: 'absolute',
top: '20px',
left: '40px',
padding: '40px',
backgroundColor: 'white',
border: '20px',
fontSize: '40px',
cursor: 'pointer',
};


return (
<div style={containerStyle}>
{/* Loop按钮 */}
<Button style={loopButtonStyle}>Frame</Button>

<ButtonToolbar>
<ButtonGroup>
<Button className="button-style">1</Button>
<Button className="button-style">2</Button>
<Button className="button-style">3</Button>
<Button className="button-style">3</Button>
</ButtonGroup>
</ButtonToolbar>
</div>
);
};

export default SamplerFra;
17 changes: 17 additions & 0 deletions Switcher.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.button-style {
border-radius: 78px;
background: #b1e2ec;

width: 200px;
height: 200px;
font-size: 60px;
padding: 20px;
color: rgb(20, 134, 255);
margin: 50px;
border: 10px solid #170909;
}
.button-style:hover {
background: linear-gradient(145deg, #ffffff, hwb(240 26% 2%));

}

35 changes: 35 additions & 0 deletions Swither.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
import React from "react";
import { Button, ButtonToolbar, ButtonGroup } from "react-bootstrap";
import "./Switcher.css"; // Importing the CSS

const Switcher = () => {
const containerStyle = {
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
minHeight: '100vh',
backgroundColor: 'rgb(3, 128, 252)',
};


return (
<div style={containerStyle}>
<ButtonToolbar>
<ButtonGroup>
<Button className="button-style">1</Button>
<Button className="button-style">2</Button>
<Button className="button-style">3</Button>
<Button className="button-style">4</Button>
</ButtonGroup>
<ButtonGroup>
<Button className="button-style">5</Button>
<Button className="button-style">6</Button>
<Button className="button-style">7</Button>
<Button className="button-style">8</Button>
</ButtonGroup>
</ButtonToolbar>
</div>
);
};

export default Switcher;

0 comments on commit d18810e

Please sign in to comment.